/* ============ LCUSHOES — minimal luxury design system ============ */
:root {
  --bg: #ffffff;
  --bg-soft: #faf8f5;
  --bg-dark: #17181a;
  --ink: #1a1b1e;
  --ink-soft: #4c4f55;
  --muted: #8a8f98;
  --accent: #b98a2f;
  --accent-dark: #96701f;
  --line: #ececec;
  --radius: 4px;
  --container: 1200px;
  --shadow: 0 10px 30px rgba(23, 24, 26, .08);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.topbar { background: var(--bg-dark); color: #cfd2d7; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar span b { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; }
@media (max-width: 640px) { .topbar .topbar-left { display: none; } .topbar .container { justify-content: center; } }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font-serif); font-size: 26px; letter-spacing: 4px; font-weight: 700; }
.logo em { color: var(--accent); font-style: normal; }
.logo small { display: block; font-family: var(--font-sans); font-size: 9px; letter-spacing: 3.5px; color: var(--muted); font-weight: 400; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-color: var(--accent); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-left: 10px; }
.lang-switch button {
  background: none; border: none; padding: 4px 2px; font-size: 13px;
  letter-spacing: 1px; color: var(--muted); border-bottom: 2px solid transparent;
}
.lang-switch button.active { color: var(--ink); font-weight: 600; border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: min(78vh, 760px); min-height: 460px; overflow: hidden; background: var(--bg-soft); }
.hero img.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 75%);
  display: flex; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy .eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.hero-copy h1 { font-family: var(--font-serif); font-size: clamp(34px, 5vw, 58px); line-height: 1.15; font-weight: 700; margin-bottom: 20px; }
.hero-copy p { font-size: 17px; color: var(--ink-soft); margin-bottom: 32px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 34px; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; border-radius: var(--radius); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; transition: all .25s; text-align: center;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-gold { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- section base ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 14px; }
.section-head p { color: var(--muted); }

/* ---------- feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { text-align: center; padding: 40px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature .icon { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--accent); }
.feature h3 { font-size: 16px; letter-spacing: .5px; margin-bottom: 10px; text-transform: uppercase; }
.feature p { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ---------- product grid ---------- */
.cat-bar { margin-bottom: 30px; }
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-soft); font-size: 13px; letter-spacing: .6px;
  transition: border-color .2s, color .2s, background .2s;
}
.cat-chip:hover { border-color: var(--accent); color: var(--ink); }
.cat-chip .n { font-size: 11.5px; color: var(--muted); }
.cat-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip.active .n { color: var(--accent); }
.cat-count { text-align: center; color: var(--muted); margin-bottom: 40px; }
.cat-count strong { color: var(--accent); font-size: 20px; font-family: var(--font-serif); margin-right: 4px; }
@media (max-width: 640px) {
  .cat-chips { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .cat-chip { flex: 0 0 auto; padding: 8px 14px; }
}
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.product-card { cursor: default; }
.product-card .thumb {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--bg-soft); border-radius: var(--radius);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity .5s ease, transform .6s ease;
}
.product-card .thumb img.loaded { opacity: 1; transform: scale(1); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .thumb .tag {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
  font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.product-card .cat-label {
  display: block; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-top: 14px;
}
.product-card h3 { font-size: 15.5px; font-weight: 600; margin: 14px 0 4px; }
.product-card .cat-label + h3 { margin-top: 5px; }
.product-card .material { font-size: 13px; color: var(--muted); line-height: 1.5; }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- split (about / oem) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .img-wrap img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15.5px; }
.split ul.checklist { margin: 18px 0 26px; }
.split ul.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 15px; color: var(--ink-soft); }
.split ul.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- stats band ---------- */
.stats { background: var(--bg-dark); color: #fff; padding: 64px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 46px); color: var(--accent); font-weight: 700; }
.stats .label { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #b9bdc4; margin-top: 6px; }
@media (max-width: 720px) { .stats .grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(rgba(23,24,26,.72), rgba(23,24,26,.72)), url("../img/hero.jpg") center 35% / cover no-repeat; color: #fff; text-align: center; padding: 110px 0; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.cta-band p { color: #d4d6da; margin-bottom: 30px; }

/* ---------- contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 56px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info h2 { font-family: var(--font-serif); font-size: 30px; margin-bottom: 18px; }
.contact-info .block { margin-bottom: 26px; }
.contact-info .block h4 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info .block p { color: var(--ink-soft); font-size: 15px; }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.inquiry-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .inquiry-form .row { grid-template-columns: 1fr; } .inquiry-form { padding: 24px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.file-drop {
  border: 1.5px dashed #d5d8dd; border-radius: var(--radius); padding: 22px; text-align: center;
  color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--accent); background: var(--bg-soft); }
.file-drop input[type=file] { display: none; }
.file-preview { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.file-preview img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.file-preview .meta { font-size: 13px; color: var(--muted); }
.file-preview .remove { color: #c0392b; cursor: pointer; font-size: 13px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-status.ok { display: block; background: #f0f7ee; color: #2e6b28; border: 1px solid #cfe6c8; }
.form-status.err { display: block; background: #fdf1ef; color: #a53325; border: 1px solid #f2d2cc; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #b9bdc4; padding: 64px 0 0; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .flogo { font-family: var(--font-serif); font-size: 24px; letter-spacing: 4px; color: #fff; }
.site-footer .flogo em { color: var(--accent); font-style: normal; }
.site-footer p { line-height: 1.8; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .copyright { border-top: 1px solid #2a2c30; padding: 20px 0; text-align: center; font-size: 12.5px; color: #7d8188; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- admin ---------- */
.admin-wrap { max-width: 1080px; margin: 40px auto; padding: 0 24px 80px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow); }
.admin-card h3 { font-size: 17px; margin-bottom: 18px; letter-spacing: .5px; }
.admin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.admin-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--bg-soft); }
.admin-item .body { padding: 10px 12px; }
.admin-item .body .nm { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.admin-item .body .mt { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.admin-item .actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.admin-item .actions button, .admin-item .actions a { flex: 1; font-size: 12px; padding: 7px 0; border-radius: 3px; border: 1px solid var(--line); background: #fff; text-align: center; }
.admin-item .actions .del { color: #c0392b; border-color: #ecd2cd; }
.admin-item .actions .del:hover { background: #fdf1ef; }
.login-box { max-width: 380px; margin: 80px auto; }
.login-box h2 { font-family: var(--font-serif); text-align: center; margin-bottom: 24px; }
.badge-count { display: inline-block; background: var(--accent); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 8px; vertical-align: middle; margin-left: 6px; }

/* admin: category management */
.admin-card form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .admin-card form .row { grid-template-columns: 1fr; gap: 0; } }
.cat-admin-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.cat-admin-item {
  display: grid; grid-template-columns: 150px 1fr 1fr 78px 62px 62px;
  gap: 10px; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px; background: #fff;
}
.cat-admin-item .slug {
  font-size: 11px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-admin-item input {
  padding: 7px 10px; font-size: 13.5px; border: 1px solid var(--line);
  border-radius: 3px; width: 100%; font-family: inherit; color: var(--ink);
}
.cat-admin-item input:focus { outline: none; border-color: var(--accent); }
.cat-admin-item .n { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.cat-admin-item button { font-size: 12px; padding: 6px 0; border-radius: 3px; border: 1px solid var(--line); background: #fff; }
.cat-admin-item .save:hover { border-color: var(--accent); color: var(--accent-dark); }
.cat-admin-item .del { color: #c0392b; border-color: #ecd2cd; }
.cat-admin-item .del:hover { background: #fdf1ef; }
@media (max-width: 760px) {
  .cat-admin-item { grid-template-columns: 1fr 1fr; grid-template-areas: "slug slug" "en es" "n actions"; }
  .cat-admin-item .slug { grid-area: slug; }
  .cat-admin-item .n { grid-area: n; text-align: left; }
  .cat-admin-item .save { grid-area: actions; }
  .cat-admin-item .del { grid-area: actions; }
}
.mini-select {
  font-size: 12.5px; padding: 7px 10px; border: 1px solid var(--line);
  border-radius: 3px; background: #fff; color: var(--ink); font-family: inherit; max-width: 220px;
}
.mini-select:focus { outline: none; border-color: var(--accent); }
.admin-item .body select {
  width: 100%; margin-top: 8px; padding: 6px 8px; font-size: 12px;
  border: 1px solid var(--line); border-radius: 3px; background: #fff;
  color: var(--ink-soft); font-family: inherit;
}
.admin-item .body select:focus { outline: none; border-color: var(--accent); }

/* admin toolbar + batch upload */
.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; cursor: pointer; }
.hint-text { font-size: 13px; color: var(--muted); }
.btn-mini {
  font-size: 12.5px; padding: 7px 14px; border-radius: 3px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
.btn-mini:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-mini.danger { color: #c0392b; border-color: #ecd2cd; }
.btn-mini.danger:hover { background: #fdf1ef; border-color: #d9a79e; }
.btn-mini:disabled { opacity: .5; cursor: not-allowed; }
.admin-item { position: relative; }
.admin-item .pick { position: absolute; top: 10px; left: 10px; z-index: 2; }
.admin-item .pick input { width: 18px; height: 18px; accent-color: var(--accent); }
.admin-item.selected { outline: 2px solid var(--accent); outline-offset: -2px; }
.batch-defaults { display: grid; grid-template-columns: 200px 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 18px; }
@media (max-width: 760px) { .batch-defaults { grid-template-columns: 1fr; } }
.batch-defaults .field { margin-bottom: 0; }
.batch-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.batch-row {
  display: grid; grid-template-columns: 56px 1fr 84px 30px; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: #fff;
}
.batch-row img { width: 56px; height: 70px; object-fit: cover; border-radius: 3px; background: var(--bg-soft); }
.batch-row .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.batch-row .fields input { padding: 8px 10px; font-size: 13px; border: 1px solid var(--line); border-radius: 3px; width: 100%; font-family: inherit; }
.batch-row .fields input:focus { outline: none; border-color: var(--accent); }
.batch-row .rm { background: none; border: none; color: #c0392b; font-size: 16px; cursor: pointer; }
.batch-row .state { font-size: 12px; color: var(--muted); text-align: right; }
.batch-row .state.done { color: #2e6b28; font-weight: 600; }
.batch-row .state.fail { color: #c0392b; font-weight: 600; }
.batch-row.uploading { opacity: .6; }
.batch-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .batch-row { grid-template-columns: 48px 1fr 26px; grid-template-areas: "img fields rm" ". state state"; }
  .batch-row img { grid-area: img; width: 48px; height: 60px; }
  .batch-row .fields { grid-area: fields; grid-template-columns: 1fr; }
  .batch-row .state { grid-area: state; text-align: left; }
  .batch-row .rm { grid-area: rm; }
}
.inq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.inq-item:last-child { border-bottom: none; }
.inq-item .top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.inq-item .who { font-weight: 600; font-size: 14.5px; }
.inq-item .when { font-size: 12px; color: var(--muted); }
.inq-item .msg { font-size: 14px; color: var(--ink-soft); margin: 6px 0; white-space: pre-wrap; }
.inq-item img.att { max-width: 90px; max-height: 90px; border-radius: 4px; border: 1px solid var(--line); margin-top: 6px; }
.inq-item .del { color: #c0392b; background: none; border: none; font-size: 13px; cursor: pointer; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 72px 0 56px; text-align: center; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
