/* ============================================
   AURÉLIE — ラグジュアリー オンラインストア
   黑金 / 留白 / 衬线 / 细线
   ============================================ */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --gold: #c9a961;
  --gold-deep: #a8894a;
  --gold-soft: #e6d4a8;
  --paper: #ffffff;
  --paper-warm: #faf8f4;
  --paper-cream: #f4f0e8;
  --line: #e5e0d6;
  --line-dark: #2a2a2a;
  --mute: #8a8278;
  --mute-dark: #6b6358;
  --serif: 'Cormorant Garamond', 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}

.serif { font-family: var(--serif); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- 公共：顶部公告条 ---------- */
.topbar {
  background: var(--ink);
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: .25em;
  text-align: center;
  padding: 9px 0;
  text-transform: uppercase;
}
.topbar .dot { color: var(--gold); margin: 0 14px; }

/* ---------- 公共：主导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left { display: flex; align-items: center; gap: 48px; }
.logo {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ink);
}
.logo .accent { color: var(--gold); }
.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s ease;
}
.nav-menu a:hover { color: var(--gold-deep); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--gold-deep); }
.nav-menu a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 26px; }
.icon-btn {
  position: relative;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: color .3s;
}
.icon-btn:hover { color: var(--gold-deep); }
.icon-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute;
  top: -4px; right: -6px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
}

/* ---------- 公共：底部 ---------- */
.footer {
  background: var(--ink);
  color: #b8b0a4;
  padding: 80px 0 30px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 60px;
}
.footer-brand .logo { color: #fff; margin-bottom: 20px; display: inline-block; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: #8a8278;
  max-width: 320px;
}
.footer h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 22px;
  letter-spacing: .08em;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: 13px;
  color: #8a8278;
  transition: color .3s;
}
.footer ul a:hover { color: var(--gold-soft); }
.footer-sub form { display: flex; border-bottom: 1px solid #3a3a3a; }
.footer-sub input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  outline: none;
}
.footer-sub input::placeholder { color: #6b6358; }
.footer-sub button {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.footer-bottom {
  max-width: 1440px;
  margin: 60px auto 0;
  padding: 24px 40px 0;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b6358;
  letter-spacing: .05em;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 40px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mute);
}
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb .sep { margin: 0 12px; color: var(--line); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 42px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: all .35s ease;
  cursor: pointer;
  border: 1px solid var(--ink);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 14px 30px;
  letter-spacing: .2em;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 6px;
}
.btn-ghost:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- 章节标题 ---------- */
.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-eyebrow {
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: inline-block;
}
.sec-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.2;
}
.sec-sub {
  margin-top: 14px;
  font-size: 14px;
  color: var(--mute);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.sec-line {
  width: 56px; height: 1px;
  background: var(--gold);
  margin: 26px auto 0;
}

/* ---------- 商品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 30px;
}
.product {
  position: relative;
  cursor: pointer;
}
.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--paper-cream);
  overflow: hidden;
  margin-bottom: 18px;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease, opacity .5s;
}
.product-media .hover-img {
  position: absolute; inset: 0;
  opacity: 0;
}
.product:hover .product-media img.base-img { opacity: 0; }
.product:hover .product-media .hover-img { opacity: 1; transform: scale(1.04); }
.product:hover .product-media img { transform: scale(1.04); }

.product-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}
.product-tag.gold { background: var(--gold); color: #fff; }
.product-tag.dark { background: var(--ink); color: #fff; }

.product-fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: all .4s;
  z-index: 2;
}
.product:hover .product-fav { opacity: 1; transform: translateY(0); }
.product-fav svg { width: 16px; height: 16px; }
.product-fav.on svg { fill: var(--gold); stroke: var(--gold); }

.product-quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 14px;
  text-align: center;
  transform: translateY(100%);
  transition: transform .4s ease;
  z-index: 2;
}
.product:hover .product-quick { transform: translateY(0); }

.product-cat {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.product-price {
  font-size: 14px;
  letter-spacing: .05em;
}
.product-price .now { color: var(--ink); }
.product-price .was {
  color: var(--mute);
  text-decoration: line-through;
  margin-left: 10px;
  font-size: 12px;
}
.product-price .sale { color: #a83a2a; }

.product .swatches {
  display: flex; gap: 6px;
  margin-top: 10px;
}
.swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
}

/* ---------- 容器 ---------- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }

/* ---------- 共通フィードバック ---------- */
.site-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  max-width: min(420px, calc(100vw - 40px));
  padding: 16px 22px;
  background: var(--ink);
  color: #fff;
  border-left: 2px solid var(--gold);
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  font-size: 13px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.site-toast.show { opacity: 1; transform: translateY(0); }
.newsletter-success { display: block; padding: 10px 0; color: var(--gold-soft); font-size: 12px; line-height: 1.7; }

/* ---------- 移动端 ---------- */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-title { font-size: 32px; }
  .container, .nav-inner, .breadcrumb { padding-left: 24px; padding-right: 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .topbar .dot { display: block; height: 4px; }
  .topbar { line-height: 1.8; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .9s ease both; }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
