@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #c99386;       /* Soft Rose Gold */
    --primary-light: #fdfaf7; /* Off-White Rose Glow */
    --primary-dark: #b57a6d;  /* Deep Rose Gold */
    --accent: #d4af37;        /* Gold Accent */
    --dark: #1d1d1f;          /* Rich Luxury Charcoal */
    --dark-muted: #6e6e73;    /* Muted Slate Gray */
    --light: #FAF8F5;         /* Premium Linen Off-white */
    --white: #ffffff;
    --border-color: rgba(201, 147, 134, 0.15);
    
    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(29, 29, 31, 0.03);
    --shadow-md: 0 12px 35px rgba(201, 147, 134, 0.08);
    --shadow-lg: 0 24px 60px rgba(29, 29, 31, 0.08);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    
    --border-radius-sm: 10px;
    --border-radius-md: 18px;
    --border-radius-lg: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100%;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none !important;
    color: inherit;
}
a:hover, a:focus, a:active {
    text-decoration: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    border-radius: 20px;
    border: 3px solid var(--light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* --- Premium Background Gradients --- */
.bg-glow-1 {
    position: absolute;
    top: -300px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(247,235,222,0.5) 0%, rgba(250,249,246,0) 80%);
    z-index: -1;
    pointer-events: none;
}
.bg-glow-2 {
    position: absolute;
    top: 1000px;
    left: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201,147,134,0.08) 0%, rgba(250,249,246,0) 80%);
    z-index: -1;
    pointer-events: none;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 5px 0;
    transition: var(--transition-smooth);
}
body {
    padding-top: 74px;
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.35rem;
    transition: var(--transition-smooth);
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 6px 15px rgba(201, 147, 134, 0.25);
    transition: var(--transition-smooth);
}

.logo-icon svg {
    stroke-width: 2.2;
}

.logo:hover .logo-icon {
    transform: rotate(20deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(201, 147, 134, 0.4);
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--primary), var(--accent));
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--dark);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(201, 147, 134, 0.2);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.contact-btn:hover::before {
    opacity: 1;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 147, 134, 0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    max-width: 1200px;
    margin: 50px auto 90px auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subtitle {
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--primary-dark);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--dark) 20%, var(--primary-dark) 80%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--dark-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.85;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--dark), #2c2c2e);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(29, 29, 31, 0.15);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(29, 29, 31, 0.25);
    background: linear-gradient(135deg, var(--dark-muted), var(--dark));
}

.hero-btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid rgba(201, 147, 134, 0.4);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.hero-btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 1.3;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.04);
}

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 18px 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floating 4s ease-in-out infinite alternate;
}

@keyframes floating {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.floating-icon svg {
    stroke-width: 2.2;
}

.floating-text h4 {
    font-size: 1rem;
    font-weight: 700;
}

.floating-text p {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

/* --- Features Section --- */
.features {
    background-color: var(--white);
    padding: 100px 25px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    background-color: var(--white);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 76px;
    height: 76px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: var(--primary-dark);
    transition: var(--transition-smooth);
    border: 1px solid rgba(201, 147, 134, 0.1);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(201, 147, 134, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--dark-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Products Directory (Main Content) --- */
.catalog-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 25px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--dark-muted);
    font-size: 1.05rem;
}

/* Search and Filters */
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
    background-color: var(--white);
    padding: 24px 35px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 14px 48px 14px 22px;
    border-radius: 50px;
    border: 1px solid rgba(201, 147, 134, 0.25);
    background-color: var(--light);
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 5px rgba(201, 147, 134, 0.12);
}

.search-box .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--light);
    color: var(--dark-muted);
    border: 1px solid rgba(201, 147, 134, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(201, 147, 134, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201, 147, 134, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(201, 147, 134, 0.22);
    border-color: var(--primary);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--light);
    border-bottom: 1px solid rgba(201, 147, 134, 0.08);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.05);
    border: 1px solid rgba(201, 147, 134, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-category svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    transition: var(--transition-smooth);
}

.product-card:hover .product-title {
    color: var(--primary-dark);
}

.product-excerpt {
    font-size: 0.9rem;
    color: var(--dark-muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(201, 147, 134, 0.1);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.product-price span {
    font-size: 0.85rem;
    color: var(--dark-muted);
    font-weight: 400;
    margin-right: 4px;
}

.view-details-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.product-card:hover .view-details-indicator {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(201, 147, 134, 0.3);
}

/* Empty search result */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--dark-muted);
}

.no-results-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    margin-bottom: 20px;
}

.no-results-icon svg {
    width: 36px;
    height: 36px;
}

/* --- Product Detail Page --- */
.product-detail-main {
    max-width: 1200px;
    margin: 40px auto 100px auto;
    padding: 0 25px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    font-size: 0.9rem;
    color: var(--dark-muted);
}

.breadcrumb a {
    color: var(--dark-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Detail Main Layout Grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 80px;
}

/* Right Panel: Image */
.detail-image-panel {
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid var(--border-color);
}

.detail-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
    border: 1px solid rgba(201, 147, 134, 0.1);
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.detail-image-wrapper:hover .detail-img {
    transform: scale(1.05);
}

/* Left Panel: Content */
.detail-content-panel {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-cat-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 147, 134, 0.15);
}

.detail-cat-badge svg {
    width: 16px;
    height: 16px;
}

.detail-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.4;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-price-box {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 147, 134, 0.12);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.price-currency {
    font-size: 1.1rem;
    color: var(--dark-muted);
    font-weight: 500;
    margin-right: 6px;
}

/* Premium Product Info Cards */
.detail-info-card {
    background-color: var(--white);
    border: 1px solid rgba(201, 147, 134, 0.08);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(201, 147, 134, 0.02);
    transition: var(--transition-smooth);
}

.detail-info-card:hover {
    box-shadow: 0 8px 30px rgba(201, 147, 134, 0.06);
    border-color: rgba(201, 147, 134, 0.15);
}

.detail-info-card .detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 4px solid var(--primary);
    padding-right: 12px;
    margin-right: 0;
}

.detail-info-card .detail-description-text {
    font-size: 0.92rem;
    color: var(--dark-muted);
    line-height: 1.85;
    margin-bottom: 0;
    text-align: justify;
}

.detail-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.detail-description-text {
    font-size: 0.95rem;
    color: var(--dark-muted);
    line-height: 1.9;
    margin-bottom: 35px;
    white-space: pre-line;
}

.detail-specs-list {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 147, 134, 0.08);
    font-size: 0.9rem;
}

.spec-label {
    color: var(--dark-muted);
    font-weight: 500;
}

.spec-val {
    font-weight: 600;
    color: var(--dark);
}

.detail-cta-box {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: auto;
}

.detail-main-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 16px 36px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(201, 147, 134, 0.25);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detail-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201, 147, 134, 0.4);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.detail-back-cta {
    color: var(--dark-muted);
    background: none;
    border: 1px solid rgba(201, 147, 134, 0.3);
    padding: 16px 32px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    text-align: center;
}

.detail-back-cta:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* Related Products */
.related-section {
    margin-top: 80px;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, var(--primary), var(--accent));
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201, 147, 134, 0.08);
    text-decoration: none;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 147, 134, 0.25);
}

.related-img-wrapper {
    aspect-ratio: 1.1;
    overflow: hidden;
    background-color: var(--light);
}

.related-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.related-card:hover .related-img-wrapper img {
    transform: scale(1.05);
}

.related-info {
    padding: 20px;
}

.related-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition-smooth);
}

.related-card:hover h4 {
    color: var(--primary-dark);
}

.related-price {
    font-size: 1.1rem;
    font-weight: 700;
}

.related-price span {
    font-size: 0.8rem;
    color: var(--dark-muted);
    font-weight: 400;
}

/* Error page container */
.error-container {
    background-color: var(--white);
    padding: 80px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 60px auto;
}

/* --- Contact Modal --- */
.contact-modal-body {
    padding: 45px;
    overflow-y: auto;
    max-height: calc(90vh - 30px);
}

.contact-modal-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.contact-modal-desc {
    text-align: center;
    color: var(--dark-muted);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background-color: var(--light);
    padding: 20px 28px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(201, 147, 134, 0.1);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    transform: translateX(-6px);
    background-color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background-color: var(--white);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-card:hover .contact-info-icon {
    background-color: var(--primary-dark);
    color: var(--white);
}

.contact-info-details h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-details p {
    font-size: 0.88rem;
    color: var(--dark-muted);
}

/* Modal Core Setup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(29, 29, 31, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(15px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.open .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    border: 1px solid rgba(201, 147, 134, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.05);
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

/* --- Footer --- */
footer {
    background: linear-gradient(180deg, var(--white), var(--primary-light));
    color: var(--dark);
    padding: 90px 25px 40px 25px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(201, 147, 134, 0.25);
}

.footer-top-brand {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201, 147, 134, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.6rem;
}

.footer-brand-logo .logo-icon {
    box-shadow: 0 0 20px rgba(201, 147, 134, 0.15);
}

.footer-brand-logo span {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(201, 147, 134, 0.08);
    border: 1px solid rgba(201, 147, 134, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(201,147,134,0.06);
}

.footer-social-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.footer-social-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(201, 147, 134, 0.35);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 70px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--dark-muted);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-top: 10px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to left, var(--primary), var(--accent));
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--dark-muted);
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '✦';
    font-size: 0.75rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.footer-links a:hover::before {
    transform: translateX(-4px);
    color: var(--accent);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--dark-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
    transition: var(--transition-smooth);
}

.footer-contact-item:hover svg {
    color: var(--accent);
    transform: scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 35px;
    border-top: 1px solid rgba(201, 147, 134, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--dark-muted);
    font-size: 0.85rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .detail-image-panel {
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
    }
    
    .detail-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .detail-content-panel {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 30px;
    }
    .hero-content {
        order: 2;
        align-items: center;
        text-align: center;
    }
    .hero-subtitle::before {
        display: none;
    }
    .hero-image-container {
        order: 1;
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 64px !important;
    }
    /* Sleek row-based layout for features section on mobile */
    .features {
        padding: 40px 15px !important;
    }
    .features-container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .feature-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: right !important;
        padding: 16px 18px !important;
        gap: 16px !important;
        border-radius: 18px !important;
        border: 1px solid rgba(201, 147, 134, 0.12) !important;
        box-shadow: 0 4px 15px rgba(29, 29, 31, 0.02) !important;
    }
    .feature-icon {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
    }
    .feature-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .feature-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .feature-card h3 {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin-bottom: 2px !important;
        color: var(--dark);
    }
    .feature-card p {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
        color: var(--dark-muted);
    }

    .section-header {
        margin-bottom: 30px !important;
        padding: 0 10px;
    }
    .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 12px !important;
    }
    .section-desc {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
    }

    .nav-menu, .contact-btn {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    
    /* Sleek 2-Column Mobile Catalog */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .product-card {
        border-radius: var(--border-radius-sm);
    }
    .product-img-wrapper {
        border-bottom: 1px solid rgba(201, 147, 134, 0.05);
    }
    .product-category {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.7rem;
        gap: 4px;
    }
    .product-category svg {
        width: 12px;
        height: 12px;
    }
    .product-details {
        padding: 12px;
    }
    .product-title {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    .product-excerpt {
        display: none; /* Hide description on mobile to keep cards uniform and neat */
    }
    .product-footer {
        padding-top: 10px;
        border-top: 1px solid rgba(201, 147, 134, 0.05);
    }
    .product-price {
        font-size: 1rem;
    }
    .product-price span {
        font-size: 0.75rem;
    }
    .view-details-indicator {
        width: 30px;
        height: 30px;
    }
    .view-details-indicator svg {
        width: 14px;
        height: 14px;
    }
    
    .catalog-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }
    .filter-group {
        justify-content: center;
        gap: 6px;
    }
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    .logo {
        font-size: 1.2rem;
    }
    .detail-title {
        font-size: 1.8rem;
        text-align: right !important;
        direction: rtl !important;
    }
    .detail-cta-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .detail-main-cta, .detail-back-cta {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    .detail-content-panel {
        padding: 30px 20px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .related-card {
        border-radius: var(--border-radius-sm);
    }
    .related-info {
        padding: 12px;
    }
    .related-info h4 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    .related-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero-btn-primary, .hero-btn-secondary {
        text-align: center;
        padding: 14px 20px;
    }
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 200;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 25px;
    border-left: 1px solid var(--border-color);
    transform: translateX(100%);
    visibility: hidden;
}

.mobile-nav-panel.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 600;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-muted);
}

/* ==========================================================================
   Luxury Upgrades & Breathtaking UI Enhancements
   ========================================================================== */

/* Rounded Soft Footer Layout */
footer {
    border-top-left-radius: 40px !important;
    border-top-right-radius: 40px !important;
    box-shadow: inset 0 20px 45px rgba(201, 147, 134, 0.04);
}

/* Centered Search container */
.catalog-search-container {
    max-width: 650px;
    margin: 0 auto 35px auto;
    padding: 0 15px;
}

.catalog-search-container .search-box {
    width: 100%;
}

.catalog-search-container .search-box input {
    background-color: var(--white);
    border: 1px solid rgba(201, 147, 134, 0.2);
    box-shadow: var(--shadow-sm);
}

/* Luxurious Category Segment Control */
.lux-category-nav {
    max-width: 100%;
    margin: 0 auto 45px auto;
    padding: 0 15px;
    text-align: center;
}

.category-segment-container {
    display: inline-flex;
    gap: 8px;
    background: rgba(201, 147, 134, 0.06);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(201, 147, 134, 0.12);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.category-segment-container.active-drag {
    cursor: grabbing;
    scroll-behavior: auto; /* Avoid lag during dragging */
}

.category-segment-container::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex: 0 0 auto;
    background: none;
    border: 1px solid transparent;
    outline: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.category-tab:hover {
    color: var(--primary-dark);
}

.category-tab.active {
    background-color: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(201, 147, 134, 0.12);
    border: 1px solid rgba(201, 147, 134, 0.15);
}

.category-tab-count {
    font-size: 0.72rem;
    background-color: rgba(201, 147, 134, 0.1);
    color: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.category-tab.active .category-tab-count {
    background-color: var(--primary);
    color: var(--white);
}

/* Product Detail UI Upgrades */
.detail-price-box {
    margin-bottom: 35px;
    padding: 22px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 147, 134, 0.05), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(201, 147, 134, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border: 1px solid rgba(46, 204, 113, 0.15);
    color: #27ae60;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.05);
}

.trust-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Glowing CTA Buttons */
.detail-main-cta {
    position: relative;
    overflow: hidden;
    animation: button-pulse 3s infinite alternate;
}

@keyframes button-pulse {
    0% { box-shadow: 0 6px 18px rgba(201, 147, 134, 0.2); }
    100% { box-shadow: 0 10px 30px rgba(201, 147, 134, 0.45); }
}

/* Specs Items Styling */
.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(201, 147, 134, 0.06);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.spec-item:hover {
    background-color: rgba(201, 147, 134, 0.04);
    transform: translateX(-4px);
}

.spec-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Center Related Products Title Line */
.related-title {
    text-align: center;
}

.related-title::after {
    right: 50% !important;
    transform: translateX(50%) !important;
}

/* ==========================================================================
   Mobile Footer & Detail Responsiveness (Center and Symmetrical)
   ========================================================================== */
@media (max-width: 768px) {
    /* Align category nav to start so horizontal overflow scrolls cleanly starting from 'all' */
    .lux-category-nav {
        text-align: right !important;
        padding: 0 10px !important;
    }

    /* Soften mobile footer shapes and center alignment */
    footer {
        padding: 60px 20px 30px 20px !important;
        margin-top: 80px;
        text-align: center !important;
    }

    .footer-top-brand {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 35px !important;
        padding-bottom: 30px !important;
        gap: 25px !important;
    }

    .footer-brand-logo {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .footer-social-icons {
        justify-content: center !important;
        width: 100% !important;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
        margin-bottom: 40px !important;
    }

    .footer-info p {
        font-size: 0.92rem !important;
        line-height: 1.8 !important;
    }

    .footer-links h3::after, 
    .footer-contact h3::after {
        right: 50% !important;
        transform: translateX(50%) !important;
    }

    .footer-links ul {
        align-items: center !important;
    }

    .footer-links a {
        justify-content: center !important;
    }

    .footer-contact-list {
        align-items: center !important;
    }

    .footer-contact-item {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        padding-top: 25px !important;
    }
}

/* Homepage Featured Section Premium Styling */
.home-catalog-section {
    background: linear-gradient(180deg, var(--white) 0%, rgba(201, 147, 134, 0.04) 50%, var(--white) 100%);
    padding: 100px 25px;
    border-top: 1px solid rgba(201, 147, 134, 0.08);
    position: relative;
}

.home-catalog-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 147, 134, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.home-catalog-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(214, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.home-catalog-section .products-grid {
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .home-catalog-section {
        padding: 60px 15px !important;
    }
    .home-catalog-section .products-grid {
        gap: 15px !important;
    }
}

/* ==========================================================================
   ✨ PREMIUM UI ENHANCEMENT PACK — Scroll Reveals, Marquee, Shine Effects
   ========================================================================== */

/* ── Scroll-Reveal Fade-In ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Trust Ticker / Marquee Strip ── */
.ticker-strip {
    background: linear-gradient(90deg, var(--dark) 0%, #2c2028 50%, var(--dark) 100%);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 99;
}

.ticker-strip::before,
.ticker-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.ticker-strip::before {
    right: 0;
    background: linear-gradient(to right, transparent, #1d1d1f);
}
.ticker-strip::after {
    left: 0;
    background: linear-gradient(to left, transparent, #1d1d1f);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
    gap: 0;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.ticker-gem {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ── Hero Section Shine Overlay ── */
.hero-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.12) 0%,
        transparent 40%,
        transparent 60%,
        rgba(212, 175, 55, 0.06) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

/* ── Stats Row (inside hero) ── */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 147, 134, 0.18);
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-number {
    font-size: 1.55rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--dark-muted);
    font-weight: 500;
}

/* ── Glassmorphism Feature Cards ── */
.features {
    background: linear-gradient(160deg, rgba(255,255,255,0.92) 0%, rgba(253,250,247,0.96) 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,147,134,0.09) 0%, transparent 70%);
    pointer-events: none;
}
.features::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.feature-card {
    background: rgba(255,255,255,0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 147, 134, 0.14) !important;
    box-shadow: 0 8px 30px rgba(201, 147, 134, 0.07) !important;
}

.feature-card:hover {
    box-shadow: 0 20px 50px rgba(201, 147, 134, 0.18) !important;
    border-color: rgba(201, 147, 134, 0.3) !important;
}

/* ── Contact Price Badge (تماس بگیرید) ── */
.price-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(201, 147, 134, 0.1), rgba(212, 175, 55, 0.07));
    border: 1px solid rgba(201, 147, 134, 0.25);
    color: var(--primary-dark);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.price-contact-badge::before {
    content: '📞';
    font-size: 0.85rem;
}

/* ── Product Card — Shimmer on Hover ── */
.product-img-wrapper::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.28) 50%,
        transparent 60%
    );
    transform: skewX(-20deg);
    opacity: 0;
    transition: opacity 0.1s;
    pointer-events: none;
}

.product-card:hover .product-img-wrapper::after {
    opacity: 1;
    animation: card-shimmer 0.7s ease forwards;
}

@keyframes card-shimmer {
    0%   { left: -60%; opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

/* ── Catalog Section Header Decoration ── */
.section-header {
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, var(--primary), var(--accent));
    border-radius: 3px;
    margin: 18px auto 0 auto;
}

/* ── Category Tab Active Glow ── */
.category-tab.active {
    background: linear-gradient(135deg, var(--white), rgba(201,147,134,0.05)) !important;
    box-shadow: 0 4px 20px rgba(201, 147, 134, 0.2) !important;
}

/* ── Entrance animation for product cards ── */
@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card {
    animation: card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* stagger each card */
.product-card:nth-child(1) { animation-delay: 0.04s; }
.product-card:nth-child(2) { animation-delay: 0.10s; }
.product-card:nth-child(3) { animation-delay: 0.16s; }
.product-card:nth-child(4) { animation-delay: 0.22s; }
.product-card:nth-child(5) { animation-delay: 0.28s; }
.product-card:nth-child(6) { animation-delay: 0.34s; }
.product-card:nth-child(7) { animation-delay: 0.40s; }
.product-card:nth-child(8) { animation-delay: 0.46s; }
.product-card:nth-child(n+9) { animation-delay: 0.50s; }

/* ── Wavy Section Separator ── */
.wave-divider {
    line-height: 0;
    overflow: hidden;
    position: relative;
    height: 60px;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ── Gold Accent Number Counter Badge ── */
.hero-badge-strip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
    border: 1px solid rgba(212,175,55,0.25);
    color: #a8893a;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.hero-badge-strip::before {
    content: '✦';
    color: var(--accent);
}

/* ── Section Title Gradient Enhancement ── */
.section-title {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 60%, var(--accent) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ── Footer Enhancement ── */
footer {
    background: linear-gradient(160deg, rgba(255,255,255,0.96) 0%, rgba(253, 246, 242, 1) 100%) !important;
}

/* ── Smooth page entry ── */
@keyframes page-enter {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Mobile Responsive Breadcrumb & Product Page Enhancements ── */
@media (max-width: 768px) {
    .bg-glow-1, .bg-glow-2 {
        display: none !important;
    }
    header {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .nav-container {
        padding: 12px 15px !important;
    }
    .product-detail-main {
        padding: 0 15px !important;
        margin-top: 20px !important;
    }
    .breadcrumb {
        display: block !important;
        line-height: 2 !important;
        margin-bottom: 25px !important;
        font-size: 0.8rem !important;
        text-align: right !important;
        direction: rtl !important;
    }
    .breadcrumb a, 
    .breadcrumb span {
        display: inline !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: middle !important;
    }
    .breadcrumb span:not(.active) {
        margin: 0 6px !important;
        opacity: 0.5;
    }
    .detail-title {
        font-size: 1.6rem !important;
        line-height: 1.45 !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
        text-align: right !important;
        direction: rtl !important;
        background: linear-gradient(135deg, var(--dark), var(--primary-dark));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .detail-info-card {
        padding: 16px !important;
        margin-bottom: 18px !important;
        border-radius: 12px !important;
    }
    .detail-info-card .detail-section-title {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
        padding-right: 10px !important;
    }
    .detail-info-card .detail-description-text {
        font-size: 0.88rem !important;
        line-height: 1.75 !important;
    }
    .detail-image-panel {
        padding: 15px !important;
    }
    .detail-content-panel {
        padding: 20px 15px !important;
    }
    .detail-price-box {
        padding: 14px 16px !important;
        margin-bottom: 22px !important;
        gap: 10px !important;
    }
    .spec-item {
        padding: 12px 10px !important;
        font-size: 0.84rem !important;
    }
    .contact-modal-body {
        padding: 25px 15px !important;
    }
    .modal-container {
        max-height: 95vh !important;
    }
    .hero-floating-card {
        right: 15px !important;
        bottom: 25px !important;
        padding: 12px 18px !important;
        font-size: 0.85rem !important;
    }
}

/* ── Premium Preloader ── */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar-bg {
    width: 200px;
    height: 4px;
    background-color: rgba(201, 147, 134, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    transition: width 0.4s ease;
}

.preloader-text {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    color: var(--dark-muted);
    font-weight: 500;
    direction: rtl;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
}



