/* KromeWeb — Lens theme (Booqable Focus-inspired editorial).
   Calm gallery-like premium aesthetic. Single-family Fraunces typesetting
   driven by the variable opsz axis (9 → 144). Cream paper, deep ink body,
   brand purple deployed only as a hairline accent. Gold (#C9A86A) is the
   one signature note — used like a Tiffany rule, never as a fill.

   Scoped under `.theme-lens`. Anti-Studio in temperament: where Studio
   adds 4px offset shadows + magenta sale pills, Lens uses zero shadows,
   1px gold hairlines, justified text columns, and a single drop-cap on
   the first paragraph of every article. */

.theme-lens {
    /* Brand tokens. */
    --lens-paper: #F6F1EA;
    --lens-paper-warm: #EFE9DF;
    --lens-ink: #0F0F12;
    --lens-ink-soft: #5C5860;
    --lens-purple: #3D1B7A;
    --lens-gold: #C9A86A;

    /* Override shared --kw-* tokens. */
    --kw-dark: #0F0F12;
    --kw-light: #F6F1EA;
    --kw-accent: #3D1B7A;
    --kw-accent-deep: #2A1056;
    --kw-accent-soft: #C9A86A;
    --kw-text: #0F0F12;
    --kw-text-muted: #5C5860;
    --kw-border-strong: rgba(15, 15, 18, 0.15);
    --kw-border: rgba(15, 15, 18, 0.08);
    --kw-font: 'Fraunces', Georgia, serif;
    --kw-max-width: 1180px;
}

/* Lens runs Fraunces everywhere — body uses opsz 12-14 for readability,
   display uses opsz 144 for the masthead feel. */
.theme-lens,
.theme-lens body {
    font-family: 'Fraunces', Georgia, serif;
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 14;
    background: var(--lens-paper, #F6F1EA);
    color: var(--lens-ink, #0F0F12);
}
.theme-lens h1, .theme-lens h2, .theme-lens h3,
.theme-lens h4, .theme-lens h5, .theme-lens h6 {
    font-family: 'Fraunces', Georgia, serif;
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--lens-ink, #0F0F12);
}
.theme-lens h1 { font-weight: 400; letter-spacing: -0.03em; }
.theme-lens p {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 14;
    line-height: 1.75;
    color: var(--lens-ink, #0F0F12);
}

/* ── Shared primitive overrides under .theme-lens scope ─────────── */
.theme-lens .fk-container { max-width: 1180px; }

.theme-lens .fk-btn {
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 14;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 1.625rem;
    border: 1px solid var(--lens-ink, #0F0F12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-lens .fk-btn-accent {
    background: var(--lens-ink, #0F0F12);
    color: var(--lens-paper, #F6F1EA);
    border-color: var(--lens-ink, #0F0F12);
}
.theme-lens .fk-btn-accent:hover {
    background: var(--lens-purple, #3D1B7A);
    border-color: var(--lens-purple, #3D1B7A);
    color: var(--lens-paper, #F6F1EA);
}
.theme-lens .fk-btn-dark {
    background: var(--lens-ink, #0F0F12);
    color: var(--lens-paper, #F6F1EA);
}
.theme-lens .fk-btn-outline {
    background: transparent;
    border: 1px solid var(--lens-paper, #F6F1EA);
    color: var(--lens-paper, #F6F1EA);
}
.theme-lens .fk-btn-outline:hover {
    background: var(--lens-paper, #F6F1EA);
    color: var(--lens-ink, #0F0F12);
}

/* Section eyebrow — small caps with a tiny gold rule under it.
   Editorial section-marker, not a sales pill. */
.theme-lens .fk-section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 9;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lens-ink-soft, #5C5860);
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--lens-gold, #C9A86A);
    width: fit-content;
}
.theme-lens .fk-section-title-light {
    color: rgba(246, 241, 234, 0.7);
    border-bottom-color: var(--lens-gold, #C9A86A);
}

.theme-lens .fk-section { padding: 5rem 0; }
.theme-lens .fk-section-dark {
    background: var(--lens-ink, #0F0F12);
    color: var(--lens-paper, #F6F1EA);
}
.theme-lens .fk-section-dark h2,
.theme-lens .fk-section-dark h3,
.theme-lens .fk-section-dark p { color: var(--lens-paper, #F6F1EA); }

/* ── Products grid — wider gap, fewer per row (editorial pacing) ─ */
.theme-lens .fk-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 3rem 2rem;
}

/* ── Hero — masthead corner block ───────────────────────────────── */
.theme-lens .kw-block-hero-banner,
.theme-lens .fk-hero {
    position: relative;
    min-height: 78vh;
    background: var(--lens-ink, #0F0F12);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.theme-lens .fk-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to top,
            rgba(15, 15, 18, 0.75) 0%,
            rgba(15, 15, 18, 0.1) 60%,
            transparent 100%);
}
.theme-lens .fk-hero-content {
    position: relative; z-index: 1;
    /* The "masthead corner block" — only as wide as it needs to be, sits
       in the bottom-left like a Condé Nast cover plate. */
    max-width: 720px;
    padding: 0 2rem 5rem;
    color: var(--lens-paper, #F6F1EA);
}
.theme-lens .fk-hero h1 {
    color: var(--lens-paper, #F6F1EA);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
    max-width: 14ch;
}
.theme-lens .fk-hero h1::after {
    /* Thin gold rule under the headline — the signature editorial gesture. */
    content: "";
    display: block;
    width: 4rem; height: 1px;
    background: var(--lens-gold, #C9A86A);
    margin-top: 1.5rem;
}
.theme-lens .fk-hero-subtitle {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 24;
    font-style: italic;
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    color: rgba(246, 241, 234, 0.86);
    max-width: 44ch;
    margin-bottom: 2rem;
    line-height: 1.55;
}

/* ── Collections grid ───────────────────────────────────────────── */
.theme-lens .fk-collections-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.theme-lens .fk-collection-card {
    background: transparent;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
}
.theme-lens .fk-collection-card::after {
    /* Gold hairline border that draws in on hover. */
    content: "";
    position: absolute; inset: 0;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 0.3s ease;
}
.theme-lens .fk-collection-card:hover::after {
    border-color: var(--lens-gold, #C9A86A);
}
.theme-lens .fk-collection-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(15, 15, 18, 0.55) 0%,
        rgba(15, 15, 18, 0.05) 60%,
        transparent 100%);
}
.theme-lens .fk-collection-name {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 60;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--lens-paper, #F6F1EA);
    padding: 1.25rem;
    align-self: flex-end;
    width: 100%;
}

/* ── Testimonials — pulled-quote editorial style ────────────────── */
.theme-lens .fk-testimonials {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
}
.theme-lens .fk-testimonial {
    border-left: 1px solid var(--lens-gold, #C9A86A);
    padding-left: 1.75rem;
    position: relative;
}
.theme-lens .fk-testimonial::before {
    /* Big serif opening quote — typographic ornament. */
    content: "\201C";
    position: absolute;
    left: 0.65rem; top: -0.85rem;
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-size: 3.5rem;
    line-height: 0.85;
    color: var(--lens-gold, #C9A86A);
    font-weight: 400;
}
.theme-lens .fk-testimonial p {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 24;
    font-size: 1.0625rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--lens-ink, #0F0F12);
    margin-bottom: 0.875rem;
}
.theme-lens .fk-testimonial footer {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 9;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lens-purple, #3D1B7A);
    font-style: normal;
}

/* ── CTA banner ─────────────────────────────────────────────────── */
.theme-lens .fk-cta {
    background: var(--lens-ink, #0F0F12);
    color: var(--lens-paper, #F6F1EA);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}
.theme-lens .fk-cta::after {
    /* Thin gold rule above the CTA buttons — gallery-plate cue. */
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: 4.25rem;
    width: 3rem; height: 1px;
    background: var(--lens-gold, #C9A86A);
    display: none;
}
.theme-lens .fk-cta h2 {
    color: var(--lens-paper, #F6F1EA);
    font-size: clamp(2rem, 4vw, 3rem);
}
.theme-lens .fk-cta-buttons {
    display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
    margin-top: 2rem;
}

/* ── Article pages — drop cap, justified column, kerned heading rules */
.theme-lens .kw-page--article {
    background: var(--lens-paper, #F6F1EA);
    --kw-font-display: 'Fraunces', Georgia, serif;
}
.theme-lens .kw-article .kw-block-heading {
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: var(--lens-ink, #0F0F12);
}
.theme-lens .kw-article h1.kw-block-heading::after {
    background: var(--lens-gold, #C9A86A);
    width: 3.5rem; height: 1px;
}
.theme-lens .kw-article .kw-heading-eyebrow {
    color: var(--lens-purple, #3D1B7A);
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 9;
}
.theme-lens .kw-article .kw-block-richtext {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 14;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--lens-ink, #0F0F12);
    text-align: justify;
    hyphens: auto;
}
/* Drop cap on the first paragraph of every article — once per page. */
.theme-lens .kw-article .kw-block-richtext > div > p:first-of-type::first-letter {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-weight: 500;
    font-size: 4rem;
    line-height: 0.85;
    float: left;
    padding: 0.4rem 0.6rem 0 0;
    color: var(--lens-purple, #3D1B7A);
}
.theme-lens .kw-article .kw-block-richtext a {
    background-image: linear-gradient(
        transparent 90%,
        var(--lens-gold, #C9A86A) 90%);
}
.theme-lens .kw-article .kw-block-richtext a:hover {
    color: var(--lens-purple, #3D1B7A);
    background-image: linear-gradient(
        transparent 0%,
        rgba(201, 168, 106, 0.35) 0%);
}
.theme-lens .kw-article .kw-block-richtext ul > li::before {
    background: var(--lens-gold, #C9A86A);
}

/* ── Forms ──────────────────────────────────────────────────────── */
.theme-lens input[type="text"],
.theme-lens input[type="email"],
.theme-lens input[type="tel"],
.theme-lens input[type="date"],
.theme-lens textarea,
.theme-lens select {
    border: none;
    border-bottom: 1px solid var(--lens-ink, #0F0F12);
    border-radius: 0;
    padding: 0.75rem 0.125rem;
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 14;
    font-size: 1rem;
    background: transparent;
    color: var(--lens-ink, #0F0F12);
    transition: border-color 0.2s ease;
    width: 100%;
}
.theme-lens input:focus,
.theme-lens textarea:focus,
.theme-lens select:focus {
    border-color: var(--lens-purple, #3D1B7A);
    outline: none;
}
.theme-lens label {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 9;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lens-ink-soft, #5C5860);
    display: block;
    margin-bottom: 0.375rem;
}

/* ── Cart + Checkout chrome ─────────────────────────────────────── */
.theme-lens .cart-page,
.theme-lens .checkout-page {
    background: var(--lens-paper, #F6F1EA);
    padding: 4rem 0;
}
.theme-lens .cart-item {
    border-bottom: 1px solid rgba(15, 15, 18, 0.12);
    padding: 1.25rem 0;
}
.theme-lens .cart-summary,
.theme-lens .checkout-summary {
    background: var(--lens-paper-warm, #EFE9DF);
    border: 1px solid var(--lens-gold, #C9A86A);
    padding: 2rem;
}
.theme-lens .cart-total,
.theme-lens .checkout-total {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 60;
    font-weight: 500;
    color: var(--lens-ink, #0F0F12);
    font-variant-numeric: tabular-nums lining-nums;
}

/* ── Product detail ─────────────────────────────────────────────── */
.theme-lens .kw-block-product-detail .product-price {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: "opsz" 60;
    font-weight: 500;
    color: var(--lens-ink, #0F0F12);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-variant-numeric: tabular-nums lining-nums;
}
.theme-lens .kw-block-product-detail .product-spec-row {
    border-bottom: 1px solid rgba(15, 15, 18, 0.1);
    padding: 0.625rem 0;
    display: flex; justify-content: space-between;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .theme-lens .fk-section { padding: 3rem 0; }
    .theme-lens .fk-hero-content { padding: 0 1.5rem 3.5rem; }
    .theme-lens .fk-cta { padding: 3.5rem 1.5rem; }
    .theme-lens .kw-article .kw-block-richtext { text-align: left; hyphens: manual; }
}
