/*
 * Component styles for All Things Ford
 * File path: assets/css/components.css
 * Additional styling for components like sliders, cards, etc.
 */

/* Add to cart button animation */
.cart-shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-2px, 0, 0); }
    40%, 60% { transform: translate3d(2px, 0, 0); }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
    margin-bottom: 30px;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
}

.hero-slide:first-child {
    display: block;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: #fff;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.hero-btn:hover {
    background-color: #e6232c;
    transform: translateY(-3px);
    color: #fff;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
}

.slider-nav:hover {
    background-color: #0066cc;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Product Cards */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-title a {
    color: #333;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #0066cc;
}

.product-card-category {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-card-price {
    font-weight: 700;
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 15px;
}

.product-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
    margin-bottom: 30px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: background-color 0.3s;
}

.category-card:hover .category-card-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.category-card-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.category-card-count {
    color: #fff;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
}

/* Section styles */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 40px;
    color: #666;
}

/* Product Detail Page */
.product-detail {
    margin-top: 30px;
}

.product-gallery {
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: #0066cc;
}

.product-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-meta {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.product-meta span {
    margin-right: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background-color: #f1f1f1;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 5px;
}

.add-to-cart-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #e6232c;
}

.product-description {
    margin-top: 30px;
}

.tab-list {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-link.active {
    color: #0066cc;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #0066cc;
    outline: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #e6232c;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 300px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 250px;
    }
    
    .hero-slide-content {
        left: 5%;
        right: 5%;
    }
    
    .hero-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .hero-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}
/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.model-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
    margin-bottom: 0;
}

.model-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.model-card:hover img {
    transform: scale(1.05);
}

.model-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: background-color 0.3s;
}

.model-card:hover .model-card-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.model-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.model-card-years {
    color: #fff;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: 20px;
}

.model-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: #0066cc;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
    color: #333;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 10px;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-vehicle {
    font-size: 14px;
    color: #666;
}

/* Newsletter */
.newsletter {
    background-color: #0066cc;
    color: #fff;
    padding: 60px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-content {
    flex: 0 0 45%;
}

.newsletter-content h2 {
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    flex: 0 0 50%;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    background-color: #e6232c;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #d41e26;
}

/* Background utilities */
.bg-light {
    background-color: #f5f7fa;
}

/* Spacing utilities */
.mt-40 {
    margin-top: 40px;
}

.text-center {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        margin-bottom: 20px;
    }
    
    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .models-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for Features and Testimonials */
@media (max-width: 1199px) {
    .features-grid {
        gap: 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .testimonials-slider {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .why-choose-us,
    .testimonials {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
    
    .feature-title {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Why Choose Us Section - Improved Style */
.why-choose-us {
    background-color: #f8f9fa;
    position: relative;
    padding: 80px 0;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-repeat: repeat;
    opacity: 0.05;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 204, 0.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0066cc;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #0066cc;
    color: #fff;
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #e6232c;
}

.feature-text {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Testimonials Section - Improved Style */
.testimonials {
    background-color: #fff;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 102, 204, 0.05);
    border-radius: 50%;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(230, 35, 44, 0.05);
    border-radius: 50%;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-item::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: rgba(0, 102, 204, 0.1);
}

.testimonial-content {
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.6;
    color: #555;
    position: relative;
    z-index: 1;
    padding-top: 10px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 12px;
    font-size: 16px;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 18px;
}

.testimonial-vehicle {
    font-size: 14px;
    color: #0066cc;
    font-weight: 500;
}

.testimonial-item:nth-child(even) {
    background-color: #f8f9fa;
}

.testimonial-item:nth-child(even)::before {
    color: rgba(230, 35, 44, 0.1);
}

.testimonial-item:nth-child(even) .testimonial-vehicle {
    color: #e6232c;
}
/* Breadcrumbs */
.breadcrumbs {
    background-color: #f5f7fa;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    font-size: 14px;
    color: #666;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb-list li a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-list li a:hover {
    color: #0066cc;
}

.breadcrumb-list li:last-child {
    color: #333;
    font-weight: 500;
}

/* Products Container Layout */
.products-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Product Filters */
.product-filters {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filter-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.filter-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.filter-body {
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 16px;
    margin: 0 0 15px;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.filter-search {
    display: flex;
}

.filter-search input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.filter-search button {
    padding: 0 12px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.filter-option {
    display: flex;
    align-items: center;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    margin-right: 8px;
}

.price-range {
    margin-top: 15px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.price-input {
    flex: 1;
}

.price-input label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.price-input input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Products Content */
.products-content {
    min-height: 400px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.products-count p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.products-sort {
    display: flex;
    align-items: center;
}

.products-sort label {
    margin-right: 10px;
    font-size: 14px;
    color: #666;
}

.sort-select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825l4.15-4.15a.75.75 0 0 0-1.06-1.06L6 6.685 2.91 3.615a.75.75 0 0 0-1.06 1.06L6 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.no-products {
    background-color: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
}

.no-products p {
    margin-bottom: 20px;
    color: #666;
}

/* Product Detail Styles */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    position: relative;
}

.main-image-container {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.product-thumbnail:hover {
    border-color: #ddd;
}

.product-thumbnail.active {
    border-color: #0066cc;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom:
    /* Product Detail Styles (continued) */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.product-meta a {
    color: #0066cc;
    text-decoration: none;
}

.product-meta a:hover {
    text-decoration: underline;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #ffc107;
}

.rating-count {
    color: #666;
}

.product-price {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 18px;
}

.current-price {
    color: #0066cc;
    font-size: 28px;
    font-weight: 700;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.product-stock {
    margin-bottom: 20px;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
}

.in-stock {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.out-of-stock {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-compatibility {
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.product-compatibility h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.compatibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.compatibility-list li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.compatibility-list li i {
    color: #28a745;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f0f2f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    user-select: none;
}

.quantity-decrease {
    border-radius: 4px 0 0 4px;
}

.quantity-increase {
    border-radius: 0 4px 4px 0;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
}

.product-tabs {
    margin-bottom: 40px;
}

.tab-list {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.tab-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-item {
    padding: 12px 20px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-item.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

/* Compatibility Table */
.compatibility-table {
    margin: 20px 0;
    overflow-x: auto;
}

.compatibility-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compatibility-table th, 
.compatibility-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.compatibility-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.compatibility-checker {
    margin-top: 30px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.compatibility-checker h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.compatibility-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.compatibility-form .form-group {
    margin-bottom: 0;
}

.compatibility-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.compatibility-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.compatibility-form button {
    height: 42px;
}

#compatibility-result {
    margin-top: 15px;
}

.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-info {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.alert i {
    margin-right: 8px;
}

/* Reviews */
.review-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.review-avg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-avg-rating {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.review-avg-stars {
    color: #ffc107;
    font-size: 20px;
    margin: 5px 0;
}

.review-avg-count {
    color: #666;
    font-size: 14px;
}

.review-bars {
    flex: 1;
}

.review-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.review-bar-label {
    width: 40px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
}

.review-bar-outer {
    flex: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-inner {
    height: 100%;
    background-color: #ffc107;
    border-radius: 4px;
}

.review-bar-count {
    width: 30px;
    margin-left: 10px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: #333;
}

.review-date {
    color: #666;
    font-size: 14px;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-content {
    color: #555;
    line-height: 1.6;
}

.write-review {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.write-review h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.rating-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-option input[type="radio"] {
    margin: 0;
}

.rating-option label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-option i {
    color: #ffc107;
}

.review-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    resize: vertical;
    margin-bottom: 15px;
}

.login-to-review {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.login-to-review p {
    margin: 0;
}

.login-to-review a {
    color: #0066cc;
    font-weight: 500;
}

/* Related Products */
.related-products {
    margin-top: 60px;
}

/* Responsive Styles for Product Pages */
@media (max-width: 1199px) {
    .product-detail-container {
        gap: 30px;
    }
    
    .main-image-container {
        height: 350px;
    }
}

@media (max-width: 991px) {
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .filter-toggle {
        display: block;
    }
    
    .filter-body {
        display: none;
    }
    
    .filter-body.active {
        display: block;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .compatibility-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .compatibility-form button {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .review-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .compatibility-form {
        grid-template-columns: 1fr;
    }
    
    .compatibility-form button {
        grid-column: auto;
    }
}

@media (max-width: 575px) {
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .rating-selector {
        flex-wrap: wrap;
    }
}
/* Cart Styles */
.cart-section {
    padding: 40px 0 60px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.empty-cart-icon {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-cart p {
    color: #666;
    margin-bottom: 20px;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th {
    background-color: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #dee2e6;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-product-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-product-title a {
    color: #333;
    text-decoration: none;
}

.cart-product-title a:hover {
    color: #0066cc;
}

.cart-product-meta {
    color: #666;
    font-size: 14px;
}

.cart-quantity {
    width: 120px;
}

.btn-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

.btn-remove:hover {
    color: #c82333;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-coupon {
    display: flex;
}

.coupon-input {
    padding: 8px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.cart-coupon .btn {
    border-radius: 0 4px 4px 0;
}

.cart-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.summary-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #333;
}

.summary-total {
    font-weight: 700;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.checkout-button {
    margin-top: 20px;
    margin-bottom: 15px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 12px 20px;
    font-size: 16px;
}

.continue-shopping {
    text-align: center;
}

.continue-shopping a {
    color: #666;
    text-decoration: none;
}

.continue-shopping a:hover {
    color: #0066cc;
}

.cart-features {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-feature:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cart-feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    margin-right: 15px;
    font-size: 16px;
}

.cart-feature-text h4 {
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: 600;
    color: #333;
}

.cart-feature-text p {
    font-size: 13px;
    margin: 0;
    color: #666;
}

/* Responsive cart styles */
@media (max-width: 991px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-items {
        order: 2;
    }
    
    .cart-sidebar {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .cart-table {
        display: block;
        overflow-x: auto;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-coupon {
        margin-bottom: 15px;
    }
}

@media (max-width: 575px) {
    .cart-product {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-product-image {
        margin-bottom: 10px;
        margin-right: 0;
    }
}
/* Checkout Styles */
.checkout-section {
    padding: 40px 0 60px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}

.form-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.required {
    color: #dc3545;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    position: relative;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.payment-title {
    font-weight: 500;
    color: #333;
}

.payment-icons {
    display: flex;
    gap: 5px;
    color: #0066cc;
    font-size: 20px;
}

.payment-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: none;
}

.payment-note {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.payment-method input[type="radio"]:checked + label {
    color: #0066cc;
}

.payment-method input[type="radio"]:checked ~ .payment-details {
    display: block;
}

.order-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.order-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.order-summary-table th,
.order-summary-table td {
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}

.order-summary-table th {
    font-weight: 600;
    color: #333;
}

.order-summary-table tfoot th,
.order-summary-table tfoot td {
    font-weight: 600;
}

.order-total th,
.order-total td {
    font-size: 18px;
    color: #333;
}

.checkout-actions {
    margin-top: 20px;
}

.secure-checkout {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.secure-checkout-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    margin-right: 15px;
    font-size: 16px;
}

.secure-checkout-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.secure-checkout-text p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

@media (max-width: 991px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-form {
        order: 2;
    }
    
    .checkout-sidebar {
        order: 1;
        margin-bottom: 30px;
    }
    
    .order-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* Order Confirmation Styles */
.confirmation-section {
    padding: 40px 0 60px;
}

.order-confirmation {
    max-width: 900px;
    margin: 0 auto;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 40px;
}

.confirmation-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 15px;
}

.confirmation-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.confirmation-message {
    font-size: 16px;
    color: #666;
}

.order-details-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.order-info-box {
    flex: 1 1 200px;
    margin-bottom: 15px;
}

.info-title {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    color: #666;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.order-items-table th,
.order-items-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.order-items-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.order-product {
    display: flex;
    align-items: center;
}

.order-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-product-title {
    font-size: 16px;
    margin: 0;
}

.order-product-title a {
    color: #333;
    text-decoration: none;
}

.order-product-title a:hover {
    color: #0066cc;
}

.shipping-address,
.order-notes {
    margin-bottom: 30px;
}

address {
    font-style: normal;
    line-height: 1.6;
    color: #666;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 767px) {
    .order-info {
        flex-direction: column;
    }
    
    .order-info-box {
        margin-bottom: 15px;
    }
    
    .order-items-table {
        display: block;
        overflow-x: auto;
    }
    
    .confirmation-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
}
/* Account Page Styles */
.account-section {
    padding: 40px 0 60px;
}

.account-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.account-nav {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.account-user {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.account-avatar {
    width: 60px;
    height: 60px;
    background-color: #f5f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 24px;
    margin-right: 15px;
}

.account-name {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.account-email {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu-item {
    border-bottom: 1px solid #eee;
}

.account-menu-item:last-child {
    border-bottom: none;
}

.account-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.account-menu-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.account-menu-link:hover,
.account-menu-item.active .account-menu-link {
    background-color: #f5f7fa;
    color: #0066cc;
}

.account-content {
    min-height: 500px;
}

.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

.tab-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.account-welcome {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.account-welcome h2 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #333;
}

.account-welcome p {
    color: #666;
    margin-bottom: 0;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.account-stat-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 20px;
    margin-right: 15px;
}

.stat-info {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.account-recent-orders,
.form-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: -15px;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
}

.account-table th,
.account-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.account-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #333;
}

.order-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-processing {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.status-shipped {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-delivered {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-cancelled {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.no-orders {
    text-align: center;
    padding: 30px 20px;
}

.no-orders p {
    margin-bottom: 20px;
    color: #666;
}

.view-all {
    text-align: center;
    margin-top: 20px;
}

.view-all-link {
    color: #0066cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.view-all-link:hover {
    text-decoration: underline;
}

.view-all-link i {
    margin-left: 5px;
}

.form-actions {
    margin-top: 20px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Order Detail Styles */
.order-detail-section {
    padding: 40px 0 60px;
}

.order-detail {
    max-width: 900px;
    margin: 0 auto;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.order-date {
    color: #666;
    font-size: 16px;
}

.order-date i {
    margin-right: 5px;
}

.order-status-bar {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background-color: #f5f7fa;
    border: 2px solid #ddd;
    color: #ddd;
    font-size: 16px;
}

.status-label {
    font-size: 14px;
    color: #666;
    text-transform: capitalize;
}

.status-line {
    height: 2px;
    background-color: #ddd;
    flex: 1;
    z-index: 1;
}

.status-completed .status-icon {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.status-current .status-icon {
    background-color: #fff;
    border-color: #0066cc;
    color: #0066cc;
}

.status-completed .status-label {
    color: #333;
    font-weight: 600;
}

.status-current .status-label {
    color: #0066cc;
    font-weight: 600;
}

.line-completed {
    background-color: #28a745;
}

.status-cancelled .status-icon {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.status-cancelled .status-label {
    color: #dc3545;
    font-weight: 600;
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.order-notes {
    grid-column: span 2;
}

.order-info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
}

.info-label {
    font-weight: 500;
    color: #333;
}

.info-value {
    color: #666;
}

address {
    font-style: normal;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-row {
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #333;
}

.order-items-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.order-items-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #333;
}

.order-product {
    display: flex;
    align-items: center;
}

.order-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-product-title {
    font-size: 16px;
    margin: 0;
}

.order-product-title a {
    color: #333;
    text-decoration: none;
}

.order-product-title a:hover {
    color: #0066cc;
}

.order-actions {
    display: flex;
    justify-content: space-between;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .account-nav {
        margin-bottom: 30px;
    }
    
    .account-user {
        padding: 15px;
    }
    
    .account-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .order-details-grid {
        grid-template-columns: 1fr;
    }
    
    .order-notes {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .account-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .account-table {
        display: block;
        overflow-x: auto;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-date {
        margin-top: 10px;
    }
    
    .order-status-bar {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .status-step {
        min-width: 100px;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .order-actions .btn {
        width: 100%;
        text-align: center;
    }
}