/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #d4a574;
    --primary-dark: #b8915f;
    --secondary-color: #8b4513;
    --accent-color: #ff6b35;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f6f2;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --halal-green: #2d8659;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector - Flag with Chevron Design */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f5f5f5;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-size: 0;
}

.lang-btn:hover {
    background: #ebebeb;
    border-color: #b0b0b0;
}

.lang-btn:active {
    background: #e0e0e0;
}

.lang-icon {
    width: 20px;
    height: 15px;
    display: block;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-code {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-option img {
    width: 20px;
    height: 15px;
    display: block;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-option span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.lang-btn svg {
    display: block;
    width: 12px;
    height: 12px;
    color: #666;
    transition: transform 0.2s ease;
}

.lang-btn.active svg {
    transform: rotate(180deg);
}

.lang-current {
    display: none;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #d0d0d0;
    padding: 0.25rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    border-radius: 4px;
    position: relative;
    opacity: 0;
    transform: translateY(-5px);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.lang-dropdown.active .lang-option {
    opacity: 1;
    transform: translateY(0);
}

.lang-dropdown.active .lang-option:nth-child(1) {
    transition-delay: 0.05s;
}

.lang-dropdown.active .lang-option:nth-child(2) {
    transition-delay: 0.1s;
}

.lang-dropdown.active .lang-option:nth-child(3) {
    transition-delay: 0.15s;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option:active {
    background: #ebebeb;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.logo-text {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--secondary-color);
}

.logo-accent {
    color: var(--primary-color);
}

.halal-badge {
    background: var(--halal-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu .language-selector {
    display: flex;
    align-items: center;
}

/* Mobile Cart Icon (header) - Hidden on desktop */
.mobile-cart-icon {
    display: none;
    position: relative;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 5px;
}

.mobile-cart-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    margin-top: 73px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    animation: zoomIn 20s ease infinite;
}

@keyframes zoomIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s ease-in-out infinite;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.6; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-scroll svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card-with-bg {
    background-image: url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=800&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card-with-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.feature-card-with-bg h3,
.feature-card-with-bg p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.25rem 0;
}

.feature-card-with-bg h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card-with-bg p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Feature card with Halal background */
.feature-card-halal {
    background-image: url('https://images.unsplash.com/photo-1603133872878-684f208fb84b?w=800&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card-halal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.feature-card-halal h3,
.feature-card-halal p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.25rem 0;
}

.feature-card-halal h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card-halal p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Feature card with Homemade background */
.feature-card-homemade {
    background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=800&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card-homemade::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.feature-card-homemade h3,
.feature-card-homemade p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.25rem 0;
}

.feature-card-homemade h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card-homemade p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Feature card with Passion background */
.feature-card-passion {
    background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=800&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card-passion::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.feature-card-passion h3,
.feature-card-passion p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.25rem 0;
}

.feature-card-passion h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card-passion p {
    color: var(--text-dark);
    font-weight: 500;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Menu Preview Section
   =================================== */
.menu-preview {
    padding: var(--section-padding);
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.category-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
}

.category-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.category-card > p {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.category-link {
    display: block;
    padding: 1rem 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.category-link:hover {
    color: var(--accent-color);
    padding-left: 2rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    padding: 180px 20px 100px;
    background: linear-gradient(135deg, #d4a574 0%, #8b6f47 50%, #6b5433 100%);
    color: white;
    text-align: center;
    margin-top: 73px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Menu Page
   =================================== */
.menu-nav {
    padding: 2rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
    position: sticky;
    top: 73px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.menu-nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.menu-nav-link {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.menu-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.menu-nav-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    border-color: var(--primary-color);
}

.menu-nav-link:hover::before {
    opacity: 1;
}

.menu-main {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 50%, #ffffff 100%);
    position: relative;
}

.menu-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(212, 165, 116, 0.05), transparent);
    pointer-events: none;
}

.menu-section {
    margin-bottom: 5rem;
    scroll-margin-top: 150px;
}

.menu-section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    position: relative;
}

.menu-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.menu-section-header h2 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.menu-section-header h2::before,
.menu-section-header h2::after {
    display: none !important;
    content: none !important;
}

.menu-section-subtitle {
    color: var(--text-light);
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    animation: fadeInScale 0.6s ease forwards;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }
.menu-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.25);
    border-color: var(--primary-color);
}

.menu-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.menu-item-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.menu-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
    transition: all 0.4s ease;
}

.menu-item-image::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.6s ease;
    z-index: 1;
}

.menu-item:hover .menu-item-image::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.menu-item:hover .menu-item-image::before {
    left: 100%;
}

.menu-item:hover .menu-item-image {
    transform: scale(1.08);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.menu-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item-header h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    transition: color 0.3s ease;
}

.menu-item:hover .menu-item-header h3 {
    color: var(--primary-color);
}

.price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--accent-color), #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.price::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.menu-item:hover .price::before {
    width: 100%;
}

.menu-item-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Quantity Selector */
.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: relative;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

/* ===================================
   About Page
   =================================== */
.about-main {
    padding: 6rem 0 4rem;
    margin-top: 73px;
}

.about-section,
.mission-section {
    margin-bottom: 5rem;
}

.about-content,
.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2,
.mission-text h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p,
.mission-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image-placeholder,
.mission-image-placeholder {
    background: var(--bg-light);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.placeholder-content {
    font-size: 5rem;
}

.placeholder-content svg {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto;
}

.values-section,
.certifications-section {
    margin-bottom: 5rem;
}

.values-section h2,
.certifications-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-icon svg {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.certification-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.cert-badge {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cert-badge svg {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
}

.certification-card p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ===================================
   Contact Page
   =================================== */
.contact-main {
    padding: 6rem 0 4rem;
    margin-top: 73px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.contact-card a {
    color: var(--primary-color);
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* Force black color for phone number links */
.contact-card a[href^="tel:"] {
    color: #000000 !important;
}

.contact-card a[href^="tel:"]:hover {
    color: var(--primary-color) !important;
}

/* Force black color for email links */
.contact-card a[href^="mailto:"] {
    color: #000000 !important;
}

.contact-card a[href^="mailto:"]:hover {
    color: var(--primary-color) !important;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.map-section {
    margin-top: 4rem;
}

.map-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.map-container,
.map-placeholder {
    background: var(--bg-light);
    border-radius: 15px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.map-content {
    text-align: center;
}

.map-content p:first-child {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Form Error */
.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

/* AOS Animation Support */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.halal-badge-footer {
    display: inline-block;
    background: var(--halal-green);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-right {
        gap: 1rem;
    }
    
    .language-selector {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .lang-btn {
        padding: 0.6rem 0.9rem;
    }
    
    .lang-dropdown {
        width: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-5px);
        min-width: 80px;
    }
    
    .lang-dropdown.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .mobile-cart-icon {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    .nav-menu .language-selector {
        width: 100%;
        margin: 1rem 0;
    }
    
    .nav-menu .lang-dropdown {
        position: relative;
        top: 10px;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid,
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .mission-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-nav-links {
        gap: 0.5rem;
    }
    
    .menu-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-header {
        padding: 120px 20px 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .auth-form-container {
        padding: 2rem 1.5rem;
    }
    
    .auth-form-container h2 {
        font-size: 1.75rem;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .values-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-section-header h2 {
        font-size: 2rem;
    }
    
    .menu-section-subtitle {
        font-size: 1rem;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .halal-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-item-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-add-cart {
        width: 100%;
        max-width: 100%;
    }
    
    .page-header {
        padding: 100px 15px 50px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .auth-form-container {
        padding: 1.5rem 1rem;
    }
    
    .auth-form-container h2 {
        font-size: 1.5rem;
    }
    
    .payment-result-content {
        padding: 1.5rem 1rem;
    }
    
    .payment-success-icon,
    .payment-failure-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .payment-result-content h1 {
        font-size: 1.75rem;
    }
    
    .order-summary {
        padding: 1rem;
    }
    
    .cart-items-section,
    .checkout-summary {
        padding: 1rem;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .menu-section-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .menu-section-header h2 {
        font-size: 1.75rem;
    }
    
    .menu-section {
        margin-bottom: 3rem;
    }
    
    .menu-item-content {
        padding: 1rem;
    }
    
    .menu-item-header h3 {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 1.25rem;
    }
}

/* ===================================
   Animations & Effects
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .category-card,
    .menu-item,
    .value-card {
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
    }
    
    .feature-card:nth-child(1) { animation-delay: 0.1s; }
    .feature-card:nth-child(2) { animation-delay: 0.2s; }
    .feature-card:nth-child(3) { animation-delay: 0.3s; }
    .feature-card:nth-child(4) { animation-delay: 0.4s; }
    
    .category-card:nth-child(1) { animation-delay: 0.1s; }
    .category-card:nth-child(2) { animation-delay: 0.2s; }
    .category-card:nth-child(3) { animation-delay: 0.3s; }
    .category-card:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ===================================
   Cart & Checkout Styles
   =================================== */
.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 5px;
    position: relative;
    top: -2px;
}

.btn-add-cart {
    margin-top: 0;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    flex: 1;
    min-width: 140px;
    max-width: none;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-add-cart:active {
    transform: translateY(-1px);
}

.btn-add-cart.added {
    background: linear-gradient(135deg, var(--halal-green), #2d8659);
    animation: pulse 0.5s ease;
}

.btn-add-cart.added::after {
    content: '✓';
    margin-left: 0.5rem;
}

.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--halal-green);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: var(--transition);
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-notification-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Cart Page */
.cart-main {
    padding: 6rem 0 4rem;
    margin-top: 73px;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.cart-items-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.cart-empty-icon svg {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
}

.cart-empty h2 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h3 {
    color: var(--secondary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.cart-item-options {
    margin: 0.25rem 0 0.5rem 0;
}

.cart-item-options small {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.cart-item-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quantity-value {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 50%;
}

.remove-item-btn:hover {
    background: #fee;
    color: #c33;
}

.cart-item-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-align: right;
}

/* Checkout Summary */
.order-time-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.order-time-notice p {
    margin: 0.25rem 0;
}

.order-time-notice strong {
    color: var(--secondary-color);
}

.checkout-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.checkout-summary h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--text-dark);
}

.summary-row.summary-total {
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

.checkout-form h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-methods {
    margin: 1rem 0;
}

.payment-method {
    display: block;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-icon {
    font-size: 2rem;
}

.payment-method-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.payment-method-content span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-checkout {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.checkout-total {
    font-size: 1.3rem;
    font-weight: 700;
}

.payment-security {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

@media (max-width: 968px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
        max-height: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item-total {
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .cart-items-section {
        padding: 1.5rem;
    }
    
    .checkout-summary {
        padding: 1.5rem;
    }
}

/* ===================================
   Authentication Pages
   =================================== */
.auth-main {
    padding: 6rem 0 4rem;
    margin-top: 73px;
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.auth-form-container {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-form-container h2 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form input {
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.auth-form small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: var(--secondary-color);
}

.auth-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===================================
   Profile Page
   =================================== */
.profile-main {
    padding: 6rem 0 4rem;
    margin-top: 73px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-header h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin: 0;
}

.profile-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.profile-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-label {
    color: var(--text-light);
    font-weight: 500;
}

.profile-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Order History */
.order-history {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.order-empty p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.order-card-header h3 {
    color: var(--secondary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status-pending {
    background: #fff3cd;
    color: #856404;
}

.order-status-preparing {
    background: #cfe2ff;
    color: #084298;
}

.order-status-ready {
    background: #d1e7dd;
    color: #0f5132;
}

.order-status-completed {
    background: #d1e7dd;
    color: #0f5132;
}

.order-status-cancelled {
    background: #f8d7da;
    color: #842029;
}

.order-card-body {
    margin-bottom: 1rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.order-item-qty {
    color: var(--text-light);
    margin: 0 1rem;
}

.order-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.order-delivery {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-delivery strong {
    color: var(--text-dark);
}

.order-card-footer {
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.order-total {
    text-align: right;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.order-no-items {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 968px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===================================
   Payment Result Pages (Success & Failure)
   =================================== */
.payment-result-page {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    margin-top: 73px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.payment-result-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.payment-success-icon {
    width: 100px;
    height: 100px;
    background: var(--halal-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
    font-weight: 700;
}

.payment-failure-icon {
    width: 100px;
    height: 100px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
    font-weight: 700;
}

@keyframes scaleIn {
    from { 
        transform: scale(0); 
        opacity: 0;
    }
    to { 
        transform: scale(1); 
        opacity: 1;
    }
}

.payment-result-content h1 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.payment-result-content > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.order-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.order-details h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.order-details .order-items {
    margin-bottom: 1rem;
}

/* WhatsApp Message Section */
.whatsapp-message-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--primary-color);
}

.whatsapp-message-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-message-section textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    background: #f9f9f9;
    color: var(--text-color);
    line-height: 1.6;
}

.whatsapp-message-section textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.whatsapp-message-section .btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whatsapp-message-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .whatsapp-message-section {
        padding: 1.5rem;
    }
    
    .whatsapp-message-section textarea {
        font-size: 0.85rem;
        min-height: 150px;
    }
}

.order-details .order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.order-details .order-item:last-child {
    border-bottom: none;
}

.order-details .order-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.3rem;
    color: var(--accent-color);
    text-align: right;
}

.order-details .delivery-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.order-details .delivery-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.order-details .delivery-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.payment-failure-reasons {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.payment-failure-reasons p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.payment-failure-reasons ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.payment-failure-reasons li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.payment-failure-reasons li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: 700;
    font-size: 1.2rem;
}

.payment-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.payment-result-actions .btn {
    min-width: 150px;
}

/* Additional styles for better consistency */
.payment-result-content .order-summary {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.payment-failure-reasons {
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Smooth transitions for payment pages */
.payment-result-page {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive for Payment Pages */
@media (max-width: 768px) {
    .payment-result-page {
        padding: 4rem 1rem 2rem;
    }
    
    .payment-result-content {
        padding: 2rem 1.5rem;
    }
    
    .payment-success-icon,
    .payment-failure-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .payment-result-content h1 {
        font-size: 2rem;
    }
    
    .payment-result-content > p {
        font-size: 1rem;
    }
    
    .payment-result-actions {
        flex-direction: column;
    }
    
    .payment-result-actions .btn {
        width: 100%;
    }
    
    .order-summary {
        padding: 1.5rem;
    }
    
    .order-details h3 {
        font-size: 1.1rem;
    }
    
    .order-details .order-total {
        font-size: 1.1rem;
    }
    
    .payment-failure-reasons {
        padding: 1rem;
    }
    
    .payment-failure-reasons ul {
        margin-top: 0.5rem;
    }
}

/* ===================================
   Crudités Modal (The Basics)
   =================================== */
.crudites-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.crudites-modal.active {
    display: flex;
}

.crudites-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.crudites-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
}

.crudites-modal-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.5rem;
}

.crudites-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.crudites-modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.crudites-modal-body {
    padding: 2rem;
}

.crudites-modal-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.crudites-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.crudites-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.crudites-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.crudites-option input[type="checkbox"],
.crudites-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.crudites-option input[type="checkbox"]:checked + .crudites-option-text {
    color: var(--secondary-color);
}

.crudites-option-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--text-dark);
}

.crudites-option-text strong {
    font-weight: 600;
}

.crudites-price {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.crudites-sauce-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.crudites-total {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.crudites-total span {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
}

.crudites-total-price {
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.crudites-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-color);
    justify-content: flex-end;
}

.crudites-modal-footer .btn {
    min-width: 120px;
}

@media (max-width: 768px) {
    .crudites-modal {
        padding: 1rem;
    }
    
    .crudites-modal-content {
        max-height: 95vh;
    }
    
    .crudites-modal-header,
    .crudites-modal-body,
    .crudites-modal-footer {
        padding: 1.5rem;
    }
    
    .crudites-modal-footer {
        flex-direction: column;
    }
    
    .crudites-modal-footer .btn {
        width: 100%;
    }
}

/* ===================================
   Floating Mobile Cart Button
   =================================== */
.floating-cart {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-cart 2s infinite;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.floating-cart-icon {
    font-size: 1.8rem;
    color: white;
}

.floating-cart-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--halal-green);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@keyframes pulse-cart {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.6);
    }
}

/* Show floating cart only on mobile */
@media (max-width: 768px) {
    .floating-cart.has-items {
        display: flex;
    }
}

/* Hide on cart page */
.cart-page .floating-cart {
    display: none !important;
}

/* ===================================
   Custom Alert Modal
   =================================== */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-alert-box {
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-alert-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.custom-alert-message {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

.custom-alert-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.custom-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.custom-alert-btn:active {
    transform: translateY(0);
}

/* ===================================
   Loading Overlay
   =================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.loading-content {
    background: white;
    padding: 40px 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===================================
   Payment Failure Reason Box
   =================================== */
.failure-reason-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.failure-reason-box p:first-child {
    margin-bottom: 5px;
    color: #856404;
}

.failure-reason-text {
    color: #856404;
    font-size: 1.1rem;
    margin: 0;
}
