/* Global link styles - Remove default blue/purple colors */
* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

/* Custom link colors for specific contexts */
.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e8e8e8;
    border-bottom: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover {
    color: #ffffff;
    border-bottom-color: #ff9800;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

body {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    direction: rtl;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero banner styling */
.banner {
    background-image: url("../images/banner.e5525b4ee396.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
    height: 320px;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(109, 76, 65, 0.4));
    z-index: 1;
}

.banner .centered {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.banner-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner .centered h1 {
    font-size: 48px;
    margin: 0 0 15px 0;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 24px;
    margin: 15px 0 30px 0;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6d4c41, #5d4037);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    outline: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5d4037, #4e2d25);
}

.btn-cta:focus,
.btn-cta:active {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(109, 76, 65, 0.3);
    transform: translateY(-1px);
}

/* Secondary CTA button */
.btn-cta.btn-secondary {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-color: rgba(255, 152, 0, 0.2);
}

.btn-cta.btn-secondary:hover {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
}

.btn-cta.btn-secondary:focus,
.btn-cta.btn-secondary:active {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 152, 0, 0.3);
}

/* Category navigation */
.category-list {
    background: linear-gradient(135deg, #fdfdfd, #f8f8f8);
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-list-title {
    text-align: center;
    margin-bottom: 15px;
}

.category-list-title h2 {
    font-size: 28px;
    color: #6d4c41;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.category-list-title p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.category-links-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-links-container::-webkit-scrollbar {
    height: 6px;
}

.category-links-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.category-links-container::-webkit-scrollbar-thumb {
    background: #6d4c41;
    border-radius: 3px;
}

.category-list .category-link {
    text-decoration: none;
    color: #6d4c41;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    padding: 18px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.category-list .category-link:hover {
    background: rgba(109, 76, 65, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.2);
    border-color: rgba(109, 76, 65, 0.2);
}

.category-list .category-icon {
    font-size: 32px;
    color: #b5651d;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.category-list .category-link:hover .category-icon {
    color: #6d4c41;
    transform: scale(1.1);
}

.category-list .category-name {
    font-size: 15px;
    font-weight: 500;
    color: #4e342e;
    transition: all 0.3s ease;
}

.category-list .category-link:hover .category-name {
    color: #6d4c41;
    font-weight: 600;
}

/* Section headings */
.category-title {
    font-size: 26px;
    font-weight: 700;
    color: #4e342e;
    margin: 40px 0 20px;
    text-align: center;
}

/* Grid of items */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.item-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.item-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-name {
    font-size: 20px;
    font-weight: 700;
    color: #3e2723;
    margin: 0 0 6px;
}

.item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.item-types {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-top: 1px dashed #eee;
}

.item-types li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
    color: #4e342e;
    border-bottom: 1px dashed #eee;
}

.item-types li:last-child {
    border-bottom: none;
}

.type-name {
    font-weight: 500;
    margin-left: 8px;
}

.type-price {
    font-weight: 700;
    white-space: nowrap;
}

.currency {
    font-size: 12px;
    margin-right: 2px;
    color: #8d6e63;
}

/* Scroll to top button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Changed to left for RTL layout */
    width: 55px;
    height: 55px;
    background-color: #6d4c41;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn:hover {
    background-color: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:active {
    transform: translateY(0);
}

/* Error Pages Styling */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f4f4 0%, #e8e8e8 100%);
    padding: 20px;
}

.error-content {
    text-align: center;
    max-width: 500px;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.error-icon {
    font-size: 80px;
    color: #6d4c41;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 72px;
    color: #6d4c41;
    margin: 20px 0;
    font-weight: 800;
}

.error-content h2 {
    font-size: 28px;
    color: #333;
    margin: 20px 0;
    font-weight: 600;
}

.error-content p {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.error-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.btn-primary {
    background-color: #6d4c41;
    color: white;
}

.btn.btn-primary:hover {
    background-color: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.3);
}

.btn.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn.btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        min-height: 180px;
        height: auto;
        padding: 25px 0;
    }

    .banner .centered {
        padding: 0 15px;
        max-width: 100%;
    }

    .banner-logo {
        height: 50px;
        max-width: 50px;
    }
    
    .banner .centered h1 {
        font-size: 36px;
    }
    
    .banner .centered p {
        font-size: 18px;
    }
    
    .banner-cta {
        margin-top: 15px;
        gap: 12px;
        flex-direction: row;
    }
    
    .btn-cta {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .category-list {
        padding: 15px 15px;
        gap: 8px;
    }

    .category-list-title {
        margin-bottom: 12px;
    }

    .category-list-title h2 {
        font-size: 22px;
        margin: 0 0 3px 0;
    }

    .category-list-title p {
        font-size: 12px;
    }
    
    .category-links-container {
        gap: 10px;
        padding: 10px 15px;
        justify-content: flex-start;
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .category-link {
        min-width: 80px;
        padding: 8px;
    }
    
    .category-icon {
        font-size: 18px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .menu-section {
        margin: 20px 0;
        padding: 0;
    }
    
    .category-title {
        font-size: 22px;
        margin: 20px 15px 15px;
        text-align: center;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        margin: 0 auto 30px;
    }
    
    .item-card {
        padding: 15px;
        margin: 0;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
    
    .item-name {
        font-size: 16px;
    }
    
    .item-content {
        padding: 15px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .error-content {
        padding: 40px 20px;
    }
    
    .error-content h1 {
        font-size: 48px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 200px;
        height: auto;
        padding: 16px 0;
    }

    .banner .centered {
        padding: 0 10px;
    }

    .banner-logo {
        height: 38px;
        max-width: 38px;
    }

    .banner .centered h1 {
        font-size: 28px;
    }

    .banner .centered p {
        font-size: 16px;
        margin: 6px 0;
    }

    .banner-cta {
        flex-direction: row;
        gap: 8px;
        margin-top: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-cta {
        padding: 10px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex: 0 1 auto;
    }

    .btn-cta i {
        font-size: 11px;
    }

    .category-list {
        justify-content: flex-start;
        padding: 12px 12px;
    }

    .category-list-title {
        margin-bottom: 10px;
    }

    .category-list-title h2 {
        font-size: 20px;
        margin: 0 0 2px 0;
    }

    .category-list-title p {
        font-size: 11px;
    }
    
    .category-links-container {
        gap: 6px;
        padding: 10px 15px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-right: 20px;
        padding-left: 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-list .category-link {
        min-width: 62px;
        padding: 8px 6px;
        flex-shrink: 0;
    }
    
    .category-list .category-icon {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .category-list .category-name {
        font-size: 11px;
    }
    
    .menu-section {
        margin: 15px 0;
        padding: 15px 10px;
    }
    
    .items-grid {
        gap: 15px;
        padding: 0 10px;
        margin: 0 auto 20px;
    }
    
    .item-card {
        padding: 12px;
    }
    
    .item-content {
        padding: 12px;
    }
    
    .category-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding: 0 5px;
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
    color: #6d4c41;
}

.loading i {
    font-size: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility Improvements - Modern Focus Styles */
.category-link:focus,
.category-link:focus-visible,
.scroll-to-top-btn:focus,
.scroll-to-top-btn:focus-visible,
.btn:focus,
.btn:focus-visible,
.social-links a:focus,
.social-links a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(109, 76, 65, 0.3);
    transform: translateY(-1px);
}

/* Category link modern focus and active styles */
.category-link:focus,
.category-link:focus-visible,
.category-link:active {
    background: rgba(109, 76, 65, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.2);
}

/* Print Styles */
@media print {
    .banner,
    .category-list,
    .scroll-to-top-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .menu-section {
        page-break-inside: avoid;
        margin: 20px 0;
    }
    
    .item-card {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        break-inside: avoid;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #6d4c41, #5d4037);
    color: #ffffff;
    padding: 50px 0 30px 0;
    margin-top: 60px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9800, #e91e63, #9c27b0, #3f51b5);
}

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

.footer-section {
    text-align: center;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff9800, #e91e63);
}

.footer-section p {
    margin: 15px 0;
    line-height: 1.8;
    color: #e8e8e8;
    font-size: 15px;
}

.footer-section strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-section i {
    color: #ff9800;
    margin-left: 8px;
    width: 20px;
    text-align: center;
}

.phone-numbers {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.address-section {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.address-section .contact-item {
    display: flex;
    align-items: center;
}

.address-section .contact-item .address-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-section .contact-item .address-link:hover {
    color: #ff9800;
    text-decoration: underline;
}

.phone-numbers .contact-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.phone-numbers .contact-item i {
    margin-left: 8px;
    color: #ff9800;
}

.phone-numbers .contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.phone-numbers .contact-item a:hover {
    color: #ff9800;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.social-links a i {
    font-size: 20px;
    margin-left: 0;
    margin-right: 0;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.social-links a span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    margin-right: 8px;
    position: absolute;
    left: 40px;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    width: auto;
    min-width: 50px;
    justify-content: flex-start;
    padding-right: 15px;
    padding-left: 15px;
}

.social-links a:hover span {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    left: 0;
}

.social-links a.instagram:hover { 
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    border-color: #e1306c;
}

.social-links a.telegram:hover { 
    background: #0088cc;
    border-color: #0088cc;
}

.social-links a.whatsapp:hover { 
    background: #25d366;
    border-color: #25d366;
}

.social-links a.website:hover { 
    background: linear-gradient(135deg, #6d4c41, #5d4037);
    border-color: #6d4c41;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.service-item i {
    font-size: 24px;
    color: #ff9800;
    margin-bottom: 8px;
    display: block;
}

.service-item span {
    font-size: 13px;
    color: #e8e8e8;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    font-size: 14px;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 14px;
        padding: 0;
    }
    
    .social-links a:hover {
        width: 120px;
        padding-right: 12px;
    }
    
    .social-links a i {
        font-size: 18px;
    }
    
    .social-links a span {
        font-size: 13px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .service-item {
        padding: 12px 8px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* Shopping Cart Styles */
.cart-toggle-btn {
    position: fixed;
    bottom: 95px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
}

.cart-toggle-btn:hover {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.6);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cartBounce 0.5s ease;
}

@keyframes cartBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.shopping-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.shopping-cart.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #6d4c41, #5d4037);
    color: white;
}

.cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.cart-header h3 i {
    margin-left: 8px;
}

.close-cart-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-cart-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cart-item-type {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    color: #6d4c41;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
}

.quantity-btn {
    background: #6d4c41;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: #5d4037;
}

.quantity-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.remove-item-btn {
    background: #f44336;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s ease;
}

.remove-item-btn:hover {
    background: #d32f2f;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding: 20px;
    background: #f9f9f9;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #6d4c41;
}

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

.btn-cart {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-cart.btn-secondary {
    background: #f44336;
    color: white;
    border: 1px solid #f44336;
}

.btn-cart.btn-secondary:hover {
    background: #d32f2f;
    color: white;
}

.btn-cart.btn-primary {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
}

.btn-cart.btn-primary:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
}

/* Add to Cart Button in Menu Items */
.item-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.item-type-row:last-child {
    border-bottom: none;
}

.type-info {
    flex: 1;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn,
.remove-from-cart-btn {
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.remove-from-cart-btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.remove-from-cart-btn:hover {
    background: linear-gradient(135deg, #d32f2f, #c62828);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.add-to-cart-btn:active,
.remove-from-cart-btn:active {
    transform: translateY(0);
    animation: addToCartPulse 0.3s ease;
}

.item-quantity {
    font-weight: 600;
    color: #6d4c41;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

@keyframes addToCartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile Shopping Cart Styles */
@media (max-width: 768px) {
    .cart-toggle-btn {
        bottom: 75px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .scroll-to-top-btn {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .cart-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .cart-item {
        padding: 12px 0;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .btn-cart {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .shopping-cart {
        width: 100vw;
        right: -100vw;
    }

    .cart-toggle-btn {
        bottom: 65px;
        left: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .scroll-to-top-btn {
        bottom: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: -3px;
        right: -3px;
    }
}