/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.btn-primary {
    background-color: #ff6b00;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #e65c00;
}

.btn-secondary {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}

.btn-secondary:hover {
    background-color: #dde2e6;
}

.card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.rating {
    color: #ffc107;
    font-size: 14px;
}

.price {
    font-weight: 700;
    font-size: 18px;
    color: #343a40;
}

.price-discount {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 14px;
    margin-right: 8px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links a {
    margin-left: 15px;
    color: #6c757d;
}

.top-bar-links a:hover {
    color: #ff6b00;
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b00;
}

.logo span {
    color: #343a40;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-action {
    margin-left: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-action i {
    font-size: 20px;
    color: #343a40;
}

.header-action span {
    font-size: 12px;
    margin-top: 4px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
}

/* Navigation Styles */
nav {
    background-color: #343a40;
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-right: 20px;
    position: relative;
}

.main-menu a {
    color: white;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #ff6b00;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    background-color: #343a40;
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ff6b00" fill-opacity="0.3" d="M0,160L48,138.7C96,117,192,75,288,69.3C384,64,480,96,576,133.3C672,171,768,213,864,208C960,203,1056,149,1152,138.7C1248,128,1344,160,1392,176L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Featured Categories Styles */
.featured-categories {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    color: #343a40;
    margin-bottom: 10px;
}

.section-title p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #ff6b00;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    padding: 20px;
    text-align: center;
}

.category-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.category-card p {
    color: #6c757d;
    font-size: 14px;
}

/* Featured Products Styles */
.featured-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: white;
    padding-bottom: 15px;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.product-image img {
    max-height: 180px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-action:hover {
    background-color: #ff6b00;
    color: white;
    transform: translateY(-3px);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

/* Brand Showcase Styles */
.brand-showcase {
    padding: 60px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.brand-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 150px;
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-card:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

.brand-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.brand-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.brand-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* Latest Products Styles */
.latest-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Blog Section Styles */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    overflow: hidden;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-details {
    padding: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Testimonials Styles */
.testimonials {
    padding: 60px 0;
    background-color: #343a40;
    color: white;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials .section-title::after {
    background-color: #ff6b00;
}

.testimonial-slider {
    padding: 20px;
    position: relative;
}

.testimonial-slides {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 20px;
    text-align: center;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 40px;
}

.testimonial-content::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1) transparent transparent;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 3px solid #ff6b00;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 2;
}

.testimonial-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff6b00;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-nav button:hover {
    background-color: #e65c00;
}

/* Newsletter Styles */
.newsletter {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 0 20px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e65c00;
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: white;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff6b00;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ff6b00;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact li i {
    margin-right: 10px;
    color: #ff6b00;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background-color: #ff6b00;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        margin: 15px 0;
        flex: 0 0 100%;
    }

    .header-actions {
        order: 4;
        width: 100%;
        justify-content: space-around;
        margin-top: 15px;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .product-grid,
    .categories-grid,
    .brand-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 4px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .product-grid,
    .categories-grid,
    .brand-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page Styles */
.product-detail {
    padding: 60px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-gallery {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-thumbnail.active {
    border-color: #ff6b00;
}

.product-main-image {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info-detail h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #6c757d;
}

.product-meta div {
    display: flex;
    align-items: center;
}

.product-meta div i {
    margin-right: 5px;
}

.product-price-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b00;
}

.old-price {
    text-decoration: line-through;
    font-size: 18px;
    color: #6c757d;
    margin-left: 10px;
}

.product-discount {
    margin-left: 15px;
    background-color: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-options {
    margin-bottom: 20px;
}

.option-title {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.color-option.active::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid #ff6b00;
    border-radius: 50%;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.size-option {
    padding: 5px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option.active {
    background-color: #ff6b00;
    color: white;
    border-color: #ff6b00;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #dde2e6;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid #e9ecef;
    text-align: center;
    font-size: 16px;
    margin: 0 10px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #e65c00;
}

.wishlist-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background-color: #ff6b00;
    color: white;
}

.product-meta-info {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 600;
    min-width: 120px;
}

.product-tabs {
    margin-top: 60px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
}

.tab-content {
   /* display: none; */
}

.tab-content.active {
    display: block;
}

/* Related Products */
.related-products {
    margin-top: 60px;
}

/* Shopping Cart Page Styles */
.shopping-cart {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.cart-table th {
    font-weight: 600;
    color: #6c757d;
    background-color: #f8f9fa;
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.cart-product-title {
    font-weight: 600;
}

.cart-product-variant {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.cart-quantity {
    width: 100px;
}

.cart-remove {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-remove:hover {
    color: #bd2130;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-coupon {
    display: flex;
    width: 400px;
}

.cart-coupon input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.cart-coupon button {
    padding: 0 20px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-coupon button:hover {
    background-color: #e65c00;
}

.cart-totals {
    width: 350px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.cart-totals h3 {
    margin-bottom: a5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-row.total {
    font-weight: 700;
    font-size: 18px;
    border-bottom: none;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #e65c00;
}

/* Checkout Page Styles */
.checkout {
    padding: 60px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #ff6b00;
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-methods {
    margin-top: 30px;
}

.payment-method {
    margin-bottom: 15px;
}

.method-input {
    margin-right: 10px;
}

.order-summary {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    position: sticky;
    top: 20px;
}

.order-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.order-item {
    display: flex;
    margin-bottom: 15px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.order-item-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.order-item-details p {
    font-size: 14px;
    color: #6c757d;
}

.place-order-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.place-order-btn:hover {
    background-color: #e65c00;
}

/* User Account Page Styles */
.user-account {
    padding: 60px 0;
}

.account-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.account-sidebar {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 20px;
}

.account-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.account-username {
    font-weight: 600;
    margin-bottom: 5px;
}

.account-email {
    font-size: 14px;
    color: #6c757d;
}

.account-nav {
    list-style: none;
}

.account-nav li {
    margin-bottom: 10px;
}

.account-nav a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.account-nav a:hover {
    background-color: #e9ecef;
}

.account-nav a.active {
    background-color: #ff6b00;
    color: white;
}

.account-nav i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.account-content {
    background-color: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account-title {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.dashboard-card i {
    font-size: 40px;
    margin-right: 20px;
    color: #ff6b00;
}

.dashboard-card-content h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

.dashboard-card-content p {
    color: #6c757d;
}

.recent-orders h4 {
    margin-bottom: 15px;
}

.profile-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.address-card {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    position: relative;
}

.address-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.address-action {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
}

.address-action:hover {
    color: #ff6b00;
}

.address-type {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.address-default {
    position: absolute;
    bottom: 15px;
    left: 20px;
    background-color: #28a745;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.add-address {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ced4da;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-address:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}

.add-address i {
    font-size: 40px;
    margin-bottom: 15px;
}

.order-item {
    margin-bottom: 30px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px 4px 0 0;
    border: 1px solid #e9ecef;
}

.order-details {
    display: flex;
    gap: 20px;
}

.order-detail {
    display: flex;
    flex-direction: column;
}

.order-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.order-value {
    font-weight: 600;
}

.order-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.status-processing {
    background-color: #17a2b8;
    color: white;
}

.status-shipped {
    background-color: #ffc107;
    color: #212529;
}

.status-delivered {
    background-color: #28a745;
    color: white;
}

.order-body {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.order-products {
    margin-bottom: 15px;
}

.order-product {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.order-product-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.order-product-info {
    flex: 1;
}

.order-product-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.order-product-meta {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.order-product-price {
    display: flex;
    justify-content: space-between;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-size: 18px;
    font-weight: 600;
}

.order-actions {
    display: flex;
    gap: 10px;
}

/* Admin Panel Styles */
.admin-panel {
    padding: 60px 0;
}

.admin-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.admin-sidebar {
    background-color: #343a40;
    border-radius: 4px;
    padding: 20px;
    color: white;
}

.admin-user {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.admin-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.admin-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-nav a.active {
    background-color: #ff6b00;
    color: white;
}

.admin-nav i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-content {
    background-color: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    opacity: 0.1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: #6c757d;
}

.chart-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header h4 {
    font-weight: 600;
}

.chart-period {
    font-size: 14px;
    color: #6c757d;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    font-weight: 600;
    color: #6c757d;
    background-color: #f8f9fa;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.data-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.data-search {
    flex: 1;
    max-width: 300px;
    position: relative;
}

.data-search input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 40px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.data-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #f8f9fa;
}

.page-item.active .page-link {
    background-color: #ff6b00;
    color: white;
    border-color: #ff6b00;
}

.admin-product-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-images-upload {
    border: 2px dashed #ced4da;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-images-upload:hover {
    border-color: #ff6b00;
}

.product-images-upload i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: b5px;
}

.product-images-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.image-preview {
    height: 100px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}