/* Global Styles */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --success-color: #00b894;
    --danger-color: #d63031;
    --warning-color: #fdcb6e;
    --info-color: #0984e3;
    --gray-color: #636e72;
    --light-gray: #dfe6e9;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

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

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

.btn-checkout {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 10px 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Categories */
.featured-categories {
    margin-bottom: 50px;
}

.featured-categories h2,
.featured-products h2,
.testimonials h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--dark-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 15px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-card .description {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.product-card .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    background-color: white;
    padding: 50px 0;
    margin-bottom: 50px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 300px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    scroll-snap-align: start;
}

.testimonial p {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial .author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 0;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--light-gray);
}

.footer-section ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Products Page */
.products-header {
    text-align: center;
    margin: 50px 0;
}

.products-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.search-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.products-filter {
    margin-bottom: 30px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-options a {
    padding: 8px 15px;
    background-color: white;
    border-radius: 5px;
    color: var(--dark-color);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-options a.active {
    background-color: var(--primary-color);
    color: white;
}

.no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px 0;
    color: var(--gray-color);
}

/* Cart Page */
.cart-section {
    padding: 50px 0;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cart-items th, .cart-items td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.cart-items th {
    background-color: var(--primary-color);
    color: white;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: var(--light-gray);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--light-gray);
    margin: 0 5px;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-empty {
    text-align: center;
    padding: 50px 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.cart-summary {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.summary-details {
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid var(--light-gray);
}

/* Checkout Page */
.checkout-section {
    padding: 50px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.form-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-section h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}

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

.payment-methods {
    margin-top: 20px;
}

.payment-method {
    margin-bottom: 15px;
}

.payment-method input {
    margin-right: 10px;
}

.payment-details {
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 5px;
    margin-top: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.terms-box {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.terms-box h3 {
    margin-bottom: 15px;
}

.terms-box ol, .terms-box ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.order-summary {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.item-info {
    flex: 1;
}

.item-name {
    display: block;
    font-weight: 500;
}

.item-price {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.item-total {
    font-weight: 600;
}

.item-code {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--light-gray);
}

.code-box {
    background-color: var(--light-color);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin: 10px 0;
}

/* Order Success */
.order-success {
    padding: 50px 0;
}

.success-message {
    text-align: center;
    margin-bottom: 50px;
}

.success-message i {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-message h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.order-details, .order-summary {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.details-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.status-pending {
    color: var(--warning-color);
}

.status-processing {
    color: var(--info-color);
}

.status-completed {
    color: var(--success-color);
}

.status-cancelled {
    color: var(--danger-color);
}

.order-items {
    margin-bottom: 30px;
}

.order-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
}

.order-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
}

.order-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Terms Page */
.terms-section {
    padding: 50px 0;
}

.terms-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.terms-content h2 {
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.terms-content p {
    margin-bottom: 15px;
}

.terms-content ul, .terms-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

/* Login & Register Pages */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

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

.auth-container .btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

/* Account Page */
.account-section {
    padding: 50px 0;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.account-nav {
    margin-bottom: 30px;
}

.account-nav ul {
    display: flex;
    list-style: none;
    border-bottom: 1px solid var(--light-gray);
}

.account-nav ul li {
    margin-right: 20px;
}

.account-nav ul li a {
    display: block;
    padding: 10px 0;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.account-nav ul li a.active {
    color: var(--primary-color);
}

.account-nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.order-history table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-history th, .order-history td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.order-history th {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cart-container, .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .order-summary, .cart-summary {
        position: static;
    }
    
    .order-item {
        grid-template-columns: 80px 1fr;
    }
    
    .item-total {
        grid-column: 1 / -1;
        text-align: right;
    }
    
    .item-code {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-history table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .order-actions .btn {
        width: 100%;
    }
	
	body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 30px;
}
h2 {
    color: #333;
    margin-bottom: 20px;
}
.order-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
}
.order-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}
.label {
    font-weight: bold;
    color: #555;
}
.value {
    color: #222;
}
.status.completed {
    color: #2ecc71;
    font-weight: bold;
}
.status.pending {
    color: #f39c12;
    font-weight: bold;
}
.status.failed {
    color: #e74c3c;
    font-weight: bold;
}
.no-orders {
    padding: 30px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    color: #856404;
}
a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
a:hover {
    background: #0056b3;
}

	
}