/*
Theme Name: Royal Lux
Theme URI: https://instagram.com/nahanamedia
Author: NahanaMedia
Author URI: https://instagram.com/nahanamedia
Description: قالب فروشگاهی فوق‌العاده سبک، مدرن و تجاری Royal Lux با پالت لوکس مشکی و طلایی؛ طراحی‌شده ویژه انواع کسب‌وکارهای آنلاین اعم از کفش، پوشاک، مد، ساعت، اکسسوری، طلا و جواهرات و کالاهای پریمیوم. دارای نمایشگر سه‌بعدی ۳۶۰ درجه تعاملی Three.js، استوری‌های اینستاگرامی، نوار چسبان خرید سریع در موبایل، سبد خرید کشویی کناری، جستجوی زنده ایجکس، مدال راهنمای سایز و بهینه‌سازی اختصاصی تسویه‌حساب و پرداخت برای بازار ایران، بدون نیاز به نصب افزونه‌های سنگین اضافی.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-lux
*/


/* فونت و ریست پایه */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-color: rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* هدر لوکس شیشه‌ای */
.site-header {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ساختار منوی اصلی و زیرمنوهای آبشاری (دسکتاپ) */
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
}

.nav-menu li:hover > a {
    color: var(--gold);
}

/* فلش کوچک برای منوهای دارای زیرمجموعه */
.nav-menu li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 11px;
    color: var(--gold);
    margin-right: 4px;
}

/* استایل کادر بازشونده زیرمنو */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 110;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu li a {
    padding: 10px 20px;
    font-size: 14px;
    color: #ccc;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-menu .sub-menu li a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding-right: 25px;
}

/* پشتیبانی از زیرمنوی سطح سوم (آبشار در آبشار) */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    right: 100%;
    transform: translateX(10px);
}

.nav-menu .sub-menu li:hover > .sub-menu {
    transform: translateX(0);
}

/* اکشن‌های هدر */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icon {
    font-size: 14px;
    color: var(--gold);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    position: relative;
}

.header-icon:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.cart-badge {
    background: #ff4757;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-right: 5px;
}

/* دکمه همبرگری موبایل */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* بنر اصلی و شوکیس سه‌بعدی کفش */
.hero-3d-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 80vh;
}

.hero-tag {
    display: inline-block;
    color: var(--gold);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #b8972e);
    color: #000;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--gold);
    padding: 12px 28px;
    border-radius: 25px;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--gold);
}

.hero-viewer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#product-3d-canvas {
    width: 100%;
    height: 420px;
    cursor: grab;
}

#product-3d-canvas:active {
    cursor: grabbing;
}

.viewer-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* تیتر مشترک سکشن‌ها */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}

/* کارت‌های دسته‌بندی داینامیک ووکامرس */
.categories-showcase {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.85) 100%);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-content h3 {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 8px;
}

.category-content p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.cat-link {
    display: inline-block;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.cat-link:hover {
    color: var(--gold);
    padding-right: 5px;
}

.no-cats-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 10px;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
}

/* گرید محصولات ووکامرس */
.products-showcase {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.luxury-product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.luxury-product-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.product-thumb-link {
    display: block;
    width: 100%;
    height: 260px;
    background-color: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.luxury-product-card:hover .product-img {
    transform: scale(1.08);
}

.no-img-placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.product-details {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-name a {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
}

.product-name a:hover {
    color: var(--gold);
}

.product-price-box {
    margin: 12px 0;
    color: var(--gold);
    font-size: 17px;
    font-weight: 700;
}

.product-price-box del {
    color: var(--text-muted);
    font-size: 13px;
    margin-left: 6px;
}

.product-price-box ins {
    text-decoration: none;
}

.btn-add-cart {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.no-products-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 10px;
    color: var(--text-muted);
}

/* ویژگی‌های لوکس (اعتماد و ارسال) */
.luxury-features-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--gold);
    font-size: 17px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* بنر تخفیف و پیشنهاد ویژه */
.luxury-promo-banner {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 60px 20px;
    background: radial-gradient(circle at center, #1e1b13 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.promo-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    padding: 4px 14px;
    border-radius: 20px;
}

.promo-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}

.promo-desc {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

.promo-code-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px dashed var(--gold);
    padding: 10px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.code-label {
    color: var(--text-muted);
    font-size: 14px;
}

.code-value {
    color: var(--gold);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
}

/* صفحات داخلی فروشگاه و صفحه محصول */
.luxury-shop-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.woocommerce div.product div.images {
    flex: 1 1 45%;
    max-width: 500px;
}

.woocommerce div.product div.summary {
    flex: 1 1 50%;
}

.woocommerce div.product .product_title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--gold) !important;
    font-size: 22px !important;
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce div.product form.cart .variations {
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce div.product form.cart .variations td.label {
    color: var(--gold);
    padding: 10px 0;
    font-weight: 600;
}

.woocommerce div.product form.cart .variations select {
    width: 100%;
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    outline: none;
}

.woocommerce div.product form.cart div.quantity {
    margin-left: 15px;
    display: inline-block;
}

.woocommerce div.product form.cart div.quantity input.qty {
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    width: 60px;
    text-align: center;
}

.woocommerce div.product form.cart .button {
    background: linear-gradient(135deg, var(--gold), #b8972e) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 12px 35px !important;
    border-radius: 25px !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.woocommerce-tabs ul.tabs {
    border-bottom: 1px solid var(--border-color) !important;
    padding: 0 !important;
    margin-top: 40px !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
}

.woocommerce-tabs ul.tabs li a {
    color: var(--text-muted) !important;
    font-weight: 600;
    padding: 10px 20px;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold);
}

.woocommerce-Tabs-panel {
    color: var(--text-muted);
    line-height: 1.8;
    padding-top: 20px;
}

/* سبد خرید و تسویه حساب */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    color: var(--text-light);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.woocommerce table.shop_table th {
    background: #1a1a1a;
    color: var(--gold);
    padding: 15px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.woocommerce form .form-row label {
    color: var(--gold-light);
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.cart-collaterals .cart_totals,
#order_review {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
}

#order_review_heading,
.cart_totals h2 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

#payment {
    background: #111111 !important;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

#payment ul.payment_methods li {
    color: var(--text-light);
    margin-bottom: 15px;
}

#payment div.payment_box {
    background: #1a1a1a !important;
    color: var(--text-muted) !important;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
}

#place_order,
.checkout-button {
    background: linear-gradient(135deg, var(--gold), #b8972e) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 14px 30px !important;
    border-radius: 25px !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

#place_order:hover,
.checkout-button:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.woocommerce-message, 
.woocommerce-info {
    background: var(--bg-card);
    border-top: 3px solid var(--gold);
    color: var(--text-light);
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.woocommerce-error {
    background: var(--bg-card);
    border-top: 3px solid #ff4757;
    color: #ff6b81;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

/* برگه‌های متنی عمومی (page.php) */
.luxury-page-container {
    max-width: 900px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

.luxury-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 45px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-entry-header {
    text-align: center;
    margin-bottom: 35px;
}

.page-entry-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 12px;
}

.header-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

.page-entry-content {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
}

.page-entry-content p {
    margin-bottom: 20px;
    color: #d1d1d1;
}

.page-entry-content h2, 
.page-entry-content h3 {
    color: var(--gold-light);
    margin: 30px 0 15px;
    font-weight: 700;
}

.page-entry-content ul, 
.page-entry-content ol {
    margin: 15px 25px 25px 0;
}

.page-entry-content li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* وبلاگ و مجله مد (single.php) */
.luxury-single-post {
    max-width: 850px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

.article-content-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 40px;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-category a {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.post-title {
    font-size: 28px;
    color: var(--text-light);
    margin: 15px 0;
}

.post-meta {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.post-feature-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.post-body {
    color: #e0e0e0;
    line-height: 2.1;
    font-size: 16px;
}

.tags-list a {
    display: inline-block;
    background: #1f1f1f;
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin: 5px 4px;
}

/* فوتر لوکس */
.site-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-title {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-desc, .footer-contact li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 2;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* قوانین واکنش‌گرایی منو و صفحات در موبایل */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: #111111;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
        border-left: 1px solid var(--border-color);
        padding: 80px 25px 30px;
        transition: right 0.35s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .main-navigation.open {
        right: 0;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .nav-menu li a {
        font-size: 16px;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* رفتار زیرمنو در حالت موبایل (باز شدن به شکل خطی به سمت پایین) */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.4);
        border: none;
        border-right: 2px solid var(--gold);
        border-radius: 0;
        padding: 5px 15px 5px 0;
        box-shadow: none;
    }

    .nav-menu .sub-menu li a {
        font-size: 14px;
        color: #aaa;
        padding: 8px 0;
    }

    .hero-3d-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        justify-content: center;
    }

    #product-3d-canvas {
        height: 320px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-thumb-link {
        height: 190px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .luxury-promo-banner {
        padding: 40px 15px;
    }

    .promo-title {
        font-size: 22px;
    }

    .woocommerce div.product {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .luxury-article,
    .article-content-box {
        padding: 25px 20px;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-col {
        text-align: center;
    }
}
/* ====================================
   استایل ابزارک‌ها و سایدبار فروشگاه
   ==================================== */
.shop-wrapper.has-sidebar {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 35px;
    align-items: start;
}

.shop-sidebar-area {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 25px 20px;
}

.luxury-widget {
    margin-bottom: 30px;
}

.luxury-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.luxury-widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.luxury-widget ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.luxury-widget ul li a:hover {
    color: var(--gold);
    padding-right: 4px;
}

/* استایل اسلایدر فیلتر قیمت ووکامرس */
.widget_price_filter .ui-slider {
    background: #222 !important;
    border: 1px solid var(--border-color) !important;
    height: 6px !important;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: var(--gold) !important;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--gold) !important;
    border-radius: 50% !important;
    border: none !important;
    outline: none !important;
}

.widget_price_filter .price_slider_amount .button {
    background: var(--gold) !important;
    color: #000 !important;
    font-size: 12px !important;
    padding: 6px 14px !important;
    border-radius: 15px !important;
}

@media (max-width: 900px) {
    .shop-wrapper.has-sidebar {
        grid-template-columns: 1fr;
    }
}
/* ====================================
   استایل بنرهای تبلیغاتی قابل آپلود از پنل
   ==================================== */
.luxury-promo-grid-banners {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.banner-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.promo-banner-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.promo-banner-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.promo-banner-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

.promo-banner-card:hover img {
    transform: scale(1.04);
}

/* بنر عریض سراسری */
.luxury-wide-banner-section {
    max-width: 1200px;
    margin: 50px auto 60px;
    padding: 0 20px;
}

.wide-banner-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.wide-banner-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.wide-banner-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.wide-banner-card:hover img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .banner-grid-container {
        grid-template-columns: 1fr;
    }
}
/* ====================================
   استایل برچسب درصد تخفیف هوشمند
   ==================================== */
.product-badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--gold), #b8972e);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 5;
    letter-spacing: 0.5px;
}

/* استایل برچسب حراج در صفحه تکی محصول */
.woocommerce span.onsale {
    background: linear-gradient(135deg, var(--gold), #b8972e) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    min-height: auto !important;
    line-height: 1.5 !important;
    right: 15px !important;
    left: auto !important;
    top: 15px !important;
}
/* ====================================
   استایل هماهنگ‌سازی فرم ورود پیامکی و حساب کاربری
   (سازگار با دیجیتس، فراز اس‌ام‌اس و ووکامرس)
   ==================================== */

/* باکس اصلی ورود و حساب کاربری ووکامرس */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.digits_login_wrapper,
.digits-form-wrapper,
#digits_forms_wrapper {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 35px 30px !important;
    color: var(--text-light) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* فیلد شماره موبایل و کد پیامکی */
.digits_login_wrapper input[type="text"],
.digits_login_wrapper input[type="tel"],
.digits_login_wrapper input[type="password"],
.digits_login_wrapper input[type="number"],
.woocommerce-form-login input.input-text {
    background: #0d0d0d !important;
    border: 1px solid var(--border-color) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    text-align: center !important;
    direction: ltr !important;
    letter-spacing: 2px !important;
    transition: all 0.3s ease !important;
}

.digits_login_wrapper input:focus,
.woocommerce-form-login input.input-text:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
    outline: none !important;
}

/* دکمه ارسال کد تایید و ورود */
.digits_login_wrapper button,
.digits_login_wrapper input[type="submit"],
.woocommerce-form-login .button,
#digits_forms_wrapper button {
    background: linear-gradient(135deg, var(--gold), #b8972e) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 25px !important;
    font-size: 15px !important;
    cursor: pointer !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
}

.digits_login_wrapper button:hover,
.woocommerce-form-login .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5) !important;
}

/* پاپ‌آپ‌های شیشه‌ای ورود پیامکی */
.digits-modal,
.digits_modal_content,
.countrycode_container {
    background: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    color: var(--text-light) !important;
}

/* تایمر معکوس ارسال مجدد پیامک و لینک‌ها */
.digits_resend_otp,
.digits_login_wrapper a,
.woocommerce-LostPassword a {
    color: var(--gold) !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}

.digits_resend_otp:hover,
.digits_login_wrapper a:hover {
    opacity: 0.8 !important;
}
/* ====================================
   استایل نوار شناور پایین موبایل (Sticky Bottom Nav)
   ==================================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* ایجاد فضای خالی پایین صفحه برای همپوشانی نداشتن با محتوا */
    body {
        padding-bottom: 70px;
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: rgba(16, 16, 16, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--border-color);
        z-index: 9999;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.6);
        padding: 5px 10px;
    }

    .mob-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 500;
        text-decoration: none;
        flex: 1;
        transition: color 0.3s ease;
    }

    .mob-nav-item svg {
        margin-bottom: 4px;
        stroke: var(--text-muted);
        transition: stroke 0.3s ease;
    }

    .mob-nav-item:hover,
    .mob-nav-item.active {
        color: var(--gold);
    }

    .mob-nav-item:hover svg,
    .mob-nav-item.active svg {
        stroke: var(--gold);
    }

    .mob-cart-icon-wrapper {
        position: relative;
        display: inline-block;
    }

    .mob-cart-count {
        position: absolute;
        top: -6px;
        left: -8px;
        background: #ff4757;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        width: 17px;
        height: 17px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(255, 71, 87, 0.5);
    }
}
/* ====================================
   استایل نوار اعلان بالای سایت (Top Announcement Bar)
   ==================================== */
.site-topbar {
    background: linear-gradient(90deg, #111111 0%, #1c1912 50%, #111111 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 9px 15px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    position: relative;
    z-index: 101;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
}

.topbar-text-link {
    color: var(--gold);
    display: inline-block;
    transition: all 0.3s ease;
}

.topbar-text-link:hover {
    color: #fff;
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .site-topbar {
        font-size: 11px;
        padding: 7px 10px;
    }
}
/* ====================================
   استایل جستجوی زنده ایجکس (Ajax Live Search)
   ==================================== */
.header-search-wrapper {
    position: relative;
    width: 280px;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-box input {
    width: 100%;
    background: #141414;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 38px 8px 15px;
    color: var(--text-light);
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
    background: #181818;
}

.search-icon {
    position: absolute;
    right: 12px;
    stroke: var(--gold);
    pointer-events: none;
}

/* دراپ‌داون شناور نتایج جستجو */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: rgba(212, 175, 55, 0.08);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.search-result-item .item-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-result-item .item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item .item-price {
    font-size: 12px;
    color: var(--gold);
    font-weight: 700;
    margin-top: 3px;
}

.search-loading,
.search-no-result {
    padding: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .header-search-wrapper {
        display: none; /* مخفی‌سازی جستجوی هدر در تبلت و موبایل برای جلوگیری از شلوغی */
    }
}
/* ====================================
   استایل تایمر شمارش معکوس پیشنهاد شگفت‌انگیز
   ==================================== */
.product-thumb-link {
    position: relative;
}

.luxury-countdown-timer {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 4px;
    z-index: 4;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-unit span {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
    font-family: monospace, 'Vazirmatn';
}

.timer-unit small {
    font-size: 9px;
    color: var(--text-muted);
}
/* ====================================
   استایل سبد خرید کشویی کناری (Drawer Cart)
   ==================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.luxury-cart-drawer {
    position: fixed;
    top: 0;
    left: -380px; /* باز شدن از سمت چپ در ساختار راست‌چین */
    width: 360px;
    max-width: 85vw;
    height: 100vh;
    background: #111111;
    border-right: 1px solid var(--border-color);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-cart-drawer.open {
    left: 0;
}

.cart-drawer-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: #161616;
}

.cart-drawer-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

.close-drawer-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-drawer-btn:hover {
    color: #ff4757;
}

.cart-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

/* استایل لیست ووکامرس داخل مینی کارت */
.widget_shopping_cart_content ul.cart_list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.widget_shopping_cart_content ul.cart_list li a {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
}

.widget_shopping_cart_content ul.cart_list li a.remove {
    position: absolute;
    left: 0;
    top: 14px;
    color: #ff4757 !important;
    font-size: 18px;
}

.widget_shopping_cart_content ul.cart_list li img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.widget_shopping_cart_content .total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
}

.widget_shopping_cart_content .buttons a {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
}

.widget_shopping_cart_content .buttons a.checkout {
    background: linear-gradient(135deg, var(--gold), #b8972e) !important;
    color: #000 !important;
}

.widget_shopping_cart_content .buttons a:not(.checkout) {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--gold);
}
/* ====================================
   استایل دکمه شناور پشتیبانی و واتساپ
   ==================================== */
.luxury-floating-support {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
}

.floating-main-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8972e);
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-main-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.floating-main-btn .icon-close {
    display: none;
}

.floating-main-btn.active .icon-chat {
    display: none;
}

.floating-main-btn.active .icon-close {
    display: block;
}

/* منوی پاپ‌آپ گزینه‌های پشتیبانی */
.floating-options {
    position: absolute;
    bottom: 65px;
    left: 0;
    width: 230px;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.floating-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.option-item.wa-option {
    color: #25d366;
    background: rgba(37, 211, 102, 0.08);
}

.option-item.wa-option:hover {
    background: rgba(37, 211, 102, 0.18);
}

.option-item.call-option {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.option-item.call-option:hover {
    background: rgba(212, 175, 55, 0.18);
}

@media (max-width: 768px) {
    /* تنظیم موقعیت دکمه در موبایل برای عدم برخورد با نوار چسبان پایین */
    .luxury-floating-support {
        bottom: 80px;
        left: 15px;
    }
}
/* ====================================
   استایل نوار چسبان خرید سریع در صفحه محصول (Sticky Add to Cart)
   ==================================== */
.luxury-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 10px 20px;
    z-index: 998;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.7);
}

.luxury-sticky-cart.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-product-info img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.sticky-text {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.sticky-price {
    font-size: 14px;
    color: var(--gold);
    font-weight: 700;
}

.sticky-action .btn-gold {
    padding: 9px 24px;
    font-size: 14px;
}

@media (max-width: 768px) {
    /* در موبایل بالای نوار دسترسی سریع پایین قرار گیرد */
    .luxury-sticky-cart {
        bottom: 65px;
        padding: 8px 15px;
    }

    .sticky-title {
        font-size: 13px;
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-price {
        font-size: 12px;
    }

    .sticky-action .btn-gold {
        padding: 8px 16px;
        font-size: 12px;
    }
}
/* ====================================
   استایل دکمه‌های کلیکی انتخاب سایز و رنگ (Swatches)
   ==================================== */
.luxury-swatch-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px;
}

.luxury-swatch-btn {
    background: #141414;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.luxury-swatch-btn:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.25);
}

.luxury-swatch-btn.active {
    background: linear-gradient(135deg, var(--gold), #b8972e);
    color: #000;
    border-color: var(--gold);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}
/* ====================================
   استایل پاپ‌آپ و دکمه راهنمای سایز کفش
   ==================================== */
.luxury-sizeguide-btn-wrapper {
    margin: 10px 0 15px;
}

.luxury-sizeguide-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.luxury-sizeguide-btn svg {
    stroke: var(--gold);
}

.luxury-sizeguide-btn:hover {
    color: #fff;
}

.luxury-sizeguide-btn:hover svg {
    stroke: #fff;
}

/* لایه تاریک پشت مدال */
.sizeguide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sizeguide-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* بدنه مدال پاپ‌آپ */
.sizeguide-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    background: #121212;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    z-index: 10006;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sizeguide-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.sizeguide-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    background: #181818;
}

.sizeguide-modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--gold);
    font-weight: 700;
}

.sizeguide-close-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sizeguide-close-btn:hover {
    color: #ff4757;
}

.sizeguide-modal-body {
    padding: 24px;
}

.sizeguide-instructions {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: #181818;
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.instruction-icon {
    font-size: 24px;
    line-height: 1;
}

.sizeguide-instructions p {
    margin: 0;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* جدول استاندارد سایز */
.sizeguide-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.sizeguide-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 13px;
}

.sizeguide-table th {
    background: #1b1b1b;
    color: var(--gold);
    padding: 12px 8px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.sizeguide-table td {
    padding: 12px 8px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sizeguide-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

.sizeguide-tips {
    background: rgba(212, 175, 55, 0.08);
    border-right: 4px solid var(--gold);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-light);
}

.sizeguide-tips p {
    margin: 0;
}
/* ====================================
   استایل نوار استوری‌های اینستاگرامی (Stories)
   ==================================== */
.luxury-stories-section {
    padding: 25px 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 15px;
    scrollbar-width: none; /* پنهان‌سازی اسکرول‌بار در فایرفاکس */
}

.stories-container::-webkit-scrollbar {
    display: none; /* پنهان‌سازی اسکرول‌بار در کروم و سافاری */
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.story-item:hover {
    transform: translateY(-3px);
}

.story-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(45deg, #d4af37, #f3e5ab, #b8972e);
    padding: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #141414;
    background-size: cover;
    background-position: center;
    border: 2px solid #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.story-name {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    max-width: 80px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ====================================
   استایل دکمه‌های اشتراک‌گذاری صفحه محصول
   ==================================== */
.luxury-product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.share-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #181818;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.share-btn.wa:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-btn.tg:hover {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.share-btn.eitaa {
    font-size: 11px;
    font-weight: 800;
    color: #e67e22;
}

.share-btn.eitaa:hover {
    background: #e67e22;
    color: #fff;
    border-color: #e67e22;
}

.share-btn.copy:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* پیام کپی شدن آدرس */
.copy-feedback {
    position: absolute;
    top: -28px;
    left: 0;
    background: #27ae60;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.copy-feedback.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-4px);
}
/* ====================================
   هشدار داینامیک موجودی کم (Scarcity Alert)
   ==================================== */
.luxury-stock-alert {
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 15px 0 20px;
}

.stock-alert-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #ff6b81;
    margin-bottom: 8px;
}

.stock-alert-header strong {
    color: #ff4757;
    font-size: 14px;
}

.stock-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #ffa502);
    border-radius: 10px;
    transition: width 0.4s ease;
}
/* ====================================
   استایل لیست علاقه‌مندی‌ها (Wishlist)
   ==================================== */
.btn-wishlist-toggle {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 6;
    transition: all 0.25s ease;
}

.btn-wishlist-toggle:hover {
    transform: scale(1.1);
    color: #ff4757;
    border-color: #ff4757;
}

.btn-wishlist-toggle.active {
    color: #ff4757;
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.15);
}

.wishlist-count-badge {
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 4px;
    display: none;
}

/* مودال علاقه‌مندی‌ها */
.wishlist-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10008;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wishlist-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wishlist-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 90%;
    max-width: 550px;
    max-height: 80vh;
    overflow-y: auto;
    background: #141414;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    z-index: 10009;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wishlist-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.wishlist-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: #181818;
}

.wishlist-modal-header h3 {
    font-size: 15px;
    color: var(--gold);
    margin: 0;
}

.wishlist-close-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.wishlist-close-btn:hover {
    color: #ff4757;
}

.wishlist-modal-body {
    padding: 20px;
}

.empty-wishlist {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 30px 0;
}

.wishlist-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wishlist-row-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.wishlist-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wishlist-title {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.wishlist-price {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.btn-view-item {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-remove-wishlist {
    background: transparent;
    border: none;
    color: #888;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.btn-remove-wishlist:hover {
    color: #ff4757;
}
/* ====================================
   باکس پرداخت کارت‌به‌کارت بانکی در تسویه‌حساب
   ==================================== */
.luxury-card-transfer-box {
    background: linear-gradient(135deg, #1f1b14 0%, #121212 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.luxury-card-transfer-box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.card-chip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.chip-icon {
    font-size: 22px;
}

.bank-title {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
}

.card-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #0d0d0d;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px dashed var(--border-color);
}

.card-number-display {
    font-family: monospace, 'Vazirmatn';
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    direction: ltr;
}

.btn-copy-card {
    background: linear-gradient(135deg, var(--gold), #b8972e);
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-copy-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.card-owner-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.card-owner-info strong {
    color: var(--text-light);
}

.card-copy-status {
    color: #27ae60;
    font-weight: 700;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-copy-status.show {
    opacity: 1;
}

@media (max-width: 600px) {
    .card-number-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
/* ====================================
   استایل پیش‌نمایش سریع محصول (Quick View)
   ==================================== */
.btn-quick-view {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    z-index: 6;
    transition: all 0.25s ease;
}

.btn-quick-view:hover {
    transform: scale(1.1);
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.qv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qv-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qv-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
    background: #141414;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    z-index: 10011;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 25px;
}

.qv-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.qv-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.qv-close-btn:hover {
    color: #ff4757;
}

.qv-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
    align-items: center;
}

.qv-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.qv-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
}

.qv-price {
    font-size: 18px;
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 15px;
}

.qv-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.qv-loading {
    text-align: center;
    padding: 50px 0;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 650px) {
    .qv-content-grid {
        grid-template-columns: 1fr;
    }
    .qv-gallery img {
        height: 220px;
    }
}
/* ====================================
   باکس استایل اختصاصی اینماد و نمادهای الکترونیکی
   ==================================== */
.luxury-enamad-box {
    margin-top: 15px;
    background: #141414;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    min-width: 80px;
}

.enamad-placeholder-hint {
    font-size: 11px;
    color: var(--text-muted);
}
