:root {
    --gold: #c9b458;
    --burgundy: #6d0f1a;
    --dark: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', tahoma, sans-serif;
}


body {
    direction: rtl;
    background: #f5f5f5;
    line-height: 1.9;
    color: #222;
}

:root {
    --gold-light: linear-gradient(135deg, #f7e7b4, #d4af37);
    --gold-solid: #d4af37;
    --dark: #2a2a2a;
}

body {
    font-family: Vazirmatn;
    direction: rtl;
    background: #f5f5f5;
}

a {
    text-decoration: none;
}

/* ================= HEADER ================= */
header {
    background: #fff;
    padding: 22px 48px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--gold);
    position: relative;
}

/* LOGO RIGHT */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.logo img {
    width: 80px;
}

.logo-text {

    font-size: 1.8rem;
    font-weight: bolder;
    color: var(--burgundy);
}

.contaner-h {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MENU CENTER */
nav {
    margin-right: 60px;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    font-size: 19px;
}

nav li a {
    text-decoration: none;
    color: #000;
    position: relative;
    cursor: pointer;
    padding: 5px 0;
    transition: .3s;
}

/* HOVER ANIMATION */
nav li::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: .3s;
}

nav li:hover {
    color: var(--burgundy);
    transform: translateY(-2px);
}

nav li:hover::after {
    width: 100%;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #000;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0, 0, 0, .15);
    transition: .3s;
    padding: 30px 20px;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    cursor: pointer;
}

.mobile-menu li a {
    text-decoration: none;
    color: #4c181e;
}

/* ================= HERO ================= */
/* ================= SLIDER ================= */
.slider-container {
    position: relative;
    width: calc(100% - 80px);
    height: 320px;
    margin: 25px auto;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* SLIDE */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08) rotateY(6deg);
    transition:
        opacity 1s ease,
        transform 1.4s cubic-bezier(.2, .7, .2, 1);
}

/* ACTIVE SLIDE */
.slide.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    z-index: 1;
}

/* DARK OVERLAY */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .35),
            rgba(0, 0, 0, .8));
}

/* CONTENT */
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

/* TITLE */
.hero-title {
    font-size: 58px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* SLOGAN */
.hero-slogan {
    font-size: 26px;
    color: var(--gold);
    margin-bottom: 30px;
}

/* BUTTON */
.slide-content button {
    background: linear-gradient(135deg, var(--gold), #f5d67b);
    border: none;
    padding: 14px 46px;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
    color: #000;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(201, 164, 77, .45);
    transition: 0.3s;
}

.slide-content button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(201, 164, 77, .65);
}

/* ================= NAV BUTTONS ================= */
.slider-nav {
    position: absolute;
    bottom: 22px;
    right: 22px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-nav button:hover {
    background: var(--gold);
    color: #000;
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) {
    .slider-container {
        height: 650px;
    }

    .hero-title {
        font-size: 82px;
    }

    .hero-slogan {
        font-size: 32px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .slider-container {
        width: calc(100% - 30px);
        height: 360px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-slogan {
        font-size: 20px;
    }
}






/* ================= FOOTER ================= */
.site-footer {
    background-color: #4c181e;
    color: #fff;
    font-family: 'Vazir', sans-serif;
    padding: 50px 20px 30px 20px;
}

.site-footer a {
    color: #f0d084;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #ffd700;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1 1 300px;
    margin: 15px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0d084;
    padding-bottom: 8px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.trust-badges img {
    height: 60px;
    /* بزرگتر */
    margin-right: 15px;
    margin-top: 10px;
}

.social-icons img {
    height: 35px;
    /* کمی بزرگتر */
    margin-right: 12px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #f0d084;
    padding-top: 20px;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:1024px) {


    .cat-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:768px) {
    nav {
        display: none
    }

    .hamburger {
        display: flex
    }

    header {
        padding: 20px;
        justify-content: space-between;
    }

    .hero {
        margin: 0;
        border-radius: 0;
        height: 260px;
    }



    .hero-title {
        font-size: 38px
    }

    .hero-slogan {
        font-size: 20px
    }
}

@media(max-width:420px) {

    .cat-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* تبدیل همبرگر به ضربدر */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger span {
    transition: 0.3s;
}





/* ===== ROADMAP ===== */
.lux-roadmap-new {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.lux-roadmap-new span {
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 215, 160, .25);
    border: 1px solid var(--gold-solid);
    color: #5a4200;
    font-size: 13px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: .35s;
}

.lux-roadmap-new span:hover {
    background: var(--gold-light);
    color: #fff;
}

/* ===== BACK BTN ===== */
.lux-back-btn {
    display: none;
    margin: 10px auto 30px;
    padding: 9px 26px;
    background: var(--gold-light);
    border: none;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
}

/* ===== GRID ===== */
.cat-grid {
    padding: 10px 48px 65px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

/* ===== CATEGORY CARD ===== */
/* ===== SUB CATEGORY CARD ===== */
.lux-sub-card {
    background: #fff;
    border-radius: 22px;
    padding: 16px 10px;
    text-align: center;
    border: 1px solid var(--gold-solid);
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.lux-sub-card img {
    width: 120px;
    /*بزرگومربعقبلازتبدیلبهدایره*/
    height: 120px;
    border-radius: 100%;
    /*تصویردایره‌ای*/
    object-fit: cover;
    /*فضایپرتحذفمی‌شود*/
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.lux-sub-card:hover img {
    transform: scale(1.05);
}

.lux-sub-card span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #b76e79;
    /* رنگ زیبا برای متن */
    text-decoration: none;
    /* برداشتن هر خط زیر متن */
    transition: color 0.3s ease;
}

.lux-sub-card:hover span {
    color: var(--gold-solid);
}

/* برای ریسپانسیو */
@media (max-width: 576px) {
    .lux-sub-card img {
        width: 125px;
        height: 125px;
    }

    .lux-sub-card span {
        font-size: 16px;
    }
}


.img-wrap {
    height: 200px;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-product-card .info {
    padding: 14px;
    text-align: center;
}

.lux-product-card button {
    width: 100%;
    padding: 9px;
    border-radius: 12px;
    border: 1px solid var(--gold-solid);
    background: transparent;
    cursor: pointer;
    transition: .3s;
}

.lux-product-card button:hover {
    background: var(--gold-light);
    color: #fff;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: none
    }
}



/* ===== MAIN CATEGORY CARD (LEVEL 1) ===== */
.categories h3 {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 35px;
}

.categories {
    margin-top: 2rem;
}

.lux-cat-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(247, 231, 180, 0.55),
            rgba(255, 255, 255, 0.9));
    border-radius: 26px;
    padding: 28px 14px 22px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.55);
    transition: all 0.35s ease;
    overflow: hidden;
    text-decoration: none;
}

/* subtle shine */
.lux-cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.35),
            transparent 70%);
    opacity: 0;
    transition: .4s;
}

.lux-cat-card:hover::before {
    opacity: 1;
}

/* image */
.lux-cat-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 100%;
    margin-bottom: 16px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
    transition: .35s;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.lux-cat-card:hover img {
    transform: translateY(-6px);
}

/* title */
.lux-cat-card span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #4c3a00;
    letter-spacing: .3px;
    text-decoration: none;
}

/* hover */
.lux-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.25);
}






/* ================= LUX PRODUCT CARD ================= */

.lux-product-card {
    text-decoration: none;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lux-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

/* تصویر بزرگ */
.lux-product-image {
    width: 100%;
    height: 200px;
    background: #f6f6f6;
}

.lux-product-image img {

    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* بدنه */
.lux-product-body {
    padding: 14px;
    text-align: center;
}

.lux-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    margin-bottom: 6px;
}

/* متا (وزن + اجرت) */
.lux-product-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: #777;
    margin-bottom: 12px;
}

/* دکمه */
.lux-buy-btn {
    width: 100%;
    padding: 10px 0;
    border-radius: 12px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 13px;
    cursor: pointer;
    transition: .25s;
}

.a-lux-buy-btn {
    display: block;
}

.lux-buy-btn:hover {
    background: var(--gold);
    color: #fff;
}

/* ================= MOBILE FIRST ================= */
@media (max-width: 576px) {
    .lux-product-image {
        height: 190px;
    }

    .lux-product-title {
        font-size: 13px;
    }
}

/* دسکتاپ کمی بزرگ‌تر */
@media (min-width: 768px) {
    .lux-product-image {
        height: 240px;
    }

    .lux-product-title {
        font-size: 15px;
    }
}




/* ================= IMAGE VIEWER ================= */

.image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.image-viewer.active {
    display: flex;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    background: #fff;
}



:root {
    --gold: #c9a24d;
    --dark: #111;
}

/* GOLD BAR */
.gold-bar {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid rgba(201, 162, 77, 0.25);
    font-family: inherit;
}

/* INNER */
.gold-bar-inner {
    max-width: 1200px;
    margin: auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LEFT */
.gold-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gold-icon {
    font-size: 18px;
}

.gold-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

/* RIGHT */
.gold-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gold-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.gold-currency {
    font-size: 13px;
    color: #555;
}

.gold-info-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--gold);
}

/* DETAILS (DROPDOWN) */
.gold-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
    border-top: 1px solid rgba(201, 162, 77, 0.15);
    padding: 0 16px;
}

.gold-details p {
    font-size: 13px;
    color: #444;
    margin: 10px 0;
}

.gold-update {
    color: var(--gold);
    font-size: 12px;
}

/* HINT TEXT */
.gold-hint {
    font-size: 12px;
    color: #777;
    margin-right: 6px;
    white-space: nowrap;
}

/* INFO BUTTON ANIMATION */
.gold-info-btn {
    position: relative;
    animation: pulse 2.5s infinite;
}

/* STOP PULSE WHEN ACTIVE */
.gold-bar.active .gold-info-btn {
    animation: none;
    transform: rotate(180deg);
}

/* PULSE KEYFRAMES */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* ACTIVE */
.gold-bar.active .gold-details {
    max-height: 120px;
}

/* MOBILE */
@media (max-width: 768px) {
    .gold-title {
        display: none;
    }

    .gold-price {
        font-size: 15px;
    }
}