body {
    font-family: 'Inter', sans-serif;
    background-color: #0a101f;
    color: #e2e8f0;
}
.product-page-bg {
    background: linear-gradient(180deg, #0a101f 0%, #1e293b 100%);
}
.glass-effect {
    background: rgba(20, 29, 49, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-button {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(59, 130, 246, 0.4);
}
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.7s ease;
    z-index: -1;
}
.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}
.section-title {
    background: -webkit-linear-gradient(#3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page { display: none; }
#main-content { display: block; }
.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}
.thumbnail.active {
    border-color: #3b82f6;
}

/* --- ANIMATIONS --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animated-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* --- CAROUSEL STYLES --- */
#category-carousel {
    perspective: 1000px;
}
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, z-index 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.carousel-item .glass-effect {
    width: 100%;
    max-width: 320px;
}
.carousel-item.center {
    transform: translateX(0) scale(1.25);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}
.carousel-item.left {
    transform: translateX(-35%) scale(0.85);
    opacity: 0.5;
    z-index: 5;
}
.carousel-item.right {
    transform: translateX(35%) scale(0.85);
    opacity: 0.5;
    z-index: 5;
}
.carousel-item.far-left {
    transform: translateX(-65%) scale(0.7);
    opacity: 0.2;
    z-index: 1;
}
.carousel-item.far-right {
    transform: translateX(65%) scale(0.7);
    opacity: 0.2;
    z-index: 1;
}
.carousel-item.hide-left, .carousel-item.hide-right {
    transform: scale(0);
    opacity: 0;
}

/* --- BRANCHES & IMAGE FRAME STYLES --- */
.branch-image-container {
    position: relative;
    width: 100%;
    height: 14rem; /* h-56 */
}
.branch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-frame {
    background: radial-gradient(circle, rgba(30, 41, 59, 0.8) 0%, rgba(10, 16, 31, 0.9) 100%);
    border-radius: 0.5rem;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonial-card {
    width: calc(100% / 3 - 2rem); /* 3 cards with gap */
    margin: 0 1rem;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .testimonial-card {
        width: calc(50% - 2rem); /* 2 cards on tablet */
    }
}
@media (max-width: 768px) {
    .testimonial-card {
        width: calc(100% - 2rem); /* 1 card on mobile */
    }
}
.star-rating .star {
    color: #6b7280; /* Gray-500 for empty stars */
}
.star-rating .star.filled {
    color: #f59e0b; /* Amber-400 for filled stars */
}

/* --- POP-UP MODAL & NOTIFICATION --- */
@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modal-content-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
#greeting-modal.visible {
    animation: modal-fade-in 0.3s ease-out forwards;
}
#greeting-modal .modal-content {
    animation: modal-content-in 0.3s ease-out forwards;
}
.greeting-card-bg {
    background: linear-gradient(135deg, #ffffff, #e0e7ff, #f3e8ff);
    background-size: 400% 400%;
    animation: gradient-animation 10s ease infinite;
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes notification-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
#cart-notification {
    animation: notification-in 0.5s ease-out forwards;
}
.text-glow {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 20px rgba(59, 130, 246, 0.4);
}
.component-scroller {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
}
.component-scroller::-webkit-scrollbar {
    display: none;
}
.component-card {
    flex: 0 0 280px;
    margin-right: 1.5rem;
}

/* REPAIR SLIDER */
.repair-image-scroller {
    height: 160px; /* Increased from 120px */
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
}
.repair-image-scroller .flex {
    animation: scroll-repair 30s linear infinite;
}
@keyframes scroll-repair {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.repair-image-scroller img {
    height: 160px; /* Increased from 120px */
    width: auto;
    max-width: 240px; /* Increased max-width */
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    object-fit: contain; /* This ensures the whole image is visible */
}

/* SUB-CATEGORY CARDS */
.sub-category-trigger {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.sub-category-trigger:nth-child(odd) {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(10, 16, 31, 0.3)); /* Faded Purple */
    border-color: rgba(168, 85, 247, 0.2);
}
.sub-category-trigger:nth-child(even) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(10, 16, 31, 0.3)); /* Faded Yellow/Amber */
    border-color: rgba(245, 158, 11, 0.2);
}
.sub-category-trigger:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}
.sub-category-description {
    font-size: 0.8rem;
    color: #9ca3af; /* text-gray-400 */
    transition: color 0.3s ease;
}
.sub-category-trigger:hover .sub-category-description {
    color: #e5e7eb; /* text-gray-200 */
}

/* FILTER BUTTONS */
.filter-btn {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
}
.filter-btn:hover {
    background-color: rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}
.filter-btn.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}
.quote-option-btn {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: white;
}
.quote-option-btn:hover {
    background-color: rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

/* SEARCH PAGE */
.search-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    transition: color 0.2s ease-in-out;
    cursor: pointer;
}
.search-shortcut:hover {
    color: white;
}
.search-shortcut-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 41, 59, 0.5);
    transition: background-color 0.2s ease-in-out;
}
.search-shortcut:hover .search-shortcut-icon {
    background-color: rgba(59, 130, 246, 0.3);
}
