* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    flex: 1 0 auto;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    color: white;
    position: relative;
    justify-content: space-between;
}

/* Logo Image */
.logo-img {
    width: 180px;
    height: auto;
    display: block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .navbar {
        justify-content: center;
    }

    .logo-img {
        width: 150px;
        margin: 0 auto;
    }
}

/* Menu Toggle Button */
.navbar .menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    order: -1;
}

/* Menu Close Button (Mobile) */
.navbar .menu-close {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Nav Links */
.navbar nav a, .navbar nav span {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
}

.navbar nav a:hover {
    color: #ff9900;
}

.navbar nav a.active {
    background-color: rgba(255, 153, 0, 0.2);
    border-radius: 5px;
}

/* Overlay (Mobile) */
.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar h1 {
        margin-bottom: 0;
        order: 0;
        flex-grow: 1;
    }

    .navbar .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        left: 1rem;
    }

    .navbar nav {
        display: none;
        flex-direction: column;
        width: 250px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -250px;
        background-color: #f9f9f9;
        padding: 4rem 1rem 1rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .navbar nav.active {
        display: flex;
        left: 0;
    }

    .navbar .navbar-overlay.active {
        display: block;
    }

    .navbar .menu-close {
        display: block;
    }

    .navbar nav a, .navbar nav span {
        color: #333;
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        justify-content: flex-start;
    }

    .navbar nav a:hover {
        color: #ff5500;
    }

    .navbar nav a.active {
        background-color: rgba(255, 153, 0, 0.3);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #ff9900, #ff5500);
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #333;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 2rem;
    background-color: #fff;
}

.feature-card {
    text-align: center;
    width: 30%;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card i {
    margin-bottom: 0.5rem;
}

/* Feature Card Colors */
.feature-card:nth-child(1) {
    background-color: #e6f3ff;
}

.feature-card:nth-child(2) {
    background-color: #fff0e6;
}

.feature-card:nth-child(3) {
    background-color: #e6ffe6;
}

.feature-card:nth-child(1) i {
    font-size: 2rem;
    color: #28a745;
}

.feature-card:nth-child(2) i {
    font-size: 2rem;
    color: #007bff;
}

.feature-card:nth-child(3) i {
    font-size: 2rem;
    color: #ff9900;
}

/* Products Section */
.products, .featured-products {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #f9f9f9;
}

.products h1, .featured-products h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.filter {
    margin-bottom: 2rem;
}

.filter label {
    font-size: 1.2rem;
    margin-right: 1rem;
}

.filter select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
}

.product-grid, .order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.product-card, .order-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h3, .order-card h4 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem;
}

.product-card .price {
    color: #ff5500;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.order-btn {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.order-btn:hover {
    background-color: #ff5500;
}

.see-all {
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: 3rem;
    color: #ff5500;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.see-all:hover {
    color: #ff3300;
}

/* Search Bar */
.search-bar {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-bar input {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.search-bar button {
    padding: 0.5rem 1rem;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #333;
}

/* Popup Styles */
.product-card {
    text-align: center;
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.order-btn {
    padding: 8px 16px;
    background: #ff9900;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.order-btn:hover {
    background: #ff5500;
}

.info-icon {
    width: 20px;
    height: 20px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.popup {
    position: fixed;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.popup-content {
    padding: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0 10px;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.whatsapp-btn {
    padding: 10px 20px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        margin-bottom: 20px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #333;
}

/* Auth Forms (Register/Login) */
.auth-form, .order-form, .track-order {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #fff;
}

.auth-form h2, .order-form h2, .track-order h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-form form, .order-form form, .track-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form label, .order-form label, .track-form label {
    font-size: 1.2rem;
    text-align: left;
}

.auth-form input, .auth-form textarea, .order-form input, .order-form textarea, .track-form input {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.auth-form textarea, .order-form textarea {
    height: 100px;
}

.auth-form button, .order-form button, .track-form button {
    background-color: #ff9900;
    border: none;
    cursor: pointer;
}

.auth-form button:hover, .order-form button:hover, .track-form button:hover {
    background-color: #ff5500;
}

.auth-form .success, .order-form .success, .track-order .success {
    color: green;
    margin-top: 1rem;
}

.auth-form .error, .order-form .error, .track-order .error {
    color: red;
    margin-top: 1rem;
}

.auth-form .prompt, .order-form .prompt, .track-order .prompt {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.auth-form .prompt a, .order-form .prompt a, .track-order .prompt a {
    color: #ff9900;
    text-decoration: underline;
}

.auth-form .prompt a:hover, .order-form .prompt a:hover, .track-order .prompt a:hover {
    color: #ff5500;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message p {
    font-size: 1.5rem;
    color: green;
    margin-bottom: 1.5rem;
}

.success-message .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.success-message .note {
    font-size: 1.2rem;
    color: #333;
    margin: 1rem 0;
}

.success-message .note strong {
    color: #ff5500;
}

/* Dashboard */
.dashboard {
    padding: 3rem 2rem;
    text-align: center;
}

.dashboard h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.dashboard h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .features {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .feature-card {
        width: 100%;
        margin-bottom: 1rem;
    }

    .products, .featured-products, .dashboard, .track-order {
        padding: 2rem 1rem;
    }

    .product-grid, .order-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .product-card, .order-card {
        padding: 1rem;
    }

    .product-card h3, .order-card h4 {
        font-size: 1.2rem;
    }

    .auth-form, .order-form, .track-order {
        padding: 2rem 1rem;
    }

    .auth-form form, .order-form form, .track-form {
        max-width: 100%;
        padding: 0 1rem;
    }

    .auth-form label, .order-form label, .track-form label {
        font-size: 1.1rem;
    }

    .auth-form input, .order-form input, .track-form input {
        font-size: 0.9rem;
    }

    .success-message p {
        font-size: 1.3rem;
    }

    .success-message .note {
        font-size: 1rem;
    }
}

/* Blog Section */
.blog {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog h2 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.post-card {
    text-align: left;
}

.post-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.post-card h3 a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
}

.post-card h3 a:hover {
    color: #ff5500;
}

.post-card p {
    font-family: 'Charter', 'Georgia', serif;
    font-size: 21px;
    line-height: 1.58;
    color: #000;
    margin: 0.5rem 0 1rem;
}

.read-more {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    color: #ff9900;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    color: #ff5500;
    text-decoration: underline;
}

/* Single Post Page */
.blog-post {
    padding: 4rem 2rem;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post h2 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-post img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.post-content p {
    font-family: 'Charter', 'Georgia', serif;
    font-size: 21px;
    line-height: 1.58;
    color: #000;
    margin-bottom: 1.5rem;
}

.back-link {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    color: #ff9900;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: #ff5500;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog, .blog-post {
        padding: 2rem 1rem;
    }

    .blog h2, .blog-post h2 {
        font-size: 28px;
    }

    .post-card h3 a {
        font-size: 20px;
    }

    .post-card p, .post-content p {
        font-size: 18px;
    }
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 3rem 2rem;
    text-align: center;
}

.admin-dashboard h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.2rem;
    color: #ff5500;
}

/* Admin Forms */
.admin-form {
    padding: 3rem 2rem;
    text-align: center;
}

.admin-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.admin-form form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form input,
.admin-form textarea {
    padding: 1rem;
    font-size: 1.1rem;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.admin-form textarea {
    height: 150px;
}

/* Image preview styling */
.image-preview {
    margin-top: 10px;
    text-align: center;
}

/* Admin Orders */
.admin-orders {
    padding: 3rem 2rem;
    text-align: center;
}

.admin-orders h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Admin Users */
.admin-users {
    padding: 3rem 2rem;
    text-align: center;
}

.admin-users h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.user-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Admin Featured */
.admin-featured {
    padding: 3rem 2rem;
    text-align: center;
}

.admin-featured h2, .admin-featured h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.add-featured {
    max-width: 500px;
    margin: 0 auto 2rem auto;
    display: flex;
    gap: 1rem;
}

.add-featured select {
    flex-grow: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.featured-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-btn {
    background-color: #ff5500;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-btn:hover {
    background-color: #ff3300;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-dashboard, .admin-form, .admin-orders, .admin-users, .admin-featured {
        padding: 2rem 1rem;
    }

    .stats, .order-grid, .user-grid, .featured-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .add-featured {
        flex-direction: column;
    }
}

/* Contact Us Section */
.contact-us {
    padding: 3rem 2rem;
    background-color: #fff;
    text-align: center;
}

.contact-us h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.contact-us .intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.contact-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

.contact-info, .contact-form {
    width: 45%;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff5500;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info .trust-note {
    font-style: italic;
    color: #28a745;
    margin-top: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-form label {
    font-size: 1.2rem;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

.contact-form .success {
    color: #28a745;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-form .error {
    color: #ff5500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.trust-section {
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 3rem;
}

.trust-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ff5500;
}

.trust-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.trust-section .cta-button {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-us {
        padding: 2rem 1rem;
    }

    .contact-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .trust-section {
        padding: 1.5rem 1rem;
    }
}

/* Admin Wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 2rem;
    background-color: #f4f4f4;
    transition: margin-left 0.3s ease;
}

/* Sidebar */
.sidebar {
    background-color: #000000;
    color: #f1f1f1;
    transition: width 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    width: 250px;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #f1f1f1;
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #f1f1f1;
    text-decoration: none;
    transition: background-color 0.3s;
}

.sidebar-nav a i {
    width: 20px;
    margin-right: 1rem;
}

.sidebar-nav a span {
    display: inline-block;
}

.sidebar.collapsed .sidebar-nav a span {
    display: none;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: #333;
}

/* Adjust content spacing */
.admin-dashboard, .admin-form, .admin-featured, .admin-users, .admin-orders, .all-products {
    margin-left: 250px;
    padding: 2rem;
}

.sidebar.collapsed ~ .main-content .admin-dashboard,
.sidebar.collapsed ~ .main-content .admin-form,
.sidebar.collapsed ~ .main-content .admin-featured,
.sidebar.collapsed ~ .main-content .admin-users,
.sidebar.collapsed ~ .main-content .admin-orders,
.sidebar.collapsed ~ .main-content .all-products {
    margin-left: 60px;
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }

    .sidebar-nav a span {
        display: none;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar.expanded {
        width: 250px;
    }

    .sidebar.expanded .sidebar-nav a span {
        display: inline-block !important;
    }

    .admin-dashboard, .admin-form, .admin-featured, .admin-users, .admin-orders, .all-products {
        margin-left: 60px;
        padding: 2rem 1rem;
    }
}

@media (min-width: 769px) {
    .sidebar {
        width: 250px;
    }

    .sidebar-nav a span {
        display: inline-block;
    }

    .sidebar.collapsed {
        width: 60px;
    }

    .sidebar.collapsed .sidebar-nav a span {
        display: none;
    }

    .admin-dashboard, .admin-form, .admin-featured, .admin-users, .admin-orders, .all-products {
        margin-left: 250px;
    }

    .sidebar.collapsed ~ .main-content .admin-dashboard,
    .sidebar.collapsed ~ .main-content .admin-form,
    .sidebar.collapsed ~ .main-content .admin-featured,
    .sidebar.collapsed ~ .main-content .admin-users,
    .sidebar.collapsed ~ .main-content .admin-orders,
    .sidebar.collapsed ~ .main-content .all-products {
        margin-left: 60px;
    }
}

/* All Products Section */
.all-products {
    text-align: center;
}

.all-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    justify-items: center;
    width: 100%;
}

.product-card {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 200px;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.product-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.product-actions a {
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 2px;
}

.product-actions .move-handle {
    cursor: move;
}

.product-actions .delete-btn {
    color: #ff5500;
}

.product-actions a:hover {
    color: #ff9900;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #ff9900;
    border: 1px solid #ff9900;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #ff9900;
    color: white;
}

.pagination a.active {
    background-color: #ff5500;
    color: white;
    border-color: #ff5500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: none;
    }
}

/* Edit Product Additions */
.current-image {
    margin-bottom: 10px;
    text-align: center;
}

.delete-prompt {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.delete-prompt a {
    color: #ff5500;
    text-decoration: none;
}

.delete-prompt a:hover {
    color: #ff3300;
    text-decoration: underline;
}

/* Date Navigation */
.date-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.date-nav a, .date-nav form {
    width: 100px;
    text-align: center;
}

.date-nav a {
    padding: 0.5rem;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.date-nav a:hover {
    background-color: #333;
}

.date-nav a.active {
    background-color: #ff5500;
}

.date-nav form {
    display: flex;
    gap: 5px;
}

.date-nav input[type="date"] {
    padding: 0.3rem;
    font-size: 0.9rem;
    width: 100px;
}

.date-nav button {
    padding: 0.5rem;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.date-nav button:hover {
    background-color: #333;
}

/* Status Navigation */
.status-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.status-nav a {
    width: 100px;
    padding: 0.5rem;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.status-nav a:hover {
    background-color: #333;
}

.status-nav a.active {
    background-color: #ff5500;
}

/* Status Buttons */
.status-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.status-btn {
    padding: 0.5rem 1rem;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.status-btn:hover {
    background-color: #ff5500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .date-nav a, .date-nav form, .status-nav a {
        width: calc(25% - 10px);
        min-width: 80px;
    }

    .date-nav input[type="date"] {
        width: 100%;
    }
}

/* Sort Options */
.sort-options {
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    font-size: 1rem;
    color: #333;
}

.sort-options select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* User Card Enhancements */
.user-card {
    position: relative;
    padding: 1.5rem;
}

.order-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #ff9900;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.order-count:hover {
    background-color: #ff5500;
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: #ff9900;
    text-decoration: none;
    font-size: 1.1rem;
}

.back-link:hover {
    color: #ff5500;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sort-options {
        position: static;
        margin: 1rem auto;
        justify-content: center;
    }

    .user-grid {
        padding: 0 1rem;
    }
}

/* Admin Blogs */
.all-posts {
    padding: 3rem 2rem;
    text-align: center;
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed ~ .main-content .all-posts {
    margin-left: 60px;
}

.all-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.all-posts .cta-button-container {
    margin-bottom: 1.5rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    width: 100%;
}

.post-card {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 300px;
}

.post-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.post-card p {
    font-size: 0.9rem;
    color: #666;
}

.post-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.post-actions a {
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 2px;
}

.post-actions .delete-btn {
    color: #ff5500;
}

.post-actions a:hover {
    color: #ff9900;
}

/* Responsive Design */
@media (max-width: 768px) {
    .all-posts {
        padding: 2rem 1rem;
        margin-left: 60px;
    }

    .post-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .post-card {
        max-width: none;
    }
}

@media (min-width: 769px) {
    .all-posts {
        margin-left: 250px;
    }

    .sidebar.collapsed ~ .main-content .all-posts {
        margin-left: 60px;
    }
}

.details-btn {
    background-color: #4f9be6;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
}

.details-btn:hover {
    background-color: #2196f3;
}

.return-policy {
     max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.return-policy h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.return-policy p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .return-policy {
        padding: 30px;
    }
}