/*
Theme Name: BurgerBite - Fastos Style
Description: A professional WordPress theme for fast food burger restaurants inspired by Fastos design. Features modern styling, responsive design, and burger-themed animations.
Version: 2.0.0
Author: Your Name
Text Domain: burgerbite
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: food, restaurant, burger, fast-food, business, block-editor, full-site-editing, custom-colors, custom-logo, featured-images, footer-widgets, post-thumbnails, responsive-design, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&display=swap');

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Fastos Color Palette */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffd23f;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #27ae60;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 24px 48px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 22px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    will-change: transform, background-color, box-shadow, color;
}

.btn-primary {
    background: #dc2626;
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #262626;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.order-btn {
    padding: 24px 48px !important;
    font-size: 22px !important;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #dc2626;
    color: var(--white);
    border: 2px solid #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-burger {
    background: #dc2626;
    color: var(--white);
    padding: 18px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
    border: 2px solid #dc2626;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
    position: relative;
    z-index: 25;
    pointer-events: auto;
}

.btn-burger .cart-icon {
    width: 18px;
    height: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0) invert(1);
}

.btn-burger:hover {
    background: white !important;
    color: #262626 !important;
    border-color: #262626 !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(38, 38, 38, 0.2);
}

.btn-burger:hover .cart-icon {
    filter: brightness(0) invert(0);
}

.btn-burger:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(38, 38, 38, 0.2);
}

.btn-burger:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

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

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

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

/* Header Account Link */
.header-account-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.header-account-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ff6b35;
    transform: translateY(-2px);
}

.header-account-link i {
    font-size: 1rem;
}

.account-link-container {
    margin-left: 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    max-height: 48px;
    width: auto;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Cart Icon */
.cart-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.mobile-order-btn {
    display: none !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-link:hover {
    background: var(--gray-light);
    color: var(--primary-color);
}

.cart-count {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -5px;
    right: -5px;
}

.order-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: transparent;
    color: var(--white);
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 2rem;
}




.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42rem;
    align-items: center;
}

.hero-text {
    animation: professionalSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateX(-50px);
    text-align: right;
    margin-left: auto;
}

.hero-subtitle {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    opacity: 0;
    font-weight: 400;
    color: white;
    font-family: 'Aref Ruqaa', serif;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    transform: translateY(30px);
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    color: white;
    font-family: 'Aref Ruqaa', serif;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
    transform: translateY(40px);
    white-space: nowrap;
}

.hero-description {
    font-size: 2rem;
    margin-bottom: 6rem;
    opacity: 0;
    line-height: 1.6;
    color: white;
    font-family: 'Aref Ruqaa', serif;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
    transform: translateY(30px);
}

.hero-buttons .btn {
    padding: 28px 56px !important;
    font-size: 24px !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    text-align: center;
    opacity: 0;
    animation: professionalSlideInRight 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    transform: translateX(50px);
}

.hero-burger-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.price-tag {
    position: absolute;
    top: -280px;
    left: 190px;
    width: 150px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-bg-image {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: professionalRotate 6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes professionalRotate {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: rotate(90deg);
        opacity: 0.9;
    }
    50% {
        transform: rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: rotate(270deg);
        opacity: 0.9;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

@keyframes professionalSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes professionalSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes professionalSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popularBurgerSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotateZ(-10deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateZ(0deg) scale(1);
    }
}

@keyframes popularBurgerBounce {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-5px) scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes deliveryFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes deliveryGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes deliveryButtonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    }
}

/* Ensure smooth animations */
* {
    will-change: auto;
}

.animate-in,
.burger-card,
.testimonial-card,
.blog-card,
.popular-burger-card,
.section-header,
.chef-text,
.chef-image,
.chef-price-container,
.delivery-image,
.delivery-text,
.try-burgers-image {
    will-change: transform, opacity, filter;
}

/* Global Section Title Animation States */
.section-title:not(.hero-title):not(.chef-text .section-title):not(.delivery-section .section-title):not(.try-burgers-section .section-title),
.section-title-blog {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title:not(.hero-title):not(.chef-text .section-title):not(.delivery-section .section-title):not(.try-burgers-section .section-title).animate-in,
.section-title-blog.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hero Title Animation on Page Load */
.hero-title {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

/* Performance optimization */
.burger-card,
.testimonial-card,
.blog-card,
.popular-burger-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.price-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-from {
    margin-top: 0.6rem;
    display: block;
    font-size: 1.4rem;
    font-weight: 500;    
}

.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    justify-self: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Products Section Title Styling */
.choose-enjoy-section .section-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 4.2rem;
    z-index: 2;
    position: relative;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd23f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: appetizingGlow 3s ease-in-out infinite alternate;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

@keyframes appetizingGlow {
    0% {
        filter: brightness(1) saturate(1);
    }
    100% {
        filter: brightness(1.1) saturate(1.2);
    }
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section Subtitle Styling */
.choose-enjoy-section .section-subtitle {
    z-index: 2;
    position: relative;
}

/* Choose & Enjoy Section */
.choose-enjoy-section {
    padding: 80px 0 2rem 0;
    background: var(--gray-light);
    overflow: hidden;
}

.choose-enjoy-section .section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.choose-enjoy-section .section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.burger-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    position: relative;
    z-index: 1;
    direction: rtl;
    text-align: left;
}

.burger-grid .burger-card {
    direction: ltr;
    text-align: center;
}

@media (max-width: 1200px) {
    .burger-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .burger-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet Header Styles */
    .site-header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .site-branding {
        flex: 0 0 auto;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
    }
    
    .header-account-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .account-link-container {
        margin-left: 0.5rem;
        gap: 0.5rem;
        flex: 0 0 auto;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .burger-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Header Styles */
    .header-account-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .account-link-container {
        margin-left: 0.3rem;
    }
    
    .header-account-link span {
        display: none; /* Hide text on very small screens, show only icon */
    }
}

/* My Account Page Styles */
.my-account-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.account-form-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.account-tabs {
    display: flex;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.tab-pane p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Login/Register Form Styles */
#burgerbite-login-form,
.woocommerce-form-register {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.woocommerce-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce-form-row label {
    font-weight: 600;
    color: #374151;
}

.woocommerce-Input {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.woocommerce-Input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.woocommerce-Button {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-Button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.forgot-password-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Account Dashboard Styles */
.account-dashboard {
    padding: 2rem 0;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-section h1 {
    color: #1f2937;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: #6b7280;
    font-size: 1.1rem;
}

.account-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.account-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
}

.account-menu-item:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    transform: translateY(-5px);
}

.account-menu-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.account-menu-item span {
    font-weight: 600;
}

/* Recent Orders Styles */
.recent-orders {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.recent-orders h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.orders-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.order-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-info h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.order-info p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}

.order-status {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.view-order-btn {
    background: #e5e7eb;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-order-btn:hover {
    background: #ff6b35;
    color: white;
}

.view-all-orders {
    text-align: center;
}

/* Mobile Responsive for My Account */
@media (max-width: 768px) {
    .my-account-wrapper {
        margin: 1rem;
        padding: 1rem;
    }
    
    .account-tabs {
        flex-direction: column;
    }
    
    .account-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-preview-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    
    /* Mobile Header Styles */
    .site-header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        height: 40px;
    }
    
    .site-branding {
        flex: 0 0 auto;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 0 0 auto;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }
}

.burger-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: none;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.burger-card.animate-in {
    animation: professionalSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.burger-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.burger-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burger-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.burger-card:hover .burger-image img {
    transform: scale(1.08) rotate(2deg);
}

.burger-info {
    padding: 1.8rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.burger-price {
    position: absolute;
    bottom: 8px;
    left: 15px;
    background: #ff6b35;
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    text-align: left;
    width: 160px;
    height: 45px;
    box-sizing: border-box;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.burger-price .main-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    flex-shrink: 0;    
}

.burger-price .old-price {    
    font-size: 1.2rem;
    font-weight: 800;
    color: #262626;
    flex-shrink: 0;
    white-space: nowrap;
}

.burger-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.burger-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-grow: 1;
}

/* Button container to stick to bottom */
.burger-button-container {   
    margin-top: auto;
    padding-top: 1rem;
    
}

/* Chef Section */
.chef-section {    
    padding: 20px 0 2rem 0;
    background:  #FF8C00;
    position: relative;
    overflow: visible;
}

.chef-section::before {   
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.4) 15%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0.2) 35%, rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.05) 55%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(1px);
}

.chef-content {    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.chef-text {
    color: white;
    max-width: 80%;
    opacity: 0;
    transform: translateX(-80px) rotateY(-15deg);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chef-text.animate-in {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

.chef-text .section-title {
    justify-self: right;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Aref Ruqaa', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.chef-text.animate-in .section-title {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chef-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    max-width: 95%;
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.chef-text.animate-in .chef-description {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chef-text .btn {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s;
}

.chef-text.animate-in .btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chef-image {   
    position: relative;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;        
    padding: 1rem;    
    opacity: 0;
    transform: translateX(100px) rotateY(15deg) scale(0.7);
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

.chef-image.animate-in {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
}

.chef-service-image {    
    width: 130%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.chef-service-image:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Chef Price Container - Positioned within chef section */
.chef-price-container {
    position: absolute;
    margin-top: 100px;   
    margin-right: 100px;    
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s;
}

.chef-price-container.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Popular Burgers Section */
.popular-burgers-section {
    padding: 6rem 0;
    background: var(--gray-light);
    overflow: hidden;
}

.popular-burgers-section .section-header {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popular-burgers-section .section-header.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.popular-burgers-section .section-title {
    justify-self: center;
    font-family: 'Aref Ruqaa', serif;
    font-size: 3.5rem;
    font-weight: 400;
}

.popular-burgers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.popular-burger-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    min-height: 350px;
    opacity: 0;
    transform: translateX(-100px) rotateZ(-10deg) scale(0.8);
}

.popular-burger-card.animate-in {
    animation: popularBurgerSlideIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.popular-burger-card:hover {
    transform: translateY(-15px) rotateZ(2deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Red Card */
.popular-burger-card.red-card {
    background: linear-gradient(135deg, #ff4757 0%, #E4202B 50%, #c23616 100%);
}

/* Orange Card */
.popular-burger-card.orange-card {
    background: linear-gradient(135deg, #ffa726 0%, #FF8C00 50%, #e65100 100%);
}

.popular-burger-card .card-content {
    display: flex;
    height: 100%;
    position: relative;
    padding: 2rem;
}

.popular-burger-card .card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: white;
    max-width: 60%;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s;
}

.popular-burger-card.animate-in .card-text {
    opacity: 1;
    transform: translateX(0);
}

.popular-burger-card .burger-name {
    font-family: 'Aref Ruqaa', serif;
    font-size: 3rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s;
}

.popular-burger-card.animate-in .burger-name {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.popular-burger-card .burger-description {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.7s;
    max-width: 90%;
}

.popular-burger-card.animate-in .burger-description {
    opacity: 0.95;
    transform: translateY(0) scale(1);
}

.popular-burger-card .calories-badge {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    width: fit-content;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.9s;
}

.popular-burger-card.animate-in .calories-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.popular-burger-card .calories-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}
.popular-burger-card .btn-buy-now {
    background: #000000;
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: fit-content;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.popular-burger-card.animate-in .btn-buy-now {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 1.1s;
}

.popular-burger-card .btn-buy-now:hover {
    background: #333333;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popular-burger-card .burger-image {
    position: absolute;
    left: -250px;
    bottom: -200px;
    width: 600px;
    height: 600px;
    z-index: 1;
    overflow: hidden;
    background: transparent;
    background-color: transparent;
    opacity: 0;
    transform: translateX(100px) rotateZ(15deg) scale(0.7);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s;
}

.popular-burger-card.animate-in .burger-image {
    opacity: 1;
    transform: translateX(0) rotateZ(0deg) scale(1);
}

.popular-burger-card .burger-image img {
    width: 200%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    background: transparent !important;
    border-radius: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    background-color: transparent !important;
    background-image: none !important;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popular-burger-card:hover .burger-image img {
    transform: scale(1.1) rotateZ(-5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.burger-calories {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}


/* Enhanced Delivery Section Animations */
.delivery-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.delivery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.delivery-section.animate-in::before {
    opacity: 1;
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.delivery-image {
    opacity: 0;
    transform: translateX(-80px) rotateY(-15deg) scale(0.8);
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1000px;
    will-change: transform, opacity;
    position: relative;
    z-index: 1;
}

.delivery-image.animate-in {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
}

.delivery-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) saturate(1);
    position: relative;
    z-index: 1;
}

.delivery-image:hover img {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1) saturate(1.2);
    animation: deliveryGlow 2s ease-in-out infinite;
}

.delivery-text {
    opacity: 0;
    transform: translateX(80px) rotateY(15deg) scale(0.9);
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1000px;
    will-change: transform, opacity;
}

.delivery-text.animate-in {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
}

/* Enhanced Delivery Section Title Animation */
.delivery-section .section-title {
    justify-self: right;
    font-family: 'Aref Ruqaa', serif;
    font-size: 3.5rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(100px) scale(0.4) rotateX(40deg) rotateZ(-8deg);
    transition: all 2.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1000px;
    will-change: transform, opacity, filter;
    color: var(--dark-color);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    background: none !important;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    animation: none !important;
}

.delivery-section .section-title::before {
    content: none !important;
}

.delivery-section .section-title.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg) rotateZ(0deg);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Enhanced Delivery Description Animation */
.delivery-description {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(80px) scale(0.7) rotateX(25deg) rotateZ(3deg);
    transition: all 2.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1000px;
    will-change: transform, opacity, filter;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: none !important;
}

.delivery-description::before,
.delivery-description::after {
    content: none !important;
}

.delivery-description.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg) rotateZ(0deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Enhanced Delivery Button Animation */
.delivery-section .btn {
    padding: 20px 50px !important;
    font-size: 1.2rem !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white !important;
    background: #dc2626 !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94)!important;
    text-decoration: none;
    outline: none;
    border: none;
    position: relative;
    z-index: 1;
}

.delivery-section .btn:hover,
.delivery-section .btn:focus {
    background: white !important;
    color: #dc2626 !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

/* Try Burgers Section */
.try-burgers-section {
    padding: 0;
    height: 60vh;
    background: radial-gradient(circle at center 60%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 1%, #E4202B 40%, #c23616 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.try-burgers-content {
    display: flex;
    justify-content: center;
    z-index: 2;
}

.try-burgers-section .section-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 6rem;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    position: absolute;
    top: 2rem;
    transform: translateX(-50%) translateY(-100px) scale(0.5);
    z-index: 0;
    width: 100%;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    justify-content: center;
}

.try-burgers-section .section-title.animate-in {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.try-burgers-section .btn {
    padding: 1.8rem 4rem;
    font-size: 1.3rem;
    font-weight: 800;
    background: #262626;
    color: white;
    border: none;
    position: absolute;    
    
    transform: translateX(-50%) translateY(100px) scale(0.8);
    z-index: 3;
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 28rem;
    opacity: 0;
    
}

.try-burgers-section .btn.animate-in {   
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.try-burgers-section .btn:hover {
    background: white;
    color: #262626;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.try-burgers-image {
    margin-top: 6rem;
    left: 0%;
    transform: translateX(-50%) translateY(200px) scale(0.3) rotate(45deg);
    width: auto;
    height: 500px;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.try-burgers-image.animate-in {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
}

.try-burgers-image img {   
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: #FAF3EB;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.testimonials-section .section-header {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: blur(2px);
}

.testimonials-section .section-header.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    animation: headerGlow 3s ease-in-out infinite alternate;
}

@keyframes headerGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 53, 0.3);
    }
}

.testimonials-section .section-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
    margin-top: -2rem;
    line-height: 1.3;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: blur(2px);
    animation: titleEntrance 1.5s ease-out 0.5s forwards;
}

@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(2px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        animation: titleGlow 3s ease-in-out infinite alternate;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 53, 0.3);
    }
}

.testimonials-section .section-subtitle {
    font-size: 1.4rem;
    color: var(--text-color);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: subtitleEntrance 1.2s ease-out 1s forwards;
}

@keyframes subtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-display {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 3rem;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(10deg);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: blur(1px);
    perspective: 1000px;
}

.testimonial-display.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
    animation: displayFloat 4s ease-in-out infinite;
}

@keyframes displayFloat {
    0%, 100% {
        transform: translateY(0) scale(1) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) scale(1.02) rotateX(0deg);
    }
}

.testimonial-text-display {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-family: 'Inter', sans-serif;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: #FAF3EB;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: none;
    cursor: pointer;
    text-align: center;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 1;
    width: 398px;
    height: 170px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(60px) scale(0.8) rotateY(15deg);
    filter: blur(2px);
    perspective: 1000px;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
    filter: blur(0);
    animation: cardFloat 3s ease-in-out infinite;
}

.testimonial-card.animate-in::before {
    left: 100%;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) scale(1) rotateY(0deg);
    }
    50% {
        transform: translateY(-3px) scale(1.01) rotateY(0deg);
    }
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover::before {
    left: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.testimonial-card.active {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-15px) scale(1.02);
    z-index: 100;
    border: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
    width: 100%;
}

.author-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 1.5rem;
    gap: 1.5rem;
}

.author-image {
    flex: 1;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    border: none;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card.active .author-image {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    max-width: 90px;
    max-height: 90px;
    box-shadow: none;
    border: none;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card.active .author-image img {
    transform: scale(1.1);
}

.author-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    font-family: 'Aref Ruqaa', serif;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    line-height: 1.4;
}

.testimonial-card.active .author-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 800;
}

.rating {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card.active .rating {
    gap: 0.6rem;
    transform: scale(1.1);
}

.star {
    color: var(--accent-color);
    font-size: 1.6rem;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: none;
}

.testimonial-card.active .star {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(255, 210, 63, 0.3);
    transform: scale(1.1);
}

/* New Testimonials Page Styles */
.testimonials-hero {
    position: relative;
    height: 55vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonials-hero .hero-title {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 2;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.testimonials-hero .hero-title {
    font-size: 11rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    text-align: center;
    width: 100%;
}

/* Testimonials Grid Section */
.testimonials-grid-section {
    padding: 6rem 0;
    background: #ffffff;
}

.testimonials-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card-new {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.testimonial-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.author-image-new {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-info-new {
    flex: 1;
}

.author-name-new {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.3rem 0;
}

.rating-new {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.8rem;
}
.star-new {
    color: #ffd700;
    font-size: 1rem;
}

.testimonial-text-new {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333333;
    margin: 0 0 1rem 0;
    font-style: normal;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-date-new {
    font-size: 0.85rem;
    color: #e74c3c;
    margin: 0;
    font-weight: 500;
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
}

/* Manager Quote Section */
.manager-quote-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quote-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.quote-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.quote-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.quote-mark {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
}

.manager-quote {
    font-family: 'Aref Ruqaa', serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 2rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(40px);
}

.manager-info {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.manager-name {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.manager-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: white;
    opacity: 0.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Add Testimonial Section */
.add-testimonial-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.add-testimonial-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.add-testimonial-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.add-testimonial-content p {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.add-testimonial-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.add-testimonial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

/* Testimonials Page Styles */
.testimonials-page {
    padding: 4rem 0;
    background: var(--gray-light);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-form-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
}

.testimonial-form {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.testimonial-form.show {
    display: block;
}

.form-container h2 {
    font-family: 'Aref Ruqaa', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-container p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.google-signin-btn:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2);
    transform: translateY(-2px);
}

.google-signin-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
}

.google-signin-text {
    transition: all 0.3s ease;
}

.google-signin-btn:hover .google-signin-text {
    color: #4285F4;
}

.signin-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.user-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.user-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group textarea,
.form-group input[type="date"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea:focus,
.form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.rating-input {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-input input[type="radio"]:checked ~ label,
.rating-input label:hover {
    color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.existing-testimonials {
    margin-top: 4rem;
}

.existing-testimonials h2 {
    font-family: 'Aref Ruqaa', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Professional Testimonials Button */
.simple-button-container {
    position: relative;
    margin: 3rem auto 0;
    max-width: 320px;
    text-align: center;
}

.simple-button {
    position: relative;
    width: 100%;
    height: 56px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.simple-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.simple-button-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    text-decoration: none;
}

/* Professional hover effects */
.simple-button-link:hover + .simple-button,
.simple-button-container:hover .simple-button {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-color: #4CAF50;
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.25),
        0 4px 12px rgba(76, 175, 80, 0.15);
    transform: translateY(-2px);
}

.simple-button-link:hover + .simple-button::before,
.simple-button-container:hover .simple-button::before {
    left: 100%;
}

.simple-button-link:hover + .simple-button .button-text,
.simple-button-container:hover .button-text {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Active state */
.simple-button:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 15px rgba(76, 175, 80, 0.2),
        0 2px 6px rgba(76, 175, 80, 0.1);
}


/* Blog Section - moved to line 3419 */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-link:hover {
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-widget a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #34495e;
}

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

.hours-item strong {
    color: var(--white);
    font-weight: 600;
}

.hours-item span {
    color: var(--light-color);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 12px 16px;
    border: 1px solid #34495e;
    border-radius: 8px;
    background: #34495e;
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: var(--light-color);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 14px;
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: var(--text-light);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes imageSlideInFromFront {
    0% {
        transform: translateZ(100px) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateZ(50px) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: translateZ(0px) scale(1);
        opacity: 1;
    }
}

@keyframes professionalSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes staggerAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popularBurgerSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotateZ(-10deg) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-20px) rotateZ(-5deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateZ(0deg) scale(1);
    }
}

@keyframes popularBurgerBounce {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

/* Hide mobile menu toggle in desktop mode */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}
.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 1px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    /* Fix white space on mobile */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Remove global max-width that breaks navbar */
    .site-header {
        background: white !important;
        border-bottom: 2px solid #dc2626;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: sticky !important;
        top: 46px !important;
        z-index: 1000 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 40px !important;
    }
    
    /* Account for WordPress admin bar */
    body.admin-bar .site-header {
        top: 46px !important;
    }
    
    /* WordPress admin bar on mobile (smaller height) */
    @media screen and (max-width: 782px) {
        body.admin-bar .site-header {
            top: 46px !important;
        }
    }
    
    .site-header .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.5rem 20px !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 0 auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 40px !important;
    }
    
    .site-branding {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .site-logo {
        max-height: 40px !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-actions {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        flex: 0 0 auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 3 !important;
        flex: 0 0 auto !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        flex-direction: column !important;
        gap: 4px !important;
        z-index: 1001 !important;
        width: 30px !important;
        height: 30px !important;
        justify-content: center !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .cart-icon {
        position: relative;
    }
    
    .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #dc2626;
        color: white;
        border: 2px solid white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
        min-width: 20px;
    }
    
    .cart-icon-img {
        width: 24px;
        height: 24px;
        filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(2000%) hue-rotate(0deg) brightness(90%) contrast(100%);
    }
    
    .order-btn {
        display: none;
    }
    
    /* Hide site description in mobile */
    .site-description {
        display: none;
    }
    
    /* Ensure proper spacing */
    .site-header .container > * {
        margin: 0;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        padding: 2rem;
    }
    
    .main-navigation.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: center;
        align-items: center;
    }
    
    .main-navigation a {
        color: white;
        font-size: 1.4rem;
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        display: block;
        white-space: nowrap;
        min-width: 200px;
        text-align: center;
    }
    
    .main-navigation a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    /* Order button in mobile menu */
    .main-navigation .mobile-order-btn {
        background: #dc2626 !important;
        color: white !important;
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        padding: 1.5rem 3rem !important;
        border-radius: 12px !important;
        margin-top: 1rem !important;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        border: 2px solid #dc2626 !important;
    }
    
    .main-navigation .mobile-order-btn:hover {
        background: white !important;
        color: #dc2626 !important;
        border-color: white !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    /* Close button for mobile menu - Hidden */
    .mobile-menu-close {
        display: none !important;
    }
    
    .mobile-menu-close:hover {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 5.5rem;
        margin-top: -4rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        margin-left: 0;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
        text-align: center;
        margin-top: -3rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 3rem;
        margin-top: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 350px;
        padding: 32px 48px !important;
        font-size: 22px !important;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Keep hero background image at full size in mobile */
    .hero-section {
        background-size: cover !important;
        background-position: 40% center !important;
        background-repeat: no-repeat !important;
        min-height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 0;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .hero-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        margin: 0;
        padding-top: 1rem;
    }
    
    /* Adjust hero spacing when WordPress admin bar is present */
    body.admin-bar .hero-section .container {
        padding-top: 1rem;
    }
    
    .chef-content,
    .delivery-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .burger-grid,
    .popular-burgers-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-burgers-grid {
        gap: 1.5rem;
    }
    
    .popular-burger-card {
        min-height: 350px;
    }
    
    .popular-burger-card .card-content {
        padding: 1.5rem;
    }
    
    .popular-burger-card .burger-name {
        font-size: 2.5rem;
    }
    
    .popular-burger-card .burger-description {
        max-width: 85%;
        font-size: 0.9rem;
    }
    
    .popular-burger-card .btn-buy-now {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .popular-burger-card .burger-image {
        left: -120px;
        bottom: -100px;
        width: 350px;
        height: 350px;
    }
    
    .try-burgers-section {
        padding: 5rem 0;
        min-height: 400px;
    }
    
    .try-burgers-section .section-title {
        font-size: 3.5rem;
        top: 1rem;
    }
    
    .try-burgers-section .btn {
        padding: 1.5rem 3rem;
        font-size: 1.1rem;
        bottom: 1rem;
    }
    
    .try-burgers-image {
        width: 500px;
        height: 500px;
        bottom: 0;
    }
    
    .site-header .container {
        flex-direction: row;
        gap: 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    /* Mobile-specific improvements */
    .container {
        padding: 0 10px;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    
    /* Ensure all sections take full width */
    section {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    /* Products section mobile */
    .choose-enjoy-section .section-title {
        font-size: 3rem;
        text-align: center;
    }
    
    .choose-enjoy-section .section-subtitle {
        text-align: center;
    }
    
    /* Chef section mobile */
    .chef-section {
        padding: 3rem 0;
        position: relative;
        overflow: hidden;
    }
    
    .chef-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: trasparant;
        border-radius: 50%;
        z-index: -1;
        filter: blur(10px);
    }

    /* White lamp shadow behind image */
    .chef-image::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
        border-radius: 50%;
        z-index: -1;
        filter: blur(10px);
    }
    
    .chef-image {
        position: relative;
    }
    
    .chef-section .container {
        position: relative;
        z-index: 2;
    }
    
    /* Chef content reorganization */
    .chef-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* Chef image at top - bigger size */
    .chef-image {
        min-height: 25vh;
        height: 25vh;
        order: 1;
        margin: 1rem 0 10px 0;
        padding: 1rem 0;
    }
    
    .chef-service-image {
        width: 280px !important;
        height: 25vh !important;
        min-height: 25vh !important;
        object-fit: contain !important;
        filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
    }
    
    /* Hide price container in mobile */
    .chef-price-container {
        display: none;
    }
    
    /* Chef text content */
    .chef-text {
        order: 2;
        max-width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .chef-text .section-title {
        font-size: 2rem !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .chef-description {
        color: white !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 20px;
        opacity: 0.95;
        max-width: 350px;
    }
    
    /* Chef button at bottom - bigger size */
    .chef-text .btn {
        order: 3;
        background: #dc2626 !important;
        color: white !important;
        padding: 20px 50px !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 1.2rem !important;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
        transition: all 0.3s ease;
        margin-top: 1rem;
        border: none;
        min-height: 60px;
        min-width: 200px;
    }
    
    .chef-text .btn:hover {
        background: white !important;
        color: #dc2626 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    }
    
    .chef-description {
        text-align: center;
        font-size: 1rem;
    }
    
    /* Delivery section mobile */
    .delivery-section .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .delivery-description {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .delivery-section .btn {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Try burgers section mobile */
    .try-burgers-section {
        padding: 3rem 0;
        min-height: 50vh;
    }
    
    .try-burgers-section .section-title {
        font-size: 3.5rem;
        text-align: center;
    }
    
    .try-burgers-section .btn {
        position: relative;
        margin: 350px 50% 0 0  ;        
    }
       
    
    .try-burgers-image {
        position: absolute;    
        left: 50%;
        top: 15%;
        transform: translateX(-50%) translateY(200px) scale(0.3) rotate(45deg);
        width: 400px;
        height: 400px;
        z-index: 1;
        overflow: hidden;
        opacity: 0;
        transition: all 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);        
    }
    
    /* Testimonials section mobile */
    .testimonials-section .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .testimonials-section .section-subtitle {
        text-align: center;
    }
    
    .testimonial-text-display {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
    
    /* Blog section mobile */
    .blog-section .section-title-blog {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .blog-section .section-subtitle-blog {
        font-size: 1.1rem;
        text-align: center;
    }
    
    /* New Testimonials Page Responsive */
    .testimonials-hero .hero-title {
        font-size: 6.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .testimonials-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card-new {
        padding: 1.5rem;
    }
    
    .author-image-new {
        width: 50px;
        height: 50px;
    }
    
    .author-name-new {
        font-size: 1.1rem;
    }
    
    .testimonial-text-new {
        font-size: 0.95rem;
    }
    
    .quote-mark {
        font-size: 4rem;
    }
    
    .manager-quote {
        font-size: 1.5rem;
    }
    
    .manager-name {
        font-size: 1.3rem;
    }
    
    .add-testimonial-content h2 {
        font-size: 2rem;
    }
    
    .add-testimonial-content p {
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {

    .mobile-order-btn {
        display: block !important;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 60vh;
       
    }
    .hero-title {
        margin-top: 1rem;
        font-size: 3.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;        
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        padding: 24px 40px !important;
        font-size: 20px !important;
        min-height: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .burger-info,
    .blog-content {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 20px;
        width: 350px;
        height: 130px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .testimonials-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-text-display {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
    
    .testimonial-author {
        gap: 1.5rem;
    }
    
    .author-image {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
        max-width: 70px;
        max-height: 70px;
    }
    
    
    .testimonial-card.active .author-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
        max-height: 80px;
    }
    
    .author-name {
        font-size: 1.2rem;
    }
    
    .testimonial-card.active .author-name {
        font-size: 1.4rem;
    }
    
    .simple-button-container {
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .simple-button {
        height: 52px;
    }
    
    .button-text {
        font-size: 15px;
        letter-spacing: 0.3px;
    }
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Blog Section - Modern Professional Animations */
.blog-section {
    padding: 6rem 0;
    background: var(--gray-light);
    opacity: 0;
    transform: translateY(120px) scale(0.95);
    transition: all 1.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: blur(8px);
    will-change: transform, opacity, filter;
}

.blog-section.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.blog-section .section-header-blog {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(80px) rotateX(20deg);
    transition: all 1.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    perspective: 1000px;
    will-change: transform, opacity;
}

.blog-section.animate-in .section-header-blog {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    transition-delay: 0.4s;
}

.blog-section .section-title-blog {
    font-family: 'Aref Ruqaa', 'Amiri', 'Noto Sans Arabic', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
    direction: rtl;
}

.blog-section .section-subtitle-blog {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0;
    direction: rtl;
    text-align: center;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.blog-posts-grid .blog-card {
    opacity: 0;
    transform: translateY(100px) scale(0.8) rotateY(15deg);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: blur(6px);
    will-change: transform, opacity, filter;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.blog-section.animate-in .blog-posts-grid .blog-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
    filter: blur(0px);
    transition-delay: 0.7s;
}

.blog-section.animate-in .blog-posts-grid .blog-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
    filter: blur(0px);
    transition-delay: 0.9s;
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform, box-shadow, backdrop-filter;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-20px) scale(1.03) rotateX(5deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(255, 107, 53, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    border-color: rgba(255, 107, 53, 0.2);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 50%;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, filter;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.12) rotate(2deg);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.95) 0%, rgba(33, 37, 41, 0.95) 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-category:hover {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.95) 0%, rgba(52, 58, 64, 0.95) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.blog-meta-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-reading-time {
    display: none;
}

.blog-date i,
.blog-reading-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.read-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    color: var(--text-color);
    transform: translateX(-5px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(-3px);
}

.no-blog-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.no-blog-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-blog-posts p {
    color: var(--text-light);
    font-size: 1rem;
}

.blog-section-footer {
    text-align: center;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: blur(4px);
    will-change: transform, opacity, filter;
}

.blog-section.animate-in .blog-section-footer {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    transition-delay: 1.1s;
}

.blog-view-all {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    border: none;
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        0 8px 32px rgba(220, 38, 38, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    will-change: transform, box-shadow, filter;
}

.blog-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-view-all:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(220, 38, 38, 0.4),
        0 8px 32px rgba(220, 38, 38, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
}

.blog-view-all:hover::before {
    left: 100%;
}

.blog-view-all:active {
    transform: translateY(-2px) scale(1.02);
    transition-duration: 0.2s;
}

/* Blog Section Mobile */
@media (max-width: 768px) {
    .blog-section {
        padding: 4rem 0;
    }
    
    .blog-section .section-title-blog {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .blog-section .section-subtitle-blog {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .blog-card {
        height: 420px;
        min-height: 420px;
    }
    
    .blog-card-image {
        height: 50%;
    }
    
    .blog-card-content {
        padding: 1.2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 0;
    }
    
    .blog-category {
        margin-bottom: 0;
        margin-right: 0.8rem;
        float: left;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        overflow: hidden;
        line-height: 1.4;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .blog-card-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        clear: both;
        margin-top: 0.5rem;
    }
    
    .blog-card-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
        margin-top: auto;
    }
    
    .blog-meta-left {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .read-more-btn {
        display: inline-flex !important;
        visibility: visible !important;
        width: auto;
        flex-shrink: 0;
        margin-top: 0;
    }
}

/* Blog Single Page Styles */
.blog-post-single {
    padding: 4rem 0;
    background: var(--white);
    
}

.blog-single-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-single-article {
    background: var(--white);
}

/* Blog Single Header */
.blog-single-header {
    text-align: right;
    margin-bottom: 3rem;
    direction: rtl;
}

.blog-single-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.blog-single-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
    text-align: right;
    direction: rtl;
}

.blog-single-date {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Blog Single Image */
.blog-single-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Single Content */
.blog-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.blog-single-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    font-family: 'Aref Ruqaa', serif;
    color: var(--dark-color);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.blog-single-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.blog-single-content h3 {
    font-size: 1.5rem;
}

.blog-single-content ul,
.blog-single-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-single-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.blog-single-content ul li {
    list-style-type: disc;
}

.blog-single-content blockquote {
    background: var(--gray-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Blog Navigation */
.blog-single-navigation {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 3rem;
    margin-top: 3rem;
}

.blog-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    direction: rtl;
}

.blog-nav-item {
    flex: 1;
    max-width: 48%;
}

.blog-nav-item a {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 1rem;
    min-height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.blog-nav-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #e55a2b);
    transition: left 0.4s ease;
    z-index: -1;
}

.blog-nav-item a:hover::before {
    left: 0;
}
.blog-nav-item a:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.25);
}

.blog-nav-item a:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.blog-nav-prev a {
    justify-content: space-between;
    text-align: right;
    direction: ltr;
    flex-direction: row;
}

.blog-nav-next a {
    justify-content: flex-start;
    text-align: left;
    direction: ltr;
}

.nav-arrow {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.blog-nav-item a:hover .nav-arrow {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.nav-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.blog-nav-item a:hover .nav-label {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-nav-item a:hover .nav-title {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-single-wrapper {
        padding: 0 1rem;
    }
    
    .blog-single-header {
        text-align: center;
    }
    
    .blog-single-title {
        font-size: 2.2rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-single-content {
        font-size: 1rem;
    }
    
    .blog-nav-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .blog-nav-item {
        max-width: 100%;
        width: 100%;
    }
    
    .blog-nav-item a {
        padding: 1rem 1.2rem;
        min-height: 60px;
    }
    
    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .blog-nav-prev a {
        text-align: right;
        direction: ltr;
        justify-content: space-between;
        flex-direction: row;
    }
    
    .blog-nav-next a {
        text-align: left;
        direction: ltr;
        justify-content: flex-start;
    }
}

/* Blog Category Archive Page Styles */
.blog-category-hero {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.blog-category-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-category-hero-title {
    font-size: 18rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 0 1rem 0;
    font-family: 'Aref Ruqaa', 'Amiri', 'Noto Sans Arabic', serif;
    text-align: center;
    direction: rtl;
}

.blog-category-hero-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Aref Ruqaa', serif;
    direction: rtl;
}

.blog-category-archive {
    padding: 4rem 0;
    background: var(--gray-light);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.blog-category-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-category-main-content {
    background: var(--white);
    padding: 0;
}

.blog-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform, box-shadow, backdrop-filter;
    opacity: 0;
    animation: slideInCards 0.8s ease-out forwards;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.blog-category-card:nth-child(1) { animation-delay: 0.2s; }
.blog-category-card:nth-child(2) { animation-delay: 0.4s; }
.blog-category-card:nth-child(3) { animation-delay: 0.6s; }
.blog-category-card:nth-child(4) { animation-delay: 0.8s; }
.blog-category-card:nth-child(5) { animation-delay: 1s; }
.blog-category-card:nth-child(6) { animation-delay: 1.2s;
}

.blog-category-card.will-animate {
    opacity: 0;
    transform: translateY(100px) scale(0.8) rotateY(15deg);
    filter: blur(6px);
}

.blog-category-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
    filter: blur(0px);
}

.blog-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 1;
}

.blog-category-card:hover {
    transform: translateY(-20px) scale(1.03) rotateX(5deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(255, 107, 53, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    border-color: rgba(255, 107, 53, 0.2);
}

.blog-category-card:hover::before {
    opacity: 1;
}

.blog-category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, filter;
}

.blog-category-card:hover .blog-category-image img {
    transform: scale(1.12) rotate(2deg);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.95) 0%, rgba(33, 37, 41, 0.95) 100%);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-category-badge.popular,
.blog-category-badge.vegetarian,
.blog-category-badge.featured {
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.95) 0%, rgba(33, 37, 41, 0.95) 100%);
}

.blog-category-card:hover .blog-category-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.95) 0%, rgba(52, 58, 64, 0.95) 100%);
}

.blog-category-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.blog-category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-category-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-category-title a:hover {
    color: var(--primary-color);
}

.blog-category-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.blog-category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.blog-category-meta-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-category-date,
.blog-category-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-category-date i,
.blog-category-reading-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.blog-category-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-category-read-more:hover {
    color: var(--text-color);
    transform: translateX(-5px);
}

.blog-category-read-more i {
    transition: transform 0.3s ease;
}

.blog-category-read-more:hover i {
    transform: translateX(-3px);
}

/* Sidebar Styles for Category Page */
.blog-category-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: slideInSidebar 1s ease-out 0.5s forwards;
}

.navigation-links {
    margin-bottom: 1rem;
}

.back-to-all-posts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    border: none;
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        0 8px 32px rgba(220, 38, 38, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    will-change: transform, box-shadow, filter;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.back-to-all-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.back-to-all-posts:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(220, 38, 38, 0.4),
        0 8px 32px rgba(220, 38, 38, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
    color: white;
}

.back-to-all-posts:hover::before {
    left: 100%;
}

.back-to-all-posts:active {
    transform: translateY(-2px) scale(1.02);
    transition-duration: 0.2s;
}

.other-categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.other-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #dee2e6;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.other-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.other-category-item:hover::before {
    left: 100%;
}

.other-category-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #1a202c;
}

.other-category-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    color: #2c3e50;
}

.other-category-count {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.other-category-item:hover .other-category-count {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: scale(1.05);
}

/* Pagination for Category Page */
.blog-category-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-category-pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-category-pagination .page-numbers:hover,
.blog-category-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.no-category-posts-found {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.no-category-posts-found h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-family: 'Aref Ruqaa', serif;
}

.no-category-posts-found p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Styles for Category Page */
@media (max-width: 768px) {
    .blog-category-hero-title {
        font-size: 8rem;
    }
    
    .blog-category-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-category-card {
        margin: 0 1rem;
    }
    
    .blog-category-sidebar {
        order: -1;
        margin: 0 1rem;
    }
    
    .other-categories-list {
        gap: 0.6rem;
    }
    
    .other-category-item {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .other-category-item:hover {
        transform: none;
    }
    
    .other-category-item::before {
        display: none;
    }
}

/* Blog Archive Page Styles */
.blog-hero {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-hero-title {
    font-size: 18rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    font-family: 'Aref Ruqaa', 'Amiri', 'Noto Sans Arabic', serif;
    text-align: center;
    direction: rtl;
}

.blog-archive {
    padding: 4rem 0;
    background: var(--gray-light);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-archive-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-main-content {
    
    padding: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-archive-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    animation: slideInCards 0.8s ease-out forwards;
}

.blog-archive-card:nth-child(1) { animation-delay: 0.2s; }
.blog-archive-card:nth-child(2) { animation-delay: 0.4s; }
.blog-archive-card:nth-child(3) { animation-delay: 0.6s; }
.blog-archive-card:nth-child(4) { animation-delay: 0.8s; }
.blog-archive-card:nth-child(5) { animation-delay: 1s; }
.blog-archive-card:nth-child(6) { animation-delay: 1.2s; }

@keyframes slideInCards {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.blog-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-archive-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.blog-archive-card:hover .blog-archive-image img {
    transform: scale(1.05);
}
.blog-archive-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.95) 0%, rgba(33, 37, 41, 0.95) 100%);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-archive-category.popular,
.blog-archive-category.vegetarian,
.blog-archive-category.featured {
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.95) 0%, rgba(33, 37, 41, 0.95) 100%);
}

.blog-archive-card:hover .blog-archive-category {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.95) 0%, rgba(52, 58, 64, 0.95) 100%);
}

.blog-archive-content {
    padding: 2rem;
}

.blog-archive-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-archive-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-archive-title a:hover {
    color: var(--primary-color);
}

.blog-archive-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.blog-read-more {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--dark-color);
    border-bottom-color: var(--primary-color);
}

/* Sidebar Styles */
.blog-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: slideInSidebar 1s ease-out 0.5s forwards;
}

@keyframes slideInSidebar {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.recent-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

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

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.recent-post-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Categories Widget */
.sidebar-widget + .sidebar-widget {
    margin-top: 2rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #dee2e6;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #1a202c;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    color: #2c3e50;
}

.category-count {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-item:hover .category-count {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: scale(1.05);
}

/* Pagination */
.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-posts-found h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.no-posts-found p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .blog-archive-wrapper {
        gap: 3rem;
    }
    
    .blog-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 4rem;
    }
    
    .blog-archive-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-archive-card {
        margin: 0 1rem;
    }
    
    .blog-sidebar {
        order: -1;
        margin: 0 1rem;
    }
    
    .recent-post-item {
        flex-direction: column;
        text-align: center;
    }
    
    .recent-post-image {
        width: 100%;
        height: 150px;
        align-self: center;
    }
    
    .sidebar-widget + .sidebar-widget {
        margin-top: 1.5rem;
    }
    
    .categories-list {
        gap: 0.6rem;
    }
    
    .category-item {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .category-item:hover {
        transform: none;
    }
    
    .category-item::before {
        display: none;
    }
}

/* Footer Styling - Dark Theme */
.site-footer {
    background: #222222;
    color: white;
    padding: 60px 0 30px 0;
    margin-top: 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo & Social Media Widget */
.footer-logo a {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo a:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.social-media {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #FF8C00;
    color: white !important;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

.social-icon i {
    color: white !important;
    font-size: 1.2rem;
    display: block;
}

.social-icon:hover {
    background: #E67300;
    transform: scale(1.1);
    color: white !important;
}

.social-icon:hover i {
    color: white !important;
}

.social-icon.facebook:hover {
    background: #1877F2;
    color: white !important;
}

.social-icon.facebook:hover i {
    color: white !important;
}

.social-icon.instagram:hover {
    background: #E4405F;
    color: white !important;
}

.social-icon.instagram:hover i {
    color: white !important;
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    color: white !important;
}

.social-icon.twitter:hover i {
    color: white !important;
}

/* Contact Info */
.contact-info p {
    margin-bottom: 10px;
}

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

.contact-info a:hover {
    color: #FF8C00;
}

/* Opening Hours */
.hours-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hours-item strong {
    color: white;
    font-weight: 600;
}

.hours-item span {
    color: #FF8C00;
    font-weight: 500;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid #444;
    background: #333;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #FF8C00;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form .btn {
    background: transparent;
    border: 2px solid #FF8C00;
    color: #FF8C00;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-form .btn:hover {
    background: #FF8C00;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Footer Bottom - Navigation and Copyright in one line */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0px solid #444;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #FF8C00;
}

/* Copyright */
.copyright {
    color: white;
    font-size: 0.9rem;
}

.copyright a {
    color: #FF8C00;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 20px;
    }
    
    .social-media {
        justify-content: center;
    }
}

/* Cart Popup Styles */
.cart-popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.cart-popup.active {
    right: 0;
}

.cart-popup-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    position: sticky;
    top: 0;
    z-index: 10001;
    direction: rtl;
}

.cart-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-title::before {
    content: "🛒";
    font-size: 1.5rem;
}

.cart-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    direction: rtl;
    background: #f9fafb;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    direction: rtl;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

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

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    direction: rtl;
    text-align: right;
    line-height: 1.2;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    direction: rtl;
    text-align: right;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    direction: rtl;
}

.cart-item-quantity label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.cart-item-quantity input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    direction: ltr;
}

.quantity-input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.cart-item-remove {
    color: #dc2626;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #b91c1c;
}
.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
    position: sticky;
    bottom: 0;
}

.cart-summary {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    direction: rtl;
}

.summary-row.total-row {
    border-top: 2px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.summary-label {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 500;
}

.summary-row.total-row .summary-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.summary-amount {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
}

.summary-amount.total-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b35;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.subtotal-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.subtotal-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #dc2626;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    direction: rtl;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.checkout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.checkout-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.checkout-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.checkout-btn i {
    font-size: 1.1rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.empty-cart-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-cart-message {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* WooCommerce Checkout Page Styles */
.woocommerce-checkout {
    direction: rtl;
    text-align: right;
}

.woocommerce-checkout h3 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ff6b35;
}

.woocommerce-checkout .form-row {
    direction: rtl;
    text-align: right;
}

.woocommerce-checkout label {
    font-weight: 600;
    color: #1f2937;
    display: block;
    margin-bottom: 0.5rem;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    direction: rtl;
    text-align: right;
    transition: border-color 0.3s ease;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.woocommerce-checkout .woocommerce-checkout-review-order table {
    direction: rtl;
    text-align: right;
}

.woocommerce-checkout .order-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ff6b35;
}

.woocommerce-checkout #place_order {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.woocommerce-checkout .woocommerce-billing-fields h3::before {
    content: "📋 ";
    margin-left: 0.5rem;
}

.woocommerce-checkout .woocommerce-additional-fields h3::before {
    content: "📝 ";
    margin-left: 0.5rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order h3::before {
    content: "🛒 ";
    margin-left: 0.5rem;
}

.woocommerce-checkout .woocommerce-checkout-payment {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-top: 1.5rem;
}

.woocommerce-checkout .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.woocommerce-checkout .wc_payment_method label:hover {
    background: #f9fafb;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    direction: rtl;
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Cart and Checkout Page Tables */
.woocommerce-cart table,
.woocommerce-checkout table {
    direction: rtl;
}

.woocommerce table.shop_table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: #f9fafb;
    font-weight: 700;
    padding: 1rem;
    text-align: right;
}

.woocommerce table.shop_table td {
    padding: 1rem;
    text-align: right;
    border-top: 1px solid #e5e7eb;
}

.empty-cart-submessage {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Mobile Cart Popup Styles */
@media (max-width: 768px) {
    .cart-popup {
        max-width: 100%;
        right: -100%;
    }
    
    .cart-popup.active {
        right: 0;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-details {
        width: 100%;
    }
    
    .cart-item-quantity {
        justify-content: space-between;
        width: 100%;
    }
    
    .quantity-input {
        width: 60px;
    }
}

/* Professional Cart Item Styles */
.cart-item-total {
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 600;
    margin-top: 0.5rem;
    direction: rtl;
    text-align: right;
}

.cart-item-quantity label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.cart-item-remove {
    color: #dc2626;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.cart-item-remove:hover {
    color: #b91c1c;
}

/* Add to Cart Button Professional Styling */
.add-to-cart-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.add-to-cart-btn.success {
    background-color: #10b981 !important;
    color: white !important;
    transform: scale(1.05);
}

/* ============================================
   PROFESSIONAL CHECKOUT PAGE STYLES
   ============================================ */

/* Checkout Page Container */
.woocommerce-checkout {
    background: #f9fafb;
    padding: 2rem 0;
    direction: rtl;
}

.woocommerce-checkout .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Checkout Page Title */
.woocommerce-checkout .page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Aref Ruqaa', serif;
}

.woocommerce-checkout .page-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Two Column Layout - Desktop */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    direction: rtl;
}

/* Billing Details Section */
.woocommerce-checkout .col2-set {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100%;
}

.woocommerce-checkout h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-checkout h3::before {
    content: '📋';
    font-size: 1.8rem;
}

/* Form Fields Styling */
.woocommerce-checkout .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-align: right;
}

.woocommerce-checkout .form-row label .required {
    color: #dc2626;
    margin-left: 0.25rem;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    direction: rtl;
    text-align: right;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: 'Inter', sans-serif;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Form Row Layout */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48%;
    float: right;
}

.woocommerce-checkout .form-row-first {
    margin-left: 4%;
}

.woocommerce-checkout .form-row-wide {
    width: 100%;
    clear: both;
}

/* Order Review Section */
.woocommerce-checkout #order_review_heading {
    display: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 20px;
}

.woocommerce-checkout .woocommerce-checkout-review-order h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b35;
}

.woocommerce-checkout .woocommerce-checkout-review-order h3::before {
    content: '🛒';
    font-size: 1.8rem;
    margin-left: 0.5rem;
}

/* Order Summary Table */
.woocommerce-checkout .shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
    direction: rtl;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-checkout .shop_table thead th {
    background: #f9fafb;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-checkout .shop_table tbody tr:last-child th,
.woocommerce-checkout .shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-checkout .shop_table .product-name {
    font-weight: 600;
    color: #1f2937;
}

.woocommerce-checkout .shop_table .product-total {
    font-weight: 700;
    color: #ff6b35;
}

.woocommerce-checkout .shop_table tfoot th {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.95rem;
}

.woocommerce-checkout .shop_table tfoot td {
    font-weight: 700;
    color: #1f2937;
}

.woocommerce-checkout .shop_table .order-total th {
    font-size: 1.1rem;
    color: #1f2937;
    padding-top: 1.5rem;
}

.woocommerce-checkout .shop_table .order-total td {
    font-size: 1.3rem;
    color: #ff6b35;
    padding-top: 1.5rem;
}

/* Payment Methods */
.woocommerce-checkout .woocommerce-checkout-payment {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-top: 1.5rem;
}

.woocommerce-checkout .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.woocommerce-checkout .wc_payment_method {
    margin-bottom: 1rem;
}

.woocommerce-checkout .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-weight: 600;
}

.woocommerce-checkout .wc_payment_method label:hover {
    background: white;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.woocommerce-checkout .wc_payment_method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b35;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.woocommerce-checkout #place_order:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.woocommerce-checkout #place_order:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* Privacy Policy */
.woocommerce-checkout .woocommerce-privacy-policy-text {
    direction: rtl;
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    line-height: 1.6;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #ff6b35;
    text-decoration: underline;
}

/* Error Messages */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
    background: white;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    direction: rtl;
    text-align: right;
}

.woocommerce-checkout .woocommerce-message {
    border-left-color: #10b981;
}

/* Loading State */
.woocommerce-checkout.processing {
    pointer-events: none;
    opacity: 0.6;
}

.woocommerce-checkout.processing::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: #ff6b35;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 9999;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Trust Badges */
.checkout-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.trust-badge i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Additional Information Section */
.woocommerce-checkout .woocommerce-additional-fields {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-top: 1.5rem;
}

.woocommerce-checkout .woocommerce-additional-fields h3::before {
    content: '📝';
    font-size: 1.8rem;
    margin-left: 0.5rem;
}

.woocommerce-checkout textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout .woocommerce-checkout-review-order,
    .woocommerce-checkout .woocommerce-additional-fields {
        padding: 1.5rem;
    }
    
    .woocommerce-checkout .woocommerce-checkout-review-order {
        position: static;
    }
    
    .woocommerce-checkout h3 {
        font-size: 1.3rem;
    }
    
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
        margin-left: 0;
    }
    
    .woocommerce-checkout .page-title {
        font-size: 2rem;
    }
    
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout textarea,
    .woocommerce-checkout select {
        font-size: 16px; /* Prevent iOS zoom */
    }
    
    .checkout-trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Form Validation States */
.woocommerce-checkout .woocommerce-invalid input,
.woocommerce-checkout .woocommerce-invalid select,
.woocommerce-checkout .woocommerce-invalid textarea {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.woocommerce-checkout .woocommerce-validated input,
.woocommerce-checkout .woocommerce-validated select,
.woocommerce-checkout .woocommerce-validated textarea {
    border-color: #10b981 !important;
}

/* Field Icons */
.woocommerce-checkout .form-row {
    position: relative;
}

.woocommerce-checkout .form-row.woocommerce-validated::after {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 38px;
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Delivery Fee Highlight */
.woocommerce-checkout .cart-subtotal,
.woocommerce-checkout .shipping {
    background: #f9fafb;
}

.woocommerce-checkout .shipping th,
.woocommerce-checkout .shipping td {
    color: #ff6b35;
    font-weight: 600;
}

/* ============================================
   PROFESSIONAL ORDER CONFIRMATION PAGE
   ============================================ */

/* Order Confirmation Container */
.professional-order-confirmation {
    background: #f9fafb;
    padding: 2rem 0;
    direction: rtl;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Hide sidebar and unnecessary elements on order confirmation page */
.woocommerce-order-received .content-area {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.woocommerce-order-received .site-sidebar {
    display: none !important;
}

.woocommerce-order-received .site-footer {
    margin-top: 4rem;
}

/* Smooth Entrance Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-in.delay-1 {
    animation-delay: 0.2s;
}

.animate-in.delay-2 {
    animation-delay: 0.4s;
}

.animate-in.delay-3 {
    animation-delay: 0.6s;
}

.animate-in.delay-4 {
    animation-delay: 0.8s;
}

.animate-in.delay-5 {
    animation-delay: 1s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Header */
.order-success-header {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.checkmark {
    width: 40px;
    height: 60px;
    border: solid white;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg);
    animation: checkmarkDraw 0.3s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes checkmarkDraw {
    to {
        opacity: 1;
    }
}

.order-success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Aref Ruqaa', serif;
}

.order-success-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

/* Order Timeline Container */
.order-timeline-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.timeline-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.timeline-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Hide delivery truck icon from timeline header on order received page */
.woocommerce-order-received .timeline-header h2::before {
    display: none !important;
}

.timeline-header h2::before {
    content: '🚚';
    font-size: 1.8rem;
}

.timeline-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

/* Order Timeline */
.order-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 1rem 0;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
    border-radius: 1px;
}

/* Dynamic progress line based on order status */
.order-timeline[data-status="pending"]::before {
    background: linear-gradient(90deg, #10b981 16%, #e5e7eb 16%);
}

.order-timeline[data-status="processing"]::before {
    background: linear-gradient(90deg, #10b981 32%, #e5e7eb 32%);
}

.order-timeline[data-status="wc-preparing"]::before {
    background: linear-gradient(90deg, #10b981 50%, #e5e7eb 50%);
}

.order-timeline[data-status="wc-out-for-delivery"]::before {
    background: linear-gradient(90deg, #10b981 66%, #e5e7eb 66%);
}

.order-timeline[data-status="wc-delivered"]::before {
    background: linear-gradient(90deg, #10b981 83%, #e5e7eb 83%);
}

.order-timeline[data-status="completed"]::before {
    background: linear-gradient(90deg, #10b981 100%, #e5e7eb 100%);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    position: relative;
    flex: 1;
    max-width: 120px;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.timeline-step.completed .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 3px solid #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Replace icon with checkmark for completed steps ONLY */
.timeline-step.completed .step-icon i::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.timeline-step.active .step-icon,
.timeline-step.current .step-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: 3px solid #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

/* Current/Active step keeps its own icon - NO checkmark override */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.step-content h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.step-content p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
    min-height: 1.5rem;
}

.step-content small {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

.timeline-step.completed .step-content h3 {
    color: #10b981;
}

.timeline-step.active .step-content h3,
.timeline-step.current .step-content h3 {
    color: #ff6b35;
}

.timeline-step.pending .step-content h3 {
    color: #9ca3af;
}

.timeline-step.pending .step-content p {
    color: #9ca3af;
}

/* Order Summary Card */
.order-summary-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.summary-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-header h2::before {
    content: '📋';
    font-size: 1.8rem;
}

.order-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b35;
    background: #fff5f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid #ff6b35;
}

.summary-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.summary-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: white;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.summary-item .label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.summary-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.summary-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-items {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.order-items h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-items h3::before {
    content: '🛒';
    font-size: 1.3rem;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.item-name {
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.item-quantity {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 1rem;
}

.item-price {
    font-weight: 700;
    color: #ff6b35;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 12px;
    border: 2px solid #ff6b35;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.total-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ff6b35;
}

/* Support & Next Steps Container */
.support-next-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Customer Support Card (in container) */
.support-next-container .customer-support-card {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.support-next-container .customer-support-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-next-container .customer-support-card h3::before {
    content: '🎧';
    font-size: 1.5rem;
}

.support-next-container .customer-support-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.support-next-container .support-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.support-next-container .support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #ff6b35;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.support-next-container .support-btn:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #f7931e;
}

/* What's Next Section (in container) */
.support-next-container .whats-next-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.support-next-container .whats-next-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.support-next-container .whats-next-section h3::before {
    content: '📍';
    font-size: 1.5rem;
}

.support-next-container .next-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-next-container .next-step {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.support-next-container .next-step:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.support-next-container .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.support-next-container .next-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.support-next-container .next-step p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Order Details Card */
.order-details-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.order-details-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-details-card h2::before {
    content: '📋';
    font-size: 1.8rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.info-label i {
    color: #ff6b35;
    font-size: 1rem;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.info-item:hover .info-value {
    background: white;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.info-value.total-amount {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border: 2px solid #ff6b35;
}

/* Order Items Card */
.order-items-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.order-items-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-items-card h2::before {
    content: '🛒';
    font-size: 1.8rem;
}

/* Style order table in confirmation page */
.order-items-card .shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    direction: rtl;
}

.order-items-card .shop_table th,
.order-items-card .shop_table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
}

.order-items-card .shop_table thead th {
    background: #f9fafb;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-items-card .shop_table tbody tr {
    transition: all 0.3s ease;
}

.order-items-card .shop_table tbody tr:hover {
    background: #f9fafb;
}

.order-items-card .shop_table .product-name {
    font-weight: 600;
    color: #1f2937;
}

.order-items-card .shop_table .product-total {
    font-weight: 700;
    color: #ff6b35;
}

.order-items-card .shop_table tfoot th {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.95rem;
    background: #f9fafb;
}

.order-items-card .shop_table tfoot td {
    font-weight: 700;
    color: #1f2937;
    background: #f9fafb;
}

.order-items-card .shop_table .order-total th {
    font-size: 1.1rem;
    color: #1f2937;
    padding-top: 1.5rem;
    background: white;
}

.order-items-card .shop_table .order-total td {
    font-size: 1.3rem;
    color: #ff6b35;
    padding-top: 1.5rem;
    background: white;
    font-weight: 800;
}

/* Hide duplicate order overview (WooCommerce default) */
.woocommerce-order-overview {
    display: none !important;
}

/* Hide default thank you message (we have custom one) */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
    display: none !important;
}

/* Hide main success title on order received page */
.woocommerce-order-received .order-success-title {
    display: none !important;
}

/* Mobile Responsive for Order Confirmation */
@media (max-width: 768px) {
    .professional-order-confirmation {
        padding: 1rem 0;
    }

    .woocommerce-order-received .content-area {
        padding: 0 0.5rem;
    }

    .order-success-header {
        padding: 2rem 1rem;
    }

    .order-success-title {
        font-size: 1.8rem;
    }

    /* Timeline Mobile */
    .order-timeline-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .order-timeline {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .order-timeline::before {
        display: none;
    }

    .timeline-step {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: right;
        gap: 1rem;
        width: 100%;
        max-width: none;
        padding: 0.75rem;
        background: #f9fafb;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .step-icon {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-content {
        flex: 1;
    }

    .step-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }

    .step-content p {
        font-size: 0.8rem;
        min-height: auto;
    }

    /* Order Summary Mobile */
    .order-summary-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .summary-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .summary-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Support & Next Steps Mobile */
    .support-next-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .support-next-container .customer-support-card,
    .support-next-container .whats-next-section {
        padding: 1.5rem 1rem;
    }

    .support-next-container .next-steps {
        gap: 1rem;
    }

    .continue-shopping-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    /* Hide confetti on mobile */
    .confetti-container {
        display: none;
    }
}

/* Customer Support Card */
.customer-support-card {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.support-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.support-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-content p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.support-actions {
    display: flex;
    gap: 1rem;
}

.support-btn {
    background: white;
    color: #ff6b35;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #f7931e;
}

/* What's Next Section */
.whats-next-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.whats-next-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whats-next-section h3::before {
    content: '📍';
    font-size: 1.5rem;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.next-step {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.next-step:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.next-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.next-step p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Order Actions */
.order-actions {
    text-align: center;
    padding: 2rem 0;
}

.continue-shopping-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.continue-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Order Failed */
.order-failed-container {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-status-icon.failed {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.order-status-title {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
    font-family: 'Aref Ruqaa', serif;
}

.order-failed-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.pay-button,
.account-button {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pay-button {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.pay-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.account-button {
    background: #e5e7eb;
    color: #1f2937;
}

.account-button:hover {
    background: #d1d5db;
    transform: translateY(-4px) scale(1.02);
    color: #1f2937;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Order Not Found */
.order-not-found {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.not-found-icon {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.order-not-found h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.order-not-found p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .professional-order-confirmation {
        padding: 1rem;
    }
    
    .order-success-header {
        padding: 2rem 1.5rem;
    }
    
    .order-success-title {
        font-size: 1.5rem;
    }
    
    .checkmark-circle {
        width: 80px;
        height: 80px;
    }
    
    .checkmark {
        width: 30px;
        height: 50px;
    }
    
    .order-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
        padding: 2rem 1.5rem;
    }
    
    .order-timeline::before {
        display: none;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 0.85rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
    }
    
    .order-details-card,
    .order-items-card,
    .whats-next-section {
        padding: 1.5rem;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .customer-support-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .support-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .support-btn {
        width: 100%;
        justify-content: center;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .continue-shopping-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .order-failed-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .pay-button,
    .account-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   MY ACCOUNT - ORDER TRACKING
   ============================================ */

/* Professional My Orders Page */
.professional-my-orders {
    direction: rtl;
    padding: 2rem 0;
}

.orders-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Aref Ruqaa', serif;
}

.orders-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Orders Grid */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Order Card */
.order-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Order Header */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.order-number .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.order-number .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

/* Status Badge */
.order-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.order-status-badge.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.order-status-badge.status-preparing {
    background: #fed7aa;
    color: #9a3412;
}

.order-status-badge.status-delivery {
    background: #fce7f3;
    color: #9f1239;
}

.order-status-badge.status-delivered,
.order-status-badge.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.order-status-badge.status-cancelled,
.order-status-badge.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Order Info */
.order-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.info-row i {
    color: #ff6b35;
    width: 20px;
}

.info-row.total {
    font-weight: 700;
    color: #ff6b35;
    font-size: 1.1rem;
}

/* Order Progress */
.order-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin: 0;
}
/* Order Items Preview */
.order-items-preview {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
}

.item-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.item-preview.more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Order Actions */
.order-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-view-order,
.btn-review-order,
.btn-pay-order {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-view-order {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-view-order:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.5);
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-review-order {
    background: #fbbf24;
    color: #78350f;
}

.btn-review-order:hover {
    background: #f59e0b;
    transform: translateY(-4px) scale(1.02);
    color: #78350f;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-pay-order {
    background: #10b981;
    color: white;
}

.btn-pay-order:hover {
    background: #059669;
    transform: translateY(-4px) scale(1.02);
    color: white;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* No Orders Found */
.no-orders-found {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-orders-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-orders-found h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.no-orders-found p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.btn-start-ordering {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-start-ordering:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Order Tracking Timeline in Order Details */
.order-tracking-info {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    direction: rtl;
}

.order-tracking-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b35;
}

.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tracking-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    padding-right: 2.5rem;
}

/* Order Received Page Specific - Hide timeline lines */
.woocommerce-order-received .timeline-step::before {
    display: none;
}

.woocommerce-order-received .timeline-step:last-child::before {
    display: none;
}

.tracking-step .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    background: #e5e7eb;
    color: #9ca3af;
}

/* Order Received Page Specific - Green checkmarks for completed steps ONLY */
.woocommerce-order-received .timeline-step.completed .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.woocommerce-order-received .timeline-step.completed .step-icon i::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.woocommerce-order-received .timeline-step.active .step-icon,
.woocommerce-order-received .timeline-step.current .step-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

/* Active step keeps its own icon - NO checkmark override */

.tracking-step .step-content {
    flex: 1;
}

.tracking-step .step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Order Received Page Specific - Green text for completed/active steps */
.woocommerce-order-received .timeline-step.completed .step-content h3 {
    color: #10b981;
    font-weight: 700;
}

.woocommerce-order-received .timeline-step.active .step-content h3,
.woocommerce-order-received .timeline-step.current .step-content h3 {
    color: #ff6b35;
    font-weight: 700;
}

.tracking-step .step-content p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.tracking-step .step-time {
    display: block;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .btn-view-order,
    .btn-review-order,
    .btn-pay-order {
        width: 100%;
    }
    
    .tracking-step {
        padding-right: 3rem;
    }
    
    .tracking-step .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Product actions styling */
.product-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Style WooCommerce add to cart form in product cards */
.product-actions .woocommerce-add-to-cart {
    width: 100%;
    max-width: 200px;
}

.product-actions .woocommerce-add-to-cart form.cart {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-actions .woocommerce-add-to-cart .quantity {
    display: none; /* Hide quantity selector in product cards */
}

.product-actions .woocommerce-add-to-cart .single_add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-size: 14px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    cursor: pointer;
}

.product-actions .woocommerce-add-to-cart .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #f7931e, #ff6b35);
}

/* Fallback styling for simple add to cart button */
.product-actions .add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 200px;
    font-size: 14px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.product-actions .add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.product-actions .add-to-cart-btn .cart-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .product-actions .woocommerce-add-to-cart,
    .product-actions .add-to-cart-btn {
        max-width: 100%;
    }
    
    .product-actions .woocommerce-add-to-cart .single_add_to_cart_button,
    .product-actions .add-to-cart-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
}

.add-to-cart-btn i {
    margin-left: 0.5rem;
}

/* ====================================
   My Account Page Styles
   ==================================== */

.my-account-wrapper {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

/* Account Form Container */
.account-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Account Tabs */
.account-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
}

.tab-button {
    flex: 1;
    padding: 1.25rem;
    background: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    background: #f9f9f9;
    color: #ff6b35;
}

.tab-button.active {
    color: #ff6b35;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6b35;
}

/* Tab Content */
.tab-content {
    padding: 2.5rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane h2 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.75rem;
}

.tab-pane > p {
    color: #666;
    margin-bottom: 2rem;
}

/* Simple Login Form Styles */
.simple-login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-form-wrapper {
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-color);
    font-size: 0.95rem;
}

#simple-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#simple-login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
}

#simple-login-form input[type="text"],
#simple-login-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

#simple-login-form input[type="text"]:focus,
#simple-login-form input[type="password"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

#simple-login-form input[type="checkbox"] {
    margin-left: 0.5rem;
    transform: scale(1.1);
}

#simple-login-form input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

#simple-login-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.forgot-password {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.register-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.register-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Login Form */
@media (max-width: 768px) {
    .simple-login-container {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .login-header p {
        font-size: 0.9rem;
    }
    
    #simple-login-form input[type="text"],
    #simple-login-form input[type="password"] {
        padding: 1rem;
        font-size: 1rem;
    }
    
    #simple-login-form input[type="submit"] {
        padding: 1.125rem;
        font-size: 1.1rem;
    }
}

#burgerbite-login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

#burgerbite-login-form input[type="text"],
#burgerbite-login-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#burgerbite-login-form input[type="text"]:focus,
#burgerbite-login-form input[type="password"]:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

#burgerbite-login-form input[type="checkbox"] {
    margin-left: 0.5rem;
}

#burgerbite-login-form input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

#burgerbite-login-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Register Form Styles */
.woocommerce-form-register {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.woocommerce-form-register label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="password"]:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.woocommerce-form-register .woocommerce-Button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.woocommerce-form-register .woocommerce-Button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.woocommerce-form-register .required {
    color: #ff6b35;
}

/* Account Actions */
.account-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.forgot-password-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #f7931e;
    text-decoration: underline;
}

/* Account Dashboard */
.account-dashboard {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.welcome-section h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
}

.welcome-section p {
    color: #666;
    font-size: 1.1rem;
}

/* Account Menu */
.account-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.account-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.account-menu-item:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.account-menu-item i {
    font-size: 2rem;
    color: #ff6b35;
}

.account-menu-item span {
    font-weight: 700;
    font-size: 1rem;
}

/* Recent Orders */
.recent-orders {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
}

.recent-orders h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.orders-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.order-preview-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.order-info p {
    color: #666;
    font-size: 0.9rem;
}

.order-status {
    padding: 0.5rem 1rem;
    background: #ffeaa7;
    color: #2c3e50;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.view-order-btn {
    padding: 0.5rem 1.5rem;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.view-order-btn:hover {
    background: #f7931e;
    transform: translateY(-2px);
}

.view-all-orders {
    text-align: center;
    margin-top: 1.5rem;
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.woocommerce-message {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.woocommerce-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.woocommerce-info {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

/* Google Sign-In Styles */
.google-signin-section {
    margin: 1.5rem 0;
    text-align: center;
}

.google-signin-section .g_id_signin {
    display: flex !important;
    justify-content: center !important;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #666;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.login-divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* User Profile Header Styles */
.user-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ff6b35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

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

.user-info {
    flex: 1;
}

.user-info h1 {
    margin-bottom: 0.25rem;
    font-size: 2rem;
    color: #2c3e50;
}

.user-email {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.oauth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.oauth-badge i {
    font-size: 1rem;
}

.account-subtitle {
    margin-top: 0.5rem;
    color: #666;
    font-size: 1rem;
}

/* Google Sign-In Button Customization */
#g_id_onload {
    margin: 0 auto;
}

/* ==========================================
   USER PROFILE DROPDOWN IN HEADER
   ========================================== */

.user-profile-dropdown {
    position: relative;
    margin-left: 1rem;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.user-profile-trigger:hover {
    background: #fff5f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.user-profile-trigger.guest {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
}

.user-profile-trigger.guest:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.user-profile-trigger.guest i.fa-user-circle {
    font-size: 1.5rem;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6b35;
}

.user-name-header {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile-trigger i.fa-chevron-down {
    font-size: 0.75rem;
    color: #666;
    transition: transform 0.3s ease;
}

.user-profile-trigger.guest i.fa-chevron-down {
    color: white;
}

.user-profile-dropdown.active .user-profile-trigger i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-login-text {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-profile-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Header */
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 12px 12px 0 0;
    color: white;
}

.user-avatar-dropdown {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-dropdown-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.user-dropdown-info strong {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.user-dropdown-info span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

/* Dropdown Links */
.user-dropdown-links {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.user-dropdown-links li {
    margin: 0;
}

.user-dropdown-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.user-dropdown-links a:hover {
    background: #fff5f2;
    color: #ff6b35;
}

.user-dropdown-links i {
    width: 20px;
    text-align: center;
    color: #ff6b35;
}

/* Logout Link */
.user-dropdown-logout {
    padding: 0.5rem 0;
}

.user-dropdown-logout a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #dc2626;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.user-dropdown-logout a:hover {
    background: #fef2f2;
}

.user-dropdown-logout i {
    width: 20px;
    text-align: center;
}

/* Guest Menu Styles */
.guest-menu {
    min-width: 300px;
}

.guest-dropdown-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.guest-dropdown-content h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.guest-dropdown-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.guest-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guest-actions .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.guest-actions .btn-login {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
}

.guest-actions .btn-login:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guest-actions .btn-register {
    background: white;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.guest-actions .btn-register:hover {
    background: #fff5f2;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive Design */
@media (max-width: 768px) {
    .my-account-wrapper {
        padding: 1rem;
        margin: 2rem auto;
    }
    
    .account-form-container {
        border-radius: 12px;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .tab-pane h2 {
        font-size: 1.5rem;
    }
    
    .account-dashboard {
        padding: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 1.75rem;
    }
    
    .account-menu {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-preview-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* User Profile Header Responsive */
    .user-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
    }
    
    .user-info h1 {
        font-size: 1.5rem;
    }
    
    .oauth-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* User Profile Dropdown Responsive */
    .user-profile-dropdown {
        margin-left: 0.5rem;
    }
    
    .user-profile-trigger {
        padding: 0.4rem 0.8rem;
        min-width: 100px;
    }
    
    .user-name-header {
        display: none; /* Hide name on mobile */
    }
    
    .user-avatar-small {
        width: 28px;
        height: 28px;
    }
    
    .user-dropdown-menu {
        min-width: 260px;
        right: -10px;
    }
    
    .user-dropdown-header {
        padding: 1rem;
    }
    
    .user-avatar-dropdown {
        width: 40px;
        height: 40px;
    }
    
    .user-dropdown-info strong {
        font-size: 0.9rem;
    }
    
    .user-dropdown-info span {
        font-size: 0.75rem;
    }
    
    .user-dropdown-links a,
    .user-dropdown-logout a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .guest-dropdown-content {
        padding: 1.5rem 1rem;
    }
    
    .guest-dropdown-content h4 {
        font-size: 1.1rem;
    }
    
    .guest-dropdown-content p {
        font-size: 0.85rem;
    }
}

/* ==========================================
   PROFESSIONAL ORDER TRACKING SYSTEM
   ========================================== */

.woocommerce-orders-wrapper {
    padding: 2rem 0;
}

.orders-header {
    text-align: center;
    margin-bottom: 3rem;
}

.orders-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.orders-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Order Statistics Dashboard */
.order-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #ff6b35;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stat-icon.total {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-icon.processing {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stat-icon.completed {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-icon.money {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

/* Order Cards */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.order-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #ff6b35;
    transform: translateY(-2px);
}

/* Order Card Header */
.order-card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.order-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-date {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-status-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-badge.status-pending {
    background: #fbbf24;
    color: #78350f;
}

.order-status-badge.status-processing {
    background: #60a5fa;
    color: #1e3a8a;
}

.order-status-badge.status-ready {
    background: #a78bfa;
    color: #4c1d95;
}

.order-status-badge.status-on-delivery {
    background: #fb923c;
    color: #7c2d12;
}

.order-status-badge.status-completed {
    background: #34d399;
    color: #064e3b;
}

.order-status-badge.status-cancelled {
    background: #f87171;
    color: #7f1d1d;
}

.order-status-badge.status-on-hold {
    background: #fde68a;
    color: #78350f;
}

.order-status-badge.status-refunded {
    background: #c7d2fe;
    color: #3730a3;
}

.order-status-badge.status-failed {
    background: #fca5a5;
    color: #7f1d1d;
}

/* Order Timeline */
.order-timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    background: #f8fafc;
    position: relative;
    gap: 1.5rem;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 80px;
    max-width: 150px;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    border: 4px solid #f8fafc;
}

.timeline-step.completed .timeline-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

/* Replace icon with checkmark for completed steps in order list ONLY */
.timeline-step.completed .timeline-icon i::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.timeline-step.current .timeline-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

/* Current step keeps its own icon - NO checkmark override */

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    }
}

.timeline-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
}

.timeline-step.completed .timeline-label {
    color: #10b981;
}

.timeline-step.current .timeline-label {
    color: #ff6b35;
    font-weight: 700;
}

/* Special Status Timeline Steps */
.timeline-step.status-cancelled .timeline-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.timeline-step.status-cancelled .timeline-label {
    color: #ef4444;
}

.timeline-step.status-refunded .timeline-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.timeline-step.status-refunded .timeline-label {
    color: #6366f1;
}

.timeline-step.status-failed .timeline-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

.timeline-step.status-failed .timeline-label {
    color: #f97316;
}

.timeline-step.status-on-hold .timeline-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}
.timeline-step.status-on-hold .timeline-label {
    color: #f59e0b;
}

/* Order Items Summary */
.order-items-summary {
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.order-items-summary h4 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.items-count {
    color: #ff6b35;
    font-weight: 700;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.order-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.item-quantity {
    font-size: 0.85rem;
    color: #666;
}

.item-price {
    font-weight: 700;
    color: #ff6b35;
    font-size: 1.1rem;
}

/* Order Summary */
.order-summary {
    padding: 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.summary-label {
    color: #666;
    font-weight: 500;
}

.summary-value {
    color: #2c3e50;
    font-weight: 600;
}

.summary-row.total {
    border-top: 2px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.25rem;
}

.summary-row.total .summary-label {
    color: #2c3e50;
    font-weight: 700;
}

.summary-row.total .summary-value {
    color: #ff6b35;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Shipping Address */
.order-shipping-address {
    padding: 2rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.order-shipping-address h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-shipping-address address {
    color: #666;
    font-style: normal;
    line-height: 1.8;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

/* Order Card Footer */
.order-card-footer {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: white;
}

.btn-view-order,
.btn-pay-now,
.btn-reorder {
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-view-order {
    background: #e5e7eb;
    color: #2c3e50;
}

.btn-view-order:hover {
    background: #d1d5db;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-pay-now,
.btn-reorder {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.btn-pay-now:hover,
.btn-reorder:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* No Orders State */
.no-orders-state {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-orders-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.no-orders-state h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.no-orders-state p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn-start-ordering {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-start-ordering:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Responsive Design for Orders */
@media (max-width: 1024px) {
    .order-statistics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-timeline {
        padding: 2rem 1rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .orders-header h2 {
        font-size: 2rem;
    }
    
    .order-statistics {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .order-number {
        font-size: 1.25rem;
    }
    
    .order-status-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .order-timeline {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    
    .order-timeline::before {
        left: 30px;
        right: auto;
        top: 10%;
        bottom: 10%;
        width: 4px;
        height: auto;
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .timeline-label {
        text-align: left;
        font-size: 0.9rem;
    }
    
    .order-items-summary,
    .order-summary,
    .order-shipping-address {
        padding: 1.5rem;
    }
    
    .order-item {
        padding: 0.75rem;
    }
    
    .item-image {
        width: 50px;
        height: 50px;
    }
    
    .order-card-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .btn-view-order,
    .btn-pay-now,
    .btn-reorder {
        width: 100%;
        justify-content: center;
    }
    
    .no-orders-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .no-orders-state h3 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   SINGLE ORDER VIEW (ORDER DETAILS PAGE)
   ========================================== */

.single-order-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Back Navigation */
.order-back-navigation {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

/* Single Order Header */
.single-order-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

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

.order-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-meta {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.order-status-badge-large {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: #ff6b35;
}

.items-count {
    color: #ff6b35;
    font-size: 1.1rem;
}

/* Timeline Detail */
.single-order-timeline {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-timeline-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-right: 2rem;
}

.order-timeline-detail::before {
    content: '';
    position: absolute;
    right: 27px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(to bottom, #10b981 0%, #10b981 50%, #e5e7eb 50%, #e5e7eb 100%);
    border-radius: 2px;
}

.timeline-step-detail {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}

.timeline-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #9ca3af;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-step-detail.completed .timeline-step-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

/* Replace icon with checkmark for completed steps ONLY */
.timeline-step-detail.completed .timeline-step-icon i::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.timeline-step-detail.current .timeline-step-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    animation: pulse-detail 2s ease-in-out infinite;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Current step keeps its own icon - NO checkmark override */

@keyframes pulse-detail {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 107, 53, 0);
    }
}

.timeline-step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.timeline-step-desc {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.timeline-step-detail.completed .timeline-step-title {
    color: #10b981;
}

.timeline-step-detail.completed .timeline-step-desc {
    color: #059669;
}

.timeline-step-detail.current .timeline-step-title {
    color: #ff6b35;
}

.timeline-step-detail.current .timeline-step-desc {
    color: #f7931e;
    font-weight: 600;
}

.current-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Special Status Timeline Detail Steps */
.timeline-step-detail.status-cancelled .timeline-step-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.timeline-step-detail.status-cancelled .timeline-step-title {
    color: #ef4444;
}

.timeline-step-detail.status-cancelled .current-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.timeline-step-detail.status-refunded .timeline-step-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.timeline-step-detail.status-refunded .timeline-step-title {
    color: #6366f1;
}

.timeline-step-detail.status-refunded .current-badge {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.timeline-step-detail.status-failed .timeline-step-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

.timeline-step-detail.status-failed .timeline-step-title {
    color: #f97316;
}

.timeline-step-detail.status-failed .current-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.timeline-step-detail.status-on-hold .timeline-step-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.timeline-step-detail.status-on-hold .timeline-step-title {
    color: #f59e0b;
}

.timeline-step-detail.status-on-hold .current-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Order Items Table */
.single-order-items {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-items-table {
    overflow-x: auto;
}

.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.shop_table thead th {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    text-align: right;
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.shop_table thead th:first-child {
    border-radius: 10px 0 0 10px;
}

.shop_table thead th:last-child {
    border-radius: 0 10px 10px 0;
}

.shop_table tbody tr {
    background: #f8fafc;
    transition: all 0.3s ease;
}

.shop_table tbody tr:hover {
    background: #f1f5f9;
    transform: translateX(-5px);
}

.shop_table tbody td {
    padding: 1.5rem;
    border: none;
    vertical-align: middle;
}

.shop_table tbody tr td:first-child {
    border-radius: 10px 0 0 10px;
}

.shop_table tbody tr td:last-child {
    border-radius: 0 10px 10px 0;
}

.product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.product-name strong {
    font-size: 1.1rem;
    color: #2c3e50;
}

.product-variation {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.product-variation span {
    display: block;
    margin-top: 0.25rem;
}

.quantity-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.product-price,
.product-total {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.product-total strong {
    color: #ff6b35;
    font-size: 1.25rem;
}

/* Order Details Grid */
.order-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.order-summary-card,
.customer-info-card,
.shipping-address-card,
.billing-address-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Order Summary Card */
.summary-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1.05rem;
}

.summary-label {
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-value {
    color: #2c3e50;
    font-weight: 600;
}

.summary-row.discount .summary-value {
    color: #10b981;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(to right, #e5e7eb, #ff6b35, #e5e7eb);
    margin: 0.5rem 0;
}

.summary-row.total {
    padding-top: 1rem;
    font-size: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.summary-row.total .summary-label {
    color: #2c3e50;
    font-weight: 700;
}

.summary-row.total .summary-value {
    color: #ff6b35;
    font-weight: 800;
    font-size: 1.75rem;
}

.summary-payment-method {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-payment-method i {
    color: #ff6b35;
}

.summary-payment-method strong {
    color: #2c3e50;
}

/* Customer Info Card */
.customer-details,
.detail-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border-right: 4px solid #ff6b35;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-label i {
    color: #ff6b35;
}

.detail-value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.detail-value a {
    color: #ff6b35;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

/* Address Cards */
.shipping-address,
.billing-address {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    border-right: 4px solid #ff6b35;
    line-height: 1.8;
    color: #2c3e50;
    font-style: normal;
}

/* Order Notes */
.order-notes-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-notes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-note {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-right: 4px solid #667eea;
}

.note-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.note-meta i {
    color: #667eea;
}

.note-content {
    color: #2c3e50;
    line-height: 1.6;
}

/* Action Buttons Footer */
.order-actions-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-large {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

.btn-primary.btn-large {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.btn-primary.btn-large:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary.btn-large {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-secondary.btn-large:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline.btn-large {
    background: white;
    color: #2c3e50;
    border: 2px solid #e5e7eb;
}

.btn-outline.btn-large:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Print Styles */
@media print {
    .order-back-navigation,
    .order-actions-footer {
        display: none;
    }
    
    .single-order-view {
        padding: 0;
    }
    
    .single-order-header {
        background: #667eea !important;
        print-color-adjust: exact;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .single-order-view {
        padding: 1rem 0;
    }
    
    .single-order-header {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .order-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .order-title {
        font-size: 1.75rem;
    }
    
    .order-status-badge-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .single-order-timeline,
    .single-order-items,
    .order-summary-card,
    .customer-info-card,
    .shipping-address-card,
    .billing-address-card,
    .order-notes-section {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .order-timeline-detail {
        padding-right: 0;
        padding-left: 2rem;
    }
    
    .order-timeline-detail::before {
        right: auto;
        left: 27px;
    }
    
    .timeline-step-detail {
        flex-direction: row;
    }
    
    .timeline-step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .order-items-table {
        display: block;
        overflow-x: auto;
    }
    
    .shop_table {
        min-width: 600px;
    }
    
    .shop_table thead th,
    .shop_table tbody td {
        padding: 1rem;
    }
    
    .product-image img {
        width: 60px;
        height: 60px;
    }
    
    .order-details-grid {
        grid-template-columns: 1fr;
    }
    
    .order-actions-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .btn-large {
        width: 100%;
        min-width: auto;
    }
}

/* ==========================================================================
   Login Required Modal Styles
   ========================================================================== */

.login-required-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-required-modal.active {
    opacity: 1;
    visibility: visible;
}

.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    text-align: center;
    direction: rtl;
}

.login-required-modal.active .login-modal-content {
    transform: translateY(0);
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #6b7280;
}

.login-modal-close:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}

.login-modal-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.login-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.login-modal-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.login-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.login-modal-btn,
.register-modal-btn {
    padding: 1rem 2rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login-modal-btn {
    background: var(--primary-color);
    color: white;
}

.login-modal-btn:hover {
    background: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.register-modal-btn {
    background: #f3f4f6;
    color: #111827;
}

.register-modal-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.login-modal-benefits {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: right;
}

.login-modal-benefits h4 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.login-modal-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-modal-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 14px;
    color: #4b5563;
}

.login-modal-benefits li i {
    color: var(--success-color);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-modal-content {
        padding: 2rem;
        max-width: 95%;
    }
    
    .login-modal-title {
        font-size: 24px;
    }
    
    .login-modal-description {
        font-size: 14px;
    }
    
    .login-modal-icon {
        font-size: 48px;
    }
}