/* ===========================
   KASETONY ŚWIETLNE - CSS
   Mobile-first approach
   =========================== */

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #19C15F;
    --primary-dark: #0E8F45;
    --secondary-color: #0B0F0D;
    --accent-color: #19C15F;
    --text-color: #0B0F0D;
    --text-light: #555;
    --bg-light: #F2F4F3;
    --bg-dark: #2A2E2C;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER / NAVIGATION
   =========================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.nav-menu.active {
    display: flex;
}

.nav-menu a {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text-color);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-menu .btn-cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-weight: 600;
}

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

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        box-shadow: none;
        padding: 0;
        gap: 5px;
    }

    .nav-menu a {
        padding: 10px 15px;
    }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background:
        linear-gradient(rgba(7, 19, 13, 0.68), rgba(7, 19, 13, 0.68)),
        url('../images/photos/hero-home.jpeg') center / cover no-repeat;
    color: var(--white);
    padding: 120px 20px 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 150px 20px 100px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

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

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn svg {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 9px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

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

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

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 60px 20px;
}

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

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-dark .section-title h2 {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.8);
}

@media (min-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

/* ===========================
   USP / FEATURES
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   PRODUCTS / OFFER
   =========================== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

/* Two stacked photos: the lit version fades in while hovering the card */
.product-image-swap {
    position: relative;
}

.product-image-swap img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.45s ease;
}

.product-image-swap .is-lit {
    opacity: 0;
}

.product-card:hover .product-image-swap .is-lit,
.product-card:focus-within .product-image-swap .is-lit {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .product-image-swap img {
        transition: none;
    }
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Old configurator styles removed - see CONFIGURATOR v2 section below */

/* ===========================
   GALLERY / REALIZATIONS
   =========================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   FAQ
   =========================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1rem;
    color: var(--text-color);
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-details h4 {
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 3px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-message {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===========================
   PAGE HEADER (subpages)
   =========================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-header.page-header-oferta {
    background: linear-gradient(rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0.75)),
                url('../images/photos/section1.jpg') center / cover no-repeat;
}

@media (min-width: 768px) {
    .page-header {
        padding: 150px 20px 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* ===========================
   WHY US SECTION
   =========================== */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.why-us-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.why-us-content h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.why-us-content p {
    color: rgba(255,255,255,0.8);
}

/* ===========================
   UTILITIES
   =========================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(25, 193, 95, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hide elements */
.hidden {
    display: none !important;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }
}

/* ===========================
   CONFIGURATOR v2
   =========================== */

/* Layout: form left, price right */
.konfig-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1024px) {
    .konfig-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .konfig-form {
        flex: 1;
        min-width: 0;
    }

    .konfig-sidebar {
        width: 360px;
        flex-shrink: 0;
        align-self: flex-start;
        position: sticky;
        top: 80px;
    }
}

/* Steps */
.konfig-step {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.konfig-step-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.konfig-step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.konfig-step-header h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.konfig-step-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.konfig-step-desc a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Type selector grid (Step 1) */
.konfig-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.konfig-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    background: var(--white);
}

.konfig-type-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.konfig-type-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(25, 193, 95, 0.12);
}

.konfig-type-card.active {
    border-color: var(--primary-color);
    background: rgba(25, 193, 95, 0.06);
    box-shadow: 0 2px 12px rgba(25, 193, 95, 0.15);
}

.konfig-type-img {
    width: 100%;
    max-width: 110px;
    margin-bottom: 8px;
}

.konfig-type-img svg {
    width: 100%;
    height: auto;
    display: block;
}

.konfig-type-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.konfig-type-card.active .konfig-type-label {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .konfig-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Color selector grid (Step 4 – Kolor obudowy) */
.konfig-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.konfig-color-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 6px 10px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    background: var(--white);
}

.konfig-color-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.konfig-color-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(25, 193, 95, 0.12);
}

.konfig-color-card.active {
    border-color: var(--primary-color);
    background: rgba(25, 193, 95, 0.06);
    box-shadow: 0 2px 12px rgba(25, 193, 95, 0.15);
}

.konfig-color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 8px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
}

.konfig-swatch-brushed {
    background: linear-gradient(
        180deg,
        #c8c8c8 0%, #b0b0b0 15%, #d0d0d0 20%,
        #a8a8a8 35%, #c0c0c0 50%, #a0a0a0 65%,
        #c8c8c8 80%, #b0b0b0 100%
    );
}

.konfig-color-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.konfig-color-label small {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.7rem;
}

.konfig-color-card.active .konfig-color-label {
    color: var(--primary-color);
}

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

@media (max-width: 480px) {
    .konfig-color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Select wrappers */
.konfig-select-wrap select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.konfig-select-wrap select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Dimension inputs */
.konfig-dimensions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.konfig-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.konfig-input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.konfig-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Depth radio cards */
.konfig-depth-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.konfig-radio-card {
    flex: 1;
    min-width: 80px;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.konfig-radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.konfig-radio-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.konfig-radio-card:hover {
    border-color: var(--primary-color);
}

.konfig-radio-card.active {
    border-color: var(--primary-color);
    background: rgba(25, 193, 95, 0.08);
}

.konfig-radio-card.active .konfig-radio-label {
    color: var(--primary-color);
}

/* Addon toggles */
.konfig-addon-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
}

.konfig-addon-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.konfig-addon-slider {
    width: 48px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.konfig-addon-slider::after {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.konfig-addon-toggle input:checked + .konfig-addon-slider {
    background: var(--primary-color);
}

.konfig-addon-toggle input:checked + .konfig-addon-slider::after {
    left: 25px;
}

.konfig-addon-text {
    flex: 1;
    font-weight: 500;
    color: var(--text-color);
}

.konfig-addon-price {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Color preview (step 6) */
.konfig-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.konfig-color-preview {
    width: 100%;
    max-width: 280px;
}

.preview-body {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.preview-face {
    background: #ffffff;
    border-radius: 6px;
    width: 80%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #333;
    transition: all 0.4s ease;
    box-shadow: 0 0 30px #ffffff, inset 0 0 20px rgba(255,255,255,0.3);
}

.konfig-preview-labels {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.preview-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.preview-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    flex-shrink: 0;
}

/* ===========================
   FLOATING PRICE BOX
   =========================== */
.konfig-price-box {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 25px;
    border-top: 4px solid var(--primary-color);
}

/* sticky is handled on .konfig-sidebar for desktop */

.konfig-price-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.konfig-price-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.konfig-price-row span:last-child {
    font-weight: 500;
    color: var(--text-color);
    text-align: right;
}

.konfig-price-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 15px 0;
}

.konfig-price-total {
    text-align: center;
    padding: 15px 0 10px;
}

.konfig-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.konfig-price-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.konfig-price-brutto {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.konfig-price-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

.konfig-price-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.konfig-order-btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
}

.konfig-reset-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px;
}

/* Mobile: price box at bottom */
@media (max-width: 1023px) {
    .konfig-sidebar {
        order: -1;
    }

    .konfig-price-box {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
        padding: 15px 20px;
        max-height: 50vh;
        overflow-y: auto;
    }

    .konfig-price-summary {
        display: none;
    }

    .konfig-price-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .konfig-price-total {
        padding: 5px 0;
    }

    .konfig-price-amount {
        font-size: 1.6rem;
    }

    .konfig-price-note {
        display: none;
    }

    .konfig-price-actions {
        flex-direction: row;
        gap: 10px;
        margin-top: 10px;
    }

    .konfig-order-btn {
        flex: 1;
    }

    .konfig-reset-btn {
        display: none;
    }

    /* Add bottom padding to form so it doesn't get hidden behind the fixed price box */
    .konfig-form {
        padding-bottom: 200px;
    }
}
.quote-request-form{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.15)}.quote-request-intro{font-size:.85rem;line-height:1.45;margin:0 0 .85rem}.quote-request-fields{display:grid;gap:.5rem}.quote-request-fields label{font-size:.8rem;font-weight:600}.quote-request-fields input{width:100%;padding:.7rem .8rem;border:1px solid rgba(255,255,255,.35);border-radius:6px;background:#fff;color:#111;font:inherit}.quote-consent{display:flex;gap:.5rem;align-items:flex-start;font-size:.75rem;line-height:1.35;margin:1rem 0}.quote-consent input{margin-top:.15rem}.quote-request-message{margin:.75rem 0;font-size:.85rem;line-height:1.35}.quote-request-message.success{color:#b9ffd5}.quote-request-message.error{color:#ffd0d0}.quote-request-form button[disabled]{opacity:.7;cursor:wait}

/* ===========================
   MAP EMBED
   =========================== */
.map-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-light);
    line-height: 0;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.map-actions {
    margin-top: 20px;
    text-align: center;
    color: var(--text-light);
}

.map-actions p {
    margin-bottom: 6px;
}

.map-actions strong {
    color: var(--text-color);
}

.map-actions a {
    color: var(--primary-color);
    font-weight: 600;
}

.map-actions a:hover {
    text-decoration: underline;
}

.map-actions span {
    margin: 0 8px;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .map-embed iframe {
        height: 300px;
    }
}

/* ===========================
   MATERIAL / CONTENT PAGE
   =========================== */
.material-split {
    display: grid;
    gap: 30px;
    align-items: center;
}

.material-copy p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.material-copy p:last-child {
    margin-bottom: 0;
}

.material-copy h3 {
    margin-bottom: 12px;
}

.material-figure {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    overflow: hidden;
}

.material-figure img {
    border-radius: var(--border-radius);
    width: 100%;
}

.material-figure figcaption {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.material-figure.is-photo {
    padding: 0;
}

.material-figure.is-photo figcaption {
    padding: 0 20px 20px;
}

.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.checklist li strong {
    color: var(--text-color);
}

.spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
}

.spec-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 0.95rem;
}

.spec-table caption {
    caption-side: top;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    padding-bottom: 12px;
    color: var(--text-color);
}

.spec-table th,
.spec-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e3e7e5;
    vertical-align: top;
}

.spec-table thead th {
    background: var(--secondary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
}

.spec-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.spec-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-table td strong {
    color: var(--text-color);
}

.material-note {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 18px 22px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--text-light);
}

.material-note strong {
    color: var(--text-color);
}

.section-light .material-note {
    background: var(--white);
}

.section-light .spec-table tbody tr:nth-child(even) {
    background: #eaeeec;
}

@media (min-width: 900px) {
    .material-split {
        grid-template-columns: 1.05fr 1fr;
        gap: 50px;
    }

    .material-split.is-reversed .material-copy {
        order: 2;
    }
}
