
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-welcome {
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 120px);
    padding-top: 20px;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.flash-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.flash-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.4);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

.btn-disabled {
    background: #bdc3c7;
    color: #7f8c8d;
    cursor: not-allowed;
}

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

.btn-full {
    width: 100%;
}

/* Categories Section */
.categories-section {
    margin-bottom: 60px;
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #2c3e50;
}

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

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

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 25px;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Products Section */
.featured-products {
    margin-bottom: 60px;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.product-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.product-stock {
    font-size: 0.9rem;
    color: #27ae60;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.product-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.product-detail-info h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-category {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.product-price-large {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
}

.stock-available {
    color: #27ae60;
    font-weight: 500;
}

.stock-unavailable {
    color: #e74c3c;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Authentication Forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.auth-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Cart Styles */
.cart-items {
    margin-bottom: 30px;
}

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

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.cart-item-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.cart-item-price,
.cart-item-subtotal {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.1rem;
}

.cart-summary {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cart-total h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Chat Styles */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.chat-header h2 {
    margin-bottom: 8px;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    max-width: 70%;
}

.message.sent {
    margin-left: auto;
}

.message.sent .message-content {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.message.received .message-content {
    background: white;
    color: #2c3e50;
    border: 1px solid #ecf0f1;
}

.message-content {
    padding: 15px 20px;
    border-radius: 20px;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-info {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message.sent .message-info {
    text-align: right;
}

.chat-form {
    padding: 20px;
    background: white;
    border-top: 1px solid #ecf0f1;
}

.chat-input-group {
    display: flex;
    gap: 10px;
}

.chat-input-group input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input-group input:focus {
    border-color: #3498db;
}

.chat-input-group button {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order History Styles */
.orders-list {
    margin-top: 30px;
}

.order-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.order-header h3 {
    color: #2c3e50;
    margin: 0;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-details p {
    margin: 8px 0;
    color: #7f8c8d;
}

.order-items {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #2c3e50;
}

.empty-orders {
    text-align: center;
    padding: 60px 20px;
}

.empty-orders i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-orders h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.empty-orders p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Category Page Styles */
.category-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
    border-radius: 15px;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
}

.no-products p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Error Page Styles */
.error-page {
    text-align: center;
    padding: 100px 20px;
}

.error-content h1 {
    font-size: 6rem;
    color: #e74c3c;
    margin: 0;
    font-weight: bold;
}

.error-content h2 {
    font-size: 2rem;
    margin: 20px 0;
    color: #2c3e50;
}

.error-content p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.profile-section p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.profile-section strong {
    color: #2c3e50;
    width: 120px;
    display: inline-block;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    margin-top: 30px;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .nav-container {
        padding: 0 15px;
        flex-direction: column;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

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

    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .cart-item-image img {
        width: 80px;
        height: 80px;
    }

    .cart-item-price,
    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 2;
        margin-top: 5px;
    }

    .flash-messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .error-content h1 {
        font-size: 4rem;
    }

    .profile-container {
        padding: 20px 10px;
    }

    .order-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .category-header h1 {
        font-size: 2rem;
    }

    .auth-form {
        padding: 30px 20px;
    }

    .message {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .categories-section h2,
    .featured-products h2 {
        font-size: 2rem;
    }

    .product-detail-info h1 {
        font-size: 1.8rem;
    }

    .product-price-large {
        font-size: 1.5rem;
    }

    .error-content h1 {
        font-size: 3rem;
    }
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.flash-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.flash-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Error Page Styles */
.error-page {
    text-align: center;
    padding: 100px 20px;
}

.error-content h1 {
    font-size: 6rem;
    color: #e74c3c;
    margin: 0;
    font-weight: bold;
}

.error-content h2 {
    font-size: 2rem;
    margin: 20px 0;
    color: #2c3e50;
}

.error-content p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.profile-section p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.profile-section strong {
    color: #2c3e50;
    width: 120px;
    display: inline-block;
}

/* Order History Styles */
.orders-list {
    margin-top: 30px;
}

.order-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.order-header h3 {
    color: #2c3e50;
    margin: 0;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-details p {
    margin: 8px 0;
    color: #7f8c8d;
}

.order-items {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #2c3e50;
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
}

.no-orders p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Category Page Styles */
.category-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
    border-radius: 15px;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
}

.no-products p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Auto-hide flash messages */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.flash-message.auto-hide {
    animation: fadeOut 0.5s ease-out 4.5s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flash-messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .error-content h1 {
        font-size: 4rem;
    }

    .profile-container {
        padding: 20px 10px;
    }

    .order-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .category-header h1 {
        font-size: 2rem;
    }
}

