/* =========================================================
   傑秝室內裝修設計有限公司 — JZ Design
   版型參考：大圖、留白、細字、疊層選單的極簡編排
   ========================================================= */
:root {
  --bg: #f8eeec;
  --paper: #fdf7f6;
  --ink: #3a1418;
  --ink-soft: #6f4f50;
  --line: #e7cdca;
  --accent: #b3122b;
  --wine: #5e0f17;
  --red: #c8102e;
  --serif: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif; /* 全站統一中黑體 */
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.9;
  letter-spacing: .04em; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.4; margin: 0; letter-spacing: .06em; }
p { margin: 0 0 1.2em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); transition: background .4s var(--ease), color .4s var(--ease), padding .4s var(--ease);
}
.site-header.on-dark { color: #fff; }
.site-header.scrolled { background: rgba(248,238,236,.95); color: var(--ink); padding-top: 14px; padding-bottom: 14px; backdrop-filter: blur(6px); }
.logo { display: flex; align-items: baseline; gap: 14px; }
.logo-mark { font-family: var(--serif); font-size: 22px; letter-spacing: .32em; }
.logo-sub { font-size: 11px; letter-spacing: .28em; opacity: .8; }
.menu-btn {
  background: none; border: 0; color: inherit; cursor: pointer; font: inherit;
  font-size: 13px; letter-spacing: .3em; display: flex; align-items: center; gap: 12px; padding: 8px 0;
}
.menu-btn .bars { width: 26px; height: 9px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }

/* ---------- Overlay menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fbeeee;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.menu.open { opacity: 1; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); }
.menu-body { flex: 1; display: grid; gap: 48px; padding: 4vh var(--gutter) 48px; grid-template-columns: 1fr; align-content: end; }
.menu-main li { overflow: hidden; }
.menu-main a {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 58px); line-height: 1.5; display: inline-block;
  transform: translateY(100%); transition: transform .7s var(--ease), color .3s;
}
.menu.open .menu-main a { transform: none; }
.menu.open .menu-main li:nth-child(2) a { transition-delay: .05s; }
.menu.open .menu-main li:nth-child(3) a { transition-delay: .1s; }
.menu.open .menu-main li:nth-child(4) a { transition-delay: .15s; }
.menu.open .menu-main li:nth-child(5) a { transition-delay: .2s; }
.menu-main a:hover { color: #ff8f9c; }
.menu-main small { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; margin-left: 14px; opacity: .55; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu-side { font-size: 14px; line-height: 2.2; color: #e6c7c9; }
.menu-side h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: #d29aa0; margin-bottom: 8px; }
.menu-side a:hover { color: #fff; }
@media (min-width: 900px) { .menu-body { grid-template-columns: 2fr 1fr; align-items: end; padding-top: 10vh; } }

/* ---------- Hero slideshow ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #3a1418; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 25%); }
.slide-caption { position: absolute; left: var(--gutter); bottom: 12vh; z-index: 2; max-width: 680px; }
.slide-caption h2 { font-size: clamp(30px, 5vw, 64px); }
.slide-caption p { margin-top: 10px; font-size: 14px; letter-spacing: .2em; opacity: .9; }
.hero-dots { position: absolute; right: var(--gutter); bottom: 12vh; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.active { background: #fff; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; font-size: 11px; letter-spacing: .3em; opacity: .8; }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(80px, 14vw, 180px); padding-bottom: clamp(80px, 14vw, 180px); text-align: center; }
.intro h1 { font-size: clamp(24px, 3.2vw, 40px); max-width: 900px; margin: 18px auto 28px; }
.intro p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); }

/* ---------- Featured ---------- */
.featured { display: grid; gap: 32px; padding-bottom: clamp(80px, 12vw, 160px); }
.featured-media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured:hover .featured-media img { transform: scale(1.03); }
.featured-text h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 18px; }
.featured-text p { color: var(--ink-soft); }
@media (min-width: 900px) { .featured { grid-template-columns: 7fr 4fr; align-items: end; gap: 64px; } }

.link-line { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .25em; margin-top: 10px; }
.link-line::after { content: ""; width: 48px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-line:hover::after { width: 80px; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--bg); }
.tile { position: relative; overflow: hidden; aspect-ratio: 4/5; color: #fff; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.tile-text { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; }
.tile-text h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tile-text p { font-size: 14px; margin: 6px 0 0; opacity: .9; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tile { aspect-ratio: 3/5; } }

/* ---------- Quote ---------- */
.quote { padding-top: clamp(100px, 16vw, 220px); padding-bottom: clamp(100px, 16vw, 220px); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-size: clamp(24px, 3.4vw, 44px); line-height: 1.6; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }

/* ---------- Page head ---------- */
.page-head { padding-top: clamp(130px, 18vw, 180px); padding-bottom: 64px; }
.page-head h1 { font-size: clamp(34px, 5vw, 64px); margin-top: 14px; }
.page-head p.lead { max-width: 620px; margin-top: 24px; color: var(--ink-soft); }
.page-hero { aspect-ratio: 21/9; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Two column text ---------- */
.split { display: grid; gap: 32px; padding: clamp(72px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); }
.split:last-of-type { border-bottom: 0; }
.split h2 { font-size: clamp(22px, 2.4vw, 30px); }
.split .body { color: var(--ink-soft); max-width: 680px; }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 7fr; gap: 64px; } }

/* ---------- Team ---------- */
.team { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding-bottom: 120px; }
.member img { aspect-ratio: 3/4; object-fit: cover; width: 100%; margin-bottom: 16px; filter: grayscale(.2); }
.member h3 { font-size: 18px; }
.member p { font-size: 13px; color: var(--ink-soft); margin: 2px 0 0; }

/* ---------- Projects grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.filters button { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; letter-spacing: .2em; color: var(--ink-soft); cursor: pointer; border-bottom: 1px solid transparent; }
.filters button.active, .filters button:hover { color: var(--ink); border-color: var(--ink); }
.grid { display: grid; gap: 56px 32px; grid-template-columns: 1fr; padding-bottom: 140px; }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } .grid .card:nth-child(4n+2), .grid .card:nth-child(4n+3) { } }
@media (min-width: 720px) { .grid .card:nth-child(even) { margin-top: 96px; } }
.card .card-img { overflow: hidden; aspect-ratio: 4/3; margin-bottom: 18px; }
.card:nth-child(3n) .card-img { aspect-ratio: 4/5; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card h3 { font-size: 20px; }
.card .meta { font-size: 13px; color: var(--ink-soft); letter-spacing: .15em; }
.card.hide { display: none; }

/* ---------- Project detail ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 48px 0 0; }
.facts dt { font-size: 11px; letter-spacing: .3em; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 17px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.gallery { display: grid; gap: 24px; padding: 72px 0; }
.gallery .full { grid-column: 1 / -1; }
.gallery img { width: 100%; object-fit: cover; }
@media (min-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
.pager { display: flex; justify-content: space-between; padding: 48px 0 120px; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: .15em; gap: 16px; }

/* ---------- Services ---------- */
.services { display: grid; gap: 2px; grid-template-columns: 1fr; padding-bottom: 40px; }
.service { background: var(--paper); padding: 40px 32px; }
.service .num { font-family: var(--serif); font-size: 13px; color: var(--accent); letter-spacing: .2em; }
.service h3 { font-size: 22px; margin: 14px 0 12px; }
.service p { color: var(--ink-soft); font-size: 15px; margin: 0; }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); color: var(--accent); }
.steps strong { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; }
.steps span { color: var(--ink-soft); font-size: 15px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-family: var(--sans); }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 64px; padding-bottom: 140px; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; } }
.info dl { margin: 0; }
.info dt { font-size: 11px; letter-spacing: .3em; color: var(--ink-soft); margin-top: 28px; }
.info dd { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 6px; font-size: 13px; letter-spacing: .15em; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; border-radius: 0; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.btn { justify-self: start; background: var(--ink); color: #fff; border: 0; padding: 16px 40px; font: inherit; font-size: 13px; letter-spacing: .3em; cursor: pointer; transition: background .3s; }
.btn:hover { background: var(--accent); }
.map { aspect-ratio: 16/7; border: 0; width: 100%; filter: grayscale(1) contrast(.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #ecd2d4; padding: 80px 0 32px; font-size: 14px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: #d29aa0; margin-bottom: 12px; font-weight: 400; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.2; }
.site-footer a:hover { color: #fff; }
.foot-brand .logo-mark { color: #fff; font-size: 26px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #7a2a31; font-size: 12px; color: #d29aa0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .slide img, .slide.active img { transform: none; transition: none; }
}
.awards li { grid-template-columns: 1fr; }
.awards li::before { content: none; }

/* ---------- Brand (center logo) ---------- */
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; }
.site-header .menu-btn { justify-self: end; }
.brand { display: flex; align-items: center; gap: 16px; justify-self: center; }
.brand-logo { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); transition: width .4s var(--ease), height .4s var(--ease); }
.site-header.scrolled .brand-logo { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.brand-zh { font-size: 21px; font-weight: 700; letter-spacing: .14em; padding: 0 6px 5px; border-bottom: 2px solid #c8102e; }
.brand-en { margin-top: 5px; font-size: 12px; font-weight: 700; letter-spacing: .26em; }
.site-header.on-dark:not(.scrolled) .brand-text { text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.menu-top .brand { justify-self: start; }
.menu-top .brand-logo { width: 48px; height: 48px; }
.foot-logo { width: 72px; height: 72px; }
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-spacer { display: none; }
  .brand { justify-self: start; gap: 10px; }
  .brand-logo { width: 44px; height: 44px; }
  .site-header.scrolled .brand-logo { width: 38px; height: 38px; }
  .brand-zh { font-size: 14px; letter-spacing: .06em; padding: 0 3px 3px; }
  .brand-en { font-size: 9px; letter-spacing: .16em; margin-top: 3px; }
}

/* ---------- 選單按鈕：放大、加粗 ---------- */
.site-header .menu-btn { font-size: 17px; font-weight: 700; letter-spacing: .24em; gap: 14px; }
.site-header .menu-btn .bars { width: 32px; height: 14px; }
.site-header .menu-btn .bars::before, .site-header .menu-btn .bars::after { height: 2px; }
.site-header .menu-btn .bars::before { box-shadow: 0 6px 0 currentColor; }
.site-header.on-dark:not(.scrolled) .menu-btn { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.menu-top .menu-btn { font-size: 16px; font-weight: 700; letter-spacing: .2em; }

/* ---------- 選單底圖 ---------- */
.menu {
  background: linear-gradient(rgba(70,10,18,.80), rgba(70,10,18,.80)), url("../img/menu-bg.jpg") center / cover no-repeat, var(--ink);
}

/* ---------- 手機・平板：輪播照片完整顯示不裁切 ---------- */
@media (max-width: 1024px), (orientation: portrait) {
  .hero { height: auto; min-height: 0; padding-top: 84px; background: var(--ink); }
  .hero::before { content: ""; display: block; aspect-ratio: 3 / 2; }
  .slide { top: 84px; }
  .slide img, .slide.active img { object-fit: contain; transform: none; transition: none; background: var(--ink); }
  .slide::after { background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 45%); }
  .slide-caption { bottom: 22px; }
  .slide-caption h2 { font-size: clamp(22px, 5.5vw, 40px); }
  .slide-caption p { font-size: 12px; margin-top: 4px; }
  .hero-dots { bottom: 28px; }
  .scroll-hint { display: none; }
}
@media (max-width: 720px) {
  .hero { padding-top: 68px; }
  .slide { top: 68px; }
  .hero-dots button { width: 18px; }
  .site-header .menu-btn { font-size: 15px; letter-spacing: .16em; gap: 10px; }
  .site-header .menu-btn .bars { width: 26px; }
}

/* ---------- 關於我們 ---------- */
.about-hero img { object-position: center 42%; }
.split h2 br { display: block; }
.signature { margin-top: 1.6em; font-size: 18px; font-weight: 700; color: var(--accent); letter-spacing: .2em; }
@media (max-width: 1024px), (orientation: portrait) {
  .page-hero { aspect-ratio: 3 / 2; }
}

/* ---------- 作品影片 ---------- */
.video { position: relative; aspect-ratio: 16 / 9; margin-top: 72px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 紅色系配色 ---------- */
.site-footer, .menu { background-color: var(--wine); }
.site-footer { background: var(--wine); }
.btn { background: var(--accent); }
.btn:hover { background: var(--wine); }
.eyebrow { color: var(--accent); }
.filters button.active, .filters button:hover { color: var(--accent); border-color: var(--accent); }
.link-line { color: var(--accent); }
.split { border-bottom-color: var(--line); }
.steps li::before, .service .num { color: var(--accent); }
.service { border-top: 3px solid var(--accent); }
.quote blockquote { color: var(--wine); }
.quote cite { color: var(--accent); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.hero-dots button.active { background: var(--red); }
::selection { background: var(--red); color: #fff; }

/* ---------- 服務項目頁：文字約 14pt、流程圖 ---------- */
.page-services .service p, .page-services .steps span, .page-services details p, .page-services .page-head p.lead { font-size: 18.5px; line-height: 1.85; }
.page-services .service h3 { font-size: 24px; }
.page-services .steps strong, .page-services summary { font-size: 20px; }
.flow-chart { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.flow-chart img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 40px rgba(94,15,23,.12); }

/* ---------- 作品案例：黑色底 ---------- */
body.theme-dark {
  --bg: #0d0d0d; --paper: #161616; --ink: #f2eeee; --ink-soft: #b9b0b0; --line: #2f2a2a; --accent: #e3344d;
  background: #0d0d0d; color: #f2eeee;
}
body.theme-dark .site-header { color: #fff; }
body.theme-dark .site-header.scrolled { background: rgba(13,13,13,.94); color: #fff; }
body.theme-dark .site-footer { background: #000; border-top: 1px solid #2a2a2a; }
body.theme-dark .card h3, body.theme-dark h1, body.theme-dark h2, body.theme-dark .facts dd { color: #fff; }
body.theme-dark .filters button { color: #9d9494; }
body.theme-dark .filters button.active, body.theme-dark .filters button:hover { color: #fff; border-color: var(--accent); }
body.theme-dark .pager a:hover { color: var(--accent); }
body.theme-dark .page-hero { background: #000; }

/* ---------- 作品照片瀑布流（直橫照片都完整顯示） ---------- */
.gallery.masonry { display: block; columns: 2; column-gap: 20px; padding: 56px 0; }
.gallery.masonry img { width: 100%; height: auto; margin: 0 0 20px; break-inside: avoid; display: block; }
@media (max-width: 640px) { .gallery.masonry { columns: 1; } }

/* ---------- 照片全螢幕檢視 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { width: 100vw; height: 100vh; height: 100dvh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(0,0,0,.35); color: #fff; border: 0; cursor: pointer; font-size: 40px; line-height: 1; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--red, #c8102e); }
.lb-close { top: 16px; right: 16px; font-size: 26px !important; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; letter-spacing: .2em; background: rgba(0,0,0,.4); padding: 4px 12px; border-radius: 20px; }
@media (max-width: 720px) { .lightbox button { width: 44px; height: 44px; font-size: 30px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }
