/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --secondary-color: #2563eb;
    --secondary-dark: #1d4ed8;
    --accent-color: #dc2626;
    --accent-hover: #b91c1c;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-light: #ffffff;
    --bg-gray: #f8fafc;
    --bg-blue: #eff6ff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-light: #0f172a;
    --bg-gray: #1e293b;
    --bg-blue: #1e293b;
    --bg-card: #1e293b;
    --border-color: #334155;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Floating Automotive Tools Background */
.floating-tools-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-tool {
    position: absolute;
    font-size: 4rem;
    opacity: 0.18;
    animation: float 20s infinite ease-in-out;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    display: block;
    filter: blur(0.5px);
}

[data-theme="dark"] .floating-tool {
    opacity: 0.15;
}

.tool-1 { top: 10%; left: 5%; animation-delay: 0s; }
.tool-2 { top: 20%; left: 85%; animation-delay: 2s; }
.tool-3 { top: 40%; left: 10%; animation-delay: 4s; }
.tool-4 { top: 50%; left: 90%; animation-delay: 6s; }
.tool-5 { top: 70%; left: 15%; animation-delay: 8s; }
.tool-6 { top: 80%; left: 80%; animation-delay: 10s; }
.tool-7 { top: 30%; left: 50%; animation-delay: 12s; }
.tool-8 { top: 60%; left: 70%; animation-delay: 14s; }
.tool-9 { top: 15%; left: 40%; animation-delay: 16s; }
.tool-10 { top: 75%; left: 30%; animation-delay: 18s; }
.tool-11 { top: 45%; left: 25%; animation-delay: 20s; }
.tool-12 { top: 55%; left: 60%; animation-delay: 22s; }

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s ease, border-color 0.3s ease;
}

section {
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-brand:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

[data-theme="dark"] .nav-brand {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-name-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.products-search {
    max-width: 600px;
    margin: 2rem auto 0;
    width: 100%;
}

.products-search .search-input {
    width: 100%;
}

.products-search .search-input:focus {
    width: 100%;
}

.search-input {
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 250px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    width: 300px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-icon {
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-gray);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-item-info {
    flex: 1;
}

.search-result-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.search-result-item-price {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-gray);
    border-color: var(--primary-color);
}

.theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: all 0.3s ease;
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.cart-icon {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.btn-cta {
    padding: 10px 24px;
    background: var(--primary-color);
    color: var(--bg-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/wallpaper/13644.jpg') center/cover no-repeat;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero::before {
    background: rgba(15, 23, 42, 0.35);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    clip-path: ellipse(80% 60% at 100% 100%);
    opacity: 0.1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 968px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero-text {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-title .highlight {
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-light);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.new-badge::after {
    content: '▼';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 0.8rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Feature Cards Section */
.features {
    background: var(--bg-light);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Image Viewer */
.image-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-viewer-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-viewer-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.image-viewer-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-viewer-caption {
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .features {
        display: none;
    }
    
    .image-viewer-close {
        top: 10px;
        right: 10px;
    }
}

.features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    min-height: auto;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: var(--primary-color);
    background: var(--bg-light);
}

[data-theme="dark"] .feature-card:hover {
    background: var(--bg-card);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    transition: all 0.4s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    background: var(--primary-dark);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 3;
    stroke: white;
    fill: none;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-align: left;
    flex: 1;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-title .highlight {
    color: var(--primary-color);
}

/* Products and Services Section Titles - Red Color */
#products .section-title,
#services .section-title {
    color: var(--primary-color);
}

#products .product-name,
#services .service-title {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Products Section */
.products {
    background: var(--bg-light);
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
}

.trust-badges-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: badgeFadeIn 0.5s ease;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.trust-badge.quality {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.trust-badge.delivery {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.trust-badge.bestseller {
    background: rgba(251, 191, 36, 0.9);
    color: #1e293b;
}

.trust-badge.warranty {
    background: rgba(139, 92, 246, 0.9);
    color: white;
}

.trust-badge.secure {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.trust-badge.verified {
    background: rgba(220, 38, 38, 0.9);
    color: white;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-card::before {
    background: var(--primary-color);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-gray);
}

.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.stock-badge.out-of-stock {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.stock-badge.featured {
    top: 12px;
    left: 12px;
    right: auto;
    background: rgba(251, 191, 36, 0.95);
    color: #1e293b;
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

.product-availability {
    margin: 16px 0;
    display: flex;
    align-items: center;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stock-status.in-stock {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #16a34a;
    border: 2px solid rgba(34, 197, 94, 0.3);
    position: relative;
}

.stock-status.in-stock::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
    flex-shrink: 0;
}

[data-theme="dark"] .stock-status.in-stock {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.15) 100%);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.5);
}

[data-theme="dark"] .stock-status.in-stock::before {
    background: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.6);
}

.stock-status.out-of-stock-status {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
    position: relative;
}

.stock-status.out-of-stock-status::before {
    content: '✗';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    flex-shrink: 0;
}

[data-theme="dark"] .stock-status.out-of-stock-status {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(239, 68, 68, 0.15) 100%);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.5);
}

[data-theme="dark"] .stock-status.out-of-stock-status::before {
    background: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
}

.product-card:hover .stock-status {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    pointer-events: auto;
    z-index: 2;
    position: relative;
    cursor: pointer;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

.product-overlay .product-btn {
    pointer-events: auto;
    z-index: 3;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-buy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-book-service {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book-service:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.service-card .btn-book-service {
    margin-top: 1rem;
    width: 100%;
    padding: 10px;
}

/* Services Section */
.services {
    background: var(--bg-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.service-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.service-toggle:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

.service-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-card.active .service-toggle svg {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    padding: 0;
    margin: 0;
}

.service-card.active .service-details {
    max-height: 500px;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.service-details p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-details p:last-child {
    margin-bottom: 0;
}

.service-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: var(--bg-light);
    border-width: 2px;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

.about .feature-item .feature-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--bg-light);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: var(--bg-blue);
    border-radius: 20px;
    padding: 4rem;
    border: 1px solid var(--border-color);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.placeholder-content {
    text-align: center;
    position: relative;
}

.mechanic-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    object-fit: cover;
    animation: fadeInUp 1s ease;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.car-body {
    animation: carBounce 2s ease-in-out infinite;
    transform-origin: center;
}

.car-roof {
    animation: carBounce 2s ease-in-out infinite 0.1s;
    transform-origin: center;
}

.wheel-1, .wheel-2 {
    animation: wheelSpin 1s linear infinite;
    transform-origin: center;
}

.wheel-inner-1, .wheel-inner-2 {
    animation: wheelSpinReverse 0.8s linear infinite;
    transform-origin: center;
}

.wheel-center-1, .wheel-center-2 {
    animation: wheelSpin 1.2s linear infinite;
    transform-origin: center;
}

.headlight {
    animation: headlightBlink 2s ease-in-out infinite;
}

.exhaust {
    animation: exhaustPuff 1.5s ease-in-out infinite;
    opacity: 0.7;
}

.sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    animation-delay: 0s;
}

.sparkle-2 {
    animation-delay: 0.5s;
}

.sparkle-3 {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes carBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes wheelSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wheelSpinReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes headlightBlink {
    0%, 100% {
        opacity: 1;
        fill: #fbbf24;
    }
    50% {
        opacity: 0.7;
        fill: #f59e0b;
    }
}

@keyframes exhaustPuff {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.7;
        transform: scaleY(1.2);
    }
}

.smoke {
    animation: smokeFloat 3s ease-in-out infinite;
}

.smoke-1 {
    animation-delay: 0s;
}

.smoke-2 {
    animation-delay: 0.5s;
}

.smoke-3 {
    animation-delay: 1s;
}

.smoke-4 {
    animation-delay: 1.5s;
}

@keyframes smokeFloat {
    0% {
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        opacity: 0.2;
        transform: translateY(-20px) scale(1.2);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.placeholder-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    animation: textFade 3s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Hazard Lights Animation */
.hazard-light.active {
    animation: hazardBlink 0.5s ease-in-out infinite;
}

@keyframes hazardBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Alarm System Animations */
.alarm-light.active {
    animation: alarmFlash 0.3s ease-in-out infinite;
}

.alarm-light-1.active {
    animation-delay: 0s;
}

.alarm-light-2.active {
    animation-delay: 0.15s;
}

@keyframes alarmFlash {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.sound-wave.active {
    animation: soundPulse 1s ease-out infinite;
}

.sound-wave-1.active {
    animation-delay: 0s;
}

.sound-wave-2.active {
    animation-delay: 0.3s;
}

.sound-wave-3.active {
    animation-delay: 0.6s;
}

@keyframes soundPulse {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes carShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

@keyframes pulseText {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Contact Section */
.contact {
    background: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input select {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--text-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    color: #ffffff;
    transition: background 0.3s ease;
}

[data-theme="dark"] .footer {
    background: #0a0f1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-brand .brand-name-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand .brand-name {
    color: #ffffff;
    font-size: 1.3rem;
}

.footer-brand .brand-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        margin: 0;
        gap: 1.5rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 3;
        margin-left: auto;
    }
    
    .nav-actions {
        gap: 0.5rem;
        order: 2;
    }
    
    .nav-actions .search-container {
        display: none;
    }
    
    .products-search {
        display: block !important;
        margin-top: 2rem;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        text-align: left;
    }
    
    .service-header {
        gap: 0.75rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin: 0;
    }
    
    .service-title {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .service-card.active {
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    }
    
    .service-card.active .service-header {
        margin-bottom: 1rem;
    }
    
    .nav-brand {
        order: 1;
    }

    .btn-cta {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-light);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.cart-item-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-item-total {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-saved-info {
    margin-top: 1rem;
    padding: 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #16a34a;
    font-size: 0.9rem;
    text-align: center;
}

[data-theme="dark"] .cart-saved-info {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

/* Product Detail Modal */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.product-modal-overlay.active {
    display: flex;
}

.product-modal {
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-modal-image-section {
    position: sticky;
    top: 0;
}

.product-modal-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.product-modal-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-modal-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-modal-thumbnail:hover,
.product-modal-thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.product-modal-availability {
    margin: 0.5rem 0;
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.product-modal-details {
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 12px;
    margin: 1rem 0;
}

.product-modal-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-modal-details ul {
    list-style: none;
    padding: 0;
}

.product-modal-details li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.product-modal-details li:last-child {
    border-bottom: none;
}

.product-modal-details li strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.product-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.product-modal-actions .btn {
    flex: 1;
    padding: 14px 24px;
    font-size: 1rem;
}

@media (max-width: 968px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }

    .product-modal-image-section {
        position: relative;
    }

    .search-input {
        width: 200px;
    }

    .search-input:focus {
        width: 250px;
    }
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .cart-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-light);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.booking-content {
    padding: 2rem;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.booking-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
}

.booking-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.booking-close:hover {
    color: var(--primary-color);
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .booking-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.booking-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: #22c55e;
}

.notification-error {
    background: #ef4444;
}

.notification-info {
    background: var(--primary-color);
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: #ffffff;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--text-primary);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* Chatbot */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.chatbot-toggle-icon {
    font-size: 1.5rem;
}

.chatbot-toggle-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    transition: background 0.3s ease;
}

.chatbot-container.active {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.chatbot-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-status {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-gray);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: background 0.3s ease;
}

.chatbot-message {
    display: flex;
    gap: 10px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: var(--primary-color);
    color: white;
}

.user-message .message-avatar {
    background: var(--secondary-color);
    color: white;
}

.message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message .message-content {
    background: var(--bg-card);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-input-container {
    padding: 15px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.chatbot-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--primary-color);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-send:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.chatbot-send svg {
    width: 20px;
    height: 20px;
}

/* Product Importance and Read More Button */
.product-importance {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    font-style: italic;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(220, 38, 38, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.btn-read-more {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.75rem 0;
    width: 100%;
    display: block;
    text-align: center;
}

.btn-read-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Product Description Modal */
.product-description-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-description-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-description-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.product-description-modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.product-description-modal.active .product-description-modal-content {
    transform: scale(1) translateY(0);
}

.product-description-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.product-description-modal-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.product-description-header {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0.02) 100%);
}

.product-description-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
    flex-shrink: 0;
}

.product-description-title-section {
    flex: 1;
}

.product-description-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-description-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.product-description-content {
    padding: 2rem;
    line-height: 1.8;
}

.description-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.description-section-title:first-child {
    margin-top: 0;
}

.description-paragraph {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.description-bullet-point {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.description-bullet-point::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.product-description-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-color);
    background: var(--bg-gray);
}

.product-description-actions .btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100% - 40px);
        height: calc(100vh - 120px);
        bottom: 80px;
        right: 20px;
        left: 20px;
    }
    
    .product-description-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .product-description-header {
        flex-direction: column;
        text-align: center;
    }
    
    .product-description-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .product-description-name {
        font-size: 1.5rem;
    }
    
    .product-description-price {
        font-size: 1.25rem;
    }
    
    .product-description-content {
        padding: 1.5rem;
    }
    
    .product-description-actions {
        flex-direction: column;
        padding: 1rem 1.5rem;
    }

    .whatsapp-float {
        bottom: 80px;
    }
}
