/* Lucent Layers Studio – public site */
:root {
    --brown: #9c5c3f;
    --brown-dark: #7a4329;
    --brown-ink: #8a4b2d;
    --olive: #6f7d3c;
    --cream: #fffbf8;
    --sand: #f5ede5;
    --sand-2: #efe3d7;
    --ink: #4a3428;
    --muted: #8d7667;
    --radius: 22px;
    --shadow: 0 10px 30px rgba(74, 52, 40, .14);
    --font-head: "Exo 2", system-ui, sans-serif;
    --font-body: "Alegreya", Georgia, serif;
    --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brown-ink); }
a:hover { color: var(--brown-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }
.icon { display: inline-block; vertical-align: -0.2em; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brown); color: #fff; font-family: var(--font-head); font-size: .95rem; }
.topbar-inner { max-width: var(--max); margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; position: relative; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sand); }
.topbar .sep { opacity: .7; }
.lang-switch { position: absolute; right: 1.25rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: .1rem .7rem; font-weight: 600; font-size: .8rem; letter-spacing: .08em; }
.lang-switch:hover { background: rgba(255,255,255,.15); }

/* ---------- Header / hero ---------- */
.site-header {
    --hero-image: none;
    position: relative;
    background: #6b4a35 var(--hero-image) center / cover no-repeat;
    color: #fff;
    padding: 1.25rem 1.25rem 1.5rem;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 24, 14, .25), rgba(40, 24, 14, .35)); pointer-events: none; }
.site-header > * { position: relative; }
.header-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.main-nav { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.main-nav > a, .nav-dropdown > a {
    color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
    letter-spacing: .12em; font-size: 1rem; text-shadow: 0 2px 6px rgba(0,0,0,.55); padding: .15rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: rgba(255,255,255,.75); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; left: 100%; top: -0.6rem; min-width: 270px; background: var(--brown); border-radius: 10px;
    box-shadow: 0 14px 34px rgba(40, 20, 10, .35); padding: .45rem; display: none; z-index: 20;
    border: 1px solid rgba(255, 255, 255, .12);
}
.nav-dropdown-menu::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; } /* hover bridge */
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; animation: dropdown-in .18s ease-out; }
@keyframes dropdown-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.nav-dropdown-menu a {
    position: relative; display: block; color: #fff; text-decoration: none; text-align: center; text-transform: uppercase;
    font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; line-height: 1.45;
    padding: .7rem 1.1rem; border-radius: 7px; transition: background .18s, color .18s, letter-spacing .18s;
}
.nav-dropdown-menu a::after {
    content: ""; position: absolute; left: 50%; bottom: .42rem; width: 0; height: 2px; background: #f3d9c6;
    transform: translateX(-50%); transition: width .2s ease;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: rgba(255, 255, 255, .14); color: #ffe9d8; letter-spacing: .14em; }
.nav-dropdown-menu a:hover::after, .nav-dropdown-menu a:focus-visible::after { width: 38%; }
.nav-dropdown-menu a.active { background: rgba(0, 0, 0, .14); }
.nav-dropdown-menu a + a { border-top: 1px solid rgba(255, 255, 255, .08); }
.nav-mobile-only { display: none !important; }

.logo { display: block; justify-self: center; }
.logo img { width: 150px; height: auto; border-radius: 50%; box-shadow: 0 6px 24px rgba(0,0,0,.35); background: #fffdf6; }
.site-header--hero .logo img { width: 250px; }
.logo-text { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .15em; text-transform: uppercase; }

.header-social { justify-self: end; }
.social { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.social a { color: #fff; display: inline-flex; transition: transform .15s ease; }
.social a:hover { transform: translateY(-2px); color: var(--sand); }
.header-social .icon { width: 30px; height: 30px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }

.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; justify-self: end; }
.nav-toggle-close { display: none; }

.hero-text { text-align: center; max-width: 820px; margin: 2.5rem auto 1rem; }
.hero-title {
    font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: .14em; text-transform: uppercase; margin: 0;
    text-shadow: 0 3px 10px rgba(0,0,0,.6);
}
.hero-tagline {
    font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.85rem, 1.6vw, 1.05rem);
    max-width: 600px; margin: 2rem auto 0; line-height: 1.5; text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem; }
.section.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; }
.section-title, .page-title {
    text-align: center; color: var(--brown-ink); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
    font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 2rem; text-shadow: 0 2px 4px rgba(122, 67, 41, .25);
}
.page-title { text-transform: none; letter-spacing: .02em; text-align: left; }
.section-title--small { font-size: 1.3rem; }
.small-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brown-ink); margin: 1.5rem 0 .5rem; }
.breadcrumbs { font-family: var(--font-head); font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brown-ink); }

.btn {
    display: inline-block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
    color: #fff; text-decoration: none; background: linear-gradient(180deg, #b77a5c, var(--brown-dark)); padding: .95rem 1.8rem; border: 0; border-radius: 12px; cursor: pointer;
    box-shadow: 0 6px 16px rgba(122, 67, 41, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px rgba(122, 67, 41, .35); }
.btn--pill { border-radius: 999px; outline: 10px solid var(--sand); }
.cta-wrap { text-align: center; padding: 3rem 1rem 0; }
.cta-wrap p { margin-bottom: 1.5rem; }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
.category-tile { text-decoration: none; text-align: center; display: flex; flex-direction: column; gap: 1.25rem; }
.category-tile-image { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.category-tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-tile:hover img { transform: scale(1.05); }
.category-tile-name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brown-ink); text-shadow: 0 2px 4px rgba(122,67,41,.25); }
.category-tile:hover .category-tile-name { color: var(--olive); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.2rem 2rem; }
.product-card a { text-decoration: none; color: inherit; display: block; }
.product-card-image { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-card.is-sold .product-card-image img { filter: saturate(.75); }
.product-card-body { padding: .9rem .25rem 0; }
.product-card h3 { margin: 0; font-size: 1.15rem; color: var(--brown-ink); text-align: center; }
.product-card:hover h3 { color: var(--olive); }
.price { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 0; font-size: 1.1rem; }
.price--muted { color: var(--muted); font-weight: 400; }
.badge {
    position: absolute; top: .9rem; left: .9rem; font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: 999px; background: #fff; color: var(--brown-ink);
}
.product-info .badge { position: static; display: inline-block; background: var(--sand); }
.badge--new { background: var(--olive); color: #fff; }
.product-info .badge--new { background: var(--olive); color: #fff; }
.badge--sold { background: var(--ink); color: #fff; }
.product-info .badge--sold { background: var(--ink); color: #fff; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.gallery-main img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .6rem; margin-top: .9rem; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--sand); aspect-ratio: 1; }
.gallery-thumbs button.is-active { border-color: var(--brown); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); color: var(--brown-ink); margin: .6rem 0 .8rem; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.product-price { margin: 1.2rem 0; padding: 1.1rem 1.2rem; background: var(--sand); border-radius: 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.product-price .price { font-size: 1.5rem; }
.product-price p { margin: 0; }
.specs { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.specs li { margin: .2rem 0; }
.product-info .btn { margin-top: 0; }

.lightbox { position: fixed; inset: 0; background: rgba(16, 10, 7, .96); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 50%; width: 52px; height: 52px; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ---------- Mission ---------- */
.mission { background: var(--sand); display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; padding: 3rem 5rem; }
.mission-title { text-align: center; color: var(--brown-ink); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 4px rgba(122,67,41,.3); margin-top: 0; }
.mission .rich { color: var(--brown-ink); }
.mission-image img { width: 100%; }

/* ---------- Follow strip ---------- */
.follow { text-align: center; padding-top: 2rem; }
.follow-label { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--brown-ink); margin: 0; }
.follow-handle { font-family: var(--font-body); font-style: italic; font-size: 2rem; color: var(--brown-ink); text-decoration: none; }
.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 3rem; }
.gallery-strip > * { aspect-ratio: 1; overflow: hidden; display: block; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.gallery-strip > *:hover img, .gallery-strip > *:focus-visible img { transform: scale(1.06); opacity: .9; }
.lightbox-count { position: absolute; top: 1.4rem; left: 1.4rem; color: rgba(255,255,255,.8); font-family: var(--font-head); font-size: .9rem; }

/* ---------- News ---------- */
.post-list { display: grid; gap: 2rem; max-width: 900px; margin: 0 auto; }
.post-card { display: grid; grid-template-columns: 240px 1fr; gap: 1.75rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.post-card:not(:has(.post-card-image)) { grid-template-columns: 1fr; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.post-card-body { padding: 1.5rem 1.75rem 1.5rem 0; }
.post-card:not(:has(.post-card-image)) .post-card-body { padding-left: 1.75rem; }
.post-card time { font-family: var(--font-head); font-size: .85rem; color: var(--muted); }
.post-card h2 { margin: .3rem 0 .6rem; font-size: 1.35rem; }
.post-card h2 a { text-decoration: none; }
.read-more { font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.post-cover { border-radius: var(--radius); margin: 1.5rem 0; }

/* ---------- Rich text ---------- */
.rich h2, .rich h3 { color: var(--brown-ink); margin-top: 2rem; }
.rich img { height: auto; border-radius: 14px; }
.rich ul, .rich ol { padding-left: 1.4rem; }
.rich blockquote { border-left: 4px solid var(--sand-2); margin: 1rem 0; padding: .2rem 1rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .35rem; font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--brown-ink); }
.form input:not([type=checkbox]), .form textarea {
    font: inherit; font-family: var(--font-body); color: var(--ink); padding: .8rem 1rem; border: 1px solid var(--sand-2); border-radius: 12px; background: #fff; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--brown); outline-offset: 1px; border-color: transparent; }
.form label.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.form label.checkbox input { margin-top: .35rem; width: 18px; height: 18px; accent-color: var(--brown); }
.form .btn { justify-self: center; margin-top: 1rem; }
.form-error { background: #fbe9e4; color: #8f2d14; padding: .8rem 1rem; border-radius: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-product { display: flex; gap: 1rem; align-items: center; background: var(--sand); padding: .8rem; border-radius: 14px; margin-top: 1.5rem; }
.inquiry-product img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.inquiry-product div { display: grid; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #fff; font-family: var(--font-head); margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 4rem 1.25rem 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-grid section:nth-child(2) { text-align: center; }
.footer-grid section:nth-child(3) { justify-self: end; text-align: center; }
.site-footer h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1.6rem; }
.footer-contact, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-email { margin-top: .8rem; }
.footer-social .social { justify-content: center; gap: 2.4rem; }
.footer-social .icon { width: 22px; height: 22px; }
.footer-bottom { text-align: center; padding: 1rem 1.25rem 2rem; }
.footer-bottom p { margin: 0; }
.footer-small { font-size: .75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .mission { padding: 2.5rem; }
    .product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
    .lang-switch { position: static; }
    .header-grid { grid-template-columns: 1fr auto; }
    .logo { justify-self: start; }
    .logo img, .site-header--hero .logo img { width: 92px; }
    .header-social { display: none; }
    .nav-toggle { display: block; grid-column: 2; grid-row: 1; }
    .main-nav {
        display: none; grid-column: 1 / -1; grid-row: 2; background: rgba(255, 251, 248, .97); border-radius: 16px; padding: 1rem 1.25rem; gap: .2rem;
    }
    .main-nav > a, .nav-dropdown > a { color: var(--ink); text-shadow: none; display: block; padding: .5rem 0; }
    .nav-dropdown-menu { position: static; display: block; box-shadow: none; background: transparent; padding: 0 0 0 .8rem; min-width: 0; }
    .nav-mobile-only { display: block !important; }
    body.nav-open .main-nav { display: flex; align-items: stretch; }
    body.nav-open .nav-toggle-open { display: none; }
    body.nav-open .nav-toggle-close { display: inline; }
    .site-header--hero .logo { justify-self: start; }
    .hero-text { margin-top: 1.5rem; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.1rem; }
    .category-tile-name { font-size: .85rem; }
    .mission { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
    .gallery-strip { grid-template-columns: repeat(3, 1fr); }
    .post-card { grid-template-columns: 1fr; }
    .post-card-body { padding: 1.25rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-grid section:nth-child(3) { justify-self: center; }
    .footer-contact a { justify-content: center; }
    .section { padding: 2.5rem 1.1rem; }
}

/* ---------- Products hub (/products) ---------- */
.products-hub-title { font-size: clamp(1.2rem, 2.2vw, 1.75rem); max-width: 1100px; margin-left: auto; margin-right: auto; }
.btn--soft { background: linear-gradient(180deg, #eddccf 0%, #c99a80 45%, #9c5c3f 100%); box-shadow: 0 6px 14px rgba(122, 67, 41, .25); font-weight: 600; }
.products-hub { max-width: 1640px; }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.1rem; margin: 3rem 0 3.5rem; }
.category-pills .btn { border-radius: 999px; padding: 1.05rem 1.7rem; font-size: .8rem; letter-spacing: .05em; }
.intro-card { border: 3px solid var(--brown); border-radius: var(--radius); padding: 2rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; max-width: 1300px; margin: 0 auto; }
.intro-card--text-only { grid-template-columns: 1fr; max-width: 860px; }
.intro-card-image img { width: 100%; height: auto; }
.intro-card-text .rich { color: var(--brown-ink); font-size: 1.05rem; }
.intro-card-text .rich ul { margin: 1.2rem 0; }
.intro-card-actions { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; margin-top: 2rem; }
.intro-card-actions .btn { padding: .95rem 1.6rem; }
.intro-card-actions .btn--soft { outline-color: var(--sand); }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }
.rich .ql-align-justify { text-align: justify; }
@media (max-width: 900px) {
    .intro-card { grid-template-columns: 1fr; padding: 1.25rem; gap: 1.75rem; }
    .category-pills { gap: .8rem; margin: 2rem 0 2.5rem; }
    .category-pills .btn { padding: .85rem 1.5rem; }
}

/* ---------- Badges (several per product) ---------- */
.badges { position: absolute; top: .9rem; left: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.badges .badge { position: static; }
.badge--set { background: var(--brown); color: #fff; }
.product-info .badge--set { background: var(--brown); color: #fff; }
.badge--madetoorder { background: var(--sand); color: var(--brown-ink); }

/* ---------- Text pages (terms, about, custom orders…) ---------- */
.page .rich h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); text-transform: uppercase; letter-spacing: .08em; margin: 3rem 0 1.2rem; text-shadow: 0 2px 4px rgba(122,67,41,.2); }
.page .rich h2:first-child { margin-top: 0; }
.page .rich h3 { font-size: 1.15rem; letter-spacing: .04em; margin: 2.2rem 0 .6rem; padding-top: 1.4rem; border-top: 1px solid var(--sand-2); }
.page .rich h2 + h3, .page .rich h2 + p + h3, .page .rich h2 + p + p + h3 { border-top: 0; }
.page .rich ul { margin: .4rem 0 1rem; }
/* Expand icon on gallery photos (shown on hover, always on touch screens) */
.gallery-strip > * { position: relative; }
.gallery-strip > *::after {
    content: ""; position: absolute; top: .7rem; right: .7rem; width: 30px; height: 30px; border-radius: 8px;
    background: rgba(30, 20, 14, .65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5'/%3E%3C/svg%3E") center / 18px no-repeat;
    opacity: 0; transition: opacity .2s;
}
.gallery-strip > *:hover::after, .gallery-strip > *:focus-visible::after { opacity: 1; }
@media (hover: none) { .gallery-strip > *::after { opacity: .85; width: 26px; height: 26px; background-size: 15px; } }

/* Lightbox with product panel on the right */
.lightbox--panel .lightbox-stage { display: flex; align-items: center; justify-content: center; gap: 2rem; max-width: calc(100vw - 9rem); max-height: 92vh; }
.lightbox--panel .lightbox-stage img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 6px; min-width: 0; }
.lightbox--panel.has-panel .lightbox-stage img { max-width: calc(100vw - 9rem - 340px - 2rem); }
.lightbox-panel { flex: 0 0 320px; background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.lightbox-panel[hidden] { display: none; }
.lightbox-panel .badge { position: static; background: var(--sand); }
.lightbox-panel .badge.badge--new { background: var(--olive); color: #fff; }
.lightbox-panel .badge.badge--sold { background: var(--ink); color: #fff; }
.lightbox-panel h3 { margin: .1rem 0 0; font-size: 1.45rem; color: var(--brown-ink); }
.lightbox-panel-price { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.lightbox-panel-summary { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.lightbox-panel .btn { margin-top: .8rem; outline-color: var(--sand-2); }
.lightbox-panel .btn[hidden], .lightbox-panel a[hidden], .lightbox-panel [hidden] { display: none; }
.lightbox-panel-post { font-family: var(--font-head); font-size: .9rem; color: var(--brown-ink); margin-top: .3rem; }
@media (max-width: 900px) {
    .lightbox--panel { align-items: flex-start; overflow-y: auto; padding: 4rem 0 2rem; }
    .lightbox--panel .lightbox-stage { flex-direction: column; max-width: 100vw; max-height: none; gap: 1rem; padding: 0 1rem; }
    .lightbox--panel .lightbox-stage img, .lightbox--panel.has-panel .lightbox-stage img { max-width: 100%; max-height: 62vh; }
    .lightbox-panel { flex: none; width: 100%; max-width: 480px; }
    .lightbox--panel .lightbox-prev, .lightbox--panel .lightbox-next { top: 32vh; }
}

/* Studio name in text: outlined initials (L, L, S) */
.brand-name { font-weight: 700; white-space: nowrap; }
.brand-initial { color: transparent; -webkit-text-stroke: 1.1px var(--brown-ink); paint-order: stroke; }
@supports not (-webkit-text-stroke: 1px black) { .brand-initial { color: var(--brown-ink); } }
@media (max-width: 780px) {
    .nav-dropdown-menu { position: static; display: block; background: transparent; box-shadow: none; border: 0; padding: 0 0 0 .8rem; animation: none !important; }
    .nav-dropdown-menu a { color: var(--ink); text-align: left; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .95rem; padding: .45rem .6rem; }
    .nav-dropdown-menu a:hover { background: var(--sand); color: var(--brown-dark); letter-spacing: 0; }
    .nav-dropdown-menu a::after { display: none; }
    .nav-dropdown-menu a + a { border-top: 0; }
}

/* Product page actions + share */
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 1.8rem; margin-top: 1.8rem; }
.share { position: relative; }
.share-toggle { display: inline-flex; align-items: center; gap: .55rem; outline-color: var(--sand); }
.share-menu {
    position: absolute; left: 0; top: calc(100% + .7rem); z-index: 30; min-width: 220px; background: var(--brown); border-radius: 12px;
    padding: .4rem; box-shadow: 0 14px 34px rgba(40, 20, 10, .3); display: grid; animation: dropdown-in .16s ease-out;
}
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button {
    display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 600 .9rem var(--font-head);
    padding: .65rem .8rem; border-radius: 8px; background: none; border: 0; cursor: pointer; text-align: left;
}
.share-menu a:hover, .share-menu button:hover, .share-menu a:focus-visible, .share-menu button:focus-visible { background: rgba(255,255,255,.15); color: #ffe9d8; }
.share-toast { position: absolute; left: 50%; top: -2.6rem; transform: translateX(-50%); background: var(--ink); color: #fff; font: 600 .85rem var(--font-head); padding: .4rem .8rem; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share-toast.is-visible { opacity: 1; }

/* ---------- Photo transitions ---------- */
.lightbox:not([hidden]) { animation: lb-backdrop-in .3s ease-out both; }
.lightbox:not([hidden]) > img, .lightbox:not([hidden]) .lightbox-stage { animation: lb-zoom-in .45s cubic-bezier(.16, 1, .3, 1) both; }
.lightbox:not([hidden]) .lightbox-panel { animation: lb-panel-in .5s .08s cubic-bezier(.16, 1, .3, 1) both; }
.lightbox:not([hidden]) > button { animation: lb-backdrop-in .4s .1s ease-out both; }
.lightbox.is-closing { animation: lb-backdrop-out .22s ease-in both; }
.lightbox.is-closing > img, .lightbox.is-closing .lightbox-stage { animation: lb-zoom-out .22s ease-in both; }
.lightbox .anim-next { animation: lb-slide-next .42s cubic-bezier(.16, 1, .3, 1) both !important; }
.lightbox .anim-prev { animation: lb-slide-prev .42s cubic-bezier(.16, 1, .3, 1) both !important; }
.gallery-main img.anim-fade { animation: photo-fade .45s ease-out both; }
.gallery-thumbs button { transition: border-color .2s, transform .2s, opacity .2s; opacity: .75; }
.gallery-thumbs button:hover { transform: translateY(-2px); opacity: 1; }
.gallery-thumbs button.is-active { opacity: 1; }
.gallery-main { transition: box-shadow .3s; }
.gallery-main:hover { box-shadow: 0 16px 40px rgba(74, 52, 40, .22); }
.gallery-main img { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.gallery-main:hover img { transform: scale(1.015); }
.gallery-strip > *:active img, .gallery-main:active img { transform: scale(.98); }

@keyframes lb-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lb-zoom-in { from { opacity: 0; transform: scale(.88) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lb-zoom-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.94); } }
@keyframes lb-panel-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes lb-slide-next { from { opacity: 0; transform: translateX(60px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lb-slide-prev { from { opacity: 0; transform: translateX(-60px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes photo-fade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .lightbox, .lightbox *, .gallery-main img { animation: none !important; transition: none !important; }
}

/* Developer credit (bottom-right of the footer) */
.footer-bottom { position: relative; }
.site-footer .dev-credit {
    position: absolute; right: 1.25rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem;
    font-size: .75rem; font-weight: 600; color: #fff; text-decoration: none; background: rgba(0, 0, 0, .18);
    padding: .3rem .7rem; border-radius: 999px; transition: background .2s, transform .2s;
}
.site-footer .dev-credit:hover { background: rgba(0, 0, 0, .32); color: #fff; text-decoration: none; transform: translateY(-1px); }
@media (max-width: 780px) { .site-footer .dev-credit { position: static; margin-top: 1rem; } }

/* ---------- Product photo frame: fixed size, any photo fits inside, no page jumps ---------- */
.gallery-main { position: relative; aspect-ratio: 4 / 5; max-height: 82vh; width: 100%; isolation: isolate; cursor: zoom-in; }
.gallery-main-fill { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(28px) saturate(1.1) brightness(.92); transform: scale(1.1); z-index: -1; transition: background-image .3s; }
.gallery-main::after { content: ""; position: absolute; inset: 0; background: rgba(255, 251, 248, .18); z-index: -1; }
.gallery-zoom-hint { position: absolute; right: .9rem; bottom: .9rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(30, 20, 14, .55); opacity: .85; transition: opacity .2s, transform .2s; }
.gallery-main:hover .gallery-zoom-hint { opacity: 1; transform: scale(1.08); }
.gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.gallery-thumbs button { cursor: zoom-in; }
.product-info { position: sticky; top: 1.5rem; }

/* Large view: blurred page behind */
.lightbox { background: rgba(20, 13, 9, .62) !important; -webkit-backdrop-filter: blur(16px) saturate(.85); backdrop-filter: blur(16px) saturate(.85); }
.lightbox > img, .lightbox-stage img { max-width: min(92vw, 1600px); max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox-count { position: absolute; top: 1.4rem; left: 1.4rem; color: rgba(255,255,255,.85); font-family: var(--font-head); font-size: .9rem; }
.lightbox button[hidden] { display: none; }
@supports not (backdrop-filter: blur(1px)) { .lightbox { background: rgba(16, 10, 7, .94) !important; } }

@media (max-width: 1000px) {
    .product-info { position: static; }
    .gallery-main { aspect-ratio: 1 / 1; max-height: 72vh; }
}
