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

:root {
    --bg-primary: #181a1b;
    --bg-elevated: #222526;
    --bg-card: #1e2021;
    --accent: #394b47;
    --accent-light: #4f6b65;
    --text: #e8e4de;
    --text-muted: rgba(232, 228, 222, 0.7);
    --text-dim: rgba(232, 228, 222, 0.7);
    --danger: #a04040;
    --success: #3a6b4a;
    --border: #2e3132;
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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: 44px;
    width: auto;
    opacity: 0.9;
    border-radius: 50%;
}

.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-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);
}

/* ===== Sections ===== */
.section {
    padding: 5rem 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);
}

/* ===== 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; }

.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 */
.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);
}
.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;
}

/* ===== 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 input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 300;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-light);
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.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); }

/* ===== 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;
    opacity: 0.85;
    border-radius: 50%;
}

.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: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 4rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s;
        border-left: 1px solid var(--border);
    }
    .site-nav.open {
        right: 0;
    }
    .site-nav a {
        font-size: 0.85rem;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .hero-content h1 {
        letter-spacing: 0.15em;
    }

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

    .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;
    }
}
