/* AURELIAN STANDARD / TDPO — Luxury storefront design system */
:root {
  --ink: #0f0f0f;
  --ink-soft: #161616;
  --gold: #c5a059;
  --gold-dark: #a8853f;
  --gold-soft: #e9d9b8;
  --bg: #f7f9fd;
  --bg-soft: #eef1f6;
  --white: #ffffff;
  --fg: #1a1c20;
  --muted: #6b7280;
  --faint: #9aa1ab;
  --border: #e4e7ec;
  --radius: 10px;
  --shadow: 0 10px 40px rgba(15, 15, 15, .08);
  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--fg); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: var(--gold); padding: 10px 18px; }
.skip-link:focus { left: 0; }

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 120; background: var(--ink); color: #f3f3f2; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f3f3f2; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(197,160,89,.65); border-radius: 6px; font-family: var(--serif); font-size: 20px; color: var(--gold); background: rgba(197,160,89,.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--serif); font-size: 20px; letter-spacing: .22em; color: #f3f3f2; }
.logo-sub { font-family: var(--sans); font-size: 9px; letter-spacing: .34em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }

.main-nav { display: flex; gap: 2px; flex: 1; }
.main-nav a { padding: 9px 13px; border-radius: 6px; text-decoration: none; color: #cfd2d8; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); background: rgba(197,160,89,.1); }

.search-form { display: flex; gap: 0; flex: 0 1 380px; align-items: center; }
.search-wrap { position: relative; flex: 1; display: flex; }
.search-wrap input { flex: 1; width: 100%; padding: 10px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px 0 0 999px; font-size: 14px; outline: none; background: rgba(255,255,255,.05); color: #f3f3f2; transition: border-color .2s; }
.search-wrap input::placeholder { color: #8b909a; }
.search-wrap input:focus { border-color: var(--gold); }
.search-form button { padding: 0 18px; border: 1px solid var(--gold); border-left: 0; border-radius: 0 999px 999px 0; background: var(--gold); color: var(--ink); font-weight: 600; cursor: pointer; display: grid; place-items: center; height: 38px; }
.search-form button:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.img-search-link { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); color: var(--gold); text-decoration: none; transition: background .2s, border-color .2s; }
.img-search-link:hover { background: rgba(197,160,89,.12); border-color: var(--gold); }

/* Live fuzzy suggestions */
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 160; background: var(--white); color: var(--fg); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; text-decoration: none; border-bottom: 1px solid var(--bg-soft); }
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover, .suggest-item.active { background: var(--bg-soft); }
.suggest-item img { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--bg-soft); }
.suggest-item .suggest-ph { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-soft); color: var(--gold-dark); font-family: var(--serif); flex-shrink: 0; }
.suggest-item .suggest-body { min-width: 0; }
.suggest-item .suggest-title { font-size: 12px; font-weight: 600; color: var(--fg); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest-item .suggest-brand { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); margin-top: 2px; }
.suggest-empty { padding: 12px 16px; font-size: 13px; color: var(--muted); }

/* Mega menu */
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mega-nav { background: var(--ink-soft); border-top: 1px solid rgba(255,255,255,.07); }
.mega-nav-inner { display: flex; justify-content: space-around; gap: 2px; position: relative; }
.mega { position: relative; flex: 1; }
.mega-trigger { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; text-decoration: none; color: #c9ccd3; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.mega-trigger:hover, .mega-trigger[aria-expanded="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.mega-icon { display: inline-flex; width: 16px; height: 16px; color: var(--gold); opacity: .85; flex-shrink: 0; }
.mega-icon svg { width: 100%; height: 100%; display: block; }
.mega-trigger:hover .mega-icon, .mega-trigger[aria-expanded="true"] .mega-icon { opacity: 1; }
.mega-caret { width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.mega-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); width: min(880px, 92vw); background: var(--white); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 150; }
.mega:first-child .mega-panel { left: 0; transform: translateY(6px); }
.mega:last-child .mega-panel { left: auto; right: 0; transform: translateY(6px); }
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.open .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega:first-child:hover .mega-panel, .mega:first-child.open .mega-panel { transform: translateY(0); }
.mega:last-child:hover .mega-panel, .mega:last-child.open .mega-panel { transform: translateY(0); }
.mega-panel-inner { padding: 22px 24px; }
.mega-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mega-kicker { font-family: var(--serif); font-size: 15px; color: var(--ink); letter-spacing: .04em; }
.mega-all { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); text-decoration: none; white-space: nowrap; }
.mega-all:hover { color: var(--ink); }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px 14px; }
.mega-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; text-decoration: none; }
.mega-brand:hover { background: var(--bg-soft); }
.mega-brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mega-b-ph { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--gold-dark); font-family: var(--serif); }
.mega-brand-name { font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.mega-brand-count { margin-left: auto; font-size: 11px; color: var(--faint); }
.mega-empty { color: var(--muted); font-size: 13px; }

/* ---------- Main ---------- */
.main { padding: 36px 24px 64px; min-height: 60vh; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #f3f3f2; border-radius: 16px; padding: 0; margin: 0 0 48px; min-height: 520px; }
.hero-silk-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center 30%; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: .5; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-silk-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.5) 0%, rgba(15,15,15,.85) 100%); }
.hero-silk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: overlay; opacity: .45; }
.hero-inner { position: relative; z-index: 1; padding: 88px 48px 72px; max-width: 820px; }
.hero-dots { position: absolute; left: 48px; bottom: 26px; z-index: 2; display: flex; gap: 10px; }
.hero-dot { width: 22px; height: 3px; border: 0; border-radius: 2px; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hero-dot.active { background: var(--gold); width: 32px; }
.hero-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .34em; color: var(--gold); margin-bottom: 18px; display: block; }
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 50px); line-height: 1.16; margin: 0 0 20px; color: #f6f5f2; font-weight: 600; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { max-width: 620px; color: #c3c7cf; font-size: 17px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 52px; margin: 0; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--gold); }
.hero-stats dd { margin: 2px 0 0; color: #9aa1ab; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #f3f3f2; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--ink); color: var(--gold); }
.btn-dark:hover { background: #000; }

/* ---------- Sections ---------- */
.section { margin: 48px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2, .section > h2 { font-size: 24px; margin: 0; color: var(--ink); }
.section-head .kicker, .section-kicker { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .3em; color: var(--gold-dark); margin-bottom: 6px; }
.section-link { color: var(--gold-dark); text-decoration: none; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.section-link:hover { color: var(--ink); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; min-height: 170px; border-radius: var(--radius); background: var(--ink); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .5s ease, opacity .3s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0) 35%, rgba(15,15,15,.88) 100%); }
.cat-card:hover img { transform: scale(1.05); opacity: .85; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card-title, .cat-card-count { position: relative; z-index: 1; }
.cat-card-title { color: #f6f5f2; font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .02em; }
.cat-card-count { color: var(--gold-soft); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

/* ---------- Brand cards ---------- */
.bcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.bcard { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(197,160,89,.4); }
.bcard a { display: flex; flex-direction: column; align-items: center; padding: 18px 12px; text-align: center; text-decoration: none; }
.bcard img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 3px solid var(--bg-soft); }
.bcard-name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 15px; }
.bcard-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(197,160,89,.45); }
.card-media { position: relative; aspect-ratio: 1; background: var(--bg-soft); display: block; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(15,15,15,.82); color: var(--gold-soft); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.card.exact { position: relative; border: 2px solid var(--gold); box-shadow: 0 0 0 1px rgba(197,160,89,.25), 0 14px 40px rgba(197,160,89,.18); }
.card.exact:hover { border-color: var(--gold-dark); box-shadow: 0 0 0 1px rgba(197,160,89,.35), 0 18px 48px rgba(197,160,89,.24); }
.card.exact::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); border-radius: calc(var(--radius) - 2px); pointer-events: none; z-index: 2; }
.exact-badge { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--ink); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 2px 10px rgba(197,160,89,.55); }
.card.exact .exact-badge { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--ink); border: 1px solid rgba(255,255,255,.6); }
.img-no-match { margin: 0 0 18px; padding: 13px 16px; background: rgba(197,160,89,.08); border: 1px solid rgba(197,160,89,.35); border-left: 3px solid var(--gold); border-radius: var(--radius); color: var(--ink); font-size: 13px; line-height: 1.5; }
.card-ph { display: grid; place-items: center; aspect-ratio: 1; color: var(--muted); background: var(--bg-soft); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { margin: 0; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.45; }
.card-title.long-title { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.card-title a { text-decoration: none; color: var(--fg); }
.card-title a:hover { color: var(--gold-dark); }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 12px; color: var(--muted); }
.card-inquire { color: var(--gold-dark); font-weight: 600; text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.card-inquire:hover { color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.pg-nums { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pg-link { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
a.pg-link:hover { border-color: var(--gold); color: var(--ink); }
.pg-link.current { background: var(--ink); border-color: var(--ink); color: var(--gold); cursor: default; }
.pg-gap { color: var(--muted); }
.pg-link.prev, .pg-link.next { letter-spacing: .04em; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: 150px; }
.product-gallery .gallery-main { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--white); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumb { border: 2px solid transparent; border-radius: 8px; padding: 0; cursor: pointer; overflow: hidden; background: none; transition: border-color .15s; }
.thumb img { width: 66px; height: 66px; object-fit: cover; }
.thumb.active { border-color: var(--gold); }
.product-info h1 { font-size: 26px; margin: 12px 0 10px; line-height: 1.3; }
.product-info h1.long-title { font-size: 15px; font-weight: 600; color: var(--fg); letter-spacing: .01em; }
.product-sub { color: var(--muted); }
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.chip { background: var(--bg-soft); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--muted); }
.price-note { background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.inquiry-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.inquiry-hint { font-size: 13px; color: var(--muted); margin-top: 12px; }
.inquiry-hint strong { color: var(--gold-dark); }

/* ---------- Inquiry modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,15,15,.62); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 250; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; backdrop-filter: blur(2px); }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { background: var(--white); border-radius: 14px; width: min(600px, 100%); max-height: 92vh; overflow: auto; padding: 34px 38px; box-shadow: 0 30px 80px rgba(0,0,0,.35); position: relative; }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--ink); }
.modal-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.modal-step-dot { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.modal-step-dot .dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-size: 11px; color: var(--muted); background: var(--white); }
.modal-step-dot.active { color: var(--ink); }
.modal-step-dot.active .dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.modal-step-dot.done .dot { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.modal-bar { flex: 1; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.modal-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.modal-steps[data-step="1"] .modal-bar:nth-child(2)::after { transform: scaleX(1); }
.modal-steps[data-step="2"] .modal-bar:nth-child(2)::after,
.modal-steps[data-step="2"] .modal-bar:nth-child(4)::after { transform: scaleX(1); }
.modal-steps[data-step="3"] .modal-bar:nth-child(2)::after,
.modal-steps[data-step="3"] .modal-bar:nth-child(4)::after { transform: scaleX(1); }
.modal h2 { margin: 0 0 6px; font-size: 22px; }
.modal-sub { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.step { display: none; }
.step.active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mq { display: flex; gap: 16px; align-items: center; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 20px; }
.mq img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; }
.mq-title { font-size: 13px; font-weight: 600; line-height: 1.4; }
.mq-brand { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.field input, .field textarea, .field select { font: inherit; font-weight: 400; text-transform: none; letter-spacing: 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); outline: none; transition: border-color .15s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.modal-actions { display: flex; gap: 12px; margin-top: 8px; }
.modal-actions .btn { flex: 1; }
.btn-ghost-btn { background: none; border: 1px solid var(--border); }
.btn-ghost-btn:hover { border-color: var(--ink); }
.form-msg { font-weight: 600; min-height: 20px; font-size: 13px; margin-top: 10px; }
.form-msg.ok { color: #1a7f37; }
.form-msg.err { color: #c62828; }
.modal-success { text-align: center; padding: 18px 8px; }
.success-ring { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font-size: 26px; color: var(--gold); animation: stepIn .4s ease; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin: 6px 0 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 12px; color: var(--muted); }
.breadcrumbs li::after { content: "›"; margin-left: 7px; color: #cfd3da; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--gold-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- Pages ---------- */
.page-head { margin: 14px 0 32px; }
.page-head h1 { font-size: 32px; margin: 0 0 10px; line-height: 1.2; }
.page-head p { color: var(--muted); max-width: 760px; margin: 0; }
.brand-head { display: flex; gap: 22px; align-items: center; }
.brand-logo { border-radius: 50%; border: 3px solid var(--bg-soft); }
.prose { max-width: 760px; }
.prose p { font-size: 16px; }
.prose h2 { margin-top: 30px; }
.empty { color: var(--muted); background: var(--bg-soft); padding: 28px; border-radius: var(--radius); }

/* ---------- SEO text ---------- */
.seo-text { background: var(--bg-soft); border-radius: var(--radius); padding: 34px; border-left: 3px solid var(--gold); }
.seo-text h2 { color: var(--ink); }

/* ---------- Affiliate page ---------- */
.affiliate-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.affiliate-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 150px; }
.affiliate-card h2 { margin: 0 0 16px; font-size: 22px; }
.affiliate-card label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.affiliate-card input { padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-weight: 400; text-transform: none; }
.affiliate-card input:focus { outline: none; border-color: var(--gold); }
.aff-ok { background: #f6f1e6; border-radius: 8px; padding: 14px; }
.aff-ok code { background: var(--white); border-radius: 4px; padding: 1px 6px; color: var(--gold-dark); }
.aff-link { width: 100%; margin: 8px 0; font-size: 12px; }
.affiliate-layout .prose ol li, .affiliate-layout .prose ul li { margin-bottom: 12px; }

/* ---------- Image search widget ---------- */
.img-search { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 12px; }
.img-search h2 { margin: 0 0 6px; font-size: 22px; }
.img-search p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.img-search-ctrls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: var(--gold); font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent; }
.file-btn:hover { background: #000; }
#img-search-status { margin-left: 4px; font-size: 13px; }
#img-results { margin-top: 20px; }
.img-preview { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); }
.img-preview img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: var(--white); }
.img-preview-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.img-preview-note strong { color: var(--gold-dark); }

/* ---------- Luxurious image-search loading ---------- */
.img-loading { margin-top: 22px; padding: 18px 20px 16px; background: linear-gradient(180deg, rgba(197,160,89,.06), rgba(197,160,89,.02)); border: 1px solid rgba(197,160,89,.3); border-radius: var(--radius); }
.img-loading-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.img-loading-kicker { font-family: var(--serif); font-style: italic; color: var(--gold-dark); font-size: 14px; letter-spacing: .05em; }
.img-loading-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.img-loading-track { position: relative; height: 6px; border-radius: 999px; background: rgba(197,160,89,.15); box-shadow: inset 0 0 0 1px rgba(197,160,89,.28); overflow: hidden; }
.img-loading-fill { position: absolute; inset: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #8a6d2f, var(--gold), #e8cf9f, var(--gold), #8a6d2f); background-size: 220% 100%; animation: shimmer 1.6s linear infinite; transition: width .25s cubic-bezier(.2,.7,.3,1); }
.img-loading-text { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.img-loading.is-refining .img-loading-track { background: rgba(197,160,89,.12); }
.img-loading.is-refining .img-loading-fill { width: 100% !important; animation-duration: 1s; }
.img-loading.is-refining .img-loading-text { color: var(--gold-dark); font-style: italic; }
@keyframes shimmer { from { background-position: 220% 0; } to { background-position: -220% 0; } }

/* Card entrance while results stream in */
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.card.card-in { animation: cardIn .45s cubic-bezier(.2,.7,.3,1) both; }
.img-no-match { grid-column: 1 / -1; }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.revealed { opacity: 1; transform: none; }
html.js .hero-inner { animation: heroIn .8s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9bec7; margin-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 52px 24px 28px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .logo-mark { margin-top: 2px; }
.footer-brand strong { color: #f3f3f2; font-family: var(--serif); font-size: 19px; letter-spacing: .14em; }
.footer-brand p { max-width: 380px; color: #8f96a0; font-size: 14px; margin: 8px 0 0; }
.footer-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .3em; color: var(--gold); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #b9bec7; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 24px; font-size: 12px; color: #767d88; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .header-inner { height: auto; flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; }
  .search-form { flex: 1; order: 2; }
  .mega-nav { display: none; }
  .mobile-nav { background: var(--ink-soft); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); max-height: 70vh; overflow-y: auto; }
  .mobile-nav-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 2px 8px; padding: 14px 0 20px; }
  .mobile-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #d6d9df; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .mobile-nav-link:hover { background: rgba(197,160,89,.1); color: var(--gold); }
  .mobile-nav-link .mega-icon { width: 18px; height: 18px; }
  .mobile-nav-count { margin-left: auto; font-size: 11px; color: #7d838d; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .hero-inner { padding: 56px 28px; }
  .hero-stats { gap: 30px; }
  .affiliate-layout { grid-template-columns: 1fr; }
  .affiliate-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .modal { padding: 26px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
