/* ===== Kien Da Nau Photographer — giao diện kiểu tạp chí (editorial) ===== */
:root {
  --bg: #0b0a09; --text: #f4ead7; --body: #d8b4a2; --line: #2b2522; --paper: #f4ead7; --ink: #1c1512; --sheen: #ffffff;
  --main: #9b2a1c; --main-on: #fff;
  --vietphuc: #c0422c; --vietphuc-on: #fff; --aodai: #3a9c8b; --aodai-on: #fff; --couple: #d98a74; --couple-on: #141414;
  --accent: var(--main); --accent-on: var(--main-on);
  --display: 'Anton', 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;
  --wrap: 1320px;
}
[data-concept='vietphuc'] { --accent: var(--vietphuc); --accent-on: var(--vietphuc-on); }
[data-concept='aodai'] { --accent: var(--aodai); --accent-on: var(--aodai-on); }
[data-concept='couple'] { --accent: var(--couple); --accent-on: var(--couple-on); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; background: var(--bg); }
body {
  margin: 0; color: var(--body); font: 300 16.5px/1.75 var(--sans); background: transparent;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Nền vải lụa: các dải sáng chéo mờ + hạt nhiễu */
body::before {
  content: ''; position: fixed; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(90% 55% at 8% 18%, color-mix(in srgb, var(--sheen) 8%, transparent), transparent 60%),
    linear-gradient(118deg, transparent 28%, color-mix(in srgb, var(--sheen) 6%, transparent) 38%, transparent 47%, color-mix(in srgb, var(--sheen) 4%, transparent) 58%, transparent 68%),
    linear-gradient(152deg, transparent 52%, color-mix(in srgb, var(--sheen) 5%, transparent) 63%, transparent 74%),
    radial-gradient(70% 45% at 92% 85%, color-mix(in srgb, var(--sheen) 6%, transparent), transparent 62%),
    var(--bg);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
::selection { background: var(--accent); color: var(--accent-on); }

/* ---- Chữ ---- */
.display, h1, h2, h3.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--text);
  line-height: .95; letter-spacing: -.005em; margin: 0; padding-top: .08em;
}
.mega { font-size: clamp(84px, 18.5vw, 330px); line-height: .86; }
.h-xl { font-size: clamp(64px, 10.5vw, 180px); }
.h-lg { font-size: clamp(46px, 6.6vw, 112px); }
.h-md { font-size: clamp(34px, 4vw, 60px); }
.label { font: 800 17px/1.3 var(--sans); text-transform: uppercase; letter-spacing: -.01em; color: var(--text); margin: 2.2em 0 .7em; }
.label:first-child { margin-top: 0; }
.lead { font-size: 17px; text-align: justify; hyphens: none; }
.locs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: 300 clamp(17px, 1.6vw, 21px)/1.4 var(--sans); text-transform: uppercase; color: var(--accent); letter-spacing: -.01em; }
.locs li:not(:last-child)::after { content: ''; display: inline-block; width: 1.5px; height: .72em; background: currentColor; margin: 0 .7em; vertical-align: .02em; opacity: .9; }
.sig { font-family: var(--script); font-size: clamp(46px, 5.2vw, 84px); line-height: 1; color: var(--text); display: inline-block; transform: rotate(-6deg); white-space: nowrap; font-weight: 400; }
img.sig { height: clamp(60px, 7vw, 110px); width: auto; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .3)); }
.by { display: flex; align-items: flex-end; gap: 14px; margin-top: 40px; }
.by small { font-family: var(--script); font-size: 34px; color: var(--text); line-height: 1; }
.pageno { display: block; text-align: center; font: 300 15px var(--sans); color: var(--text); opacity: .7; margin-top: clamp(50px, 6vw, 80px); letter-spacing: .05em; }

/* ---- Nút ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--accent-on); text-decoration: none; font: 600 13.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: transform .2s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 45%, transparent); }
.btn.ghost:hover { border-color: var(--text); }
.btn.sm { padding: 10px 16px; font-size: 12px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none; text-transform: uppercase; font: 400 15px var(--sans);
  color: var(--text); letter-spacing: .02em; background: none; border: 0; cursor: pointer; padding: 6px 0;
}
.arrow-link::after { content: ''; width: 60px; height: 1px; background: currentColor; transition: width .3s; }
.arrow-link span.tip { order: 2; }
.arrow-link:hover::after { width: 90px; }
.ic { display: inline-flex; width: 1.25em; height: 1.25em; }
.ic svg { width: 100%; height: 100%; fill: currentColor; }

/* ---- Thẻ giấy & polaroid ---- */
.paper { background: var(--paper); color: var(--ink); padding: 16px 20px 20px; }
.paper .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--display); text-transform: uppercase; color: var(--accent); font-size: clamp(22px, 2.3vw, 34px); line-height: 1; padding: 6px 0 14px; }
.paper .cap .num { color: var(--accent); }
.polaroid { background: #f6f1e7; padding: 14px 14px 16px; box-shadow: 0 30px 50px -18px rgb(0 0 0 / .65), 0 2px 6px rgb(0 0 0 / .25); transform: rotate(2.2deg); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid .sig { position: absolute; right: 8%; bottom: 10%; color: #fff; font-size: clamp(40px, 4vw, 66px); text-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.polaroid img.sig { height: clamp(50px, 5vw, 80px); right: 6%; bottom: 8%; position: absolute; width: auto; aspect-ratio: auto; object-fit: contain; }

/* ---- Hiện dần khi cuộn ---- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- Header ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s; color: var(--text); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav.solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--display); font-size: 22px; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; white-space: nowrap; line-height: 1; padding-top: 3px; }
.links { display: flex; gap: 30px; align-items: center; }
.links a { text-decoration: none; font: 600 12.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; transition: opacity .2s; }
.links a:hover { opacity: 1; }
.links .btn { opacity: 1; color: var(--main-on); background: var(--main); border-color: var(--main); }
.burger { display: none; background: none; border: 0; color: inherit; width: 42px; height: 42px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: .3s; margin: auto; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -8px; } .burger span::after { top: 8px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .burger { display: block; }
  .links {
    position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg);
    padding: 6px 24px 26px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s; z-index: -1;
  }
  .links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .links a.btn { margin-top: 16px; border-bottom: 0; }
  .nav.open { background: var(--bg); }
  .nav.open .links { transform: none; }
}

section { position: relative; padding: clamp(90px, 10vw, 150px) 0 30px; }

/* ===== 01 Cover ===== */
.cover { padding-top: 86px; }
.infobar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; font-size: 14px; text-transform: uppercase; margin-bottom: clamp(30px, 5vw, 70px); }
.infobar div { white-space: nowrap; }
.infobar b { font-weight: 800; color: var(--text); margin-right: 10px; letter-spacing: -.01em; }
.infobar span { font-weight: 300; color: var(--text); opacity: .85; text-transform: none; }
.infobar a { text-decoration: none; }
.cover-grid { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.cover .mega { white-space: nowrap; }
.vert { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); text-transform: uppercase; color: var(--text); font-size: clamp(24px, 2.8vw, 50px); line-height: .92; align-self: end; margin-bottom: .6vw; }
.cover-pol { justify-self: end; width: clamp(200px, 22vw, 360px); }
.banner { position: relative; margin-top: clamp(36px, 5vw, 70px); aspect-ratio: 2.35 / 1; overflow: hidden; background: #111; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.banner img.on { opacity: 1; transform: scale(1); }
.dots { position: absolute; z-index: 2; bottom: 18px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dots button { width: 26px; height: 3px; border: 0; padding: 0; background: rgb(255 255 255 / .45); cursor: pointer; transition: background .3s, width .3s; }
.dots button.on { background: #fff; width: 44px; }
@media (max-width: 900px) {
  .cover-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cover .mega { font-size: 21vw; }
  .vert { writing-mode: horizontal-tb; transform: none; font-size: 7vw; align-self: auto; margin: 0; }
  .vert br { display: none; }

  .cover-pol { justify-self: center; width: min(300px, 70vw); margin-top: 20px; }
  .banner { aspect-ratio: 4 / 3; }
  .infobar { justify-content: center; font-size: 12.5px; }
}

/* ===== 02 Who I am ===== */
.who-grid { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.me-card { padding: 0; }
.me-card .tag { font: 800 clamp(18px, 1.8vw, 26px)/1 var(--sans); text-transform: uppercase; padding: 20px 26px 16px; letter-spacing: -.01em; }
.me-card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.me-card .foot { padding: 20px 26px 26px; }
.me-card .name { font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 4vw, 60px); line-height: .95; color: var(--ink); padding-bottom: 14px; border-bottom: 1.5px solid currentColor; margin-bottom: 14px; }
.me-card .soc { font: 400 15px var(--sans); color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 34px; margin: 14px 0 28px; font-size: 17px; text-transform: uppercase; }
.meta b { font-weight: 800; color: var(--text); margin-right: 8px; letter-spacing: -.01em; }
.meta span { color: var(--body); font-weight: 300; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } .me-card { max-width: 440px; margin: 0 auto; width: 100%; } }

/* ===== 03 Highlights ===== */
.hl-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 34px); }
.hl-card { text-decoration: none; display: block; transition: transform .35s; }
.hl-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.hl-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .hl-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hl-cards { gap: 12px; } .hl-card.paper { padding: 10px 12px 12px; } }

/* ===== Chương concept ===== */
.chapter-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.chapter.flip .chapter-grid { grid-template-columns: 7fr 5fr; }
.chapter.flip .ch-text { order: 2; }
.ch-text .h-xl { margin-bottom: .32em; }
.cols { display: flex; gap: 10px; height: clamp(460px, 56vw, 820px); }
.cols .col { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cols img { width: 100%; min-height: 0; object-fit: cover; cursor: zoom-in; transition: filter .3s; }
.cols img:hover { filter: brightness(1.08); }
.ch-actions { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; margin-top: 30px; }
/* Chương kiểu "travel": chữ ở giữa + dải ảnh tràn ngang */
.chapter.center .ch-text { max-width: 1060px; margin: 0 auto; }
.chapter.center .ch-text .h-xl { text-align: center; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(40px, 5vw, 70px); }
.strip img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; cursor: zoom-in; }
@media (max-width: 860px) {
  .chapter-grid, .chapter.flip .chapter-grid { grid-template-columns: 1fr; }
  .chapter.flip .ch-text { order: 0; }
  .cols { height: 118vw; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .lead { text-align: left; }
}

/* Bảng giá trong chương */
.pricing { margin-top: clamp(60px, 7vw, 100px); }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pricing-head p { margin: 0; color: var(--body); }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.pkg { display: flex; flex-direction: column; position: relative; padding: 18px 24px 24px; transition: transform .3s; }
.pkg:hover { transform: translateY(-4px); }
.pkg.featured { box-shadow: 0 0 0 3px var(--accent); }
.pkg .badge { position: absolute; top: -13px; right: 20px; background: var(--accent); color: var(--accent-on); font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; }
.pkg .price { font-family: var(--display); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; color: var(--ink); margin: 2px 0 16px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.pkg li { padding: 9px 0 9px 22px; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent); position: relative; font: 400 15px/1.5 var(--sans); }
.pkg li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.pkg .note { font: 400 13px var(--sans); color: color-mix(in srgb, var(--ink) 65%, transparent); margin: 0 0 16px; }
.empty { color: var(--body); opacity: .8; padding: 20px 0; }

/* ===== Trang phục (CTA) ===== */
.ward-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ward-pols { position: relative; height: clamp(340px, 36vw, 520px); }
.ward-pols .polaroid { position: absolute; width: 46%; }
.ward-pols .polaroid img { aspect-ratio: 3 / 4; }
.ward-pols .polaroid:nth-child(1) { left: 0; top: 8%; transform: rotate(-6deg); }
.ward-pols .polaroid:nth-child(2) { left: 27%; top: 0; transform: rotate(3deg); z-index: 2; }
.ward-pols .polaroid:nth-child(3) { right: 0; top: 14%; transform: rotate(8deg); }
@media (max-width: 860px) { .ward-grid { grid-template-columns: 1fr; } .ward-pols { height: 78vw; } }

/* ===== Behind the scenes ===== */
.bts { padding: 0; margin-top: clamp(80px, 9vw, 140px); display: grid; }
.bts > * { grid-area: 1 / 1; }
.bts-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); min-height: 100%; }
.bts-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.bts-box {
  align-self: center; justify-self: center; width: min(1040px, 84%); margin: clamp(90px, 12vw, 170px) 0; background: color-mix(in srgb, var(--bg) 96%, #000);
  padding: clamp(36px, 5vw, 70px) clamp(22px, 5vw, 70px); text-align: center; position: relative; z-index: 1;
}
.bts-box .intro { max-width: 760px; margin: 26px auto 36px; color: var(--text); opacity: .9; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: left; margin-bottom: 40px; }
.step .n { font-family: var(--display); font-size: 40px; color: var(--accent); line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font: 600 16px/1.35 var(--sans); color: var(--text); margin: 0 0 6px; text-transform: none; }
.step p { font-size: 14px; margin: 0; }
@media (max-width: 900px) {
  .bts-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
  .bts-grid img:nth-child(n + 9) { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .bts-box { width: 90%; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 500 18px/1.45 var(--sans); color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 300 30px var(--sans); color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===== Feedback ===== */
.fb-row { display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px 6px 40px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.fb-row .polaroid { flex: 0 0 min(250px, 68vw); scroll-snap-align: center; cursor: zoom-in; padding-bottom: 12px; }
.fb-row .polaroid:nth-child(even) { transform: rotate(-2.5deg) translateY(16px); }
.fb-row .polaroid img { aspect-ratio: 3 / 5; }
.fb-row figcaption { font: 400 13px var(--sans); color: #3a2f28; text-align: center; padding-top: 10px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px clamp(30px, 5vw, 70px); align-items: start; }
.contact .big { font-size: clamp(88px, 14vw, 250px); line-height: .86; }
.me-row { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 44px); }
.clist { list-style: none; padding: 0; margin: 0 0 .5vw; font-size: clamp(15px, 1.3vw, 19px); }
.clist li { margin: 4px 0; white-space: nowrap; }
.clist b { font-weight: 800; color: var(--text); text-transform: uppercase; margin-right: 8px; letter-spacing: -.01em; }
.clist a { text-decoration: none; color: var(--body); }
.clist a:hover { color: var(--text); text-decoration: underline; }
.contact-pol { position: relative; width: clamp(220px, 24vw, 400px); justify-self: start; margin-top: 2vw; }
.contact-pol .polaroid { transform: rotate(-2deg); }
.contact-pol .polaroid img { aspect-ratio: 1.1 / 1; }
.contact-pol > .sig { position: absolute; right: -36%; bottom: -14%; font-size: clamp(54px, 6vw, 100px); }
.contact-pol > img.sig { right: -30%; bottom: -10%; position: absolute; }
.contact .invite { max-width: 980px; margin: clamp(30px, 4vw, 50px) 0 clamp(30px, 4vw, 50px); }
.together { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); text-decoration: none; }
.together .line { flex: 1; max-width: 460px; height: 2px; background: var(--text); position: relative; }
.together .line::after { content: ''; position: absolute; right: -2px; top: -6px; width: 12px; height: 12px; border-top: 2px solid var(--text); border-right: 2px solid var(--text); transform: rotate(45deg); }
.together:hover .line { max-width: 520px; }
.together .line { transition: max-width .4s; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .me-row { flex-direction: column; align-items: flex-start; }
  .clist li { white-space: normal; }
  .contact-pol { justify-self: center; margin: 30px auto 40px; }
  .contact-pol > .sig, .contact-pol > img.sig { right: -10%; bottom: -16%; }
  .together .line { max-width: 90px; }
}

footer { padding: 30px 0 100px; text-align: center; font-size: 13px; color: var(--body); opacity: .75; border-top: 1px solid var(--line); margin-top: 60px; text-transform: uppercase; letter-spacing: .1em; }

/* ---- Nút liên hệ nổi ---- */
.float-contact { position: fixed; right: 16px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fc { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .4); transition: transform .2s; position: relative; }
.fc:hover { transform: scale(1.08); }
.fc .ic { width: 26px; height: 26px; }
.fc.zalo { background: #0068ff; }
.fc.zalo .ic { width: 40px; height: 40px; }
.fc.messenger { background: linear-gradient(135deg, #0099ff, #a033ff 60%, #ff5280); }
.fc.phone { background: #1fae5b; display: none; }
.fc.zalo::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0068ff; animation: ping 2s infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 700px) { .fc.phone { display: grid; } .fc { width: 48px; height: 48px; } }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgb(6 5 4 / .96); display: none; align-items: center; justify-content: center; }
.lightbox.show { display: flex; animation: fade .25s; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { color: #ddd; font-size: 13px; margin-top: 12px; text-transform: uppercase; letter-spacing: .14em; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .08); border: 0; color: #fff; font-size: 34px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgb(255 255 255 / .18); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 28px; left: 0; right: 0; text-align: center; color: #bbb; font-size: 13px; pointer-events: none; letter-spacing: .1em; }
@media (max-width: 600px) { .lb-prev, .lb-next { display: none !important; } }
@keyframes fade { from { opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 90px; translate: -50% 20px; z-index: 120; background: var(--paper); color: var(--ink); padding: 12px 20px;
  font: 500 14px var(--sans); opacity: 0; pointer-events: none; transition: .3s; max-width: 90vw; text-align: center; box-shadow: 0 10px 30px rgb(0 0 0 / .4);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ===== Trang trang phục ===== */
.ward-head { padding-top: 110px; padding-bottom: 20px; }
.ward-head .mega { font-size: clamp(76px, 15vw, 260px); }
.ward-head .sub { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; margin-top: 18px; }
.ward-head .sub p { max-width: 640px; margin: 0; }
@media (max-width: 760px) { .ward-head .sub { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; padding: 18px 0; border-block: 1px solid var(--line); margin: 30px 0 34px; position: sticky; top: 64px; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); background: transparent; color: var(--text); font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.search { padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); background: transparent; color: var(--text); font: 400 14px var(--sans); width: 200px; }
.search::placeholder { color: color-mix(in srgb, var(--text) 55%, transparent); }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.ccard { position: relative; cursor: pointer; padding: 12px 14px 16px; transition: transform .3s; }
.ccard:hover { transform: translateY(-5px) rotate(-.4deg); }
.ccard .cap { padding: 4px 0 10px; font-size: 26px; }
.ccard .thumb { aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; position: relative; }
.ccard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ccard:hover .thumb img { transform: scale(1.04); }
.ccard .count { position: absolute; left: 8px; bottom: 8px; background: rgb(0 0 0 / .55); color: #fff; font: 500 11.5px var(--sans); padding: 3px 9px; letter-spacing: .05em; }
.ccard h3 { font: 600 16px/1.35 var(--sans); color: var(--ink); margin: 12px 0 4px; text-transform: none; }
.ccard .meta2 { font: 400 13px var(--sans); color: color-mix(in srgb, var(--ink) 65%, transparent); }
.heart {
  position: absolute; top: 62px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  background: rgb(255 255 255 / .92); color: #888; display: grid; place-items: center; box-shadow: 0 2px 8px rgb(0 0 0 / .2); transition: transform .2s;
}
.heart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.heart.on { color: #e0245e; }
.heart.on svg { fill: currentColor; }
.heart:active { transform: scale(.85); }
.code { font: 600 12px var(--sans); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
@media (max-width: 560px) {
  .cgrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ccard { padding: 8px 8px 12px; }
  .ccard:hover { transform: none; }
  .ccard .cap { font-size: 19px; padding: 2px 0 6px; }
  .ccard .cap .g { font-size: 10px; }
  .ccard h3 { font-size: 13.5px; margin-top: 8px; }
  .ccard .meta2 { font-size: 11.5px; }
  .heart { top: 42px; right: 14px; width: 36px; height: 36px; }
  .heart svg { width: 19px; height: 19px; }
  .search { width: 100%; }
  .filters { position: static; }
}

.picked-bar {
  position: fixed; left: 50%; bottom: 18px; translate: -50% 160%; z-index: 55; background: var(--paper); color: var(--ink);
  padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 16px; box-shadow: 0 14px 40px rgb(0 0 0 / .5); transition: translate .35s; font: 500 15px var(--sans); white-space: nowrap;
}
.picked-bar.show { translate: -50% 0; }
@media (max-width: 700px) { .picked-bar { left: 16px; right: 80px; translate: 0 160%; justify-content: space-between; } .picked-bar.show { translate: 0 0; } }

.modal { position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .72); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; animation: fade .2s; }
.modal-box { background: var(--paper); color: var(--ink); width: min(940px, 100%); max-height: 90vh; overflow: auto; position: relative; }
.modal-box .code { color: var(--accent); }
.modal-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 24px; cursor: pointer; }
.cdetail { display: grid; grid-template-columns: 1.1fr 1fr; }
.cdetail .gallery { padding: 18px; }
.cdetail .main-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: zoom-in; background: #ddd; }
.cdetail .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.cdetail .thumbs img { width: 64px; height: 80px; object-fit: cover; cursor: pointer; opacity: .5; border: 2px solid transparent; flex: none; }
.cdetail .thumbs img.on { opacity: 1; border-color: var(--accent); }
.cdetail .info { padding: 40px 30px 30px 12px; }
.cdetail h2 { font-family: var(--display); color: var(--ink); font-size: clamp(34px, 4vw, 52px); margin: 6px 0 4px; }
.cdetail dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 20px 0 28px; font: 400 15px var(--sans); }
.cdetail dt { color: color-mix(in srgb, var(--ink) 60%, transparent); text-transform: uppercase; font-size: 12.5px; letter-spacing: .1em; padding-top: 2px; }
.cdetail dd { margin: 0; font-weight: 500; }
@media (max-width: 720px) { .cdetail { grid-template-columns: 1fr; } .cdetail .info { padding: 4px 22px 26px; } }
.drawer { padding: 34px 30px; font-family: var(--sans); }
.drawer h2 { font-family: var(--display); color: var(--ink); font-size: 44px; margin-bottom: 16px; }
.picked-list { list-style: none; padding: 0; margin: 0 0 18px; }
.picked-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); font-weight: 400; }
.picked-list img { width: 48px; height: 60px; object-fit: cover; }
.picked-list .grow { flex: 1; min-width: 0; }
.picked-list button { background: none; border: 0; color: inherit; opacity: .6; font-size: 22px; cursor: pointer; }
.drawer textarea { width: 100%; min-height: 120px; padding: 12px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: #fff; color: #222; font: 14px/1.6 var(--sans); }
.drawer .hint { font-size: 13px; color: color-mix(in srgb, var(--ink) 70%, transparent); font-weight: 400; }
.drawer .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.drawer .btn.ghost, .cdetail .btn.ghost { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.zalo-btn { background: #0068ff !important; border-color: #0068ff !important; color: #fff !important; }
.empty-w { color: var(--body); padding: 30px 0; grid-column: 1 / -1; }
.ccard .cap .g { font: 600 11.5px var(--sans); letter-spacing: .12em; color: var(--ink); opacity: .55; }
