/* 
    Faithfully Booked Custom Styles
    Extends Ghost Starter CSS principles
*/

:root {
    --brand-sage: #5d6f58;
    --brand-sage-deep: #3f4d3c;
    --brand-gold: #c4a574;
    --brand-parchment: #f7f5f0;
    --brand-cream: #eef0e8;
    --brand-ink: #1f241d;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Base resets */
body {
    background-color: var(--brand-parchment);
    color: var(--brand-ink);
    font-family: var(--brand-sans);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-title {
    font-family: var(--font-serif);
    color: var(--brand-sage);
    font-weight: 700;
}

.gh-head {
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.brand-title {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

/* Hero — layered floral + optional publication cover (Ghost Settings → Design → Cover) */
.fb-hero--floral {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.fb-hero.fb-hero--floral {
    padding: 10rem 0 11rem;
}

.fb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.fb-hero__layer {
    position: absolute;
    inset: 0;
}

.fb-hero__layer--wash {
    background: linear-gradient(165deg, var(--brand-cream) 0%, var(--brand-parchment) 45%, rgba(247, 245, 240, 0.92) 100%);
}

.fb-hero__layer--photo {
    background-size: cover;
    background-position: center;
    opacity: 0.42;
    mix-blend-mode: multiply;
    transform: scale(1.06);
    will-change: transform;
}

.fb-hero__layer--floral {
    background-image: url('../images/floral-hero.svg');
    background-repeat: repeat;
    background-size: 520px auto;
    opacity: 0.38;
    mix-blend-mode: multiply;
}

.fb-hero__corner {
    position: absolute;
    width: min(44vw, 300px);
    height: min(44vw, 300px);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.38;
    pointer-events: none;
    will-change: transform;
}

.fb-hero__corner--tl {
    top: -6%;
    left: -10%;
}

.fb-hero__corner--br {
    bottom: -8%;
    right: -10%;
    transform: rotate(165deg);
}

.fb-hero__inner {
    position: relative;
    z-index: 2;
}

.fb-hero.fb-hero--floral h1 {
    font-size: clamp(3.6rem, 7vw, 6.4rem);
    line-height: 1.08;
    margin-bottom: 2.4rem;
    color: var(--brand-sage);
}

.fb-hero.fb-hero--floral p {
    font-size: clamp(1.65rem, 2.2vw, 2rem);
    max-width: 54rem;
    margin: 0 auto 3.2rem;
    opacity: 0.85;
    font-style: italic;
    color: var(--brand-ink);
}

.fb-product-more {
    margin-top: 1.2rem;
    font-size: 1.25rem;
}

.fb-product-more a {
    color: var(--brand-sage);
    font-weight: 600;
}

.fb-product-detail {
    padding-bottom: 6rem;
}

.fb-product-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .fb-product-detail-hero {
        grid-template-columns: 1fr;
    }
}

.fb-product-detail-figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.fb-product-detail-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.fb-product-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: var(--brand-sage);
    margin: 0 0 1rem;
}

.fb-product-lead {
    font-size: 1.55rem;
    line-height: 1.65;
    max-width: 52rem;
    margin: 0 auto 3rem;
    opacity: 0.82;
    text-align: center;
}

.fb-product-detail-copy {
    margin-top: 2rem;
}

.fb-product-title a {
    color: inherit;
    text-decoration: none;
}

.fb-product-title a:hover {
    text-decoration: underline;
}

.fb-hero-cover-note {
    margin-top: 3rem;
    font-size: 1.25rem;
    opacity: 0.72;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.fb-shop-all-link {
    text-align: center;
    margin: 3rem 0 4rem;
}

.btn-primary {
    background: var(--brand-sage);
    color: #fff;
    padding: 1.6rem 4rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(93, 111, 88, 0.2);
}

/* Product Cards */
.fb-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    padding: 8rem 0;
}

.fb-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.fb-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(93, 111, 88, 0.1);
}

.fb-product-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.fb-product-content {
    padding: 3rem;
}

.fb-product-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.fb-product-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--brand-gold);
    margin-bottom: 2rem;
}

/* Snipcart Overrides */
.snipcart-checkout {
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.snipcart-items-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-sage);
    color: #fff;
    font-size: 1rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Koenig Editor Mandatory Classes */
.gh-canvas {
    display: grid;
    grid-template-columns: [full-start] minmax(4vw, 1fr) [wide-start] minmax(auto, 240px) [main-start] min(1200px, calc(100% - 8vw)) [main-end] minmax(auto, 240px) [wide-end] minmax(4vw, 1fr) [full-end];
}

.gh-canvas > * {
    grid-column: main;
}

.kg-width-wide {
    grid-column: wide;
}

.kg-width-full {
    grid-column: full;
}

.kg-width-full img {
    width: 100vw;
}

.gh-content {
    font-size: 1.8rem;
    margin-top: 4rem;
}

.gh-content > * + * {
    margin-top: 3rem;
}

/* --- Ghost Starter–aligned layout (header, container, feed) --- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.viewport {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.gh-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(4vw, 1.6rem);
    padding-right: max(4vw, 1.6rem);
}

.gh-head {
    position: sticky;
    top: 0;
    z-index: 50;
}

.gh-head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 7.2rem;
}

.gh-head-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.gh-head-logo img {
    max-height: 4rem;
    width: auto;
}

.gh-head-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.gh-head-menu .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 2.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-head-menu .nav a {
    color: var(--brand-ink);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gh-head-menu .nav a:hover {
    color: var(--brand-sage);
}

.gh-head-actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.gh-social {
    display: flex;
    gap: 1rem;
}

.gh-social-link {
    color: var(--brand-ink);
    opacity: 0.7;
}

.gh-social-link:hover {
    opacity: 1;
    color: var(--brand-sage);
}

.gh-head-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--brand-sage);
    color: #fff;
}

.gh-head-button:hover {
    opacity: 0.92;
}

.gh-burger {
    display: none;
    position: relative;
    padding: 0.8rem;
    margin: -0.8rem;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
}

.gh-burger-main {
    width: 2.4rem;
    height: 1.6rem;
    position: relative;
}

.gh-burger-inner,
.gh-burger-inner::before,
.gh-burger-inner::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-sage);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gh-burger-inner {
    top: 50%;
    margin-top: -1px;
}

.gh-burger-inner::before {
    top: -7px;
}

.gh-burger-inner::after {
    bottom: -7px;
}

body.gh-head-open .gh-burger-inner {
    opacity: 0;
}

body.gh-head-open .gh-burger-inner::before {
    transform: translateY(7px) rotate(45deg);
}

body.gh-head-open .gh-burger-inner::after {
    transform: translateY(-7px) rotate(-45deg);
}

.gh-post-feed-section {
    padding-bottom: 8rem;
}

.gh-post-feed-heading {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(2.8rem, 4vw, 4rem);
}

.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4rem 3rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(93, 111, 88, 0.08);
}

.post-card-image-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2.4rem;
}

.post-card-content-link {
    text-decoration: none;
    color: inherit;
}

.post-card-primary-tag {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-gold);
    font-weight: 600;
}

.post-card-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin: 0.8rem 0 1.2rem;
    color: var(--brand-sage);
}

.post-card-excerpt {
    font-size: 1.45rem;
    line-height: 1.55;
    color: var(--brand-ink);
    opacity: 0.75;
}

.post-card-meta {
    margin-top: auto;
    padding-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    font-size: 1.2rem;
    color: var(--brand-ink);
    opacity: 0.55;
}

.gh-foot {
    margin-top: auto;
    padding: 4rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--brand-cream);
}

.gh-foot-menu .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.gh-foot-menu .nav a {
    color: var(--brand-ink);
    text-decoration: none;
    font-size: 1.3rem;
}

.gh-foot-menu .nav a:hover {
    color: var(--brand-sage);
}

.gh-foot-meta {
    text-align: center;
    font-size: 1.3rem;
    opacity: 0.65;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-top: 5rem;
    font-size: 1.4rem;
}

.pagination a {
    color: var(--brand-sage);
    font-weight: 600;
    text-decoration: none;
}

.pagination a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .gh-burger {
        display: block;
    }

    .gh-head-inner {
        flex-wrap: wrap;
    }

    .gh-head-menu,
    .gh-head-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    body.gh-head-open .gh-head-menu,
    body.gh-head-open .gh-head-actions {
        display: flex;
        padding-bottom: 2rem;
    }

    .gh-head-menu .nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .gh-head-actions {
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        padding-top: 1.6rem;
        gap: 1.2rem;
    }
}

/* --- Shop, About, secondary buttons, theme toggle --- */

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3.2rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid var(--brand-sage);
    color: var(--brand-sage);
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-secondary:hover {
    background: var(--brand-sage);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary--on-dark {
    border-color: rgba(253, 251, 247, 0.55);
    color: var(--brand-parchment);
}

.btn-secondary--on-dark:hover {
    background: var(--brand-gold);
    color: var(--brand-sage);
    border-color: var(--brand-gold);
}

.fb-btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.gh-theme-toggle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(93, 111, 88, 0.25);
    background: transparent;
    color: var(--brand-sage);
    cursor: pointer;
    font-family: var(--font-sans);
}

.gh-theme-toggle:hover {
    border-color: var(--brand-sage);
}

.fb-shop-hero.fb-hero--floral {
    padding: 9rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    background: transparent;
}

.fb-shop-hero-inner {
    position: relative;
    z-index: 2;
}

.fb-shop-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 1.1rem;
    color: var(--brand-gold);
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.fb-shop-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.6rem, 6vw, 5.6rem);
    color: var(--brand-sage);
    line-height: 1.05;
    margin: 0 0 2rem;
}

.fb-shop-lead {
    max-width: 62rem;
    margin: 0 auto 3.2rem;
    font-size: 1.85rem;
    line-height: 1.65;
    color: var(--brand-ink);
    opacity: 0.88;
}

.fb-shop-lead em {
    color: var(--brand-sage);
    font-style: italic;
}

.fb-shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    align-items: center;
}

.fb-section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 3.5vw, 3.8rem);
    text-align: center;
    margin: 0 0 1.2rem;
    color: var(--brand-sage);
}

.fb-section-title--light {
    color: var(--brand-parchment);
}

.fb-section-sub {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 3.6rem;
    font-size: 1.55rem;
    line-height: 1.6;
    opacity: 0.78;
}

.fb-section-sub--light {
    color: var(--brand-parchment);
    opacity: 0.85;
}

.fb-how {
    padding: 6rem 0 2rem;
}

.fb-how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.4rem;
}

.fb-how-step {
    background: #fff;
    border-radius: 16px;
    padding: 2.4rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    animation: fb-fade-up 0.7s ease both;
}

.fb-how-step:nth-child(2) { animation-delay: 0.08s; }
.fb-how-step:nth-child(3) { animation-delay: 0.16s; }
.fb-how-step:nth-child(4) { animation-delay: 0.24s; }

.fb-how-num {
    display: inline-flex;
    width: 3.2rem;
    height: 3.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-sage);
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.fb-how-step h3 {
    font-size: 1.8rem;
    margin: 0 0 0.8rem;
}

.fb-how-step p {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.55;
    opacity: 0.82;
}

.fb-shop-trust {
    padding: 2rem 0 0;
    font-size: 1.3rem;
    line-height: 1.55;
    opacity: 0.75;
}

.fb-shop-trust code {
    font-size: 1.1em;
    background: rgba(212, 175, 55, 0.12);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.fb-shop-products {
    padding: 4rem 0 6rem;
}

.fb-product-card--featured {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .fb-product-card--featured {
        grid-template-columns: 1fr;
    }
}

.fb-product-badge {
    position: absolute;
    top: 1.6rem;
    left: 1.6rem;
    z-index: 2;
    background: var(--brand-gold);
    color: var(--brand-sage);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
}

.fb-product-visual {
    position: relative;
}

.fb-product-clue-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1.2rem 1.6rem;
    background: linear-gradient(transparent, rgba(27, 27, 27, 0.75));
    color: #fff;
    font-size: 1.25rem;
    font-style: italic;
}

.fb-product-tagline {
    font-size: 1.4rem;
    line-height: 1.5;
    opacity: 0.75;
    margin: -0.8rem 0 1.2rem;
}

.fb-product-list {
    margin: 0 0 2rem;
    padding-left: 1.8rem;
    font-size: 1.35rem;
    line-height: 1.55;
    opacity: 0.85;
}

.fb-subscriptions {
    background: var(--brand-sage-deep);
    color: var(--brand-parchment);
    padding: 6rem 0 7rem;
    margin-top: 2rem;
}

.fb-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.4rem;
    max-width: 900px;
    margin: 0 auto;
}

.fb-tier-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 251, 247, 0.2);
    border-radius: 20px;
    padding: 3rem 2.4rem;
    position: relative;
}

.fb-tier-card--accent {
    background: rgba(0, 0, 0, 0.15);
    border-color: var(--brand-gold);
}

.fb-tier-ribbon {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-sage);
    background: var(--brand-gold);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
}

.fb-tier-name {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--brand-gold);
    margin: 0 0 0.8rem;
}

.fb-tier-price {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 1.2rem;
}

.fb-tier-price span {
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.75;
}

.fb-tier-desc,
.fb-tier-list {
    font-size: 1.4rem;
    line-height: 1.55;
    opacity: 0.88;
}

.fb-tier-list {
    margin: 0 0 2rem;
    padding-left: 1.6rem;
}

.fb-tier-note {
    margin: 1.2rem 0 0;
    font-size: 1.15rem;
    opacity: 0.65;
    font-style: italic;
}

.fb-shop-cta {
    padding: 6rem 0 8rem;
    text-align: center;
}

.fb-shop-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}

/* About template */
.fb-about-header {
    text-align: center;
    padding-top: 2rem;
}

.fb-about-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 1.1rem;
    color: var(--brand-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.fb-about-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 4rem 0 2rem;
}

.fb-about-panel {
    background: #fff;
    border-radius: 16px;
    padding: 2.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.fb-about-panel h2 {
    font-size: 2rem;
    margin-top: 0;
}

.fb-about-values {
    padding: 2rem 0 4rem;
}

.fb-values-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-size: 1.5rem;
    line-height: 1.7;
}

.fb-values-list li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(93, 111, 88, 0.1);
}

.fb-about-cta-band {
    background: var(--brand-cream);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 4rem 0;
}

.fb-about-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
}

.fb-about-cta-inner h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(2.4rem, 3vw, 3.2rem);
}

.fb-about-cta-inner p {
    margin: 0;
    font-size: 1.5rem;
    max-width: 36rem;
    opacity: 0.82;
}

.fb-about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.fb-about-editor {
    padding: 4rem 0 8rem;
}

@keyframes fb-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fb-how-step {
        animation: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* Dark theme (manual toggle sets data-theme on html) */
html[data-theme="dark"] {
    --brand-parchment: #141210;
    --brand-cream: #1c1a18;
    --brand-ink: #e8e4dc;
}

html[data-theme="dark"] body {
    background-color: var(--brand-parchment);
    color: var(--brand-ink);
}

html[data-theme="dark"] .gh-head {
    background: rgba(20, 18, 16, 0.92);
    border-bottom-color: rgba(212, 175, 55, 0.25);
}

html[data-theme="dark"] .gh-head-menu .nav a,
html[data-theme="dark"] .gh-social-link {
    color: var(--brand-ink);
}

html[data-theme="dark"] .fb-product-card,
html[data-theme="dark"] .fb-how-step,
html[data-theme="dark"] .fb-about-panel,
html[data-theme="dark"] .post-card {
    background: #1f1d1b;
    border-color: rgba(212, 175, 55, 0.12);
}

html[data-theme="dark"] .fb-shop-hero {
    background: linear-gradient(165deg, #1c1a18 0%, #141210 50%, #1a1816 100%);
}

html[data-theme="dark"] .fb-shop-trust code {
    background: rgba(212, 175, 55, 0.15);
}

html[data-theme="dark"] .gh-theme-toggle {
    color: var(--brand-gold);
    border-color: rgba(212, 175, 55, 0.35);
}
