/* منع ظهور الخط عند النقر على العناصر */
* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    outline: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* السماح بتحديد النص في بعض العناصر */
p, h1, h2, h3, h4, h5, h6, span, input[type="text"], textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    direction: ltr;
    background-color: var(--background-light);
    color: var(--text-color);
}

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

/* Top Bar Styles */
.top-bar {
    background: #000;
    color: white;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #FF4B2B;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    margin-right: 5px;
}

.search-bar button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.language-switch .lang-btn {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-contact span {
    font-size: 14px;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Header Styles */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    direction: ltr !important;
}

.main-nav ul li {
    direction: ltr !important;
    order: initial !important;
}

.main-nav ul li a {
    direction: ltr !important;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #FF4B2B;
}

.order-online-btn {
    background: #FF4B2B;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.order-online-btn:hover {
    background: #e63e1a;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #FF4B2B;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #e63e1a;
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: white;
}

/* Location Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.city-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.city-card:hover {
    transform: translateY(-5px);
}

.city-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.change-location-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    z-index: 100;
}

.change-location-btn i {
    color: #FF4B2B;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 18px;
    }

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

/* General Styles */
:root {
    --primary-color: #E31837;
    --secondary-color: #FFC72C;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #F8F9FA;
    --background-dark: #222222;
    --border-color: #E5E5E5;
    --success-color: #28A745;
    --error-color: #DC3545;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    direction: ltr;
    background-color: var(--background-light);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header Styles */
.announcement-bar {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 14px;
}

.header-main {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    direction: ltr !important;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switch {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

.order-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: #c41530;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c41530;
}

/* Featured Categories */
.featured-categories {
    padding: 60px 0;
    background: white;
}

.featured-categories h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

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

.category-card {
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.category-card h3 {
    font-size: 20px;
}

/* Special Offers */
.special-offers {
    padding: 60px 0;
    background: var(--background-light);
}

.special-offers h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

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

/* About Section */
.about-section {
    padding: 60px 0;
    background: white;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #c41530;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Locations Section */
.locations-section {
    padding: 60px 0;
    background: var(--background-light);
}

.locations-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

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

.view-all-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #c41530;
}

/* App Download Section */
.app-download {
    padding: 60px 0;
    background: white;
}

.app-download .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.app-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.app-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.app-buttons img {
    height: 50px;
}

.app-image img {
    width: 100%;
    max-width: 400px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social h3 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }

    .hero-content {
        right: 5%;
        left: 5%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .about-section .container,
    .app-download .container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Header Styles */
.top-bar {
    background-color: #000;
    color: white;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
    text-decoration: none;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    margin-left: 10px;
}

.search-bar button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.language-switch a {
    color: white;
    text-decoration: none;
}

.whatsapp-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.main-nav {
    background-color: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.order-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.order-btn:hover {
    background-color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
    height: 500px;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
}

/* Menu Section */
.menu-section {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 10px;
}

.category-btn {
    background: none;
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s;
}

.category-btn.active,
.category-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

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

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(255, 75, 43, 0.3);
}

.add-to-cart-btn:hover {
    background: #ff3615;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.4);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    border-radius: 15px;
    padding: 20px;
    position: relative;
}

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

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

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

.city-item {
    text-align: center;
    cursor: pointer;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
}

.city-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.city-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Product Modal Specific */
.product-customization {
    margin: 20px 0;
}

.size-selection {
    margin-bottom: 20px;
}

.size-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.size-option {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-option input:checked + span {
    color: var(--primary-color);
    font-weight: bold;
}

.extra-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.quantity-btn {
    background-color: var(--light-gray);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.quantity {
    font-size: 20px;
    font-weight: bold;
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: var(--secondary-color);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s;
    z-index: 1000;
}

.cart-sidebar.active {
    left: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #666;
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 20px;
}

.cart-items {
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.item-details {
    flex: 1;
}

.item-customizations {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}

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

.cart-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

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

/* Cart Toggle Button */
.cart-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: none;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Location Button */
.change-location {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.change-location:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Gallery Styles */
.gallery-section {
    padding: 2rem;
}

.gallery-filters {
    margin: 2rem 0;
    text-align: center;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border: none;
    border-radius: 25px;
    background: var(--background-light);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

/* Branches Styles */
.branches-section {
    padding: 2rem;
}

.city-section {
    margin-bottom: 3rem;
}

.branches-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.branch-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.branch-info {
    margin: 1rem 0;
}

.branch-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-map {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

/* Franchise Styles */
.franchise-section {
    padding: 2rem;
}

.franchise-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://img.freepik.com/free-photo/restaurant-interior_1127-3394.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.requirement-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Contact Styles */
.contact-section {
    padding: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.map-section {
    margin-top: 3rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-info-items {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .requirements-list {
        grid-template-columns: 1fr;
    }

    .franchise-hero {
        padding: 2rem 1rem;
    }
}

/* Menu Page Styles */
.menu-section {
    padding: 60px 0;
    background: var(--background-light);
}

.page-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 25px;
    border: none;
    background: white;
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
}

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

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 6px var(--shadow-color);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 20px;
    color: var(--text-color);
}

.menu-item .description {
    padding: 0 15px;
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    min-height: 40px;
}

.menu-item .price {
    padding: 15px;
    margin: 0;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
}

.add-to-cart {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background: #c41530;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 3px 6px var(--shadow-color);
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
}

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

/* Responsive Menu Styles */
@media (max-width: 768px) {
    .menu-categories {
        padding: 0 15px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

/* Offers Page Styles */
.offers-page {
    padding: 60px 0;
    background: var(--background-light);
}

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

.offer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 6px var(--shadow-color);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-image {
    position: relative;
    height: 200px;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.offer-content {
    padding: 20px;
}

.offer-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--text-color);
}

.offer-description {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.original-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 16px;
}

.discounted-price {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.order-offer-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-offer-btn:hover {
    background: #c41530;
}

/* Responsive Offers Styles */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .offer-content {
        padding: 15px;
    }
    
    .offer-content h3 {
        font-size: 20px;
    }
    
    .discounted-price {
        font-size: 20px;
    }
}

/* === Cart Modern Summary & Actions === */
.cart-summary-modern {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 32px 24px;
}
.cart-totals-modern > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.cart-totals-modern .total-row {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6b35;
  margin-top: 18px;
}
.cart-totals-modern .summary-label {
  color: #333;
  font-weight: 500;
}
.cart-totals-modern .summary-value {
  color: #ff6b35;
  font-weight: 700;
}
.free-delivery-message-modern {
  background: #f3f8fe;
  color: #ff6b35;
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin: 10px 0 0 0;
}
.cart-actions-modern {
  display: flex;
  gap: 24px;
  margin: 28px 0 0 0;
}
.cart-btn-primary {
  flex: 1;
  background: linear-gradient(90deg, #ff9800, #ff6b35);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 18px 0;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255,111,50,0.08);
  cursor: pointer;
  transition: background 0.2s;
}
.cart-btn-primary:hover {
  background: linear-gradient(90deg, #ff6b35, #ff9800);
}
.cart-btn-secondary {
  flex: 1;
  background: linear-gradient(90deg, #ffb300, #ffa726);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-btn-secondary:hover {
  background: linear-gradient(90deg, #ffa726, #ffb300);
}
.cart-actions-modern-bottom {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cart-btn-back {
  background: #fff;
  color: #222;
  border: 2px solid #eee;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cart-btn-back:hover {
  background: #f3f8fe;
  color: #ff6b35;
  border: 2px solid #ff6b35;
}
.cart-btn-danger {
  background: #fff;
  color: #ff3b3b;
  border: 2px solid #ff3b3b;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cart-btn-danger:hover {
  background: #ff3b3b;
  color: #fff;
}
@media (max-width: 600px) {
  .cart-summary-modern {
    padding: 12px 4px;
  }
  .cart-actions-modern, .cart-actions-modern-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .cart-btn-primary, .cart-btn-secondary, .cart-btn-back, .cart-btn-danger {
    width: 100%;
    justify-content: center;
  }
}
