/* SUPPLINX Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-purple: #5D3FD3;
    /* Vibrant Purple */
    --primary-dark: #2E1A47;
    /* Deep Purple */
    --accent-red: #FF3B30;
    /* Modern Red */
    --accent-hover: #D32F2F;

    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --border-color: #E5E5E5;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-purple);
    color: white;
}

/* Header */
header {
    background-color: var(--bg-white);
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-gray);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-purple);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-purple);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Featured Products */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.products-section {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 250px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    background-color: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-purple);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Featured Products */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.products-section {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 250px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

/* --- Premium Cart Sidebar --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    /* Hidden by default */
    width: 450px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
}

.cart-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.close-cart {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.close-cart:hover {
    background: var(--accent-red);
    color: white;
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 5px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary-purple);
    color: white;
}

.quantity-controls span {
    width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.remove-item {
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 5px;
}

.remove-item:hover {
    color: var(--accent-red);
}

.cart-footer {
    padding: 30px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total span:first-child {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.cart-total .total-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* --- Premium Checkout Panel (Replaces Modal) --- */
.checkout-panel {
    position: fixed;
    top: 0;
    right: -600px;
    /* Hidden */
    width: 600px;
    height: 100vh;
    background: #ffffff;
    z-index: 2001;
    /* Above Cart */
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.checkout-panel.open {
    right: 0;
}

.checkout-header {
    padding: 25px 40px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-header h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-cart {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.back-to-cart:hover {
    color: var(--primary-purple);
}

.checkout-body {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-gray);
}

.payment-method:hover {
    border-color: #ddd;
    background: var(--bg-light);
}

.payment-method.active {
    border-color: var(--primary-purple);
    background: rgba(93, 63, 211, 0.05);
    color: var(--primary-purple);
    font-weight: 600;
}

.payment-method i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.payment-details {
    display: none;
    animation: fadeIn 0.3s ease;
}

.payment-details.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-control:focus {
    background: white;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(93, 63, 211, 0.1);
    outline: none;
}

.checkout-footer {
    padding: 30px 40px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.checkout-summary-row.total {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .cart-sidebar,
    .checkout-panel {
        width: 100%;
        right: -100%;
    }

    .checkout-panel.open,
    .cart-sidebar.open {
        right: 0;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Login Page Styles */
.login-section {
    padding: 80px 0;
    min-height: calc(100vh - var(--header-height) - 300px);
    /* Adjust based on header/footer */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.login-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.input-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-icon input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-password {
    color: var(--primary-purple);
    font-weight: 500;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.divider span {
    background: var(--bg-white);
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.login-footer a {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Orders Page Styles */
.orders-section {
    padding: 60px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

.orders-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.order-card {
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.order-id {
    font-weight: 700;
    color: var(--primary-dark);
}

.order-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-delivered {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.status-processing {
    background-color: #fff8e1;
    color: #f9a825;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    background: #f9f9f9;
}

.order-item-info {
    flex: 1;
}

.order-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.order-item-meta {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.empty-orders {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-icon input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-password {
    color: var(--primary-purple);
    font-weight: 500;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.divider span {
    background: var(--bg-white);
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.login-footer a {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Orders Page Styles */
.orders-section {
    padding: 60px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

.orders-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.order-card {
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.order-id {
    font-weight: 700;
    color: var(--primary-dark);
}

.order-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-delivered {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.status-processing {
    background-color: #fff8e1;
    color: #f9a825;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    background: #f9f9f9;
}

.order-item-info {
    flex: 1;
}

.order-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.order-item-meta {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.empty-orders {
    text-align: center;
    padding: 60px;
    color: var(--text-gray);
}

.empty-orders i {
    font-size: 4rem;
    margin-bottom: 25px;
}

/* Fix for Footer Visibility */
footer {
    background-color: var(--primary-dark);
    padding-top: 60px;
    margin-top: auto;
}