
@import url('https://fonts.googleapis.com/css2?family=Estedad:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #f2eee7;
    color: #191817;
    font-family: "Estedad", Tahoma, Arial, sans-serif;
    line-height: 1.9
}

button,
input,
textarea,
select {
    font-family: inherit
}

.nav {
    height: 82px;
    position: absolute;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    color: #fff
}

.nav a {
    color: inherit;
    text-decoration: none;
    margin: 0 10px
}

.brand {
    font-family: Arial;
    letter-spacing: 3px;
    font-weight: 700
}

.brand span {
    font-weight: 300;
    margin-right: 5px
}

.brand img {
    height: 48px;
    max-width: 160px;
    object-fit: contain
}

.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 8%
}

.hero>div {
    max-width: 720px
}

.hero h1,
.top h1 {
    font-size: clamp(34px, 4.5vw, 64px);
    line-height: 1.4;
    margin: 12px 0
}

.hero p {
    max-width: 680px;
    font-size: 18px;
    color: #ddd
}

.btn {
    display: inline-block;
    background: #b08a55;
    color: #fff;
    border: 1px solid #b08a55;
    padding: 13px 25px;
    text-decoration: none;
    margin: 15px 0 0 8px;
    cursor: pointer
}

.btn.ghost {
    background: transparent;
    border-color: #aaa
}

.section {
    padding: 100px 8%
}

.intro {
    max-width: 950px;
    margin: auto;
    text-align: center
}

.section h2 {
    font-size: clamp(30px, 4vw, 52px);
    margin: 10px 0 25px
}

.section small {
    letter-spacing: 3px;
    color: #a47c47
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px
}

.heading a {
    color: #333
}

.grid {
    display: grid;
    gap: 22px
}

.products {
    grid-template-columns: repeat(3, 1fr)
}

.card {
    background: #111;
    color: #fff;
    text-decoration: none;
    overflow: hidden
}

.card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: .5s
}

.card:hover img {
    transform: scale(1.03)
}

.card div {
    padding: 18px 22px
}

.card h3 {
    margin: 0
}

.dark {
    background: #0c0d0e;
    color: #eee
}

.features {
    grid-template-columns: repeat(3, 1fr)
}

.features article {
    border-top: 1px solid #444;
    padding: 25px 0
}

.features span {
    color: #b08a55
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 7%
}

.split img {
    width: 100%;
    max-height: 650px;
    object-fit: cover
}

.gallery {
    grid-template-columns: 2fr 1fr 1fr
}

.gallery img {
    width: 100%;
    height: 450px;
    object-fit: cover
}

.top {
    padding-top: 150px;
    min-height: 70vh
}

.narrow {
    max-width: 900px;
    margin: auto
}

.product-detail {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 6%
}

.product-photo img {
    width: 100%;
    max-height: 760px;
    object-fit: cover
}

.variants form,
.cart-row {
    border-top: 1px solid #c8c0b5;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background: #fff
}

.form label {
    font-weight: bold
}

.success {
    padding: 15px;
    background: #e0eadb
}

details {
    border-bottom: 1px solid #bbb;
    padding: 18px 0
}

summary {
    font-weight: bold;
    cursor: pointer
}

footer {
    background: #08090a;
    color: #aaa;
    padding: 60px 8%;
    display: flex;
    justify-content: space-between
}

footer b {
    color: #fff;
    letter-spacing: 3px
}

.empty {
    padding: 50px;
    border: 1px dashed #999
}

.center {
    text-align: center
}

.custom-order-page h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.45;
    margin: 12px 0 10px;
    font-weight: 600;
}

/* WAZH STUDIO - Custom Order Form */

.custom-order-page .form {
    max-width: 620px;
    margin: 35px auto 0;
}

.custom-order-page .form p {
    margin: 0 0 24px;
}

.custom-order-page .form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #292520;
}

.custom-order-page .form input,
.custom-order-page .form select,
.custom-order-page .form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6cfc5;
    background: #fff;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.custom-order-page .form input:focus,
.custom-order-page .form textarea:focus,
.custom-order-page .form select:focus {
    outline: none;
    border-color: #b08a55;
}

.custom-order-page .form textarea {
    resize: vertical;
}

.custom-order-page .form input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.custom-order-page .form .btn {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    font-family: inherit;
    font-size: 15px;
}


@media(max-width:800px) {
    .nav {
        position: relative;
        background: #090a0b;
        height: auto;
        padding: 18px 5%;
        display: block
    }

    .nav nav {
        display: flex;
        overflow: auto;
        margin-top: 10px
    }

    .nav nav a {
        white-space: nowrap
    }

    .hero {
        min-height: 82vh;
        padding: 70px 6%
    }

    .section {
        padding: 65px 6%
    }

    .products,
    .features,
    .gallery,
    .split,
    .product-detail {
        grid-template-columns: 1fr
    }

    .card img {
        height: 380px
    }

    .gallery img {
        height: 360px
    }

    .heading {
        display: block
    }

    .top {
        padding-top: 70px
    }

    .variants form {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column
    }

    footer {
        display: block
    }
}


/* Navigation on light pages */

header.nav.nav-dark {
    color: #25211d !important;
}

header.nav.nav-dark a {
    color: #25211d !important;
}

header.nav.nav-dark a:hover {
    color: #b08a55 !important;
}

/* ===== Homepage Hero Slider ===== */
.hero-slider {
    position: relative;
    min-height: 720px;
    min-height: min(760px, 85vh);
    overflow: hidden;
    background: #050507;
    color: #ffffff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.hero-slide picture,
.hero-slide picture img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide picture img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 6000ms ease;
}

.hero-slide.is-active picture img {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 5, 7, 0.92) 0%,
        rgba(5, 5, 7, 0.68) 37%,
        rgba(5, 5, 7, 0.20) 72%,
        rgba(5, 5, 7, 0.16) 100%
    );
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    max-width: 1280px;
    min-height: 720px;
    min-height: min(760px, 85vh);
    margin: 0 auto;
    padding: 150px 7vw 115px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: right;
}

.hero-slide-content small {
    color: #d9c3a3;
    font-size: .76rem;
    letter-spacing: .13em;
}

.hero-slide-content h1 {
    max-width: 720px;
    margin: 18px 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 1.2;
}

.hero-slide-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    line-height: 2;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease;
}

.hero-arrow:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, .16);
}

.hero-arrow-next {
    right: 28px;
}

.hero-arrow-prev {
    left: 28px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    right: 50%;
    bottom: 30px;
    display: flex;
    gap: 9px;
    transform: translateX(50%);
}

.hero-dot {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .40);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.hero-dot.is-active {
    width: 46px;
    background: #ffffff;
}

@media (max-width: 700px) {
    .hero-slider,
    .hero-slide-content {
        min-height: 660px;
    }

    .hero-slide-overlay {
        background: linear-gradient(
            0deg,
            rgba(5, 5, 7, .94) 4%,
            rgba(5, 5, 7, .55) 53%,
            rgba(5, 5, 7, .10) 100%
        );
    }

    .hero-slide-content {
        padding: 115px 28px 95px;
        justify-content: flex-end;
    }

    .hero-slide-content h1 {
        font-size: 2.35rem;
    }

    .hero-slide-content p {
        font-size: .95rem;
    }

    .hero-arrow {
        display: none;
    }
}

/* منوی صفحه اصلی: زمینه ثابت و بدون گرادیانت */
body:has(.hero-slider) .nav.nav-dark {
    position: relative;
    z-index: 20;
    background: #f5f1eb !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(16, 18, 20, .10);
}

body:has(.hero-slider) .nav.nav-dark .brand,
body:has(.hero-slider) .nav.nav-dark nav a {
    color: #111820 !important;
}

body:has(.hero-slider) .nav.nav-dark .brand span {
    color: #a87c3c !important;
}

/* منوی طلایی روی اسلایدر */
body:has(.hero-slider) .nav.nav-dark {
    position: absolute !important;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    background: transparent !important;
    background-image: none !important;
    border-bottom: 0 !important;
}

body:has(.hero-slider) .nav.nav-dark .brand,
body:has(.hero-slider) .nav.nav-dark nav a,
body:has(.hero-slider) .nav.nav-dark .brand span {
    color: #d7aa62 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}

body:has(.hero-slider) .nav.nav-dark nav a:hover {
    color: #fff0cb !important;
}
/* Hero بزرگ‌تر و تمام‌صفحه‌تر */
body:has(.hero-slider) .hero-slider,
body:has(.hero-slider) .hero-slide-content {
    min-height: 92vh;
}

@media (max-width: 700px) {
    body:has(.hero-slider) .hero-slider,
    body:has(.hero-slider) .hero-slide-content {
        min-height: 760px;
    }
}