@font-face {
    font-family: 'Vazirmatn';
    src: url("/jakarta.faces.resource/Vazirmatn-wght.woff2.xhtml?ln=fonts") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root{
    --gold:#b98a3d;
    --gold-dark:#8f6621;
    --maroon:#3e0f16;
    --maroon-2:#5a1720;
    --cream:#f8f2e8;
    --text:#2d2420;
}

html, body {
    font-family: "Vazirmatn", sans-serif;
    background: #fbf7f1;
    color: var(--text);
}
h1,h2,h3,h4,h5,h6{
    font-family: "Vazirmatn", sans-serif;
    font-weight: 600;
}
p{
    line-height: 1.9;
    font-family: "Vazirmatn", sans-serif;
}
span{
    font-family: "Vazirmatn", sans-serif;
}
a {
    font-family: "Vazirmatn", sans-serif;
    color: inherit;
    text-decoration: none;
}

body {
    overflow-x: hidden;
}

.navbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
}

.brand-title {
    color: var(--maroon);
    letter-spacing: .3px;
    font-weight: 800;
}

.nav-link {
    color: #4a3f3b !important;
    font-weight: 500;
    transition: .25s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.btn-gold {
    background: linear-gradient(180deg, #d7ab52, #b98a3d);
    color: #fff;
    border: 0;
    box-shadow: 0 8px 20px rgba(185,138,61,.25);
}

.btn-gold:hover {
    background: linear-gradient(180deg, #c99a45, #9f7430);
    color:#fff;
}

.btn-outline-gold {
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
}

.btn-outline-gold:hover {
    background: rgba(255,255,255,.12);
    color:#fff;
}

/* Hero: compact typography, balanced spacing and multilingual readability. */
.hero {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(90deg, #2f0810 0%, #4a121d 50%, #5c1a26 100%);
    color: #fff;
    min-height: 70vh;
    padding-block: clamp(3rem, 5vw, 5rem);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -12% -10%;
    height: 220px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.22));
    transform: skewY(-3deg);
    pointer-events: none;
}

.hero .row {
    --bs-gutter-x: clamp(1.5rem, 3.5vw, 3rem);
    --bs-gutter-y: 2rem;
}

.hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3.15vw, 3.15rem);
    line-height: 1.23;
    font-weight: 700;
    letter-spacing: -.015em;
    text-align: start;
    overflow-wrap: anywhere;
}

.hero .hero-title.mb-4 {
    margin-bottom: 1.25rem !important;
}

/* The descriptive paragraph is justified, not the short headline. */
.hero-subtitle {
    max-width: 62ch;
    color: rgba(255,255,255,.92);
    font-size: clamp(.94rem, 1.1vw, 1.03rem);
    line-height: 1.88;
    text-align: justify;
    text-align-last: start;
    overflow-wrap: break-word;
}

.hero .gold-badge {
    background: rgba(225,182,94,.12);
    border-color: rgba(231,188,109,.38);
    color: #f5d69d;
    font-size: .82rem;
}

html[dir="rtl"] .hero-title {
    font-family: "Vazirmatn", sans-serif;
    letter-spacing: normal;
    line-height: 1.38;
}

html[dir="ltr"] .hero-subtitle {
    hyphens: auto;
}

.hero-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.hero-card img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
}

.section-title {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--maroon);
    font-weight: 700;
}

.section-subline {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: .75rem auto 0;
}

.feature-strip {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transform: translateY(-38px);
    position: relative;
    z-index: 2;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(185,138,61,.09);
    display: grid;
    place-items: center;
    color: var(--gold-dark);
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.category-card,
.product-card,
.quality-card,
.step-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    transition: .25s ease;
    height: 100%;
}

.category-card:hover,
.product-card:hover,
.quality-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.gold-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--gold-dark);
    background: rgba(185,138,61,.08);
    border: 1px solid rgba(185,138,61,.18);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .9rem;
}

.dark-band {
    background: linear-gradient(90deg, #3a0911, #5a1720);
    color: #fff;
}

.dark-band .section-title,
.dark-band p {
    color: #fff;
}

.step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(185,138,61,.65);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-inline: auto;
}

.footer {
    background: #171717;
    color: rgba(255,255,255,.78);
}

.footer a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

.footer a:hover {
    color: var(--gold);
}

.small-muted {
    color: #7d6f68;
    font-size: .95rem;
}

.section-pad {
    padding: 5rem 0;
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding-top: 3.25rem;
        padding-bottom: 3.5rem;
    }
    .hero-title {
        font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    }
    .hero-card img {
        max-height: 380px;
    }
    .feature-strip {
        transform: none;
        margin-top: 1.25rem;
    }
}

@media (max-width: 575px) {
    .hero {
        padding-top: 2.75rem;
        padding-bottom: 3rem;
    }
    .hero-title {
        font-size: clamp(1.65rem, 6vw, 2rem);
        line-height: 1.32;
    }
    .hero-subtitle {
        max-width: none;
        font-size: .94rem;
        line-height: 1.9;
    }
    .hero .hero-title.mb-4 {
        margin-bottom: .9rem !important;
    }
    .hero-card img {
        max-height: 300px;
    }
}

/* Saffrona language selector: isolated navbar styles. */
.saffrona-main-nav .navbar-brand { order: 1; }
.saffrona-main-nav .navbar-collapse { order: 4; }
.saffrona-main-nav .navbar-toggler { order: 3; }
.saffrona-language-control {
    order: 2;
    position: relative;
    z-index: 1100;
    margin-inline-start: auto;
    margin-inline-end: .65rem;
    flex: 0 0 auto;
}
.saffrona-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 42px;
    padding: .45rem .75rem;
    color: var(--maroon);
    background: linear-gradient(135deg, #fffefa, #f9f0de);
    border: 1px solid rgba(185,138,61,.4);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(62,15,22,.06);
    font: inherit;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    direction: ltr;
}
.saffrona-language-trigger:hover,
.saffrona-language-trigger:focus-visible,
.saffrona-language-trigger[aria-expanded="true"] {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(185,138,61,.18);
}
.saffrona-language-trigger:focus-visible,
.saffrona-language-item:focus-visible,
.saffrona-language-search:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.saffrona-language-globe { font-size: 1.2rem; line-height: 1; }
.saffrona-language-trigger-label { font-size: .86rem; }
.saffrona-language-current {
    display: inline-block;
    padding: .19rem .4rem;
    color: var(--gold-dark);
    background: #f0dfbf;
    border-radius: 7px;
    font-size: .74rem;
    line-height: 1.25;
    text-transform: uppercase;
}
.saffrona-language-menu {
    width: min(440px, calc(100vw - 24px));
    max-height: min(68vh, 540px);
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(185,138,61,.26);
    border-radius: 18px;
    background: #fffefa;
    box-shadow: 0 22px 55px rgba(45,25,24,.18);
    color: var(--text);
    text-align: start;
    z-index: 1100;
}
.saffrona-language-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1rem .75rem;
    background: linear-gradient(130deg, #fff9ed, #fff);
    border-bottom: 1px solid #f2e8d6;
}
.saffrona-language-menu-title { font-size: .94rem; font-weight: 750; color: var(--maroon); }
.saffrona-language-count { font-size: .72rem; white-space: nowrap; color: #886a3c; }
.saffrona-language-search-wrap { padding: .75rem 1rem .5rem; }
.saffrona-language-search {
    width: 100%;
    padding: .62rem .82rem;
    border: 1px solid #e8dac3;
    background: #fff;
    border-radius: 11px;
    outline: none;
    font: inherit;
    font-size: .85rem;
}
.saffrona-language-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .2rem;
    padding: .4rem .65rem 1rem;
}
.saffrona-language-item.dropdown-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .47rem;
    padding: .6rem .55rem;
    color: #45352d;
    border-radius: 10px;
    background: transparent;
    font-size: .83rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}
.saffrona-language-item.dropdown-item:hover,
.saffrona-language-item.dropdown-item:focus {
    background: #f9efd9;
    color: var(--maroon);
}
.saffrona-language-item.saffrona-language-active {
    background: #f2e4c8;
    color: var(--maroon);
    font-weight: 750;
}
.saffrona-language-flag { flex: 0 0 auto; font-size: 1.2rem; line-height: 1; }
.saffrona-language-native { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.saffrona-language-code-item {
    flex: 0 0 auto;
    text-transform: uppercase;
    font-size: .65rem;
    font-weight: 600;
    opacity: .62;
}
.saffrona-language-item.dropdown-item[hidden],
.saffrona-language-no-results[hidden] { display: none !important; }
.saffrona-language-no-results {
    padding: .75rem 1rem 1.25rem;
    text-align: center;
    color: #786a60;
    font-size: .83rem;
}
.saffrona-language-menu::-webkit-scrollbar { width: 7px; }
.saffrona-language-menu::-webkit-scrollbar-thumb {
    background: #d8c29b;
    border-radius: 10px;
}
@media (min-width: 992px) {
    .saffrona-main-nav .navbar-collapse { order: 2; }
    .saffrona-language-control { order: 3; margin-inline-end: 0; }
}
@media (max-width: 575px) {
    .saffrona-language-trigger-label { display: none; }
    .saffrona-language-trigger { min-height: 39px; gap: .35rem; padding: .38rem .6rem; }
    .saffrona-language-menu { width: min(340px, calc(100vw - 20px)); }
    .saffrona-language-list { grid-template-columns: minmax(0, 1fr); }
}
