/* ===========================
   CSS Variables & Reset
=========================== */
:root {
    --primary: #b8860b;
    --primary-dark: #8b6508;
    --primary-light: #d4a843;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #e94560;
    --dark: #0f0f0f;
    --dark-soft: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --light: #f8f9fa;
    --light-soft: #f0f0f0;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 100px;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Dark Mode
=========================== */
[data-theme="dark"] {
    --white: #1a1a2e;
    --light: #16213e;
    --light-soft: #0f3460;
    --text: #e0e0e0;
    --text-light: #b0b0b0;
    --text-muted: #808080;
    --border: #2a2a4a;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);
    --secondary: #e0e0e0;
}

[data-theme="dark"] .header { background: rgba(26,26,46,0.98); }
[data-theme="dark"] .top-bar { background: #0f0f0f; }
[data-theme="dark"] .product-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .service-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .testimonial-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .contact-info-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .contact-form-wrapper { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .filter-bar { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .filter-tab { border-color: #2a2a4a; color: #b0b0b0; }
[data-theme="dark"] .card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .cart-sidebar { background: #16213e; }
[data-theme="dark"] .product-meta { background: #0f3460; }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: #0f3460; color: #e0e0e0; border-color: #2a2a4a; }
[data-theme="dark"] .maintenance-form-wrapper { background: #16213e; border-color: #2a2a4a; }

/* ===========================
   Theme Toggle Button
=========================== */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

[data-theme="dark"] .theme-toggle i::before {
    content: "\f185";
}

/* ===========================
   Header Icon Links
=========================== */
.header-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.95rem;
    cursor: pointer;
}

.header-icon-link:hover {
    background: var(--light);
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184,134,11,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dark {
    background: var(--secondary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

/* ===========================
   Top Bar
=========================== */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    gap: 16px;
}

.top-bar-right a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--primary-light);
}

.home-page { padding-top: 0; }
.home-page .hero { margin-top: 0; }

/* ===========================
   Header
=========================== */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border);
}
.header.header-scrolled {
    padding: 0 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    gap: 16px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    flex-shrink: 0;
}
.logo:hover { color: var(--primary); }
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(184,134,11,0.3);
}
.logo-highlight {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: 2px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}
.main-nav > ul > li > a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: var(--primary);
    background: none;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
    transform: translateX(-50%) scaleX(1);
}
.main-nav > ul > li > a i {
    font-size: 0.6rem;
    margin-left: 4px;
    transition: var(--transition);
}
.has-dropdown:hover > a i {
    transform: rotate(180deg);
}
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    border: 1px solid var(--border);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

.dropdown li a:hover {
    background: rgba(184,134,11,0.08);
    color: var(--primary);
    padding-left: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 10000;
    padding: 0 24px 24px;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
}

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

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav ul li a {
    display: block;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background: rgba(184,134,11,0.1);
    color: var(--primary);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    height: 64px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text);
}

.mobile-nav-actions {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.mobile-nav-actions .theme-toggle {
    align-self: flex-start;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
}
.mobile-nav-actions .btn {
    width: 100% !important;
    text-align: center;
    justify-content: center;
}

/* ===========================
   Hero Section
=========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,15,15,0.8) 0%, rgba(26,26,46,0.6) 50%, rgba(15,15,15,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    padding-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(184,134,11,0.2);
    border: 1px solid rgba(184,134,11,0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.hero-stat p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* ===========================
   Section Styles
=========================== */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

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

.section-header .section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.bg-light {
    background: var(--light);
}

.bg-dark {
    background: var(--secondary);
    color: var(--white);
}

.bg-dark .section-header h2 {
    color: var(--white);
}

.bg-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* ===========================
   Categories Grid
=========================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    group: true;
}

.category-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 1;
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: var(--white);
}

.category-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.category-card-content .arrow-icon {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.category-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   Product Cards
=========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.product-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 1;
    border: none;
    cursor: pointer;
}

.product-wishlist:hover {
    background: var(--accent);
    color: var(--white);
}

.product-card-body {
    padding: 20px;
}

.product-card-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.product-card-body h3 a:hover {
    color: var(--primary);
}

.product-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.product-price .current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price .original {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 8px;
}

.product-card-footer .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.82rem;
}

/* ===========================
   Product Card - Gallery Thumbnails
=========================== */
.product-card-gallery {
    display: flex;
    gap: 6px;
    padding: 0 16px 12px;
}

.product-card-gallery-thumb {
    flex: 1;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.product-card-gallery-thumb.active,
.product-card-gallery-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(184,134,11,0.2);
}

.product-card-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-gallery-thumb:hover img {
    transform: scale(1.1);
}

.product-card-gallery-count {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    position: relative;
    cursor: pointer;
}

.product-card-gallery-count img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.product-card-gallery-count span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ===========================
   Product Card - Review Stars
=========================== */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.product-card-stars {
    display: flex;
    gap: 2px;
}

.product-card-stars i {
    font-size: 0.72rem;
    color: #f59e0b;
}

.product-card-stars i.empty {
    color: #d1d5db;
}

.product-card-review-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===========================
   Product Card - Quick Actions Overlay
=========================== */
.product-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.product-card:hover .product-card-actions {
    transform: translateY(0);
}

.product-card-actions .btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* ===========================
   Product Card - Hover Overlay
=========================== */
.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ===========================
   Product Card - Stock Badge
=========================== */
.product-badge-stock {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-badge-stock i {
    font-size: 0.6rem;
}

/* ===========================
   Product Detail Gallery Thumbnails
=========================== */
.product-detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.product-detail-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.product-detail-thumb.active,
.product-detail-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.25);
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   Dark Mode - Card Gallery & Rating
=========================== */
[data-theme="dark"] .product-card-gallery-thumb {
    border-color: #2a2a4a;
}
[data-theme="dark"] .product-card-gallery-thumb.active,
[data-theme="dark"] .product-card-gallery-thumb:hover {
    border-color: var(--primary);
}
[data-theme="dark"] .product-card-gallery-count {
    border-color: #2a2a4a;
}
[data-theme="dark"] .product-detail-thumb {
    border-color: #2a2a4a;
}
[data-theme="dark"] .product-detail-thumb.active,
[data-theme="dark"] .product-detail-thumb:hover {
    border-color: var(--primary);
}

/* ===========================
   Featured / About Section
=========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.about-image-accent h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
}

.about-image-accent p {
    font-size: 0.9rem;
}

.about-content .section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===========================
   Services Section
=========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   Projects
=========================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 50%);
}

.project-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-card-content {
    transform: translateY(0);
}

.project-card-content span {
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 8px 0;
}

.project-card-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-card-content p {
    opacity: 1;
}

/* ===========================
   Stats
=========================== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184,134,11,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,134,11,0.2);
    color: var(--primary-light);
    border-radius: 50%;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

/* ===========================
   Testimonials
=========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===========================
   CTA Section
=========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-section::before {
    top: -200px;
    left: -100px;
}

.cta-section::after {
    bottom: -200px;
    right: -100px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ===========================
   Page Banner
=========================== */
.page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 160px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184,134,11,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    position: relative;
}

.page-banner .breadcrumb a {
    color: var(--primary-light);
}

.page-banner .breadcrumb a:hover {
    color: var(--white);
}

/* ===========================
   Filter Bar
=========================== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 16px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-tab:hover,
.filter-tab.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.filter-search {
    display: flex;
    gap: 8px;
}

.filter-search input {
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    min-width: 250px;
    transition: var(--transition);
}

.filter-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-search button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.filter-search button:hover {
    background: var(--primary-dark);
}

.sort-select {
    cursor: pointer;
    appearance: auto;
}

/* ===========================
   Cart Sidebar
=========================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 1101;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-sidebar-header h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--accent);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.cart-empty p {
    margin-bottom: 16px;
}

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

.cart-item-img {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--light);
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--light);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cart-item-qty span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
}

.cart-item-remove:hover {
    color: var(--accent);
}

.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* ===========================
   Cart Page Styles
=========================== */
.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: flex-start;
}

.cart-page-items {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cart-page-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-page-header h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.cart-page-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.cart-page-item:hover {
    background: var(--light);
}

.cart-page-item-img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--light);
}

.cart-page-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-page-item-info {
    flex: 1;
}

.cart-page-item-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cart-page-item-info h4 a {
    color: var(--secondary);
}

.cart-page-item-info h4 a:hover {
    color: var(--primary);
}

.cart-item-cat {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cart-page-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.cart-page-item-price .original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 8px;
}

.cart-page-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-page-item-total {
    font-weight: 700;
    color: var(--secondary);
    min-width: 100px;
    text-align: right;
}

.cart-page-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
}

.cart-page-item-remove:hover {
    color: var(--accent);
}

.cart-page-summary {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.cart-page-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--border);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
}

.cart-free-shipping-note {
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin: 10px 0;
}

.cart-free-shipping-note i {
    margin-right: 6px;
}

/* ===========================
   Checkout Page Styles
=========================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: flex-start;
}

.checkout-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 30px;
}

.checkout-form h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.checkout-summary {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.checkout-items {
    margin-bottom: 16px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-item-info h4 {
    font-size: 0.9rem;
    font-weight: 500;
}

.checkout-item-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checkout-item > span {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary);
    background: rgba(184,134,11,0.05);
}

.payment-option input[type="radio"] {
    accent-color: var(--primary);
}

.payment-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

/* ===========================
   Order Status Styles
=========================== */
.order-status-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cce5ff; color: #004085; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #e2e3f1; color: #383d6e; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

[data-theme="dark"] .status-pending { background: rgba(255,193,7,0.2); }
[data-theme="dark"] .status-confirmed { background: rgba(0,123,255,0.2); }
[data-theme="dark"] .status-processing { background: rgba(23,162,184,0.2); }
[data-theme="dark"] .status-shipped { background: rgba(102,16,242,0.2); }
[data-theme="dark"] .status-delivered { background: rgba(40,167,69,0.2); }
[data-theme="dark"] .status-cancelled { background: rgba(220,53,69,0.2); }

.order-tracking {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.order-tracking::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border);
}

.tracking-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.tracking-dot {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    margin: 0 auto 8px;
    font-size: 0.7rem;
    transition: var(--transition);
}

.tracking-step.active .tracking-dot {
    background: var(--primary);
    color: white;
}

.tracking-step span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

/* ===========================
   Contact Section
=========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.92rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===========================
   Maintenance Section
=========================== */
.maintenance-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.maintenance-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.maintenance-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.maintenance-feature i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.85rem;
}

.maintenance-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===========================
   Maintenance Service Cards
=========================== */
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.maintenance-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

.maintenance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.maintenance-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.maintenance-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.maintenance-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.maintenance-card .meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.maintenance-card .meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===========================
   Product Detail
=========================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.product-detail-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--light);
}

.product-detail-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.product-detail-info .category {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-detail-info .description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.product-meta-item {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
}

.product-meta-item strong {
    color: var(--secondary);
}

/* ===========================
   Project Detail
=========================== */
.project-detail-header {
    position: relative;
    height: 500px;
    margin-top: -60px;
    overflow: hidden;
}

.project-detail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.project-detail-overlay {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 0 40px;
    z-index: 2;
    color: var(--white);
}

.project-detail-overlay h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.project-detail-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.project-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.project-detail-meta span i {
    color: var(--primary-light);
}

/* ===========================
   Footer
=========================== */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-about {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary);
}

.footer-links li a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    min-width: 16px;
}

.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* ===========================
   WhatsApp Float
=========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===========================
   Empty State
=========================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
}

/* ===========================
   Loading Spinner
=========================== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================
   Alert Messages
=========================== */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===========================
   Map Section
=========================== */
.map-section {
    height: 400px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===========================
   Animations
=========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Back to Top
=========================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    z-index: 997;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 1024px) {
    .cta-btn { display: none !important; }
    .main-nav > ul > li > a { padding: 8px 10px; font-size: 0.82rem; }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .cart-page-grid {
        grid-template-columns: 1fr;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body { padding-top: 64px; }
    .main-nav,
    .header-actions .btn,
    .header-actions .header-search-toggle,
    .header-actions .user-menu-wrapper {
        display: none !important;
    }
    .header {
        top: 0;
    }
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }
    .mobile-nav {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 320px;
        background: var(--white);
        z-index: 10001;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 4px 0 30px rgba(0,0,0,0.2);
    }
    .mobile-nav.active {
        transform: translateX(0);
    }
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat h3 {
        font-size: 1.8rem;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .testimonials-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .maintenance-hero {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .page-banner h1,
    .cta-section h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .maintenance-grid {
        grid-template-columns: 1fr;
    }

    .cart-page-item {
        flex-wrap: wrap;
    }

    .cart-page-item-total {
        min-width: auto;
        text-align: left;
        width: 100%;
    }

    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-image-accent {
        display: none;
    }

    .about-features,
    .maintenance-features {
        grid-template-columns: 1fr;
    }

    .cart-page-grid {
        grid-template-columns: 1fr;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* ========= HEADER REFINEMENTS ========= */
.header-search-toggle {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; cursor: pointer;
    transition: var(--transition); color: var(--text-light); font-size: 0.9rem;
    background: none; border: none;
}
.header-search-toggle:hover { background: var(--light); color: var(--primary); }

.cta-btn { border-radius: 6px !important; padding: 6px 16px !important; font-size: 0.78rem !important; letter-spacing: 0.3px; font-weight: 600 !important; text-transform: uppercase; }

.user-menu-wrapper { position: relative; }
.user-menu-toggle {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: none; background: transparent;
    cursor: pointer; transition: var(--transition);
    color: var(--text-light); font-size: 0.95rem;
}
.user-menu-toggle:hover { background: var(--light); color: var(--primary); }

.user-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 600;
}
.user-avatar-lg {
    width: 45px; height: 45px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 600; flex-shrink: 0;
}
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    padding: 8px 0;
    z-index: 1001;
}
.user-dropdown.show { display: block; }
.user-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.user-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; font-size: 0.88rem; color: var(--text);
    transition: var(--transition); text-decoration: none;
}
.user-dropdown a:hover { background: var(--light); color: var(--primary); }
.user-dropdown-header { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem; }
.user-dropdown-header strong { display: block; font-size: 0.9rem; }
.user-dropdown-header small { color: var(--text-secondary); font-size: 0.75rem; }
.user-dropdown a.logout-link { color: #dc2626; }
.user-dropdown a.logout-link:hover { background: rgba(220,38,38,0.08); }

[data-theme="dark"] .header { background: rgba(26,26,46,0.98); border-bottom-color: #2a2a4a; }
[data-theme="dark"] .user-dropdown { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .user-dropdown a:hover { background: rgba(245,158,11,0.1); }

/* Search Overlay */
.search-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); z-index: 20000;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 15vh; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; backdrop-filter: blur(8px);
}
.search-overlay.active { opacity: 1; visibility: visible; }

.search-overlay-inner { width: 100%; max-width: 600px; padding: 0 1.5rem; position: relative; }
.search-overlay-inner form {
    display: flex; background: #fff; border-radius: 60px;
    overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.search-overlay-inner input {
    flex: 1; padding: 1.1rem 1.5rem; border: none;
    font-size: 1.1rem; font-family: var(--font-body); outline: none;
}
.search-overlay-inner form button[type="submit"] {
    padding: 0 1.5rem; border: none; background: var(--primary);
    color: #fff; font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
}
.search-overlay-inner form button[type="submit"]:hover { background: var(--primary-dark); }

.search-close {
    position: absolute; top: -50px; right: 0;
    width: 40px; height: 40px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.15);
    color: #fff; font-size: 1rem; cursor: pointer; transition: background 0.2s;
}
.search-close:hover { background: rgba(255,255,255,0.3); }

.search-suggestions {
    margin-top: 1rem; background: #fff; border-radius: 16px;
    max-height: 300px; overflow-y: auto; display: none;
}
.search-suggestions.active { display: block; }

.search-suggestion-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.8rem 1.2rem; text-decoration: none; color: var(--text);
    transition: background 0.2s; border-bottom: 1px solid var(--border);
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover { background: var(--light); }
.search-suggestion-item img { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; }

/* Mobile Nav enhancements */
.mobile-nav-user {
    padding: 1rem 1.5rem; display: flex; align-items: center;
    gap: 0.8rem; border-bottom: 1px solid var(--border);
}
.mobile-nav-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }

/* SPA Page Transition */
#appContent { opacity: 1; transition: opacity 0.2s ease; }
#appContent.loading { opacity: 0.4; pointer-events: none; }

.page-loader {
    display: none; position: fixed; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 99999;
}
.page-loader.active { display: block; animation: pageLoad 0.6s ease forwards; }
@keyframes pageLoad { 0% { width: 0; } 50% { width: 70%; } 100% { width: 100%; } }

/* Toast */
.toast-container {
    position: fixed; top: 100px; right: 20px; z-index: 99999;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
    padding: 0.8rem 1.2rem; border-radius: 10px; color: #fff;
    font-size: 0.88rem; font-family: var(--font-body);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: toastIn 0.3s ease;
    display: flex; align-items: center; gap: 0.6rem; max-width: 350px;
}
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }
.toast.info { background: #2563eb; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.auth-card { animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===========================
   Profile Page Styles
=========================== */
.profile-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.profile-sidebar .profile-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    position: sticky;
    top: 100px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
}

.profile-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.profile-sidebar p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.profile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.profile-nav:hover {
    background: rgba(184,134,11,0.08);
    color: var(--primary);
}

.profile-nav.active {
    background: var(--primary);
    color: #fff !important;
}

.profile-nav.logout {
    color: #dc2626;
}

.profile-nav.logout:hover {
    background: rgba(220,38,38,0.08);
}

.profile-section-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.profile-section-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.profile-msg {
    display: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

/* ===========================
   Card Component
=========================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary);
    margin: 0;
}

.card-body {
    padding: 20px 24px;
}

/* ===========================
   Track Form
=========================== */
.track-form {
    display: flex;
    gap: 8px;
}

.track-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.track-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===========================
   Order Search Item
=========================== */
.order-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.order-search-item:hover {
    background: var(--light);
    border-color: var(--primary);
}

.order-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.order-card:hover {
    border-color: var(--primary);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.order-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===========================
   Auth Container Override
=========================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--light);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: var(--light);
    border-radius: 12px;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 0.7rem;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--primary);
    color: #fff;
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184,134,11,0.3);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.auth-success {
    background: #d1fae5;
    color: #059669;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

.guest-link {
    text-align: center;
    margin-top: 1rem;
}

.guest-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.guest-link a:hover { text-decoration: underline; }

/* ===========================
   Mobile Profile Layout
=========================== */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-sidebar .profile-card {
        position: static;
    }
    .auth-card {
        padding: 2rem 1.5rem;
    }
}

/* ===========================
   Dark Mode Additions
=========================== */
[data-theme="dark"] .profile-section-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .profile-sidebar .profile-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .order-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .auth-card { background: #16213e; }
[data-theme="dark"] .auth-tabs { background: #0f3460; }
[data-theme="dark"] .auth-logo h1 { color: #e0e0e0; }
[data-theme="dark"] .auth-divider span { background: #16213e; }
[data-theme="dark"] .track-form input { background: #0f3460; color: #e0e0e0; border-color: #2a2a4a; }
[data-theme="dark"] .search-overlay-inner form { background: #16213e; }
[data-theme="dark"] .search-overlay-inner input { color: #e0e0e0; }

/* Reviews Section */
.reviews-summary { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; padding: 24px; background: var(--light); border-radius: 16px; }
.reviews-avg { font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; }
.reviews-avg-stars { color: #f59e0b; font-size: 1.1rem; margin-top: 4px; }
.reviews-count { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.review-card { padding: 20px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.review-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-card-author { font-weight: 600; color: var(--secondary); }
.review-card-date { font-size: 0.82rem; color: var(--text-muted); }
.review-card-stars { color: #f59e0b; margin-bottom: 8px; }
.review-card-text { color: var(--text); line-height: 1.6; }
.review-form { padding: 24px; background: var(--light); border-radius: 16px; margin-top: 24px; }
.review-form h3 { margin-bottom: 16px; }
.star-rating { display: flex; gap: 6px; margin-bottom: 12px; padding: 8px 0; }
.star-rating i { 
    font-size: 1.6rem; cursor: pointer; color: #d1d5db; 
    transition: all 0.15s ease; 
    user-select: none;
    -webkit-user-select: none;
}
.star-rating i.active, .star-rating i:hover { 
    color: #f59e0b; 
    transform: scale(1.15);
    text-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
[data-theme="dark"] .review-card { background: #16213e; border-color: #2a2a4a; }
[data-theme="dark"] .review-form { background: #16213e; }
[data-theme="dark"] .review-form input, [data-theme="dark"] .review-form textarea { background: #0f3460; color: #e0e0e0; border-color: #2a2a4a; }

.mobile-nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
}

/* ===========================
   Mobile Nav Improvements (already handled in main 768px block above)
   =========================== */

/* ===========================
   Tablet Responsive (768px-1024px)
   =========================== */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .maintenance-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
}

/* ===========================
   Small Mobile (max 480px)
   =========================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .hero { min-height: 500px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; }
    .hero-stats { gap: 16px; }
    .hero-stat h3 { font-size: 1.5rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .section-header h2 { font-size: 1.7rem; }
    .cta-section h2 { font-size: 1.7rem; }
    .page-banner h1 { font-size: 1.8rem; }
    .page-banner { padding: 120px 0 60px; }
    .product-card-image { height: 200px; }
    .project-card { height: 300px; }
    .category-card { height: 260px; }
    .about-image-main img { height: 300px; }
    .btn { padding: 12px 24px; font-size: 0.85rem; }
    .btn-lg { padding: 14px 28px; font-size: 0.9rem; }
    .whatsapp-float { bottom: 20px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
    .back-to-top { bottom: 80px; right: 16px; width: 40px; height: 40px; }
    .contact-info-card { padding: 20px; }
    .contact-form-wrapper { padding: 24px; }
    .maintenance-card { padding: 24px; }
    .testimonial-card { padding: 24px; }
    .filter-search input { min-width: 150px; }
    .top-bar .container { flex-direction: column; gap: 8px; text-align: center; }
    .top-bar-left { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .top-bar-left .top-bar-sep { display: none; }
    .hero-content { padding-top: 30px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }
    .product-detail-gallery img { height: 300px; }
    .product-detail-info h1 { font-size: 1.5rem; }
    .project-detail-header { height: 300px; }
    .project-detail-overlay h1 { font-size: 1.8rem; }
    .project-detail-meta { gap: 12px; }
    .footer-top { padding: 50px 0 30px; }
    .stats-section { padding: 50px 0; }
    .cta-section { padding: 50px 0; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-radius: var(--radius-sm); }
    .newsletter-form button { border-radius: var(--radius-sm); }
}

/* ===========================
   Mobile Hamburger Animation Fix
   =========================== */
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   Mobile Nav Overlay
   =========================== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===========================
   Maintenance Page Responsive Fix
   =========================== */
@media (max-width: 768px) {
    .maintenance-hero { gap: 30px; }
    .maintenance-form-wrapper { padding: 20px; }
}
