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

:root {
    --bg-primary: #FFFFFF;
    --bg-elevated: #F6F6F4;
    --bg-card: #FFFFFF;
    --bg-dark: #131410;
    --accent: #485C11;
    --accent-light: #5E7718;
    --accent-soft: #8E9C78;
    --sage: #8E9C78;
    --on-accent: #FFFFFF;
    --on-dark: #FFFFFF;
    --text: #111111;
    --text-muted: #6F6F6F;
    --text-dim: #929292;
    --danger: #a04040;
    --success: #485C11;
    --border: #E9E9E9;
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: transparent;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(24, 26, 27, 0.95);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}

.logo-img {
    height: 42px;
    width: auto;
    color: var(--accent);
}

.site-nav {
    display: flex;
    gap: 2.5rem;
}
.site-nav a {
    color: rgba(232, 228, 222, 0.85);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 400;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: var(--text);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
}
.lang-switch a {
    color: rgba(232, 228, 222, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}
.lang-switch a:hover {
    color: var(--text);
}
.lang-switch a.lang-active {
    color: var(--text);
}
.lang-sep {
    color: rgba(232, 228, 222, 0.2);
    font-size: 0.7rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
    position: relative;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary) url('/img/hero-bg.webp') center/cover no-repeat;
    padding: 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(24, 26, 27, 0.82);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}
.hero-actions { gap: 1rem; }

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-tagline {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    color: rgba(232, 228, 222, 0.85);
    margin-bottom: 3rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 3rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(232, 228, 222, 0.2);
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    font-weight: 400;
}
.btn:hover {
    background: rgba(232, 228, 222, 0.08);
    border-color: rgba(232, 228, 222, 0.4);
    color: var(--text);
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}
.btn-secondary {
    background: transparent;
    border-color: var(--border);
}
.btn-secondary:hover {
    background: var(--bg-elevated);
}
.btn-outline {
    border-color: rgba(232, 228, 222, 0.4);
}
.btn-outline:hover {
    background: rgba(232, 228, 222, 0.12);
    border-color: rgba(232, 228, 222, 0.6);
}

/* ===== Sections ===== */
.section {
    padding: 4rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-line {
    width: 30px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 0.85rem;
    font-weight: 300;
}

/* ===== Category Filter ===== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.4rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    border-radius: 0;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text);
}

/* ===== Filter Bar ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.filter-bar .filter-select:last-child {
    margin-left: auto;
}
.filter-select {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    cursor: pointer;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    display: block;
    background: var(--bg-card);
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: var(--text);
    position: relative;
}
.product-card:hover {
    color: var(--text);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}
.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(30, 32, 33, 0.5));
    pointer-events: none;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-image-placeholder {
    background: var(--bg-elevated);
    aspect-ratio: 1/1;
}

.product-info {
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--border);
}
.product-info h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}
.product-price {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 300;
}

.empty-state {
    text-align: center;
    color: var(--text-dim);
    padding: 2rem;
    font-size: 0.85rem;
    font-weight: 300;
}

/* ===== Product Detail ===== */
.product-detail {
    padding-top: 7rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2.5rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.back-link:hover { color: var(--text); }

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

.gallery-main {
    overflow: hidden;
    background: var(--bg-card);
    border-radius: 8px;
    position: relative;
    cursor: zoom-in;
}
.gallery-main-img {
    width: 100%;
    display: block;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.gallery-placeholder {
    aspect-ratio: 1/1;
    background: var(--bg-elevated);
    border-radius: 8px;
}

/* Gallery arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: var(--text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
}
.gallery-main:hover .gallery-arrow {
    opacity: 1;
}
.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* Gallery dots */
.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s;
}
.gallery-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.gallery-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}
.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}
.lightbox.open {
    display: flex;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    z-index: 1001;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
    .gallery-arrow { opacity: 0; pointer-events: none; }
    .gallery-dots { opacity: 1; }
    .lightbox-arrow { display: none; }
    .gallery-thumbs { overflow-x: auto; scrollbar-width: none; }
    .gallery-thumbs::-webkit-scrollbar { display: none; }
    .gallery-thumb { width: 60px; height: 60px; flex-shrink: 0; }
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(232, 228, 222, 0.85);
    margin-bottom: 0.75rem;
}

.product-detail-info {
    position: sticky;
    top: 6rem;
}
.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.product-detail-price {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2rem;
    font-weight: 400;
}

.product-description {
    color: rgba(232, 228, 222, 0.9);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

/* Product specs */
.product-specs {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    margin-bottom: 2rem;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
}
.spec-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.spec-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 400;
}

/* Sold badge */
.product-sold-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #c0392b;
    border: 1px solid #c0392b;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}
.sold-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #c0392b;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    z-index: 1;
}
.product-image {
    position: relative;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ordering process */
.process-section {
    border-top: 1px solid var(--border);
    max-width: 100%;
}
.ordering-process {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 1.5rem;
    align-items: start;
}
.process-step {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.process-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--accent-light);
    line-height: 1;
}
.process-num::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-light);
    margin: 0.75rem auto 1.25rem;
}
.process-step h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    color: var(--text);
}
.process-step p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
    min-height: 3.06em; /* 2 lines */
}
.process-payment {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .ordering-process {
        margin-top: 4rem;
        padding-top: 3rem;
    }
}

/* ===== Reviews ===== */
.reviews-section {
    background: var(--bg-primary);
    max-width: 100%;
    padding: 3rem 3rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}
.review-card {
    width: calc(33.333% - 1rem);
    min-width: 300px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
.review-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.review-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.review-body {
    flex: 1;
    min-width: 0;
}
.review-stars {
    color: #c8a96e;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.review-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
}
.review-truncated {
    max-height: 7.8em;
    overflow: hidden;
    position: relative;
}
.review-truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(transparent, var(--bg-card));
}
.review-more {
    background: none;
    border: none;
    color: var(--accent-light);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}
.review-more:hover {
    color: var(--text);
}
.review-hidden {
    display: none;
}
.product-rating {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.product-rating .review-stars {
    font-size: 0.85rem;
    margin-right: 0.25rem;
}
.review-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.review-product {
    opacity: 0.7;
}

/* Product page — full reviews */
.product-reviews .review-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.product-reviews .review-image {
    width: 100%;
    max-width: 300px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.product-reviews .review-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Star rating input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
    margin-top: 0.25rem;
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 1.5rem;
    color: var(--border);
    cursor: pointer;
    transition: color 0.15s;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #c8a96e;
}

/* ===== FAQ ===== */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.faq-list {
    margin-top: 2rem;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--accent-light);
}
.faq-icon {
    font-size: 1.3rem;
    font-weight: 200;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 0 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== Contact Form ===== */
.contact-section {
    background: var(--bg-elevated);
    max-width: 100%;
    padding: 3.5rem 3rem;
    border-top: 1px solid var(--border);
}

.contact-form {
    max-width: 520px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--accent);
    border-color: var(--accent);
}
.contact-form .btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.rodo-notice {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
    opacity: 0.7;
}

.alert {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    border-radius: 0;
    text-align: center;
    font-size: 0.85rem;
}
.alert-success { background: var(--success); }
.alert-error { background: var(--danger); }

/* ===== Privacy ===== */
.privacy-section {
    max-width: 800px;
}
.privacy-content h2 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 2rem 0 0.5rem;
}
.privacy-content p,
.privacy-content li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}
.privacy-content ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    padding: 0.8rem 1.8rem;
    background: var(--accent);
    color: var(--text);
    border: 1px solid var(--accent-light);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-cta:hover {
    background: var(--accent-light);
    color: var(--text);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 3rem 3rem 1.5rem;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 0.5rem;
    color: #C9D2B5;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    max-width: 1300px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 1.25rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        transition: right 0.3s;
        border-left: 1px solid var(--border);
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: -10px 0 40px rgba(60, 46, 37, 0.18);
    }
    .site-nav.open {
        right: 0;
    }
    .site-nav a {
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 10px;
        text-align: left;
    }
    .nav-cta {
        text-align: center;
        margin-top: 0.75rem;
        padding: 1rem;
    }
    .section {
        padding: 2.75rem 1.25rem;
    }

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

    .product-detail {
        padding-top: 5rem;
    }
    .back-link {
        margin-bottom: 1.5rem;
    }

    .filter-bar .filter-select:last-child {
        margin-left: 0;
    }
    .filter-select {
        flex: 1;
        min-width: 0;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lang-switch {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
    }

    .form-group {
        margin-bottom: 0.75rem;
    }
    .form-group label {
        margin-bottom: 0.25rem;
    }

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

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .contact-section,
    .site-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ===== Light theme overrides & new components (schodyskladane) ===== */

.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
}

/* Floating glass pill nav */
.site-header { padding: 1.1rem 2rem; }
.site-header.scrolled { background: transparent; border-bottom-color: transparent; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(72, 92, 17, 0.28);
    border-radius: 999px;
    padding: 0.3rem 0.35rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.site-nav a {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: rgba(72, 92, 17, 0.14); color: var(--accent-light); }
.nav-cta { background: var(--accent); color: var(--on-accent) !important; }
.nav-cta:hover { background: var(--accent-light) !important; color: var(--on-accent) !important; }

/* Logo contrast over dark photo hero (nav has its own glass bg) */
.site-header.over-hero:not(.scrolled) .logo-text { color: #FFFFFF; }
.site-header.over-hero:not(.scrolled) .logo-img { color: #FFFFFF; }
.site-header.over-hero:not(.scrolled) .mobile-toggle span { background: #FFFFFF; }

/* Eyebrow label — monospace, editorial */
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}
.eyebrow-center { display: block; text-align: center; margin-bottom: 1rem; }

/* Hero — light, two-tone */
.hero {
    background: linear-gradient(160deg, #FFFFFF 0%, #EAEDE2 100%);
    text-align: left;
}
.hero::before { display: none; }
.hero .hero-content {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: left;
}
.hero .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-transform: none;
    color: var(--text);
    margin-bottom: 1.75rem;
}
.hero .hero-title-dim { color: var(--accent-soft); font-style: italic; }
.hero .hero-tagline {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--text-muted);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 300;
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Pill buttons */
.btn {
    border-radius: 999px;
    border-color: var(--accent-soft);
    color: var(--text);
}
.btn:hover {
    background: rgba(72, 92, 17, 0.1);
    border-color: var(--accent);
    color: var(--text);
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}
.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--on-accent);
}
.btn-outline { border-color: var(--accent-soft); color: var(--text); }
.btn-outline:hover { background: rgba(72, 92, 17, 0.12); border-color: var(--accent); }

/* Section titles — display serif, editorial */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--text);
}
.section-subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Cards on light theme */
.product-card { border-color: var(--border); }
.product-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18); }
.product-image::after { display: none; }
.product-category { color: var(--accent); }
.product-description { color: var(--text); }
.review-card { border-color: var(--border); }
.review-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16); }
.review-truncated::after { background: linear-gradient(transparent, #fff); }

/* Stair type cards */
.stairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.stairs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stair-type-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03), 0 8px 24px rgba(17, 17, 17, 0.035);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stair-type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(72, 92, 17, 0.14);
    border-color: var(--sage);
}
.stair-type-card h3 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 500;
    margin-bottom: 0.55rem;
    color: var(--text);
}
.stair-type-card p { font-size: 0.92rem; color: var(--text-muted); font-weight: 400; line-height: 1.65; }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--sage);
    color: #fff;
    margin-bottom: 1.35rem;
    transition: transform 0.3s ease;
}
.stair-type-card:hover .feature-icon { transform: scale(1.06); }
.feature-icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .stairs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stairs-grid--3 { grid-template-columns: 1fr; } }

/* Other stairs */
.other-stairs-section { background: var(--bg-elevated); max-width: 100%; }
.other-stairs-section > * { max-width: 1300px; margin-left: auto; margin-right: auto; }
.other-stairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.other-stair-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    color: var(--text);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}
.other-stair-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); border-color: var(--accent); color: var(--text); }
.other-stair-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
.other-stair-link { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Contact cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15); color: var(--text); }
.contact-card-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.contact-card-primary:hover { background: var(--accent-light); color: var(--on-accent); }
.contact-card-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.contact-card-value { font-size: 1.05rem; font-weight: 500; }

/* Checkbox tiles in configurator */
.quote-tile-check .quote-tile-label { gap: 0.4rem; }
.quote-tile-check input:checked + .quote-tile-label {
    border-color: var(--accent);
    background: rgba(72, 92, 17, 0.16);
}

/* Floating CTA on light theme */
.floating-cta {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
    border-radius: 999px;
}
.floating-cta:hover { background: var(--accent-light); color: var(--on-accent); }

/* Hero with background photo */
.hero.has-photo { background-size: cover; background-position: center; position: relative; }
.hero-sub { min-height: 74vh; }
.hero.has-photo { background-position: center right; }
.hero-sub.has-photo { background-position: center; }
.hero.has-photo::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(15, 16, 11, 0.82) 0%, rgba(15, 16, 11, 0.55) 32%, rgba(15, 16, 11, 0.2) 60%, rgba(15, 16, 11, 0.04) 100%),
        linear-gradient(0deg, rgba(15, 16, 11, 0.25), rgba(15, 16, 11, 0) 35%);
}
.hero.has-photo .hero-content { position: relative; z-index: 1; }
.hero.has-photo .eyebrow { color: #C9D2B5; }
.hero.has-photo .hero-title { color: #fff; }
.hero.has-photo .hero-title-dim { color: #C9D2B5; }
.hero.has-photo .hero-tagline { color: rgba(255, 255, 255, 0.92); }
.hero.has-photo .btn-outline { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.6); }
.hero.has-photo .btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: #FFFFFF; }

/* Embedded quote form on homepage */
.quote-embed-section .quote-wizard { max-width: 640px; margin: 0 auto; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Prose (sekcje opisowe SEO) */
.prose { max-width: 880px; margin: 0 auto; }
.prose-lead {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--text);
    font-weight: 400;
}
.prose-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3.5rem;
    text-align: left;
}
.prose-cols p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
    margin: 0;
}
.prose strong { color: var(--text); font-weight: 500; }
.prose-cta { text-align: center; margin-top: 2.5rem; }

@media (max-width: 768px) {
    .prose-lead { font-size: 1.12rem; margin-bottom: 1.75rem; }
    .prose-cols { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.gallery-tile {
    display: block;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--bg-card);
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-tile:hover img { transform: scale(1.05); }
@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .gallery-tile { border-radius: 14px; }
}
.lightbox-counter {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.85;
}
.lightbox-single .lightbox-arrow,
.lightbox-single .lightbox-counter { display: none !important; }

/* Dark section band (process) */
.section-dark {
    background: var(--bg-dark);
    color: var(--on-dark);
}
.section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--sage); }
.section-dark .process-num { color: var(--sage); }
.section-dark .process-num::after { background: var(--sage); }
.section-dark .process-step h3 { color: #fff; }
.section-dark .process-step p { color: rgba(255, 255, 255, 0.7); }
.section-dark .process-payment {
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    width: fit-content;
    max-width: 92%;
    margin: 3rem auto 0;
    padding: 0.9rem 2rem;
    border: 1px solid var(--sage);
    border-radius: 999px;
    background: rgba(142, 156, 120, 0.16);
}

/* Footer — dark */
.site-footer { background: var(--bg-dark); border-top: none; }
.site-footer .footer-links a,
.site-footer .footer-copy,
.site-footer .footer-copy a { color: rgba(255, 251, 245, 0.7); }
.site-footer .footer-links a:hover,
.site-footer .footer-copy a:hover { color: #fff; }
.site-footer .footer-copy { border-top-color: rgba(255, 255, 255, 0.12); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand-name { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; color: #fff; }

@media (max-width: 768px) {
    .hero { text-align: left; align-items: flex-start; padding: 6rem 1.25rem 3rem; }
    .hero .hero-content { padding: 0 1.5rem; }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; gap: 0.75rem; }
    .hero-actions .btn { flex: none; width: 100%; text-align: center; box-sizing: border-box; }
    .hero .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }

    /* Hero: wyśrodkowane zdjęcie + mocniejszy backdrop pod tekst */
    .hero.has-photo { background-position: center; }
    .hero.has-photo::before {
        background: linear-gradient(180deg, rgba(15, 16, 11, 0.62) 0%, rgba(15, 16, 11, 0.5) 45%, rgba(15, 16, 11, 0.66) 100%);
    }
    .hero.has-photo .hero-title,
    .hero.has-photo .hero-tagline { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }

    /* Gallery lightbox: keep arrows usable on mobile (+ swipe) */
    .gallery-lightbox:not(.lightbox-single) .lightbox-arrow {
        display: flex;
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }
    .gallery-lightbox .lightbox-prev { left: 0.6rem; }
    .gallery-lightbox .lightbox-next { right: 0.6rem; }

    /* Mobile drawer: override the desktop glass pill */
    .site-nav {
        background: var(--bg-primary);
        border-radius: 0;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: -12px 0 40px rgba(60, 46, 37, 0.22);
        border: none;
        border-left: 1px solid var(--border);
    }
}
