/* ============================================================
   HOLYCOME 93 - Personalized Name Necklace & Custom Pendant
   Warm light-luxury jewelry theme. Mobile-first.
   Palette: bg #FAF7F2 | ink #1F1E1C | gold #C9A96A | white card
   ============================================================ */

:root {
  --bg: #FAF7F2;
  --bg-tint: #F3EEE6;
  --card: #FFFFFF;
  --ink: #1F1E1C;
  --ink-2: #4A463F;
  --ink-3: #8A8378;
  --gold: #C9A96A;
  --gold-dark: #B08D4F;
  --line: #E8E1D5;
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 10px 30px rgba(31, 30, 28, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 15px 38px; font-size: 15px; }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.logo-dot { color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--ink-3); }
.lang-switch a { padding: 2px 4px; }
.lang-switch a.active { color: var(--gold-dark); font-weight: 600; }
.lang-sep { margin: 0 2px; color: var(--line); }

.desktop-nav { display: none; }

/* Hamburger */
.menu-btn {
  background: none; border: 0; cursor: pointer; padding: 8px;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.menu-bars span { display: block; width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- Fullscreen menu ---------- */
.fs-menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: #FAF7F2;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.7,0,.2,1);
  overflow-y: auto; visibility: hidden;
}
.fs-menu.open { transform: translateX(0); visibility: visible; }
.fs-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.fs-logo { font-family: var(--serif); font-size: 22px; letter-spacing: .1em; }
.fs-close { background: none; border: 0; color: #FAF7F2; font-size: 22px; cursor: pointer; }
.fs-body { padding: 30px 26px 60px; }
.fs-nav { display: flex; flex-direction: column; gap: 6px; }
.fs-link {
  font-family: var(--serif); font-size: 30px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fs-cats { margin-top: 26px; }
.fs-cats-label {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.fs-cat {
  display: block; padding: 7px 0; color: #D9D2C5; font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(31,30,28,.72), rgba(31,30,28,.45)),
    radial-gradient(circle at 70% 30%, #3a352d, #1F1E1C);
  color: #FAF7F2;
  padding: 70px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  color: var(--gold); letter-spacing: .22em; text-transform: uppercase;
  font-size: 12px; margin-bottom: 16px;
}
.hero-title { font-size: 38px; margin-bottom: 18px; }
.hero-sub { max-width: 620px; margin: 0 auto 28px; color: #E4DDD0; font-weight: 300; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 26px 20px; text-align: center; }
.trust-num { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold-dark); }
.trust-label { font-size: 12px; color: var(--ink-3); letter-spacing: .05em; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--bg-tint); }
.section-title {
  text-align: center; font-size: 30px; margin-bottom: 32px;
}
.section-title::after {
  content: ""; display: block; width: 48px; height: 2px; background: var(--gold);
  margin: 14px auto 0;
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.cat-card:hover { transform: translateY(-4px); }
.cat-card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-tint); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-name { padding: 14px; text-align: center; font-family: var(--serif); font-size: 18px; }

/* ---------- Product grid / cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card { display: block; }
.product-img {
  position: relative; background: var(--card); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.product-card:hover .product-img { transform: translateY(-6px); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-name { padding: 12px 4px 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.prod-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold); color: #fff; font-size: 10px; letter-spacing: .08em;
  padding: 4px 9px; border-radius: 999px; text-transform: uppercase;
}
.prod-badge.badge-new { background: var(--ink); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 20px;
  box-shadow: var(--shadow); text-align: center;
}
.feature-ico { font-size: 28px; color: var(--gold); margin-bottom: 12px; }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--ink-3); }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-width: 480px;
}
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; font-size: 14px; }
.compare-table thead th { background: var(--ink); color: #FAF7F2; font-family: var(--serif); font-size: 17px; }
.compare-table tbody tr { border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child { border-bottom: 0; }
.compare-table .col-gold { color: var(--gold-dark); font-weight: 500; }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.article-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s; display: block;
}
.article-card:hover { transform: translateY(-4px); }
.article-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 18px; }
.article-date { font-size: 12px; color: var(--gold-dark); letter-spacing: .05em; }
.article-body h3 { font-size: 20px; margin: 8px 0; }
.article-body p { font-size: 13px; color: var(--ink-3); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ink), #3a352d);
  color: #FAF7F2; padding: 56px 0; text-align: center;
}
.cta-inner h2 { font-size: 30px; margin-bottom: 10px; }
.cta-inner p { color: #D9D2C5; margin-bottom: 24px; }

/* ---------- Breadcrumb / pagination ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold-dark); }
.bc-sep { margin: 0 8px; color: var(--line); }
.cat-head { margin-bottom: 28px; }
.cat-title { font-size: 32px; }
.cat-sub { color: var(--ink-3); margin-top: 6px; }
.cat-count { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-link {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--card); font-size: 14px;
}
.page-link.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.empty-note { text-align: center; color: var(--ink-3); padding: 40px 0; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 30px; }
.gallery-main {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1/1; box-shadow: var(--shadow); position: relative;
}
.gallery-img { width: 100%; height: 100%; object-fit: cover; display: none; }
.gallery-img.active { display: block; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 64px; height: 64px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 2px solid transparent; opacity: .7;
}
.thumb.active { border-color: var(--gold); opacity: 1; }

.product-title { font-size: 30px; margin-bottom: 10px; }
.badges { margin-bottom: 14px; }
.badge {
  display: inline-block; background: var(--bg-tint); color: var(--gold-dark);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .05em;
}
.product-desc { color: var(--ink-2); margin-bottom: 20px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.spec-table td {
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.spec-table td:first-child { color: var(--ink-3); width: 40%; }

.price-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 22px;
}
.price-main { font-family: var(--serif); font-size: 26px; color: var(--gold-dark); }
.price-on-request { font-size: 20px; }
.price-moq { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.price-tier { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Custom page ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 30px 0 40px; }
.step { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #fff; align-items: center; justify-content: center;
  font-weight: 600; margin-bottom: 10px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-3); }

.custom-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 20px; }
.custom-advantages h3 { font-size: 22px; margin-bottom: 14px; }
.adv-list { list-style: none; }
.adv-list li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-2); font-size: 14px; }
.adv-list li::before { content: "\2714"; position: absolute; left: 0; color: var(--gold); }

.custom-form {
  background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: 14px; background: var(--bg); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.input-error { border-color: #c0392b !important; }
.form-note { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.form-note.success { background: #eaf5ec; color: #2c6e3f; }
.form-note.error { background: #fbeceb; color: #a33; }

/* ---------- About ---------- */
.about-lead { font-size: 17px; color: var(--ink-2); margin-bottom: 28px; }
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  margin-bottom: 30px; text-align: center;
}
.about-h { font-size: 22px; margin: 26px 0 10px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  padding: 8px 16px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); font-size: 13px;
}
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Article single ---------- */
.article-single h1.article-h1 { font-size: 30px; margin-bottom: 10px; }
.article-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.article-meta .dot { margin: 0 8px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.article-prose { font-size: 16px; color: var(--ink-2); line-height: 1.8; }
.article-prose h2, .article-prose h3 { margin: 24px 0 10px; color: var(--ink); }
.article-prose p { margin-bottom: 14px; }
.article-prose img { border-radius: var(--radius); margin: 16px 0; }
.article-prose ul, .article-prose ol { margin: 0 0 14px 22px; }

/* ---------- 404 ---------- */
.four-o-four { font-family: var(--serif); font-size: 90px; font-weight: 700; color: var(--gold); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFC8BB; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 46px 20px 20px; }
.footer-logo { font-family: var(--serif); font-size: 22px; color: #FAF7F2; margin-bottom: 10px; }
.footer-about-col p { font-size: 13px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.footer-col a, .footer-col span { display: block; font-size: 14px; padding: 4px 0; color: #CFC8BB; }
.footer-col a:hover { color: #fff; }
.footer-addr { font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px;
  font-size: 12px; color: #8A8378; text-align: center;
}

.inquiry-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ============================================================
   Desktop  >= 1024px
   ============================================================ */
@media (min-width: 1024px) {
  body { font-size: 16px; }
  .desktop-nav { display: flex; align-items: center; gap: 28px; }
  .desktop-nav > a { font-size: 14px; font-weight: 500; }
  .desktop-nav > a:hover { color: var(--gold-dark); }
  .has-dropdown { position: relative; }
  .has-dropdown .caret { font-size: 10px; }
  .dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
    min-width: 200px; padding: 8px; opacity: 0; visibility: hidden; transition: .25s;
  }
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .dropdown a { display: block; padding: 9px 12px; font-size: 14px; border-radius: 6px; }
  .dropdown a:hover { background: var(--bg-tint); color: var(--gold-dark); }

  .menu-btn { display: none; }

  .hero { padding: 110px 0 120px; }
  .hero-title { font-size: 58px; }
  .hero-sub { font-size: 18px; }

  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }

  .product-detail { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .custom-wrap { grid-template-columns: 1fr 1.2fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-bottom { text-align: left; }
}
