/* ==========================================================================
   napelemeshazszam.hu - Stíluslap
   Verzió: 2.0 (2026-04-17)
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* === CSS változók === */
:root {
    /* Meleg barna / réz paletta */
    --primary-brown: #6B4423;
    --dark-brown: #3E2723;
    --medium-brown: #8B6F47;
    --light-brown: #A68A64;
    --cream: #FAF6F1;
    --warm-white: #FFFBF7;
    --accent-copper: #B87333;
    --accent-copper-dark: #A66929;

    /* Szövegszínek */
    --text-dark: #2C1810;
    --text-medium: #5D4E37;
    --text-light: #8B7355;

    /* LED / glow (preview-hoz) */
    --led-warm: #FFE4B5;
    --led-glow: rgba(255, 180, 100, 0.6);

    /* Árnyékok */
    --shadow-soft: 0 4px 20px rgba(107, 68, 35, 0.08);
    --shadow-medium: 0 8px 32px rgba(107, 68, 35, 0.12);
    --shadow-strong: 0 12px 48px rgba(107, 68, 35, 0.16);

    /* Méretek */
    --container-max: 1400px;
    --header-height: 75px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* === Alap === */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-copper);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-copper-dark);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* === Animációk === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px var(--led-glow), 0 0 40px var(--led-glow);
    }
    50% {
        text-shadow: 0 0 30px var(--led-glow), 0 0 60px var(--led-glow);
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(107, 68, 35, 0.1);
    animation: slideDown 0.6s ease-out;
    height: var(--header-height);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-brown);
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--accent-copper);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-copper);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-copper);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: var(--primary-brown);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-cart:hover {
    background: var(--dark-brown);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.cart-icon {
    font-size: 1.1rem;
}

.cart-count {
    background: var(--accent-copper);
    color: white;
    border-radius: 50%;
    padding: 0 0.5rem;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-brown);
    transition: all 0.3s ease;
}

/* Main spacing a fix header alá */
main {
    padding-top: var(--header-height);
}

/* ==========================================================================
   KÖZÖS KOMPONENSEK
   ========================================================================== */

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

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--cream);
    border: 1px solid rgba(107, 68, 35, 0.15);
    border-radius: 50px;
    color: var(--primary-brown);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* === Gombok === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.4rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
}

.btn-xlarge {
    padding: 1.3rem 3.2rem;
    font-size: 1.15rem;
}

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

.btn-primary:hover {
    background: var(--accent-copper-dark);
    border-color: var(--accent-copper-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(184, 115, 51, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-brown);
    border-color: rgba(107, 68, 35, 0.3);
}

.btn-secondary:hover {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
    color: white;
    transform: translateY(-3px);
}

.btn-text {
    background: none;
    color: var(--accent-copper);
    padding: 0.8rem 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--accent-copper-dark);
    gap: 0.8rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero gombjai - sötét háttéren */
.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* ==========================================================================
   HERO SZEKCIÓ
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #3E2723;
    background-image:
        linear-gradient(to bottom, rgba(62, 39, 35, 0.35), rgba(62, 39, 35, 0.65)),
        url('/assets/images/hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: fadeIn 1s ease-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(62, 39, 35, 0.85) 0%, rgba(107, 68, 35, 0.4) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 4rem 3rem;
    width: 100%;
}

.hero-text {
    max-width: 680px;
    animation: fadeInUp 0.9s ease-out 0.2s backwards;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: rgba(184, 115, 51, 0.2);
    border: 1px solid rgba(184, 115, 51, 0.4);
    border-radius: 50px;
    color: var(--led-warm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-highlight {
    color: var(--accent-copper);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 600px;
}

.hero-meta {
    margin-bottom: 2.5rem;
}

.hero-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
}

.hero-price strong {
    font-size: 1.6rem;
    color: var(--led-warm);
    font-weight: 700;
}

.hero-price .price-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   "HOGYAN MŰKÖDIK" SZEKCIÓ
   ========================================================================== */

.how-it-works {
    background: var(--warm-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-copper), var(--primary-brown));
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(184, 115, 51, 0.3);
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.98rem;
}

.step-description strong {
    color: var(--primary-brown);
    font-weight: 600;
}

/* ==========================================================================
   TERMÉKBEMUTATÓ SZEKCIÓ
   ========================================================================== */

.product-showcase {
    background: var(--cream);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.showcase-image {
    position: relative;
}

.image-frame {
    background: linear-gradient(135deg, var(--dark-brown), var(--primary-brown));
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 180, 100, 0.15), transparent 70%);
}

.showcase-visual {
    position: relative;
    z-index: 2;
}

.led-digit {
    font-family: 'Playfair Display', serif;
    font-size: 18rem;
    font-weight: 700;
    color: var(--led-warm);
    line-height: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

.showcase-badges {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.showcase-badge {
    padding: 0.5rem 1.2rem;
    background: white;
    color: var(--primary-brown);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.showcase-text .section-title {
    text-align: left;
    font-size: 2.5rem;
}

.showcase-description {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.showcase-features {
    margin-bottom: 2rem;
}

.showcase-features li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
}

.showcase-features li:last-child {
    border-bottom: none;
}

.showcase-price-row {
    padding: 1.5rem 0;
    border-top: 2px solid rgba(107, 68, 35, 0.1);
    border-bottom: 2px solid rgba(107, 68, 35, 0.1);
    margin-bottom: 2rem;
}

.showcase-price {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.price-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.price-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.showcase-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   USP SZEKCIÓ
   ========================================================================== */

.usp-section {
    background: var(--warm-white);
    padding: 4rem 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.usp-item {
    text-align: center;
    padding: 1.5rem;
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.usp-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 0.6rem;
}

.usp-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   VÉLEMÉNYEK SZEKCIÓ
   ========================================================================== */

.reviews {
    background: var(--cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all 0.3s ease;
}

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

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    z-index: 0;
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.star {
    color: var(--accent-copper);
    font-size: 1.1rem;
}

.review-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-text strong {
    font-style: normal;
    color: var(--accent-copper);
    font-weight: 700;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--medium-brown), var(--light-brown));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reviewer-info h4 {
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 0.1rem;
    font-size: 1rem;
}

.reviewer-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================================================
   BLOG PREVIEW
   ========================================================================== */

.blog-preview {
    background: var(--warm-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

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

.blog-card-link:hover {
    color: inherit;
}

.blog-image {
    height: 220px;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--medium-brown) 100%);
    position: relative;
    overflow: hidden;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-brown);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.8rem;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-copper);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .read-more {
    gap: 0.7rem;
}

/* ==========================================================================
   CTA SZEKCIÓ
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
    padding: 6rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.1) 35px, rgba(255, 255, 255, 0.1) 70px);
}

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

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.site-footer {
    background: var(--dark-brown);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 3rem 2rem;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-copper);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links li {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-copper);
}

.footer-contact {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.footer-contact strong {
    color: white;
}

.footer-contact a {
    color: var(--accent-copper);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .footer-section:nth-child(5) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 4.5rem 0;
    }

    .container {
        padding: 0 2rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .steps-grid,
    .reviews-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .showcase-text .section-title {
        font-size: 2rem;
    }

    .led-digit {
        font-size: 12rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-container {
        padding: 0 1.2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        padding: 1rem 1.5rem 2rem;
        border-bottom: 1px solid rgba(107, 68, 35, 0.12);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        z-index: 999;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    .nav-links.mobile-open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1ece4;
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a {
        display: block;
        padding: 1rem 0.25rem;
        font-size: 1.05rem;
        width: 100%;
    }
    .nav-links a::after { display: none; }

    .mobile-menu-toggle {
        display: flex;
    }
    /* Hamburger → X animáció amikor aktív */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .header-cart {
        padding: 0.6rem 1rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .container {
        padding: 0 1.2rem;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding: 3rem 1.2rem;
    }

    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .led-digit {
        font-size: 10rem;
    }

    .usp-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .showcase-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-section {
        padding: 4rem 1.2rem;
    }

    .site-footer {
        padding: 3rem 1.2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .step-card,
    .review-card {
        padding: 2rem 1.5rem;
    }

    .led-digit {
        font-size: 8rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Focus indicator */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-copper);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb {
    padding: 1.5rem 0 0;
    font-size: 0.9rem;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--text-light);
}
.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb-list li + li::before {
    content: '›';
    color: var(--text-light);
}
.breadcrumb-list a {
    color: var(--text-medium);
}
.breadcrumb-list a:hover {
    color: var(--accent-copper);
}
.breadcrumb-list li[aria-current="page"] {
    color: var(--primary-brown);
    font-weight: 600;
}

/* Keskenyebb konténer hosszú szöveges szekciókhoz */
.container-narrow {
    max-width: 920px;
}

/* Full-width gomb */
.btn-full {
    width: 100%;
}

/* ==========================================================================
   KONFIGURÁTOR
   ========================================================================== */
.configurator-section {
    padding: 3rem 0 6rem;
}

.configurator-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.configurator-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-brown);
    letter-spacing: -1px;
    margin: 1rem 0;
    line-height: 1.2;
}

.configurator-lead {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.7;
}

.configurator-lead strong {
    color: var(--primary-brown);
}

.configurator-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
    align-items: flex-start;
}

/* --- Számjegy kártyák --- */
.digit-panel {
    min-width: 0;
}

.digit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.digit-card {
    position: relative;
    background: white;
    border: 2px solid rgba(107, 68, 35, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.digit-card:hover {
    border-color: var(--accent-copper);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.digit-card:active {
    transform: translateY(-1px) scale(0.98);
}

.digit-card-visual {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--dark-brown), var(--primary-brown));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.digit-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 180, 100, 0.2), transparent 70%);
}

.digit-card-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 700;
    color: var(--led-warm);
    line-height: 1;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px var(--led-glow);
}

.digit-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    width: 100%;
}

.digit-card-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--dark-brown);
    font-weight: 600;
}

.digit-card-price {
    font-size: 0.8rem;
    color: var(--text-light);
}

.digit-card-add {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 28px;
    height: 28px;
    background: var(--accent-copper);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(184, 115, 51, 0.4);
    transition: transform 0.2s ease;
}

.digit-card:hover .digit-card-add {
    transform: scale(1.15) rotate(90deg);
}

@keyframes digitFlash {
    0%   { box-shadow: 0 0 0 0 rgba(184, 115, 51, 0.7); transform: scale(1); }
    50%  { box-shadow: 0 0 0 20px rgba(184, 115, 51, 0); transform: scale(1.03); }
    100% { box-shadow: 0 0 0 0 rgba(184, 115, 51, 0); transform: scale(1); }
}

.digit-card-flash {
    animation: digitFlash 0.5s ease-out;
}

.configurator-help {
    margin-top: 2.5rem;
    background: var(--cream);
    border: 1px solid rgba(107, 68, 35, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2rem;
}

.configurator-help h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.configurator-help ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.configurator-help li {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.configurator-help strong {
    color: var(--primary-brown);
}

/* --- Előnézet panel --- */
.preview-panel {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    min-width: 0;
}

.preview-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(107, 68, 35, 0.08);
}

.preview-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.preview-wall {
    background: linear-gradient(160deg, #2a1b15 0%, #3E2723 60%, #241511 100%);
    border-radius: var(--radius-md);
    min-height: 180px;
    padding: 2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.5);
}

.preview-wall::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 180, 100, 0.08), transparent 60%),
        repeating-linear-gradient(135deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.02) 12px, rgba(255, 255, 255, 0.02) 13px);
    pointer-events: none;
}

.preview-empty {
    text-align: center;
    color: rgba(255, 228, 181, 0.5);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.preview-empty-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.preview-digits {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

@keyframes previewDigitIn {
    from { opacity: 0; transform: translateY(10px) scale(0.7); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   filter: blur(0); }
}

.preview-digit {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--led-warm);
    line-height: 1;
    text-shadow:
        0 0 10px var(--led-glow),
        0 0 30px var(--led-glow),
        0 0 60px rgba(255, 180, 100, 0.3);
    opacity: 0;
    transform: translateY(10px) scale(0.7);
    transition: none;
}

.preview-digit-in {
    animation: previewDigitIn 0.4s ease-out forwards,
               glowPulse 3s ease-in-out 0.4s infinite;
}

/* --- Kiválasztott lista --- */
.selected-list {
    margin-bottom: 1.5rem;
}

.selected-list-title {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.selected-item {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
    font-size: 0.95rem;
}

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

.selected-item-pos {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 20px;
}

.selected-item-digit {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-copper);
    line-height: 1;
    min-width: 1.2em;
    text-align: center;
}

.selected-item-label {
    color: var(--text-dark);
}

.selected-item-price {
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9rem;
}

.selected-item-remove {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.selected-item-remove:hover {
    opacity: 1;
    background: rgba(220, 50, 50, 0.1);
    transform: scale(1.1);
}

/* --- Összesítő --- */
.summary {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.summary-note {
    padding: 0.2rem 0 0.4rem;
}

.summary-note small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.summary-note-ok small {
    color: #2d7a3e;
    font-weight: 600;
}

.summary-total {
    border-top: 2px solid rgba(107, 68, 35, 0.1);
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    color: var(--dark-brown);
    font-size: 1.15rem;
    font-weight: 700;
}

.summary-total span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent-copper);
}

/* --- Akció gombok --- */
.preview-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-clear {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.btn-clear:hover {
    color: #c23838;
}

.preview-trust {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(107, 68, 35, 0.08);
    font-size: 0.78rem;
    color: var(--text-light);
}

.preview-trust span {
    white-space: nowrap;
}

/* --- FAQ (konfigurátor + termék oldalon) --- */
.configurator-faq,
.product-faq {
    background: var(--cream);
    padding: 5rem 0;
}

.faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.2rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-medium);
}

.faq-item summary {
    font-weight: 600;
    color: var(--dark-brown);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--accent-copper);
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(107, 68, 35, 0.08);
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* ==========================================================================
   TERMÉK OLDAL
   ========================================================================== */
.product-hero {
    padding: 3rem 0 5rem;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.product-gallery-main {
    background: linear-gradient(135deg, var(--dark-brown), var(--primary-brown));
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.product-gallery-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(255, 180, 100, 0.18), transparent 65%);
}

.product-gallery-visual {
    position: relative;
    z-index: 2;
}

.led-digit-mid {
    font-size: clamp(8rem, 18vw, 14rem);
    font-weight: 700;
    color: var(--led-warm);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

.product-gallery-badges {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.product-badge {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-brown);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.product-thumb {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--medium-brown), var(--primary-brown));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.product-thumb.active,
.product-thumb:hover {
    opacity: 1;
    border-color: var(--accent-copper);
}

.product-thumb span {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--led-warm);
    text-shadow: 0 0 8px var(--led-glow);
}

.product-info {
    min-width: 0;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark-brown);
    margin: 1rem 0 1rem;
    letter-spacing: -1px;
    line-height: 1.15;
}

.product-short-desc {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-price-box {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-copper);
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.product-price-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    line-height: 1;
}

.product-price-unit {
    color: var(--text-light);
    font-size: 1rem;
}

.product-price-box small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(107, 68, 35, 0.06);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-cta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.product-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: var(--warm-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(107, 68, 35, 0.08);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}

.trust-item strong {
    color: var(--dark-brown);
    font-size: 0.92rem;
}

.trust-item span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* --- Hosszú leírás --- */
.product-description {
    background: var(--warm-white);
}

.product-long-desc {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.05rem;
}

.product-long-desc p {
    margin-bottom: 1.2rem;
}

.product-long-desc h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.product-long-desc strong {
    color: var(--primary-brown);
}

.content-list {
    margin: 1rem 0 1.5rem;
}

.content-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.content-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-copper);
    font-weight: 700;
}

/* --- Specifikáció tábla --- */
.product-specs {
    background: var(--cream);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.specs-table tr {
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
}

.specs-table tr:last-child { border-bottom: none; }

.specs-table tr:nth-child(even) {
    background: var(--warm-white);
}

.specs-table th,
.specs-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.98rem;
}

.specs-table th {
    color: var(--text-medium);
    font-weight: 600;
    width: 40%;
    text-transform: capitalize;
}

.specs-table td {
    color: var(--text-dark);
}

/* ==========================================================================
   RESPONSIVE - új oldalak
   ========================================================================== */

@media (max-width: 1024px) {
    .configurator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .preview-panel {
        position: static;
        /* Mobilon a digit-kártyák jönnek ELŐRE; a preview-t a kártyák alá tesszük,
           és egy sticky összefoglaló sávot mutatunk az aljára (lásd extra.css) */
        order: 0;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-gallery {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .digit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
    }

    .digit-card {
        padding: 1rem 0.6rem 0.8rem;
    }

    .digit-card-add {
        width: 24px;
        height: 24px;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1rem;
    }

    .preview-card {
        padding: 1.5rem;
    }

    .preview-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .product-trust {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .product-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
    }

    .specs-table th {
        width: 45%;
    }

    .selected-item {
        grid-template-columns: auto auto 1fr auto;
        gap: 0.5rem;
    }

    .selected-item-price {
        display: none;
    }
}

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

    .preview-digit {
        font-size: 2.8rem;
    }

    .configurator-help {
        padding: 1.2rem 1.3rem;
    }
}

/* ==========================================================================
   KOSÁR OLDAL
   ========================================================================== */
.cart-section { padding: 2.5rem 0 5rem; }

.cart-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-brown);
    letter-spacing: -1px;
    margin: 1rem 0 2rem;
    line-height: 1.2;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 520px;
    margin: 0 auto;
}
.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
.cart-empty h2 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    font-size: 2rem;
    margin-bottom: 0.8rem;
}
.cart-empty p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.cart-preview-wall {
    background: linear-gradient(160deg, #2a1b15 0%, #3E2723 60%, #241511 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: inset 0 2px 20px rgba(0,0,0,0.5);
}
.cart-preview-label {
    display: block;
    color: rgba(255, 228, 181, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.cart-preview-digits {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}
.cart-preview-digit {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--led-warm);
    line-height: 1;
    text-shadow: 0 0 10px var(--led-glow), 0 0 30px var(--led-glow);
    animation: glowPulse 3s ease-in-out infinite;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: flex-start;
}

.cart-section-title {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.cart-items {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto auto auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
}
.cart-item:first-of-type { padding-top: 0; }
.cart-item:last-of-type  { border-bottom: none; padding-bottom: 1rem; }

.cart-item-visual {
    width: 72px; height: 90px;
    background: linear-gradient(135deg, var(--dark-brown), var(--primary-brown));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--led-warm);
    text-shadow: 0 0 12px var(--led-glow);
}

.cart-item-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.cart-item-sub {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid rgba(107, 68, 35, 0.15);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: 34px; height: 34px;
    background: var(--cream);
    border: none;
    font-size: 1.1rem;
    color: var(--primary-brown);
    font-weight: 700;
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--light-brown); color: white; }
.qty-input {
    width: 44px; height: 34px;
    border: none;
    border-left: 1px solid rgba(107, 68, 35, 0.15);
    border-right: 1px solid rgba(107, 68, 35, 0.15);
    text-align: center;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark-brown);
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-item-price {
    font-weight: 700;
    color: var(--dark-brown);
    font-size: 1.05rem;
    min-width: 90px;
    text-align: right;
}
.cart-item-remove {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    opacity: 0.5;
    transition: all 0.2s;
}
.cart-item-remove:hover {
    opacity: 1;
    background: rgba(220, 50, 50, 0.1);
}

.cart-actions-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(107, 68, 35, 0.08);
}

.cart-summary-panel {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}
.cart-summary-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(107, 68, 35, 0.08);
}

/* Coupon */
.coupon-box {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
}
.coupon-box label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.coupon-input-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.coupon-input-row input {
    flex: 1 1 140px;
    min-width: 0;
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(107, 68, 35, 0.2);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
}
.coupon-input-row input:focus {
    outline: 2px solid var(--accent-copper);
    outline-offset: 1px;
    border-color: var(--accent-copper);
}
.coupon-input-row .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex: 0 0 auto;
}
/* Keskeny panelen (sticky summary) vagy mobilon gomb lekerül külön sorba */
@media (max-width: 480px) {
    .coupon-input-row { flex-direction: column; }
    .coupon-input-row .btn { width: 100%; }
}
.coupon-applied {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    background: rgba(45, 122, 62, 0.1);
    border: 1px solid rgba(45, 122, 62, 0.3);
    border-radius: var(--radius-sm);
    color: #2d7a3e;
    font-weight: 600;
}
.coupon-code-badge { flex: 1; font-family: monospace; font-size: 1rem; }
.coupon-remove-btn {
    background: transparent;
    border: none;
    color: #2d7a3e;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.3rem;
}
.coupon-remove-btn:hover { color: #c23838; }

.coupon-message {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    min-height: 1em;
}
.coupon-message-success { color: #2d7a3e; }
.coupon-message-error   { color: #c23838; }

.summary-totals { margin-bottom: 1.5rem; }
.summary-row-discount { color: #2d7a3e !important; font-weight: 600; }
.summary-row-info { padding: 0.3rem 0; }
.summary-row-info small { color: var(--text-light); font-size: 0.8rem; line-height: 1.4; }

body.cart-loading { pointer-events: none; opacity: 0.7; }

/* ==========================================================================
   PÉNZTÁR (CHECKOUT)
   ========================================================================== */
.checkout-section { padding: 2.5rem 0 5rem; }
.checkout-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-brown);
    letter-spacing: -1px;
    margin: 1rem 0 2rem;
    line-height: 1.2;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: flex-start;
}

.checkout-fieldset {
    background: white;
    border: 1px solid rgba(107, 68, 35, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}
.checkout-fieldset legend {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-brown);
    padding: 0 0.6rem;
    margin-left: -0.6rem;
}
.checkout-fieldset.has-error { border-color: rgba(194, 56, 56, 0.4); }

.form-row { margin-bottom: 1rem; }
.form-row:last-child { margin-bottom: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.88rem; color: var(--text-medium); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(107, 68, 35, 0.2);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: all 0.2s;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-copper);
    outline-offset: 1px;
    border-color: var(--accent-copper);
    background: white;
}
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #c23838;
    background: rgba(194, 56, 56, 0.04);
}
.error-msg { color: #c23838; font-size: 0.82rem; font-weight: 500; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 0.15rem;
    accent-color: var(--accent-copper);
    flex-shrink: 0;
}
.checkbox-label.has-error span { color: #c23838; }
.checkbox-label a { font-weight: 600; }

.radio-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    margin-bottom: 0.6rem;
    background: var(--warm-white);
    border: 2px solid rgba(107, 68, 35, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}
.radio-card:hover {
    border-color: var(--accent-copper);
    background: white;
}
.radio-card input[type="radio"] {
    width: 20px; height: 20px;
    accent-color: var(--accent-copper);
}
.radio-card:has(input:checked) {
    border-color: var(--accent-copper);
    background: rgba(184, 115, 51, 0.05);
    box-shadow: 0 2px 8px rgba(184, 115, 51, 0.1);
}
.radio-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.radio-card-content strong { color: var(--dark-brown); font-size: 1rem; }
.radio-card-content small  { color: var(--text-light); font-size: 0.85rem; }
.radio-card-price { font-weight: 700; color: var(--primary-brown); }
.free-badge { color: #2d7a3e; font-weight: 700; }

.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.alert-error {
    background: rgba(194, 56, 56, 0.08);
    border-left: 4px solid #c23838;
    color: #8a2424;
}

.checkout-summary-panel {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}
.checkout-summary-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(107, 68, 35, 0.08);
}
.checkout-preview {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(160deg, #2a1b15 0%, #3E2723 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}
.checkout-preview-label {
    display: block;
    color: rgba(255, 228, 181, 0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.checkout-preview-digits {
    display: flex;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: wrap;
}
.checkout-preview-digits span {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--led-warm);
    text-shadow: 0 0 10px var(--led-glow);
    line-height: 1;
}

.checkout-items-list {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
}
.checkout-items-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--text-medium);
}
.checkout-items-list li strong { color: var(--dark-brown); }

.checkout-note {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ==========================================================================
   RENDELÉS VISSZAIGAZOLÁS
   ========================================================================== */
.order-success {
    text-align: center;
    padding: 3rem 1rem 2rem;
}
.order-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a3e, #4ea65e);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(45, 122, 62, 0.3);
}
.order-success h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--dark-brown);
    margin-bottom: 1rem;
}
.order-success-lead { font-size: 1.1rem; color: var(--text-medium); }

.order-number {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    font-family: monospace;
    color: var(--primary-brown);
    margin-left: 0.3rem;
}
.order-success-note {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 180, 100, 0.1);
    border-left: 4px solid var(--accent-copper);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-medium);
    text-align: left;
}

.order-details-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    margin-bottom: 2rem;
}
.order-details-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.order-preview {
    background: linear-gradient(160deg, #2a1b15 0%, #3E2723 100%);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.order-preview-label {
    display: block;
    color: rgba(255, 228, 181, 0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
}
.order-preview-digits {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
}
.order-preview-digits span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--led-warm);
    text-shadow: 0 0 10px var(--led-glow), 0 0 25px var(--led-glow);
    line-height: 1;
}

.order-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.order-details-table th,
.order-details-table td {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(107, 68, 35, 0.08);
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
}
.order-details-table th {
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.78rem;
    font-weight: 600;
}
.order-details-table .text-right { text-align: right; }
.order-total-row td {
    font-size: 1.15rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(107, 68, 35, 0.15);
    border-bottom: none;
    color: var(--dark-brown);
}
.order-total-row td strong {
    color: var(--accent-copper);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: var(--radius-md);
}
.order-info-grid h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.order-info-grid p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.order-next-steps {
    background: rgba(184, 115, 51, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}
.order-next-steps h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-brown);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.order-next-steps ol {
    padding-left: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}
.order-next-steps ol li {
    list-style: decimal;
    margin-bottom: 0.3rem;
}
.order-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE - kosár/pénztár
   ========================================================================== */
@media (max-width: 1024px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cart-summary-panel,
    .checkout-summary-panel {
        position: static;
    }
    .order-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        grid-template-areas:
            "visual info  remove"
            "visual qty   price";
        gap: 0.8rem;
    }
    .cart-item-visual { grid-area: visual; width: 60px; height: 75px; font-size: 2rem; }
    .cart-item-info   { grid-area: info; }
    .cart-item-qty    { grid-area: qty; }
    .cart-item-price  { grid-area: price; min-width: 0; }
    .cart-item-remove { grid-area: remove; }

    .cart-items,
    .cart-summary-card,
    .checkout-fieldset,
    .checkout-summary-card,
    .order-details-card {
        padding: 1.5rem;
    }

    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .cart-actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .radio-card {
        grid-template-columns: auto 1fr;
        grid-template-areas: "radio content" "radio price";
    }
    .radio-card input[type="radio"] { grid-area: radio; align-self: start; margin-top: 0.2rem; }
    .radio-card-content { grid-area: content; }
    .radio-card-price { grid-area: price; justify-self: start; padding-left: 0; }

    /* Pénztár: kisebb padding, jobb sorszám-elrendezés */
    .checkout-fieldset {
        padding: 1.2rem 1rem;
        margin-bottom: 1rem;
    }
    .checkout-fieldset legend {
        font-size: 1.05rem;
    }
    .checkout-summary-card {
        padding: 1.2rem 1rem;
    }
    .checkout-summary-panel {
        position: static;
    }
}

@media (max-width: 480px) {
    .checkout-fieldset { padding: 1rem 0.85rem; }
    .checkout-summary-card { padding: 1rem 0.85rem; }
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* iOS auto-zoom prevention */
        padding: 0.65rem 0.75rem;
    }
    .radio-card { padding: 0.85rem 0.9rem; gap: 0.6rem; }
    .radio-card-content strong { font-size: 0.95rem; }
    .radio-card-content small { font-size: 0.8rem; }
    .checkout-form .btn-large,
    .cart-actions-row .btn,
    .checkout-summary-card .btn {
        width: 100%;
        white-space: normal;
        line-height: 1.3;
    }
    .breadcrumb-list {
        flex-wrap: wrap;
        font-size: 0.85rem;
    }
}
