/* ==========================================================================
   LÊ VÂN ANH HAUTE COUTURE — STOREFRONT
   Ngôn ngữ thiết kế: editorial tối giản (tham khảo Zara · Mango · Net-a-Porter)
   Tông màu: ngà – mực đen – vàng champagne
   ========================================================================== */
:root {
  --ink: #141414;
  --ink-2: #2b2926;
  --ivory: #faf8f4;
  --sand: #f3eee6;
  --stone: #e9e2d6;
  --gold: #a8875a;
  --gold-2: #8c6e45;
  --muted: #77706a;
  --line: #e6dfd3;
  --danger: #9b1b30;
  --success: #2f6b4f;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Be Vietnam Pro", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 128px;
}

* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  background: var(--ivory);
  color: var(--ink);
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
::selection { background: var(--ink); color: var(--ivory); }
strong, b { font-weight: 500; }

.font-serif, .font-luxury { font-family: var(--serif); }
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 500; margin-bottom: .75rem; display: inline-block;
}
.display-title {
  font-family: var(--serif); font-weight: 400; line-height: 1.05;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem); letter-spacing: -.01em;
}
.section-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15; margin-bottom: .25rem;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.link-underline {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-muted-2 { color: var(--muted) !important; }
.text-gold { color: var(--gold-2) !important; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--ivory); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .container-wide { padding: 0 18px; } .section { padding: 64px 0; } }
.divider-gold { width: 48px; height: 1px; background: var(--gold); margin: 18px auto; }

/* ---------- Buttons ---------- */
.btn-lux, .btn-luxury, .btn-lux-outline, .btn-lux-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  padding: 16px 34px; border-radius: 0; border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory); transition: all .35s var(--ease); cursor: pointer; white-space: nowrap;
}
.btn-lux:hover, .btn-luxury:hover { background: transparent; color: var(--ink); }
.btn-lux-outline { background: transparent; color: var(--ink); }
.btn-lux-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-lux-light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-lux-light:hover { background: transparent; color: var(--ivory); }
.btn-lux:disabled, .btn-lux.disabled { background: #bdb6ad; border-color: #bdb6ad; color: #fff; cursor: not-allowed; }
.btn-sm-lux { padding: 10px 18px; font-size: 10.5px; letter-spacing: .18em; }
.btn-icon { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.btn-icon:hover { border-color: var(--ink); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 0; border: 1px solid var(--line); background-color: #fff; padding: 13px 16px;
  font-size: 14px; font-weight: 300; color: var(--ink);
}
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: none; }
.form-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); margin-bottom: .45rem; }
.form-check-input { border-radius: 0; border-color: #b9b1a5; }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.form-check-input:focus { box-shadow: none; border-color: var(--ink); }
.input-line { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 12px 0; border-radius: 0; }
.input-line:focus { box-shadow: none; background: transparent; }

/* ---------- Announcement + Header ---------- */
.announce {
  background: var(--ink); color: #e9e2d6; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 9px 12px; overflow: hidden; white-space: nowrap;
}
.announce .marquee { display: inline-block; animation: marquee 32s linear infinite; padding-left: 100%; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (min-width: 992px) { .announce .marquee { animation: none; padding-left: 0; } }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(250, 248, 244, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 30px rgba(20, 20, 20, .06); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 0 10px; transition: padding .3s var(--ease); }
.site-header.scrolled .header-top { padding: 10px 0 6px; }
.header-left, .header-right { display: flex; align-items: center; gap: 22px; font-size: 12px; letter-spacing: .08em; }
.header-right { justify-content: flex-end; }
.brand { text-align: center; line-height: 1; }
.brand-title { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: .32em; padding-left: .32em; color: var(--ink); display: block; }
.brand-sub { font-size: 9.5px; letter-spacing: .55em; padding-left: .55em; color: var(--gold-2); display: block; margin-top: 6px; font-weight: 400; }
.site-header.scrolled .brand-title { font-size: 25px; }
.hicon { position: relative; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--ink); font-size: 17px; cursor: pointer; }
.hicon span.lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hicon .count {
  position: absolute; top: -7px; right: -10px; min-width: 17px; height: 17px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 9.5px; display: flex; align-items: center; justify-content: center; font-weight: 500; letter-spacing: 0;
}
.hicon .count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 50% { transform: scale(1.45); background: var(--gold); } }

.main-nav { display: flex; justify-content: center; gap: 6px; padding-bottom: 4px; }
.main-nav > .nav-item { position: static; }
.main-nav > .nav-item > a {
  display: block; padding: 12px 18px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; position: relative;
}
.main-nav > .nav-item > a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > .nav-item:hover > a::after, .main-nav > .nav-item > a.active::after { transform: scaleX(1); }
.main-nav .sale-link { color: var(--danger); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); padding: 36px 0 42px; box-shadow: 0 30px 40px rgba(20, 20, 20, .05);
}
.main-nav > .nav-item:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega h6 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li a { display: block; padding: 5px 0; font-family: var(--serif); font-size: 20px; }
.mega-card { position: relative; display: block; overflow: hidden; }
.mega-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.mega-card:hover img { transform: scale(1.05); }
.mega-card span { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }

/* Search overlay */
.search-panel { position: fixed; inset: 0; z-index: 1060; background: rgba(250, 248, 244, .985); opacity: 0; visibility: hidden; transition: all .35s var(--ease); overflow-y: auto; }
.search-panel.open { opacity: 1; visibility: visible; }
.search-panel .close-x { position: absolute; top: 26px; right: 32px; font-size: 26px; background: none; border: 0; }
.search-panel .search-input { font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); border: 0; border-bottom: 1px solid var(--ink); width: 100%; background: transparent; padding: 10px 0; outline: none; font-weight: 400; }
.suggest-item { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.suggest-item img { width: 58px; height: 76px; object-fit: cover; }
.chip { display: inline-block; border: 1px solid var(--line); padding: 7px 16px; font-size: 12px; margin: 0 6px 8px 0; background: #fff; transition: all .25s; }
.chip:hover, .chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Mobile */
.offcanvas { background: var(--ivory); }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }
@media (max-width: 991px) {
  .header-top { padding: 12px 0; }
  .brand-title { font-size: 22px; letter-spacing: .24em; }
  .brand-sub { font-size: 8px; letter-spacing: .4em; }
  .main-nav, .hide-md { display: none !important; }
  .header-left, .header-right { gap: 16px; }
}

/* ---------- Flash / Toast ---------- */
.flash-wrap { position: fixed; top: 150px; right: 24px; z-index: 1080; width: min(380px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 10px; }
.lux-toast {
  background: var(--ink); color: #f1ece4; padding: 16px 44px 16px 18px; font-size: 13.5px; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
  animation: toastIn .45s var(--ease); display: flex; gap: 12px; align-items: flex-start;
}
.lux-toast.error { background: #5a1220; }
.lux-toast.warning { background: #6a4a1b; }
.lux-toast i.lead { color: var(--gold); margin-top: 3px; }
.lux-toast .x { position: absolute; right: 12px; top: 12px; background: none; border: 0; color: #fff; opacity: .6; }
.lux-toast.hide { animation: toastOut .4s var(--ease) forwards; }
.lux-toast img { width: 52px; height: 68px; object-fit: cover; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); }
.hero .carousel-item { height: min(88vh, 860px); min-height: 560px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.hero-split img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-split.single { grid-template-columns: 1fr; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .55) 100%); }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 11%; text-align: center; color: #fff; padding: 0 20px; }
.hero-caption .eyebrow { color: #eadcc5; }
.hero-caption p { max-width: 560px; margin: 18px auto 30px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.carousel-item.active .hero-caption > * { animation: rise 1.1s var(--ease) both; }
.carousel-item.active .hero-caption > *:nth-child(2) { animation-delay: .12s; }
.carousel-item.active .hero-caption > *:nth-child(3) { animation-delay: .24s; }
.carousel-item.active .hero-caption > *:nth-child(4) { animation-delay: .36s; }
.carousel-item.active .hero-split img { animation: kenburns 9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes kenburns { from { transform: scale(1.08); } }
.hero .carousel-indicators { margin-bottom: 28px; }
.hero .carousel-indicators [data-bs-target] { width: 38px; height: 2px; border: 0; background: #fff; opacity: .4; }
.hero .carousel-indicators .active { opacity: 1; }
@media (max-width: 767px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split img:nth-child(2) { display: none; }
  .hero .carousel-item { height: 78vh; min-height: 520px; }
}

/* ---------- Services strip ---------- */
.services { border-bottom: 1px solid var(--line); background: #fff; }
.services .item { display: flex; align-items: center; gap: 14px; padding: 26px 10px; justify-content: center; }
.services i { font-size: 20px; color: var(--gold-2); }
.services h6 { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; margin: 0; font-weight: 500; }
.services p { font-size: 12.5px; margin: 0; color: var(--muted); }

/* ---------- Category tiles ---------- */
.cat-tile { position: relative; display: block; overflow: hidden; background: var(--stone); }
.cat-tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .5)); }
.cat-tile .cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; color: #fff; }
.cat-tile .cap h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 4px; }
.cat-tile .cap span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }

/* ---------- Product card ---------- */
.p-card { position: relative; }
.p-card .media { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 3/4; }
.p-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.p-card .media img.alt { opacity: 0; }
.p-card:hover .media img.alt { opacity: 1; }
.p-card:hover .media img.main { transform: scale(1.04); }
.p-card .badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.p-badge { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; background: #fff; color: var(--ink); font-weight: 500; }
.p-badge.sale { background: var(--danger); color: #fff; }
.p-badge.low { background: var(--ink); color: #fff; }
.p-badge.out { background: #8e877e; color: #fff; }
.wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all .3s;
}
.wish-btn:hover { transform: scale(1.08); }
.wish-btn.active i { color: var(--danger); font-weight: 900; }
.wish-btn.active i::before { content: "\f004"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; background: rgba(250, 248, 244, .97); padding: 12px 12px 14px;
  transform: translateY(calc(100% + 14px)); transition: transform .45s var(--ease); text-align: center;
}
.p-card:hover .quick-add { transform: none; }
.quick-add small { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.quick-add .sizes { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.quick-add button { min-width: 36px; height: 32px; border: 1px solid var(--line); background: #fff; font-size: 12px; transition: all .2s; }
.quick-add button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.quick-add button:disabled { color: #c3bbb0; text-decoration: line-through; cursor: not-allowed; }
.p-card .info { padding: 16px 2px 0; }
.p-card .cat { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.p-card .name { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; margin: 4px 0 6px; display: block; }
.price { font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.price del { color: #a39b90; margin-left: 8px; font-size: 13px; }
.price .now.sale { color: var(--danger); }
.swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 1px; }
@media (hover: none) { .quick-add { display: none; } .p-card .media img.alt { display: none; } }

/* ---------- Editorial ---------- */
.editorial { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 640px; background: var(--sand); }
.editorial .media { position: relative; overflow: hidden; }
.editorial .media img { width: 100%; height: 100%; object-fit: cover; }
.editorial .copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(32px, 7vw, 120px); }
.editorial .copy p { color: var(--ink-2); max-width: 440px; margin: 18px 0 34px; }
@media (max-width: 991px) { .editorial { grid-template-columns: 1fr; } .editorial .media { height: 520px; } }

.promo-band { position: relative; overflow: hidden; color: #fff; }
.promo-band img { width: 100%; height: 460px; object-fit: cover; object-position: center 25%; }
.promo-band .inner { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(20, 20, 20, .75), rgba(20, 20, 20, .1) 70%); }

/* ---------- Journal ---------- */
.post-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.post-card .media { overflow: hidden; }
.post-card:hover img { transform: scale(1.05); }
.post-card h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 16px 0 8px; line-height: 1.2; }
.post-card .meta { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }

/* ---------- Newsletter / Footer ---------- */
.newsletter { background: var(--ink); color: var(--ivory); padding: 84px 0; text-align: center; }
.newsletter form { max-width: 520px; margin: 30px auto 0; display: flex; border-bottom: 1px solid rgba(255, 255, 255, .6); }
.newsletter input { flex: 1; background: transparent; border: 0; color: #fff; padding: 14px 0; outline: none; font-size: 15px; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter button { background: none; border: 0; color: #fff; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; }
.site-footer { background: #0e0e0e; color: #b8b0a5; padding: 76px 0 30px; font-size: 13.5px; }
.site-footer h6 { color: #fff; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-title { color: #fff; font-size: 26px; text-align: left; padding-left: 0; }
.site-footer .brand-sub { text-align: left; padding-left: 0; }
.social a { width: 38px; height: 38px; border: 1px solid #3a3733; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 8px; color: #e7e1d7; }
.social a:hover { background: #fff; color: var(--ink); }
.social a svg { display: block; }
.footer-bottom { border-top: 1px solid #262421; margin-top: 54px; padding-top: 24px; font-size: 11.5px; letter-spacing: .12em; }
.pay-icons i { font-size: 26px; margin-left: 10px; color: #8f877c; }

/* ---------- Breadcrumb / page head ---------- */
.page-head { padding: 54px 0 34px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0; }
.crumbs { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; }

/* ---------- Shop / filters ---------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 34px; gap: 14px; flex-wrap: wrap; position: sticky; top: var(--header-h); background: var(--ivory); z-index: 5; }
.shop-toolbar .form-select { width: auto; padding: 9px 38px 9px 14px; font-size: 13px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 20px 0; }
.filter-group h6 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.filter-list a { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.filter-list a.active { color: var(--ink); font-weight: 500; }
.filter-list a.active::before { content: "— "; color: var(--gold); }
.size-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; border: 1px solid var(--line); background: #fff; font-size: 13px; margin: 0 6px 6px 0; transition: all .2s; padding: 0 10px; }
.size-pill:hover { border-color: var(--ink); }
.size-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.color-pill { width: 28px; height: 28px; border-radius: 50%; display: inline-block; margin: 0 8px 8px 0; border: 1px solid rgba(0, 0, 0, .14); position: relative; transition: transform .2s; }
.color-pill.active { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--ink); }
.color-pill:hover { transform: scale(1.1); }
.active-filters .chip i { margin-left: 6px; font-size: 10px; }
.lux-pagination ul { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: 56px 0 0; }
.lux-pagination a, .lux-pagination .dots { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 13px; background: #fff; }
.lux-pagination .active a { background: var(--ink); color: #fff; border-color: var(--ink); }
.lux-pagination .dots { border: 0; background: none; }
.empty-state { text-align: center; padding: 90px 20px; }
.empty-state i { font-size: 42px; color: var(--gold); margin-bottom: 18px; }
.empty-state h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; }

/* ---------- Product detail ---------- */
.pd-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pd-thumbs img { width: 84px; aspect-ratio: 3/4; object-fit: cover; cursor: pointer; opacity: .55; transition: opacity .25s; border: 1px solid transparent; }
.pd-thumbs img.active, .pd-thumbs img:hover { opacity: 1; border-color: var(--ink); }
.pd-main { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 3/4; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out, opacity .35s; }
.pd-main.zoom img { transform: scale(1.9); }
@media (max-width: 767px) { .pd-gallery { grid-template-columns: 1fr; position: static; } .pd-thumbs { flex-direction: row; order: 2; overflow-x: auto; } .pd-thumbs img { width: 70px; } }
.pd-info { padding-left: clamp(0px, 3vw, 40px); }
.pd-info h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.12; margin: 8px 0 14px; }
.pd-price { font-size: 21px; font-weight: 300; letter-spacing: .03em; }
.pd-price del { font-size: 16px; color: #a39b90; margin-left: 12px; }
.pd-price .off { font-size: 11px; background: var(--danger); color: #fff; padding: 4px 9px; letter-spacing: .14em; margin-left: 12px; vertical-align: middle; }
.opt-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; margin: 28px 0 12px; }
.opt-label a { text-decoration: underline; text-underline-offset: 4px; letter-spacing: .1em; text-transform: none; font-weight: 300; font-size: 12.5px; }
.size-opt input, .color-opt input { display: none; }
.size-opt label { min-width: 56px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; cursor: pointer; margin: 0 8px 8px 0; font-size: 13.5px; position: relative; transition: all .2s; }
.size-opt label:hover { border-color: var(--ink); }
.size-opt input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-opt input:disabled + label { color: #c6beb2; cursor: not-allowed; background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f6f2ec 6px, #f6f2ec 7px); }
.size-opt label .low { position: absolute; top: -8px; right: -6px; background: var(--danger); color: #fff; font-size: 9px; padding: 1px 5px; letter-spacing: 0; }
.color-opt label { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); cursor: pointer; margin-right: 10px; transition: all .2s; display: inline-block; }
.color-opt input:checked + label { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--ink); }
.qty-box { display: inline-flex; border: 1px solid var(--line); background: #fff; height: 54px; }
.qty-box button { width: 44px; border: 0; background: none; font-size: 16px; }
.qty-box input { width: 46px; text-align: center; border: 0; font-size: 14px; outline: none; background: transparent; -moz-appearance: textfield; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-actions { display: flex; gap: 10px; margin-top: 14px; }
.pd-actions .btn-lux { flex: 1; height: 54px; }
.pd-actions .wish-big { width: 54px; height: 54px; border: 1px solid var(--line); background: #fff; font-size: 18px; }
.pd-actions .wish-big.active i { color: var(--danger); }
.pd-actions .wish-big.active i::before { content: "\f004"; font-weight: 900; font-family: "Font Awesome 6 Free"; }
.stock-note { font-size: 13px; margin-top: 12px; color: var(--muted); }
.stock-note.low { color: var(--danger); }
.pd-perks { margin-top: 30px; border-top: 1px solid var(--line); }
.pd-perks div { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.pd-perks i { width: 20px; color: var(--gold-2); }
.accordion-lux .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
.accordion-lux .accordion-button { background: transparent; box-shadow: none; padding: 20px 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.accordion-lux .accordion-button:not(.collapsed) { color: var(--ink); }
.accordion-lux .accordion-body { padding: 0 0 22px; color: var(--ink-2); font-size: 14px; }
.size-table th, .size-table td { text-align: center; font-size: 13px; padding: 10px; }

/* Reviews */
.rating-big { font-family: var(--serif); font-size: 64px; line-height: 1; }
.bar { height: 4px; background: var(--line); flex: 1; position: relative; }
.bar span { position: absolute; inset: 0 auto 0 0; background: var(--ink); }
.review { padding: 26px 0; border-bottom: 1px solid var(--line); }
.review .who { font-weight: 500; font-size: 13.5px; }
.review .verified { font-size: 11px; color: var(--success); letter-spacing: .06em; }
.review .reply { background: var(--sand); padding: 14px 18px; margin-top: 12px; font-size: 13.5px; border-left: 2px solid var(--gold); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 24px; color: #d6cdbf; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

/* ---------- Cart / Checkout ---------- */
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 110px; aspect-ratio: 3/4; object-fit: cover; }
.cart-line h5 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-bottom: 4px; }
.cart-line .meta { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.cart-line .remove { background: none; border: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.cart-line .qty-box { height: 42px; }
.cart-line .qty-box button { width: 36px; }
.summary-box { background: #fff; border: 1px solid var(--line); padding: 32px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-box h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 22px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; font-size: 17px; font-weight: 500; }
.ship-progress { background: var(--sand); padding: 16px 18px; margin-bottom: 22px; font-size: 13px; }
.ship-progress .track { height: 3px; background: #ddd3c4; margin-top: 10px; }
.ship-progress .track span { display: block; height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.checkout-steps { display: flex; justify-content: center; gap: 40px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 26px 0; border-bottom: 1px solid var(--line); }
.checkout-steps .on { color: var(--ink); font-weight: 500; }
.checkout-steps span b { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; align-items: center; justify-content: center; margin-right: 8px; font-weight: 400; letter-spacing: 0; }
.co-section { background: #fff; border: 1px solid var(--line); padding: 30px; margin-bottom: 20px; }
.co-section h5 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.co-section h5 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.pay-opt { display: block; border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 10px; cursor: pointer; transition: border .2s; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--ivory); }
.pay-opt .desc { font-size: 12.5px; color: var(--muted); margin: 6px 0 0 28px; }
.addr-opt { display: block; border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 8px; cursor: pointer; font-size: 13.5px; }
.addr-opt:has(input:checked) { border-color: var(--ink); }
.mini-line { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mini-line .thumb { position: relative; }
.mini-line img { width: 62px; height: 82px; object-fit: cover; }
.mini-line .q { position: absolute; top: -8px; right: -8px; background: var(--ink); color: #fff; width: 21px; height: 21px; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* ---------- Account ---------- */
.acc-side { background: #fff; border: 1px solid var(--line); }
.acc-user { padding: 28px; border-bottom: 1px solid var(--line); text-align: center; }
.avatar { width: 74px; height: 74px; border-radius: 50%; background: var(--sand); color: var(--gold-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 30px; margin-bottom: 12px; border: 1px solid var(--line); }
.tier { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; padding: 4px 12px; border: 1px solid currentColor; display: inline-block; margin-top: 8px; }
.acc-nav a { display: flex; align-items: center; gap: 14px; padding: 15px 26px; font-size: 13.5px; border-left: 2px solid transparent; transition: all .2s; }
.acc-nav a i { width: 18px; color: var(--muted); }
.acc-nav a:hover { background: var(--ivory); color: var(--ink); }
.acc-nav a.active { border-left-color: var(--ink); background: var(--ivory); font-weight: 500; }
.acc-card { background: #fff; border: 1px solid var(--line); padding: 30px; margin-bottom: 22px; }
.acc-card h4 { font-family: var(--serif); font-weight: 400; font-size: 27px; margin-bottom: 4px; }
.stat-mini { background: var(--ivory); border: 1px solid var(--line); padding: 20px; text-align: center; }
.stat-mini b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.stat-mini span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.order-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.order-row img { width: 72px; height: 94px; object-fit: cover; }
.tabs-line { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px; overflow-x: auto; }
.tabs-line a { padding: 12px 16px; font-size: 12px; letter-spacing: .1em; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); }
.tabs-line a.active { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.tabs-line a .c { font-size: 10px; background: var(--sand); padding: 1px 7px; border-radius: 10px; margin-left: 4px; }

.status-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; font-weight: 500; white-space: nowrap; }
.status-badge i { font-size: 10px; }
.status-pending { background: #f7ecd6; color: #7a5410; }
.status-confirmed { background: #e3ecf4; color: #24476b; }
.status-shipping { background: #e6e3f4; color: #3e3480; }
.status-delivered { background: #e2efe7; color: #245a3e; }
.status-cancelled { background: #f6e1e4; color: #8a1d2e; }
.status-returned { background: #ebe8e4; color: #5b554e; }

/* Timeline */
.timeline-h { display: flex; justify-content: space-between; position: relative; margin: 30px 0 10px; }
.timeline-h::before { content: ""; position: absolute; top: 19px; left: 8%; right: 8%; height: 1px; background: var(--line); }
.timeline-h .step { text-align: center; flex: 1; position: relative; z-index: 1; font-size: 11.5px; color: var(--muted); }
.timeline-h .dot { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 14px; }
.timeline-h .step.done { color: var(--ink); }
.timeline-h .step.done .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.timeline-h .step.current .dot { box-shadow: 0 0 0 5px rgba(168, 135, 90, .25); }
.timeline-v { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline-v li { position: relative; padding: 0 0 20px 24px; font-size: 13.5px; }
.timeline-v li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.timeline-v li small { color: var(--muted); display: block; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 160px); }
.auth-wrap .visual { position: relative; }
.auth-wrap .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.auth-wrap .visual .q { position: absolute; left: 48px; bottom: 48px; right: 48px; color: #fff; font-family: var(--serif); font-size: 32px; line-height: 1.25; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.auth-wrap .form-side { display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-box { width: 100%; max-width: 430px; }
.auth-box h1 { font-family: var(--serif); font-weight: 400; font-size: 42px; margin-bottom: 8px; }
@media (max-width: 991px) { .auth-wrap { grid-template-columns: 1fr; } .auth-wrap .visual { display: none; } }
.pw-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.85; }
.article h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 34px 0 12px; }
.article p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 74px; line-height: .8; padding: 8px 12px 0 0; color: var(--gold-2); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.modal-content { border-radius: 0; border: 0; background: var(--ivory); }
.modal-header { border-bottom: 1px solid var(--line); }
.table-lux { font-size: 13.5px; }
.table-lux th { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); background: transparent; border-bottom: 1px solid var(--ink); }
.back-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; opacity: 0; visibility: hidden; transition: all .3s; z-index: 1000; }
.back-top.show { opacity: 1; visibility: visible; }

/* Chữ gợi ý trong ô nhập: mờ hơn để không lẫn với chữ đã điền */
.form-control::placeholder, input:not(.newsletter input)::placeholder, textarea::placeholder { color: #b9b2a8; opacity: 1; font-style: normal; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }

/* Không cho kéo giãn ô nhập nhiều dòng */
textarea, textarea.form-control { resize: none !important; }
