@font-face {
    font-family: 'BYekan';
    src: url('../../fonts/BYekan/BYekan+.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BYekan';
    src: url('../../fonts/BYekan/BYekan+ Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../../fonts/Vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../../fonts/Vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../../fonts/Vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../../fonts/Vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../fonts/CormorantGaramond/CormorantGaramond-latin-ext.woff2') format('woff2');
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../fonts/CormorantGaramond/CormorantGaramond-latin.woff2') format('woff2');
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../fonts/CormorantGaramond/CormorantGaramond-italic-latin-ext.woff2') format('woff2');
    font-weight: 500 700;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../../fonts/CormorantGaramond/CormorantGaramond-italic-latin.woff2') format('woff2');
    font-weight: 500 700;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Palette derived from Bohemian sample assets */
    --bw-cream: #F7F1E6;
    --bw-ivory: #FBF7F0;
    --bw-sand: #E8DCC8;
    --bw-clay: #C47A52;
    --bw-terracotta: #B55A3A;
    --bw-cognac: #A66138;
    --bw-wood: #6B4A32;
    --bw-wood-deep: #3E2A1C;
    --bw-olive: #6B7355;
    --bw-sage: #8A9474;
    --bw-mustard: #C9A35A;
    --bw-navy: #1B365D;
    --bw-turquoise: #3A9B9B;
    --bw-amethyst: #7A5B8F;
    --bw-ink: #2A2118;
    --bw-ink-soft: #5A4A3A;
    --bw-paper: #F3EADF;
    --bw-paper-dark: #E6D8C4;
    --bw-veil: rgba(42, 33, 24, 0.48);
    --bw-veil-soft: rgba(42, 33, 24, 0.22);
    --bw-glow: rgba(196, 122, 82, 0.18);

    --bw-font-display: 'Cormorant Garamond', 'BYekan', Georgia, serif;
    --bw-font-fa: 'BYekan', 'Vazirmatn', Tahoma, sans-serif;
    --bw-font-body: 'Vazirmatn', 'BYekan', Tahoma, sans-serif;

    --bw-radius-soft: 1.25rem 0.35rem 1.4rem 0.55rem;
    --bw-radius-card: 0.85rem 1.35rem 0.55rem 1.15rem;
    --bw-shadow-soft: 0 18px 40px rgba(62, 42, 28, 0.12);
    --bw-shadow-lift: 0 10px 28px rgba(62, 42, 28, 0.16);

    --bw-container: min(1120px, calc(100% - 2rem));
    --bw-masthead-h: 64px;
    --bw-header-h: 64px;
    --bw-toc-mobile-h: 0px;
    --bw-nav-h: 68px;
    --bw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Compatibility aliases for shared order / my-orders styles */
    --bw-olive-dark: var(--bw-wood-deep);
    --bw-forest: var(--bw-wood-deep);
    --bw-sage-soft: color-mix(in srgb, var(--bw-sage) 70%, white);
    --bw-beige: var(--bw-sand);
    --bw-wood-soft: color-mix(in srgb, var(--bw-wood) 55%, white);
    --bw-gold: var(--bw-mustard);
    --bw-gold-deep: var(--bw-cognac);
    --bw-gold-bright: color-mix(in srgb, var(--bw-mustard) 70%, white);
    --bw-gold-muted: color-mix(in srgb, var(--bw-mustard) 55%, var(--bw-sage));
    --bw-gold-neon: var(--bw-mustard);
    --bw-white: var(--bw-ivory);
    --bw-r-pill: 999px;
    --bw-r-xl: 1.25rem;
    --bw-transition: 0.25s var(--bw-ease);
    --bw-font-ui: var(--bw-font-body);
    --bw-safe-bottom: env(safe-area-inset-bottom, 0px);
    --bw-gold-glow-strong: 0 18px 40px rgba(62, 42, 28, 0.18);
    --flr-overlay: rgba(42, 33, 24, 0.48);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body.bw-body {
    margin: 0;
    min-height: 100vh;
    max-width: 100%;
    color: var(--bw-ink);
    background: linear-gradient(180deg, var(--bw-ivory), var(--bw-cream) 55%, #EFE4D4);
    font-family: var(--bw-font-body);
    line-height: 1.7;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body.flr-nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.bw-main {
    position: relative;
    z-index: 1;
    padding-bottom: calc(var(--bw-nav-h) + 1.5rem);
    max-width: 100%;
    overflow-x: clip;
}

.bw-container {
    width: var(--bw-container);
    max-width: 100%;
    margin-inline: auto;
}

.is-hidden {
    display: none !important;
}

.bw-kicker {
    display: inline-block;
    font-family: var(--bw-font-display);
    font-style: italic;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--bw-cognac);
}

.bw-btn {
    appearance: none;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    transition: transform 0.25s var(--bw-ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bw-btn--fill {
    background: linear-gradient(135deg, var(--bw-terracotta), var(--bw-cognac));
    color: var(--bw-ivory);
    box-shadow: 0 10px 24px rgba(181, 90, 58, 0.28);
}

.bw-btn--fill:hover {
    transform: translateY(-2px);
}

.bw-btn--line {
    background: transparent;
    border-color: color-mix(in srgb, var(--bw-wood) 35%, transparent);
    color: var(--bw-wood-deep);
}

.bw-btn--line:hover {
    background: color-mix(in srgb, var(--bw-sand) 55%, transparent);
}

.bw-label {
    position: absolute;
    top: 0.55rem;
    inset-inline-start: 0.55rem;
    z-index: 4;
    padding: 0.18rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    background: color-mix(in srgb, var(--bw-mustard) 88%, white);
    color: var(--bw-wood-deep);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(62, 42, 28, 0.12);
}

.bw-spread--compact .bw-label,
.bw-featured__rail .bw-label {
    top: 0.65rem;
    inset-inline-start: 0.65rem;
}

.bw-label--muted {
    background: color-mix(in srgb, var(--bw-ink) 70%, transparent);
    color: var(--bw-ivory);
}

.bw-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--bw-ivory);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.bw-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    display: grid !important;
    pointer-events: none;
}

.bw-loader__brand {
    text-align: center;
}

.bw-loader__text {
    margin: 0.75rem 0 0;
    font-family: var(--bw-font-fa);
    font-size: 1.15rem;
    color: var(--bw-wood-deep);
}

.bw-loader__line {
    width: 72px;
    height: 2px;
    margin: 0.85rem auto 0;
    background: linear-gradient(90deg, transparent, var(--bw-terracotta), transparent);
    animation: bw-loader-line 1.2s ease-in-out infinite;
}

.bw-loader__mark {
    width: 64px;
    height: 64px;
    margin-inline: auto;
    background: url('../../images/bohemian/deco-macrame.png') center / contain no-repeat;
    filter: drop-shadow(0 8px 16px rgba(62, 42, 28, 0.15));
}

@keyframes bw-loader-line {
    0%, 100% { transform: scaleX(0.45); opacity: 0.5; }
    50% { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 767.98px) {
    :root {
        --bw-container: min(100%, calc(100% - 1.25rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
