:root{
    /* Dark theme palette */
    --bg:#0f1012;            /* page background */
    --card:#17181c;         /* surface/cards */
    --accent:#c79a63;       /* warm gold accent */
    --muted:#e4ded4;        /* primary text */
    --radius:14px;
    --glass: rgba(0,0,0,0.48); /* frosted glass on dark */
}
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background:linear-gradient(180deg,var(--bg), #0b0c0e 60%);
    color:var(--muted);
    -webkit-font-smoothing:antialiased;
}

/* Language Switcher */
.lang-switcher{
    position:absolute;
    top:16px;
    right:16px;
    z-index:1000;
    display:flex;
    gap:4px;
    background:var(--glass);
    backdrop-filter:blur(8px);
    border-radius:8px;
    padding:4px;
    box-shadow:0 6px 18px rgba(0,0,0,0.35);
}
.lang-btn{
    background:transparent;
    border:1px solid rgba(255,255,255,0.12);
    padding:6px 12px;
    border-radius:6px;
    color:var(--muted);
    cursor:pointer;
    font-size:13px;
    font-weight:600;
    transition:all 0.3s ease;
    font-family:inherit;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    letter-spacing:.5px;
    min-width:40px;
}
.lang-btn:hover{
    background:rgba(255,255,255,0.08);
}
.lang-btn.active{
    background:var(--accent);
    color:#0f1012;
    border-color:transparent;
    cursor:default;
}
@media (max-width:480px){
    .lang-switcher{
        top:12px;
        right:12px;
        padding:3px;
    }
    .lang-btn{
        padding:5px 8px;
        font-size:12px;
    }
}

/* (Removed obsolete .lang-content styles previously used for JS language switching) */

header{
    position:relative;
    min-height:36vw;
    max-height:420px;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
    border-bottom-left-radius:var(--radius);
    border-bottom-right-radius:var(--radius);
    margin:0 16px;
    box-shadow:0 18px 50px rgba(0,0,0,0.45);
}
header img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.02) saturate(1.02)}
.hero-copy{
    position:absolute;left:0;right:0;bottom:0;padding:20px 18px;background:linear-gradient(180deg,transparent,rgba(0,0,0,0.5));color:#fff;
    display:flex;flex-direction:column;gap:8px;
}
.brand{display:flex;align-items:center;gap:12px}
.brand.brand-stack{align-items:flex-start}
.brand.brand-stack .brand-text{display:flex;flex-direction:column}
@media (max-width:700px){
    .brand.brand-stack{flex-direction:row;align-items:flex-start}
    .brand.brand-stack h1{margin-top:2px}
}
.logo{
    width:56px;height:56px;border-radius:8px;background:var(--glass);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--accent);
    backdrop-filter: blur(4px);
}
h1{margin:0;font-size:1.4rem;letter-spacing:0.2px}
p.lead{margin:0.2rem 0 0;font-size:0.95rem;opacity:0.95}

main{max-width:1100px;margin:18px auto;padding:0 16px 48px}
.card{background:var(--card);border-radius:12px;padding:18px;box-shadow:0 14px 40px rgba(0,0,0,0.35);margin-bottom:16px}
.grid{display:grid;grid-template-columns:1fr 360px;gap:18px}
@media (max-width:880px){.grid{grid-template-columns:1fr}}

.contact{display:flex;flex-direction:column;gap:12px}
.contact .row{display:flex;gap:16px;align-items:flex-start}
.meta{color:var(--muted);font-weight:700;width:140px;flex:0 0 140px}
a.button{background:var(--accent);color:#0f1012;padding:10px 14px;border-radius:10px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;box-shadow:0 6px 18px rgba(0,0,0,0.35)}
a.button:hover{filter:brightness(1.05);transform:translateY(-1px);transition:transform 0.2s ease}
a.link{color:var(--accent);text-decoration:none}
a.link:hover{text-decoration:underline}

.gallery{display:flex;gap:8px;flex-wrap:wrap}
.gallery img{width:calc(33.333% - 5.333px);border-radius:8px;object-fit:cover;cursor:pointer;transition:all 0.3s ease;box-shadow:0 8px 22px rgba(0,0,0,0.35)}
.gallery img:hover{transform:scale(1.02);filter:brightness(1.03)}
@media (max-width:420px){.gallery img{width:calc(50% - 4px)}}

/* New Gallery Styles */
.collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:16px 0}
.collection-item{position:relative;border-radius:12px;overflow:hidden;cursor:pointer;transition:transform 0.3s ease, box-shadow 0.3s ease;box-shadow:0 12px 28px rgba(0,0,0,0.35)}
.collection-item:hover{transform:translateY(-4px)}
.collection-item img{width:100%;height:200px;object-fit:cover;display:block}
.collection-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,0.7));color:#fff;padding:16px;transform:translateY(100%);transition:transform 0.3s ease}
.collection-item:hover .collection-overlay{transform:translateY(0)}
.collection-overlay h3{margin:0 0 4px;font-size:1.1rem}
.collection-overlay p{margin:0;font-size:0.9rem;opacity:0.9}

/* New text-based view switch cards */
.view-switch{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;align-items:stretch;margin-top:8px}
.view-card{display:flex;gap:12px;align-items:flex-start;justify-content:flex-start;padding:18px 20px 16px;border-radius:16px;background:#1e2024;border:1px solid #2a2c31;color:#e4ded4;cursor:pointer;transition:all 0.25s ease;box-shadow:0 10px 26px rgba(0,0,0,0.35);position:relative;text-align:left}
.view-card .vc-icon{width:44px;height:44px;border-radius:12px;background:#0f1012;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.view-card .vc-text{display:flex;flex-direction:column;align-items:flex-start}
.view-card .vc-text strong{color:var(--muted);font-size:0.95rem;line-height:1.2;letter-spacing:.3px}
.view-card .vc-text span{opacity:0.78;font-size:0.8rem;line-height:1.15}
.view-card:hover{transform:translateY(-2px);border-color:#35383e;background:#24262b}
.view-card.active{background:var(--accent);color:#0f1012;border-color:var(--accent)}
.view-card.active .vc-icon{background:#0f1012}

.gallery-sections{margin-top:24px}
.gallery-section{margin-bottom:32px}
.section-header{margin-bottom:16px}
.premium-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.premium-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;cursor:pointer;transition:all 0.3s ease;box-shadow:0 10px 26px rgba(0,0,0,0.35)}
.premium-gallery img:hover{transform:scale(1.03);box-shadow:0 16px 40px rgba(0,0,0,0.45)}

.product-pairs{display:flex;flex-direction:column;gap:24px}
.product-pair h4{color:var(--accent);margin:0 0 12px;font-size:1.1rem;border-bottom:2px solid var(--accent);padding-bottom:4px;display:inline-block}
.pair-images{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;justify-items:center}
.pair-images img{width:100%;max-width:380px;aspect-ratio:3/4;object-fit:cover;border-radius:8px;cursor:pointer;transition:all 0.3s ease}
.pair-images img:hover{transform:scale(1.02);filter:brightness(1.04)}
/* When only one image is present in a pair, center it by spanning both columns */
.pair-images img:only-child{grid-column:1 / -1;justify-self:center;max-width:420px}
@media (max-width:600px){
    .pair-images{grid-template-columns:repeat(2,minmax(140px,1fr));gap:10px}
}

.collection-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.collection-gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;cursor:pointer;transition:all 0.3s ease;box-shadow:0 12px 30px rgba(0,0,0,0.35)}
.collection-gallery img:hover{transform:scale(1.02);box-shadow:0 18px 44px rgba(0,0,0,0.5)}

.gallery-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;justify-items:stretch;margin:10px 0 8px}
.nav-btn{background:#1e2024;border:1px solid #2a2c31;padding:18px 20px;border-radius:16px;cursor:pointer;font-size:0.95rem;transition:all 0.25s ease;font-family:inherit;color:#e4ded4;display:flex;align-items:center;justify-content:center;font-weight:600;box-shadow:0 10px 26px rgba(0,0,0,0.35)}
.nav-btn:hover{background:#24262b;border-color:#35383e;transform:translateY(-2px)}
.nav-btn.active{background:var(--accent);color:#0f1012;border-color:var(--accent);box-shadow:0 12px 34px rgba(0,0,0,0.45)}
@media (max-width:600px){.nav-btn{padding:16px 16px;font-size:0.9rem}}

/* Scroll-to-top button */
.to-top{position:fixed;left:14px;bottom:14px;width:50px;height:50px;border-radius:14px;border:1px solid #2a2c31;background:#1e2024;color:var(--accent);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10005;box-shadow:0 8px 26px rgba(0,0,0,0.55);opacity:0;pointer-events:none;transition:opacity .35s ease, transform .35s ease, box-shadow .35s ease}
.to-top svg{width:24px;height:24px;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;fill:none;transition:stroke .3s ease}
.to-top:hover{background:#24262b;transform:translateY(-3px);box-shadow:0 14px 34px rgba(0,0,0,0.6)}
.to-top.is-visible{opacity:1;pointer-events:auto}
/* Lift button above sticky CTA when visible */
.sticky-cta ~ .to-top{bottom:92px}
.sticky-cta.is-hidden ~ .to-top{bottom:14px}
@media(min-width:900px){
    /* When CTA becomes a pill on right side keep default bottom spacing */
    .sticky-cta ~ .to-top{bottom:14px}
}

footer{max-width:960px;margin:18px auto 0;padding:18px 16px 44px;color:#bfb6a8;font-size:0.9rem}
.small{font-size:0.85rem;color:#bfb6a8}

/* Accessibility: focus visible */
:focus-visible{outline:2px solid var(--accent); outline-offset:2px}

/* Lightbox: keep controls visible on mobile above the image */
#lb-image{z-index:9999 !important}
#lb-backdrop button{z-index:10001 !important; text-shadow:0 1px 6px rgba(0,0,0,0.85)}
#lb-prev,#lb-next{padding:8px 10px !important}
@media (hover:none) and (pointer:coarse){
    #lb-prev,#lb-next{font-size:42px !important}
    #lb-close{font-size:30px !important}
}

/* Sticky CTA */
.sticky-cta{
    position:fixed;left:0;right:0;bottom:0;
    display:flex;justify-content:center;gap:10px;align-items:center;
    padding:10px 12px;
    background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,0.45)) , var(--glass);
    backdrop-filter: blur(10px);
    border-top:1px solid #2a2c31;
    z-index:10002;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
    will-change: transform, opacity;
}
.sticky-cta.is-hidden{transform:translateY(110%); opacity:0; pointer-events:none}
.sticky-cta .cta-btn{
    background:var(--accent);color:#0f1012;border:0;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,0.45);
}
.sticky-cta .cta-btn:hover{filter:brightness(1.06);transform:translateY(-1px);transition:transform .2s ease}
.sticky-cta .cta-actions{display:flex;gap:8px}
.sticky-cta .lang-content{display:none}
.sticky-cta .lang-content.active{display:flex;flex-direction:column;align-items:center}
.sticky-cta .cta-actions{justify-content:center;margin-top:8px}
.sticky-cta .cta-mini{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;background:#1e2024;border:1px solid #2a2c31;color:#e4ded4;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,0.4)}
.sticky-cta .cta-mini:hover{background:#26282d}
.sticky-cta .cta-mini svg{width:22px;height:22px;display:block}
/* Compact mobile layout: single row with CTA + icons */
@media (pointer:coarse), (max-width:768px){
    .sticky-cta{padding:8px 10px}
    .sticky-cta .lang-content.active{flex-direction:row;align-items:center;justify-content:space-between;width:100%;flex-wrap:nowrap;gap:8px}
    .sticky-cta .cta-btn{padding:8px 12px;font-size:14px;line-height:1;white-space:nowrap;max-width:58vw;overflow:hidden;text-overflow:ellipsis}
    .sticky-cta .cta-actions{margin-top:0;justify-content:flex-end;gap:6px;flex-wrap:nowrap}
    .sticky-cta .cta-mini{width:36px;height:36px}
    .sticky-cta .cta-mini svg{width:20px;height:20px}
}
@media(min-width:900px){
    .sticky-cta{left:auto;right:16px;bottom:16px;border-radius:999px;padding:8px 10px;gap:8px;width:auto}
    .sticky-cta.is-hidden{transform:translateY(16px); opacity:0}
}
@media(min-width:1200px){
    /* On wide desktop, show as compact pill in lower-right */
    .sticky-cta{right:24px;bottom:24px}
}
