/* Custom Styling for Mustaqarr Watches (متجر مستقر للساعات) */

:root {
    --primary-bg: #090e1a; /* Very deep navy blue */
    --secondary-bg: #111a2e; /* Card/Panel dark blue */
    --accent-glow: rgba(235, 94, 40, 0.15);
    
    /* Harmonious gradients based on the store identity (Navy + Pink/Purple/Orange outer border) */
    --accent-gradient: linear-gradient(135deg, #e01e5a 0%, #eb5e28 50%, #f7a072 100%);
    --secondary-gradient: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    --gold-gradient: linear-gradient(135deg, #dfa23b 0%, #f1c40f 100%);
    
    --primary-color: #eb5e28; /* Warm sunset orange */
    --secondary-color: #e01e5a; /* Deep pink/magenta */
    --gold-color: #f1c40f; /* Luxury Gold */
    --text-main: #f8f9fa; /* Warm white */
    --text-muted: #a0aec0; /* Soft gray */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(235, 94, 40, 0.3);
    
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(235, 94, 40, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 30, 90, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 45%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(235, 94, 40, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Helper styles for numbers */
.num-text, .price-text {
    font-family: var(--font-en);
    direction: ltr;
    display: inline-block;
}

.ltr-text {
    direction: ltr;
    display: inline-block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-bg);
    border: 2px solid var(--primary-bg);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(235, 94, 40, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(235, 94, 40, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 850;
    background-color: rgba(9, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.main-header.scrolled {
    padding: 0.6rem 0;
    background-color: #090e1ad6;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
}

.logo-area .logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-area .store-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

.logo-area .brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-area .accent-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-speed) ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
}

.cart-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(235, 94, 40, 0.4);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--accent-gradient);
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-bg);
}

.menu-toggle {
    display: none;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 10rem 0 6rem 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(235, 94, 40, 0.06) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.hero-badge {
    background-color: rgba(235, 94, 40, 0.1);
    border: 1px solid rgba(235, 94, 40, 0.25);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.25;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.3;
    filter: blur(15px);
    animation: rotateGlow 15s linear infinite;
}

.hero-watch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--secondary-bg);
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    background: rgba(17, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) ease;
}

.floating-badge i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.floating-badge h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

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

.badge-1 {
    top: 15%;
    right: -40px;
    animation: float1 4s ease-in-out infinite;
}

.badge-2 {
    bottom: 15%;
    left: -40px;
    animation: float2 5s ease-in-out infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Features Grid */
.features-section {
    padding: 3rem 0;
    background-color: rgba(17, 26, 46, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 2.2rem 2rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(235, 94, 40, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    color: #fff;
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Common Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.decor-line {
    width: 70px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 1rem auto 0 auto;
    border-radius: 10px;
}

/* Catalog Section */
.catalog-section {
    padding: 6rem 0;
}

.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 1.1rem 3.5rem 1.1rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(235, 94, 40, 0.15);
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color var(--transition-speed) ease;
}

.search-box input:focus + .search-icon {
    color: var(--primary-color);
}

.clear-search {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
}

.clear-search:hover {
    color: #fff;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-tab {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-speed) ease;
}

.filter-tab:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.filter-tab.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

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

.product-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(9, 14, 26, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 10;
}

.product-badge.gold {
    color: var(--gold-color);
    border-color: rgba(241, 196, 15, 0.3);
}

.product-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #0c1424;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-action-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 14, 26, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 5;
}

.product-card:hover .product-action-overlay {
    opacity: 1;
}

.btn-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-icon-circle:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(235, 94, 40, 0.4);
}

.btn-icon-circle.primary {
    background: var(--accent-gradient);
    border-color: transparent;
}

.btn-icon-circle.primary:hover {
    box-shadow: 0 0 20px rgba(235, 94, 40, 0.6);
}

.product-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    height: 44px; /* Fixed height for 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quick-buy-btn {
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.quick-buy-btn:hover {
    color: var(--primary-color);
}

/* Loading Spinner & No Results */
.loading-spinner, .no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    color: var(--text-muted);
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--secondary-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.no-results h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* About Section CSS */
.about-section {
    padding: 6rem 0;
    background-color: rgba(17, 26, 46, 0.4);
    border-top: 1px solid var(--border-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--accent-gradient);
    padding: 1.2rem 1.8rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.exp-years {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 1.5rem 0 2rem 0;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1.2rem;
}

.item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(235, 94, 40, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Contact & Map Section */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
}

.contact-info-panel h3, .location-map-panel h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #fff;
}

.contact-info-panel > p, .location-map-panel > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-method-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: background-color var(--transition-speed) ease;
}

.contact-method-card:hover::before {
    background: var(--accent-gradient);
}

.contact-method-card:hover {
    border-color: var(--border-hover);
    transform: translateX(-5px);
}

.contact-method-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.contact-method-card.whatsapp .card-icon {
    background-color: #25d366;
}

.contact-method-card.telegram-direct .card-icon {
    background-color: #229ed9;
}

.contact-method-card.telegram-channel .card-icon {
    background-color: #0088cc;
}

.contact-method-card.instagram .card-icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex-grow: 1;
}

.card-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-info strong {
    font-size: 1.05rem;
    color: #fff;
    font-family: var(--font-en);
}

.contact-method-card.whatsapp strong {
    font-family: var(--font-en);
}

.card-action {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: transform var(--transition-speed) ease;
}

.contact-method-card:hover .card-action {
    transform: translateX(-3px);
}

/* Map Panel Styled Elements */
.map-address-desc {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    border-right: 3px solid var(--primary-color);
    font-weight: 600;
}

.visual-map-box {
    position: relative;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    margin-bottom: 1.8rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(235, 94, 40, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.map-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-marker-icon {
    font-size: 2.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
}

.marker-pulse {
    position: absolute;
    top: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(235, 94, 40, 0.4);
    animation: markerPulse 2s infinite ease-out;
    z-index: -1;
}

@keyframes markerPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.map-inner h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-inner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.store-schedule {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.2rem 1.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.schedule-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.schedule-item span {
    color: var(--text-muted);
}

.schedule-item strong {
    color: #fff;
}

/* Shopping Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    left: -420px;
    width: 420px;
    height: 100%;
    background-color: var(--secondary-bg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-right: 1px solid var(--border-color);
}

.cart-drawer.open {
    left: 0;
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cart-drawer-header h3 i {
    color: var(--primary-color);
}

.close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Cart Items & Empty State */
.empty-cart-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto 0;
    color: var(--text-muted);
}

.empty-cart-view i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--border-hover);
}

.empty-cart-view p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    background-color: #0c1424;
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-item-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-details .item-brand {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.cart-item-details .item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-color);
    font-family: var(--font-en);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    justify-content: space-between;
}

.remove-item-btn {
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    transition: color var(--transition-speed) ease;
}

.remove-item-btn:hover {
    color: var(--secondary-color);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color var(--transition-speed) ease;
}

.quantity-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.quantity-val {
    width: 30px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-en);
}

/* Cart Checkout CSS */
.cart-checkout-section {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.total-row strong {
    color: #fff;
    font-family: var(--font-en);
}

.delivery-row .free-text {
    color: #25d366;
    font-size: 0.85rem;
    font-family: var(--font-ar);
}

.totals-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.2rem 0;
}

.grand-total {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
}

.grand-total strong {
    color: var(--gold-color);
    font-size: 1.25rem;
}

.checkout-form {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-form h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #fff;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background-color: rgba(9, 14, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: #fff;
    font-size: 0.85rem;
    transition: all var(--transition-speed) ease;
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Product Modal styling */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1005;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 850px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed) ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-img-column {
    background-color: #0c1424;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.modal-img-column img {
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
}

.modal-details-column {
    padding: 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
}

.modal-brand {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.modal-price-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.modal-price-row .price {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-price-row .availability {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    background-color: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.modal-specs-list {
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
}

.modal-specs-list h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fff;
}

.modal-specs-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.modal-specs-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-specs-list li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-bottom: 0.5rem;
}

/* Footer Styling */
.main-footer {
    background-color: #060a13;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about-col .store-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.footer-about-col .logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-about-col .brand-name {
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-about-col .accent-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(235, 94, 40, 0.3);
}

.social-links a:hover i.fa-instagram {
    color: #e1306c;
}

.social-links a:hover i.fa-telegram {
    color: #0088cc;
}

.social-links a:hover i.fa-whatsapp {
    color: #25d366;
}

.footer-links-col h3, .footer-brands-col h3, .footer-contact-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-col h3::after, .footer-brands-col h3::after, .footer-contact-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
}

.footer-links-col ul, .footer-brands-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-col a, .footer-brands-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col a:hover, .footer-brands-col a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-info li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.8rem;
    line-height: 1.5;
}

.footer-contact-info li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-bottom {
    background-color: #03050a;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.8rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100%;
        background-color: var(--secondary-bg);
        z-index: 950;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 6rem 2rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    .cart-drawer {
        width: 100%;
        left: -100%;
    }
    
    .cart-drawer.open {
        left: 0;
    }
    
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-img-column {
        padding: 1.5rem;
    }
    
    .modal-img-column img {
        max-height: 280px;
    }
    
    .modal-details-column {
        padding: 1.5rem;
    }
    
    .modal-specs-list ul {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .floating-badge {
        padding: 0.5rem 0.8rem;
    }
    
    .badge-1 {
        right: -20px;
    }
    
    .badge-2 {
        left: -20px;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .filter-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .filter-tab {
        flex-shrink: 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
