/* parfum.redak.top — premium-dark public */

:root {
    --bg: #0a0907;
    --bg-soft: #12100d;
    --bg-soft-2: #1a1612;
    --text: #f5f1e8;
    --muted: #8a7f6e;
    --gold: #c9a961;
    --gold-soft: #d6b970;
    --gold-dim: #9a7e44;
    --line: rgba(245, 241, 232, 0.08);
    --line-strong: rgba(245, 241, 232, 0.16);

    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ─── Header ─────────────────────────────────── */
.site-header {
    background: rgba(10, 9, 7, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 24px;
}
.logo {
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.logo .dot { color: var(--gold); }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a {
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text); position: relative; padding: 8px 0;
}
.primary-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.primary-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.cart-link {
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    border: 1px solid var(--line-strong); padding: 10px 18px;
}
.cart-link:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Footer ─────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 120px; padding: 40px 0;
    background: var(--bg-soft);
}
.footer-inner {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 24px; color: var(--muted); font-size: 13px;
}
.footer-inner .ftr-brand { font-family: var(--font-heading); font-size: 18px; color: var(--text); }

/* ─── Hero ───────────────────────────────────── */
.hero {
    position: relative;
    padding: 110px 0 130px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at center 30%, rgba(201, 169, 97, 0.10), transparent 70%),
        var(--bg);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.66  0 0 0 0 0.38  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.4; pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero-eyebrow {
    color: var(--gold); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
    margin-bottom: 24px; display: block;
}
.hero h1 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: clamp(42px, 6vw, 76px);
    margin: 0 0 20px; letter-spacing: 0.01em; line-height: 1.05;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-sub {
    color: var(--muted); font-size: 17px;
    max-width: 560px; margin: 0 auto 40px;
}

/* ─── Buttons ────────────────────────────────── */
.btn-gold {
    display: inline-block;
    background: var(--gold); color: #1a1409;
    padding: 15px 38px;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
    border: 1px solid var(--gold); border-radius: 0;
    cursor: pointer; transition: all .2s;
}
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: #1a1409; }
.btn-gold:disabled { background: #3a3225; color: #6e6450; border-color: #3a3225; cursor: not-allowed; }
.btn-gold-outline {
    display: inline-block;
    background: transparent; color: var(--gold);
    border: 1px solid var(--gold);
    padding: 13px 30px;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
    cursor: pointer; transition: all .2s;
}
.btn-gold-outline:hover { background: var(--gold); color: #1a1409; }
.btn-link {
    color: var(--muted); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.14em;
    padding: 13px 8px;
}
.btn-link:hover { color: var(--gold); }

/* ─── Sections / heads ───────────────────────── */
.section { padding: 72px 0; }
.section-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
    gap: 16px; flex-wrap: wrap;
}
.section-head h2, .page-head h1 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: clamp(32px, 4vw, 44px);
    margin: 0; letter-spacing: 0.02em;
}
.more-link {
    color: var(--gold); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.16em;
}
.page-head { margin-bottom: 40px; }
.page-head .page-sub { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.crumb {
    font-size: 12px; color: var(--muted);
    margin-bottom: 20px; letter-spacing: 0.06em;
}
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--text); }

/* ─── Brand strip (home) ─────────────────────── */
.brand-strip {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px; background: var(--line);
    border: 1px solid var(--line);
}
.brand-tile {
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 2 / 1; padding: 24px;
    transition: background .25s;
}
.brand-tile:hover { background: var(--bg-soft-2); }
.brand-tile img {
    max-height: 64px; max-width: 80%; object-fit: contain;
    filter: brightness(0) invert(0.92);
    transition: filter .25s;
}
.brand-tile:hover img { filter: brightness(0) invert(0.78) sepia(1) hue-rotate(15deg) saturate(2); }
.brand-name-fallback {
    font-family: var(--font-heading);
    font-size: 22px; letter-spacing: 0.04em; color: var(--text);
}

/* ─── Brands index ───────────────────────────── */
.brands-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.brand-card {
    display: flex; flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--line); padding: 32px;
    transition: border-color .25s, transform .25s;
}
.brand-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.brand-card-logo {
    display: flex; align-items: center; justify-content: center;
    height: 140px; margin-bottom: 20px;
}
.brand-card-logo img {
    max-height: 100px; max-width: 100%; object-fit: contain;
    filter: brightness(0) invert(0.92);
}
.brand-card-name {
    font-family: var(--font-heading);
    font-size: 26px; font-weight: 500; margin-bottom: 6px;
}
.brand-card-meta {
    display: flex; gap: 14px; color: var(--muted); font-size: 13px;
    letter-spacing: 0.04em;
}

/* ─── Brand page hero ────────────────────────── */
.brand-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.brand-hero-inner {
    display: grid; grid-template-columns: 220px 1fr; gap: 56px;
    align-items: center;
}
.brand-hero-logo {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1/1;
    background: var(--bg-soft); border: 1px solid var(--line);
}
.brand-hero-logo img {
    max-width: 70%; max-height: 70%; object-fit: contain;
    filter: brightness(0) invert(0.92);
}
.brand-hero h1 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: clamp(38px, 5vw, 60px);
    margin: 8px 0 12px; letter-spacing: 0.02em;
}
.brand-country {
    color: var(--gold); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.18em;
}
.brand-desc {
    color: var(--muted); margin: 18px 0 0; max-width: 720px;
    font-size: 16px; line-height: 1.75;
}

/* ─── Product card / grid ────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px 24px;
}
.card { display: flex; flex-direction: column; gap: 6px; transition: opacity .25s; }
.card:hover .card-name { color: var(--gold); }
.card.out-of-stock { opacity: 0.55; }
.card-photo {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    overflow: hidden;
}
.card-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .card-photo img { transform: scale(1.04); }
.card-photo-empty {
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(201,169,97,0.08), transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255,255,255,0.02) 14px, rgba(255,255,255,0.02) 15px);
}
.badge-out {
    position: absolute; top: 12px; left: 12px;
    background: rgba(0,0,0,0.75); color: var(--muted);
    padding: 5px 10px; font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.12em;
}
.card-brand {
    color: var(--muted); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.18em;
    margin-top: 14px;
}
.card-name {
    font-family: var(--font-heading);
    font-style: italic; font-size: 22px; font-weight: 500;
    transition: color .2s; line-height: 1.2;
}
.card-price {
    font-family: var(--font-mono);
    color: var(--gold); font-size: 13px; margin-top: 4px;
    letter-spacing: 0.02em;
}

/* ─── Catalog layout ─────────────────────────── */
.catalog-section { padding: 40px 0 80px; }
.catalog-head {
    display: flex; justify-content: space-between; align-items: baseline;
    flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
    padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.sort-form { display: flex; align-items: center; gap: 12px; }
.sort-form label { color: var(--muted); font-size: 13px; display: flex; gap: 10px; align-items: center; }
.sort-form select {
    background: var(--bg-soft); color: var(--text);
    border: 1px solid var(--line-strong);
    padding: 9px 14px; font-size: 13px; cursor: pointer;
}
.sort-form select:focus { outline: none; border-color: var(--gold); }
.catalog-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 48px;
    align-items: start;
}
.filter-sidebar {
    background: var(--bg-soft); border: 1px solid var(--line);
    padding: 28px; position: sticky; top: 88px;
}
.filter { border: none; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.filter:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.filter legend {
    color: var(--gold); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.16em;
    margin-bottom: 12px; padding: 0; font-weight: 600;
}
.filter label {
    display: flex; align-items: center; gap: 10px;
    padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--text);
}
.filter label:hover { color: var(--gold); }
.filter input[type=checkbox] {
    accent-color: var(--gold); width: 16px; height: 16px;
    cursor: pointer; flex-shrink: 0;
}
.filter .single-toggle { padding: 0; }
.price-range { display: flex; gap: 10px; }
.price-range input {
    flex: 1; min-width: 0;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--line-strong); padding: 9px 10px;
    font-family: var(--font-mono); font-size: 13px;
}
.price-range input:focus { outline: none; border-color: var(--gold); }
.filter-actions { display: flex; gap: 12px; align-items: center; padding-top: 8px; }
.result-count { padding: 0 0 18px; font-size: 13px; color: var(--muted); }

/* ─── Product page ───────────────────────────── */
.product-section { padding: 32px 0 72px; }
.product-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: start; margin-top: 12px;
}
.product-photos { position: sticky; top: 88px; }
.photo-main {
    aspect-ratio: 4/5;
    background: var(--bg-soft); border: 1px solid var(--line);
    overflow: hidden; margin-bottom: 12px;
}
.photo-main.empty {
    background:
        radial-gradient(ellipse at center, rgba(201,169,97,0.08), transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255,255,255,0.02) 14px, rgba(255,255,255,0.02) 15px),
        var(--bg-soft);
}
.photo-main img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-thumb {
    width: 72px; height: 90px; padding: 0;
    background: var(--bg-soft); border: 1px solid var(--line);
    cursor: pointer; transition: border-color .2s;
}
.photo-thumb.active { border-color: var(--gold); }
.photo-thumb:hover { border-color: var(--gold-dim); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-brand {
    color: var(--muted); font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
}
.product-brand:hover { color: var(--gold); }
.product-info h1 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: clamp(36px, 4vw, 52px);
    margin: 8px 0 18px; letter-spacing: 0.01em; line-height: 1.1;
}
.product-meta {
    display: flex; gap: 10px; color: var(--muted); font-size: 12px;
    margin-bottom: 22px; flex-wrap: wrap;
}
.product-meta span {
    padding: 5px 12px; border: 1px solid var(--line);
    letter-spacing: 0.04em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
    background: rgba(201,169,97,0.06);
    border: 1px solid var(--gold-dim);
    color: var(--gold);
    font-size: 11px; padding: 5px 12px;
    text-transform: uppercase; letter-spacing: 0.12em;
}
.product-desc {
    color: rgba(245,241,232,0.88); font-size: 16px;
    line-height: 1.8; margin: 0 0 28px;
}
.volume-selector { margin: 28px 0; }
.volume-label {
    color: var(--muted); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.volume-options { display: flex; flex-wrap: wrap; gap: 10px; }
.volume-btn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
    padding: 12px 18px; cursor: pointer; transition: all .2s;
    position: relative; min-width: 90px;
}
.volume-btn:hover:not(:disabled) { border-color: var(--gold-dim); }
.volume-btn.active { border-color: var(--gold); background: rgba(201,169,97,0.08); }
.volume-btn .vol { font-size: 14px; font-weight: 500; }
.volume-btn .prc {
    font-family: var(--font-mono);
    font-size: 12px; color: var(--muted);
}
.volume-btn.out { opacity: 0.45; cursor: not-allowed; }
.volume-btn .vol-out {
    position: absolute; top: 6px; right: 8px;
    font-size: 9px; color: var(--muted); text-transform: uppercase;
}
.buy-row {
    display: flex; align-items: center; gap: 24px;
    margin: 28px 0 16px; padding: 24px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.price-final {
    font-family: var(--font-mono);
    font-size: 28px; color: var(--gold); flex: 1;
}
.notes-pyramid { margin: 72px 0 0; max-width: 760px; }
.notes-pyramid h3 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: 30px; margin: 0 0 22px;
}
.note-row {
    display: grid; grid-template-columns: 180px 1fr; gap: 24px;
    padding: 14px 0; border-top: 1px solid var(--line);
}
.note-row:last-child { border-bottom: 1px solid var(--line); }
.note-key {
    color: var(--gold); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.16em;
    padding-top: 4px;
}
.note-val { color: rgba(245,241,232,0.88); line-height: 1.65; }

/* ─── Static pages ───────────────────────────── */
.static-page { padding: 48px 0 80px; max-width: 720px; }
.static-page h1 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: 44px; margin: 0 0 24px;
}
.static-page h2 {
    font-family: var(--font-heading);
    font-weight: 500; font-size: 26px; margin: 32px 0 12px;
}
.static-page p { color: rgba(245,241,232,0.85); line-height: 1.75; margin: 0 0 14px; }
.static-page ul { color: rgba(245,241,232,0.85); line-height: 1.8; padding-left: 22px; }

/* ─── 404 ───────────────────────────────────── */
.notfound { padding: 100px 0; text-align: center; }
.notfound .big {
    font-family: var(--font-heading);
    font-size: 120px; color: var(--gold); margin: 0; line-height: 1;
}
.notfound p { color: var(--muted); margin: 16px 0 32px; }

/* ─── Mobile ─────────────────────────────────── */
@media (max-width: 960px) {
    .container { padding: 0 20px; }
    .primary-nav { display: none; }
    .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
    .filter-sidebar { position: static; }
    .product-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-photos { position: static; }
    .brand-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .brand-hero-logo { max-width: 200px; margin: 0 auto; }
    .note-row { grid-template-columns: 1fr; gap: 4px; }
    .hero { padding: 72px 0 96px; }
    .section { padding: 56px 0; }
}
@media (max-width: 560px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
    .card-name { font-size: 18px; }
    .header-inner { height: 60px; }
    .cart-link { padding: 8px 14px; }
}
