/* ========================================
   RENDANG PANDA - CSS Variables & Reset
======================================== */
:root {
    /* Maroon Theme Colors */
    --primary-color: #6B1C2E;  /* Dark Maroon */
    --primary-dark: #4A1220;
    --primary-light: #8B2840;
    --primary-soft: #A64A5F;  /* Soft Maroon */
    --primary-lighter: #C47585;  /* Lighter Soft Maroon */
    --secondary-color: #D4A5A5;  /* Soft Pink Maroon */
    --accent-color: #8B0000;  /* Deep Red */
    --panda-black: #1a1a1a;
    --panda-white: #f8f8f8;
    --maroon-dark: #5A1A28;
    --rice-white: #faf8f5;
    --spice-orange: #c9584a;
    
    /* Neutral Colors */
    --dark-color: #1e293b;
    --light-color: #faf8f5;
    --gray-100: #f5f3ef;
    --gray-200: #e8e4dc;
    --gray-300: #d4cfc4;
    --gray-400: #a8a296;
    --gray-500: #787165;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;
    
    /* Status Colors */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    --gradient-secondary: linear-gradient(135deg, #D4A5A5 0%, #C47585 100%);
    --gradient-panda: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    --gradient-food: linear-gradient(135deg, #8B0000 0%, #c9584a 100%);
    --gradient-maroon: linear-gradient(135deg, #4A1220 0%, #8B2840 100%);
    --gradient-soft: linear-gradient(135deg, #A64A5F 0%, #D4A5A5 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--rice-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pawPulse 2s infinite;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '🐼';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5% 50px;
    background: linear-gradient(135deg, #faf8f5 0%, #fde8e8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🌸';
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-maroon);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-title .highlight {
    background: var(--gradient-food);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-stat i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Panda Mascot CSS */
.panda-mascot {
    position: relative;
    width: 350px;
    height: 400px;
    animation: float 4s ease-in-out infinite;
}

.panda-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 180px;
    background: var(--panda-white);
    border-radius: 50% 50% 45% 45%;
    z-index: 2;
}

.panda-ear {
    position: absolute;
    top: -20px;
    width: 60px;
    height: 60px;
    background: var(--panda-black);
    border-radius: 50%;
}

.panda-ear.left {
    left: 10px;
}

.panda-ear.right {
    right: 10px;
}

.panda-ear::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: #ff9999;
    border-radius: 50%;
}

.panda-face {
    position: relative;
    width: 100%;
    height: 100%;
}

.panda-eye {
    position: absolute;
    top: 50px;
    width: 50px;
    height: 60px;
    background: var(--panda-black);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.panda-eye.left {
    left: 35px;
}

.panda-eye.right {
    right: 35px;
    transform: rotate(15deg);
}

.panda-eye::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    animation: blink 4s infinite;
}

@keyframes blink {
    0%, 90%, 100% { transform: translateX(-50%) scaleY(1); }
    95% { transform: translateX(-50%) scaleY(0.1); }
}

.panda-nose {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: var(--panda-black);
    border-radius: 50%;
}

.panda-mouth {
    position: absolute;
    top: 135px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    border: 3px solid var(--panda-black);
    border-color: transparent transparent var(--panda-black) var(--panda-black);
    border-radius: 50%;
    transform: translateX(-50%) rotate(-10deg);
}

.panda-mouth::after {
    content: '';
    position: absolute;
    top: 0;
    right: -3px;
    width: 40px;
    height: 20px;
    border: 3px solid var(--panda-black);
    border-color: transparent transparent var(--panda-black) transparent;
    border-radius: 50%;
    transform: rotate(20deg);
}

.panda-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 200px;
    background: var(--panda-white);
    border-radius: 45% 45% 50% 50%;
    z-index: 1;
}

.panda-arm {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 120px;
    background: var(--panda-black);
    border-radius: 25px;
}

.panda-arm.left {
    left: -30px;
    transform: rotate(20deg);
}

.panda-arm.right {
    right: -30px;
    transform: rotate(-20deg);
}

.panda-belly {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100px;
    background: var(--panda-white);
    border-radius: 50%;
}

/* Floating Foods */
.floating-foods {
    position: absolute;
    width: 100%;
    height: 100%;
}

.food-item {
    position: absolute;
    font-size: 3rem;
    animation: float 5s ease-in-out infinite;
}

.food-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.food-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.food-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.food-4 {
    top: 30%;
    left: 0%;
    animation-delay: 3s;
}

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

/* ========================================
   About Section
======================================== */
.about {
    padding: 100px 5%;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-card {
    width: 350px;
    height: 350px;
    background: var(--gradient-maroon);
    border-radius: var(--radius-2xl);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.about-image-card::before {
    content: '🐼';
    font-size: 10rem;
    opacity: 0.2;
    position: absolute;
}

.about-image-card i {
    font-size: 8rem;
    color: white;
    z-index: 2;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--gray-700);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}
.menu {
    padding: 100px 5%;
    background: var(--gray-100);
}

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

.menu-category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

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

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

.menu-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.menu-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.menu-badge.hot {
    background: var(--gradient-food);
}

/* New Menu Card Structure */
.menu-card-image {
    height: 200px;
    background: var(--gradient-maroon);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.menu-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.menu-icon-placeholder i {
    font-size: 4rem;
    color: white;
}

.menu-card-info {
    padding: 1.5rem;
}

.menu-card-info h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.menu-description {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.menu-order {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-maroon);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.menu-order:hover {
    transform: scale(1.1) rotate(90deg);
}

.menu-order:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.menu-badge.sold-out {
    background: var(--gray-500);
}

/* ========================================
   Gallery Section
======================================== */
.gallery {
    padding: 100px 5%;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-maroon);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.gallery-placeholder i {
    font-size: 5rem;
    color: white;
    opacity: 0.8;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
    padding: 100px 5%;
    background: var(--gray-100);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.testimonial-card p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-maroon);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
}

.testimonial-author h4 {
    color: var(--gray-800);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ========================================
   Contact Section
======================================== */
.contact {
    padding: 100px 5%;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-item i {
    width: 55px;
    height: 55px;
    background: var(--gradient-maroon);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient-maroon);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    background: var(--gray-100);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--gray-800);
    transition: var(--transition);
    border: 2px solid transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(107, 28, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 5% 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--primary-light);
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--primary-light);
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.footer-section ul li:hover {
    color: white;
    padding-left: 5px;
}

.delivery-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.delivery-partners i {
    font-size: 2rem;
    color: var(--primary-light);
}

.delivery-partners span {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom i {
    color: var(--accent-color);
}

/* ========================================
   Chatbot Styles
======================================== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-maroon);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-2xl);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(107, 28, 46, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(107, 28, 46, 0);
    }
}

.chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 500px;
    height: 600px;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    z-index: 998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: var(--transition);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.chatbot-header {
    background: var(--gradient-maroon);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.chatbot-title i {
    font-size: 1.5rem;
    animation: pawBounce 1s infinite;
}

@keyframes pawBounce {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.chatbot-actions {
    display: flex;
    gap: 0.5rem;
}

.chatbot-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.chatbot-actions button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Settings Panel - Toggleable inside Chatbot */
.settings-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 100;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.settings-panel.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.settings-header {
    background: var(--gradient-maroon);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.settings-header h4 {
    font-size: 1.125rem;
}

.settings-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.settings-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.settings-content {
    padding: 2rem 1.5rem;
    flex: 1;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 28, 46, 0.1);
}

.btn-save {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.settings-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.6;
}

/* Chat Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

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

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-maroon);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--gradient-secondary);
}

.message-content {
    background: var(--gray-100);
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-lg);
    border-top-left-radius: 0;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: 0;
}

.message-content p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Code Block Styling - Clean text appearance */
.message-content .code-block {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0.5rem 0;
    border-left: 3px solid var(--primary-color);
}

.user-message .message-content .code-block {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Chat Input */
.chatbot-input-container {
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--radius-2xl);
    font-size: 0.875rem;
    color: var(--gray-800);
}

.chatbot-input::placeholder {
    color: var(--gray-400);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-maroon);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    transition: var(--transition);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Order Menu Button */
.order-menu-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    transition: var(--transition);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.order-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Order Panel */
.order-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 20;
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.3s ease;
}

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

.order-panel-header {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.order-panel-header h3 {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-panel-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-panel-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.order-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 70vh;
}

.order-cart-items-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.order-cart-items {
    overflow-y: auto !important;
    padding: 1rem;
    display: block;
}

.order-cart-items::-webkit-scrollbar {
    width: 8px !important;
}

.order-cart-items::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px;
}

.order-cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%) !important;
    border-radius: 10px;
}

.order-cart-items::-webkit-scrollbar-thumb:hover {
    background: #4A1220 !important;
}

.order-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Order Panel Payment Selection */
.order-panel-payment {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.order-cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #faf8f5 0%, #fde8e8 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.order-cart-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(107, 28, 46, 0.1);
    transform: translateY(-2px);
}

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

.order-cart-item-name {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.order-cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8125rem;
}

.order-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quantity Buttons */
.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.quantity-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.quantity-display {
    font-weight: 700;
    color: var(--gray-800);
    min-width: 36px;
    text-align: center;
    font-size: 0.9375rem;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--danger-color, #ef4444);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.cart-item-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.order-cart-summary {
    padding: 1rem;
    background: var(--gray-100);
    border-top: 2px solid var(--gray-200);
}

/* Order Panel Checkout Info */
.order-panel-checkout-info {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-top: 2px solid #3b82f6;
}

.checkout-info-text {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.75rem;
    line-height: 1.6;
}

.checkout-info-text i {
    color: #3b82f6;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkout-info-text strong {
    color: #6B1C2E;
    font-weight: 700;
}

/* Order Panel Payment Selection */
.order-panel-payment {
    padding: 1rem;
    background: white;
}

.order-panel-payment-label {
    display: block;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.order-panel-payment-label i {
    margin-right: 0.5rem;
    color: #6B1C2E;
}

.order-panel-payment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-panel-payment-card {
    position: relative;
    cursor: pointer;
}

.order-panel-payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.order-panel-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.order-panel-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.375rem;
    transition: all 0.3s ease;
}

.order-panel-card-icon i {
    font-size: 1.25rem;
    color: #6B1C2E;
    transition: all 0.3s ease;
}

.order-panel-card-title {
    font-size: 0.625rem;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: 0.5px;
    margin-bottom: 0.125rem;
    transition: all 0.3s ease;
}

.order-panel-card-desc {
    font-size: 0.5625rem;
    color: #718096;
    font-weight: 500;
    transition: all 0.3s ease;
}

.order-panel-card-check {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6B1C2E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Checked State */
.order-panel-payment-card input[type="radio"]:checked + .order-panel-card-content {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.05) 0%, rgba(166, 74, 95, 0.05) 100%);
    border-color: #6B1C2E;
    box-shadow: 0 4px 12px rgba(107, 28, 46, 0.15);
    transform: translateY(-2px);
}

.order-panel-payment-card input[type="radio"]:checked + .order-panel-card-content .order-panel-card-icon {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
}

.order-panel-payment-card input[type="radio"]:checked + .order-panel-card-content .order-panel-card-icon i {
    color: white;
}

.order-panel-payment-card input[type="radio"]:checked + .order-panel-card-content .order-panel-card-title {
    color: #6B1C2E;
}

.order-panel-payment-card input[type="radio"]:checked + .order-panel-card-content .order-panel-card-desc {
    color: #A64A5F;
    font-weight: 600;
}

.order-panel-payment-card input[type="radio"]:checked ~ .order-panel-card-check {
    opacity: 1;
    transform: scale(1);
}

/* Hover State */
.order-panel-payment-card:hover .order-panel-card-content {
    border-color: #6B1C2E;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(107, 28, 46, 0.12);
}

/* Payment Instructions */
.order-panel-instructions {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.instructions-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.instructions-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #475569;
    font-size: 0.6875rem;
    line-height: 1.7;
}

.instructions-list li {
    margin-bottom: 0.375rem;
}

.instructions-list li strong {
    color: #6B1C2E;
    font-weight: 700;
}

/* Order Panel Total Maroon Box */
.order-panel-total {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    margin: 1rem;
    box-shadow: 0 8px 20px rgba(107, 28, 46, 0.3);
}

.order-panel-total-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.order-panel-total-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Responsive for Order Panel Payment */
@media (max-width: 768px) {
    .order-panel-payment-cards {
        grid-template-columns: 1fr;
    }
    
    .order-panel-card-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .order-panel-card-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0;
    }
    
    .order-panel-card-icon i {
        font-size: 1.125rem;
    }
    
    .order-panel-card-title {
        font-size: 0.6875rem;
    }
    
    .order-panel-card-desc {
        font-size: 0.625rem;
    }
    
    .order-panel-instructions {
        margin: 0.75rem;
    }
    
    .instructions-list {
        font-size: 0.6875rem;
        line-height: 1.7;
    }
}

/* Order Cart Summary Header */
.order-cart-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.order-cart-summary-header h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin: 0;
}

.order-cart-summary-header .item-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Order Cart Item Subtotal */
.order-cart-item-subtotal {
    margin-left: auto;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.875rem;
    padding-left: 0.5rem;
}

/* Order Cart Total Display */
.order-cart-total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    color: white;
    margin-top: 1rem;
}

.order-cart-total-display span {
    font-size: 1rem;
    font-weight: 500;
}

.order-cart-total-display strong {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-checkout-order {
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.btn-checkout-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-checkout-order:active {
    transform: translateY(-1px);
}

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

/* Checkout Button Disabled State */
.btn-checkout-order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-checkout-order {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-checkout-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-checkout-order:active {
    transform: translateY(-1px);
}

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

/* Checkout Button Disabled State */
.btn-checkout-order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.checkout-popup-overlay.active {
    display: flex;
}

.checkout-popup-card {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-popup-header {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.checkout-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.checkout-popup-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.checkout-popup-body {
    padding: 2rem 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Total Amount Card */
.checkout-total-card {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(107, 28, 46, 0.3);
}

.checkout-total-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.checkout-total-amount {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.checkout-item-count {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: inline-block;
}

/* Payment Section */
.checkout-payment-section {
    margin-bottom: 1.5rem;
}

.checkout-payment-label {
    display: block;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.checkout-payment-label i {
    margin-right: 0.5rem;
    color: #6B1C2E;
}

.checkout-payment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.checkout-payment-card {
    position: relative;
    cursor: pointer;
}

.checkout-payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.checkout-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.checkout-card-icon i {
    font-size: 1.5rem;
    color: #6B1C2E;
    transition: all 0.3s ease;
}

.checkout-card-title {
    font-size: 0.6875rem;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: 0.5px;
    margin-bottom: 0.125rem;
    transition: all 0.3s ease;
}

.checkout-card-desc {
    font-size: 0.625rem;
    color: #718096;
    font-weight: 500;
    transition: all 0.3s ease;
}

.checkout-card-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6B1C2E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Checked State */
.checkout-payment-card input[type="radio"]:checked + .checkout-card-content {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.05) 0%, rgba(166, 74, 95, 0.05) 100%);
    border-color: #6B1C2E;
    box-shadow: 0 6px 16px rgba(107, 28, 46, 0.2);
    transform: translateY(-3px);
}

.checkout-payment-card input[type="radio"]:checked + .checkout-card-content .checkout-card-icon {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
}

.checkout-payment-card input[type="radio"]:checked + .checkout-card-content .checkout-card-icon i {
    color: white;
}

.checkout-payment-card input[type="radio"]:checked + .checkout-card-content .checkout-card-title {
    color: #6B1C2E;
}

.checkout-payment-card input[type="radio"]:checked + .checkout-card-content .checkout-card-desc {
    color: #A64A5F;
    font-weight: 600;
}

.checkout-payment-card input[type="radio"]:checked ~ .checkout-card-check {
    opacity: 1;
    transform: scale(1);
}

/* Hover State */
.checkout-payment-card:hover .checkout-card-content {
    border-color: #6B1C2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 28, 46, 0.15);
}

/* Info Box */
.checkout-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.checkout-info-box i {
    color: #3b82f6;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkout-info-box span {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.6;
}

.checkout-info-box strong {
    color: #6B1C2E;
    font-weight: 700;
}

/* Footer Buttons */
.checkout-popup-footer {
    padding: 1.5rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-cancel-checkout {
    padding: 0.875rem 1.5rem;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel-checkout:hover {
    background: #cbd5e0;
}

.btn-confirm-checkout {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(107, 28, 46, 0.3);
}

.btn-confirm-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 28, 46, 0.4);
}

/* QRIS Modal */
.qris-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10002;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.qris-modal.active {
    display: flex;
}

.qris-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.qris-modal-header {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-shrink: 0;
}

.qris-modal-header h3 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qris-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qris-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.qris-modal-body {
    padding: 2rem 1.5rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.qris-modal-body::-webkit-scrollbar {
    width: 8px;
}

.qris-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.qris-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    border-radius: 10px;
}

.qris-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4A1220;
}

.qris-modal-footer {
    padding: 1.5rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.qris-code-container {
    text-align: center;
    margin-bottom: 2rem;
}

.qris-code-image {
    max-width: 280px;
    width: 100%;
    border-radius: 16px;
    border: 4px solid #6B1C2E;
    box-shadow: 0 8px 20px rgba(107, 28, 46, 0.3);
}

.qris-instructions h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.qris-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 2;
}

.qris-instructions ol li {
    margin-bottom: 0.5rem;
}

.qris-instructions ol li strong {
    color: #6B1C2E;
    font-weight: 700;
}

/* QRIS Modal Footer */
.qris-modal-footer {
    padding: 1.5rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.btn-back-qris {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(107, 28, 46, 0.3);
}

.btn-back-qris:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 28, 46, 0.4);
}

/* Responsive */
@media (max-width: 640px) {
    .qris-code-image {
        max-width: 240px;
    }
    
    .qris-instructions ol {
        font-size: 0.8125rem;
        line-height: 1.8;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .checkout-payment-cards {
        grid-template-columns: 1fr;
    }
    
    .checkout-card-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
        gap: 1rem;
    }
    
    .checkout-card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }
    
    .checkout-card-icon i {
        font-size: 1.25rem;
    }
    
    .checkout-card-title {
        font-size: 0.75rem;
    }
    
    .checkout-card-desc {
        font-size: 0.6875rem;
    }
    
    .checkout-total-amount {
        font-size: 2rem;
    }
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* ========================================
   Payment Modal Styles
======================================== */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.payment-modal.active {
    display: flex;
}

.payment-modal-content {
    background: white;
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.payment-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-shrink: 0;
    min-height: 60px;
}

.payment-modal-header h3 {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.payment-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.payment-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 1.5rem;
    min-height: 0;
    max-height: 350px;
}

.payment-modal-body::-webkit-scrollbar {
    width: 8px;
}

.payment-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.payment-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    border-radius: 10px;
}

.payment-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4A1220;
}

.payment-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-shrink: 0;
    min-height: 60px;
    background: white;
}

/* QRIS Code Display */
.qris-code-display {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.05) 0%, rgba(166, 74, 95, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.qris-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.qris-code-header h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qris-code-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qris-code-image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    border: 3px dashed var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.qris-code-image-placeholder i {
    font-size: 5rem;
    opacity: 0.5;
}

.qris-code-image-placeholder p {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.qris-code-image-placeholder small {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.qris-code-image {
    max-width: 250px;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(107, 28, 46, 0.2);
}

.qris-code-instructions {
    width: 100%;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.qris-code-instructions p {
    font-size: 0.8125rem;
    color: var(--gray-700);
    margin: 0 0 0.5rem 0;
}

.qris-code-instructions ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--gray-600);
    font-size: 0.75rem;
    line-height: 1.8;
}

.qris-code-instructions ol li {
    margin-bottom: 0.25rem;
}

.qris-code-instructions ol li strong {
    color: var(--primary-color);
    font-weight: 700;
}

.payment-order-summary {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.payment-order-summary h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.payment-order-items {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.payment-order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

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

.payment-order-item-name {
    color: var(--gray-700);
}

.payment-order-item-qty {
    color: var(--gray-500);
    margin: 0 0.5rem;
}

.payment-order-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.payment-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 2px solid var(--gray-300);
    font-size: 1.125rem;
}

.payment-order-total strong {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.payment-section {
    margin-bottom: 1.25rem;
}

.payment-section label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-section input[type="text"],
.payment-section input[type="tel"],
.payment-section select,
.payment-section textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 0.875rem;
    transition: var(--transition);
}

.payment-section input:focus,
.payment-section select:focus,
.payment-section textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(107, 28, 46, 0.1);
}

.order-type-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.order-type-option {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.order-type-option:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

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

.order-type-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 700;
}

.order-type-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    border-color: var(--primary-color);
}

.payment-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-cancel-payment {
    padding: 0.875rem 1.5rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel-payment:hover {
    background: var(--gray-300);
}

.btn-confirm-payment {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(107, 28, 46, 0.3);
}

.btn-confirm-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 28, 46, 0.4);
}

.btn-confirm-payment:active {
    transform: translateY(0);
}

/* Invoice Popup - Centered Modal */
.invoice-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.invoice-popup {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.invoice-popup-header {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.invoice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.invoice-popup-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.invoice-popup-body {
    padding: 2rem 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.invoice-items-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #faf8f5 0%, #fde8e8 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.invoice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 28, 46, 0.15);
    border-color: #A64A5F;
}

.invoice-item-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.invoice-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.invoice-item-details {
    flex: 1;
    min-width: 0;
}

.invoice-item-name {
    font-weight: 700;
    color: #000000;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-item-qty {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 500;
}

.invoice-item-subtotal {
    font-weight: 700;
    color: #6B1C2E;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
    white-space: nowrap;
}

.invoice-popup-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    border-radius: 16px;
    color: white;
    margin-top: 1rem;
}

.invoice-popup-total strong {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Payment Method Cards */
.payment-method-section {
    margin-bottom: 1.5rem;
}

.payment-method-label {
    display: block;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.payment-method-label i {
    margin-right: 0.5rem;
    color: #6B1C2E;
}

.payment-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.payment-card {
    position: relative;
    cursor: pointer;
}

.payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.payment-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.payment-card-icon i {
    font-size: 1.75rem;
    color: #6B1C2E;
    transition: all 0.3s ease;
}

.payment-card-title {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.payment-card-desc {
    font-size: 0.6875rem;
    color: #718096;
    font-weight: 500;
    transition: all 0.3s ease;
}

.payment-card-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6B1C2E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Checked State */
.payment-card input[type="radio"]:checked + .payment-card-content {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.05) 0%, rgba(166, 74, 95, 0.05) 100%);
    border-color: #6B1C2E;
    box-shadow: 0 8px 20px rgba(107, 28, 46, 0.2);
    transform: translateY(-4px);
}

.payment-card input[type="radio"]:checked + .payment-card-content .payment-card-icon {
    background: linear-gradient(135deg, #6B1C2E 0%, #A64A5F 100%);
}

.payment-card input[type="radio"]:checked + .payment-card-content .payment-card-icon i {
    color: white;
}

.payment-card input[type="radio"]:checked + .payment-card-content .payment-card-title {
    color: #6B1C2E;
}

.payment-card input[type="radio"]:checked + .payment-card-content .payment-card-desc {
    color: #A64A5F;
    font-weight: 600;
}

.payment-card input[type="radio"]:checked ~ .payment-card-check {
    opacity: 1;
    transform: scale(1);
}

.payment-card input[type="radio"]:checked::before {
    transform: scaleX(1);
}

/* Hover State */
.payment-card:hover .payment-card-content {
    border-color: #6B1C2E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 28, 46, 0.15);
}

.payment-card:hover .payment-card-icon {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.2) 0%, rgba(166, 74, 95, 0.2) 100%);
}

/* Responsive */
@media (max-width: 640px) {
    .payment-cards-container {
        grid-template-columns: 1fr;
    }
    
    .payment-card-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .payment-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .payment-card-icon i {
        font-size: 1.5rem;
    }
    
    .payment-card-title {
        font-size: 0.875rem;
    }
    
    .payment-card-desc {
        font-size: 0.75rem;
    }
}

/* Payment Info Box */
.payment-info-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.payment-info-icon {
    flex-shrink: 0;
}

.payment-info-icon i {
    font-size: 2rem;
    color: #3b82f6;
}

.payment-info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.payment-info-content p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.payment-steps {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.payment-steps strong {
    color: #1e40af;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.payment-steps ol {
    margin: 0;
    padding-left: 1.25rem;
    color: #475569;
    font-size: 0.8125rem;
    line-height: 1.8;
}

.payment-steps ol li {
    margin-bottom: 0.25rem;
}

.payment-steps ol li strong {
    color: #6B1C2E;
    display: inline;
}

.payment-warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #dc2626;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 640px) {
    .payment-method-options {
        grid-template-columns: 1fr;
    }
    
    .payment-method-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .payment-method-content i {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }
    
    .payment-method-content span {
        font-size: 0.875rem;
        text-align: left;
    }
}

.invoice-popup-footer {
    padding: 1.5rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.invoice-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.invoice-note i {
    color: #3b82f6;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.invoice-note span {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Upload Payment Proof Modal */
.upload-order-info {
    background: linear-gradient(135deg, rgba(107, 28, 46, 0.1) 0%, rgba(166, 74, 95, 0.1) 100%);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
}

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

.upload-info-row:last-child {
    border-top: 1px solid rgba(107, 28, 46, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.info-label {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.info-value {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.info-value.highlight {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.payment-instructions {
    background: var(--gray-50);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.payment-instructions h4 {
    font-size: 0.9375rem;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.8;
}

.payment-instructions strong {
    color: var(--primary-color);
}

.upload-section {
    margin-bottom: 1rem;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.upload-dropzone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-50);
}

.upload-dropzone:hover {
    border-color: var(--primary-color);
    background: rgba(107, 28, 46, 0.05);
}

.upload-dropzone.dragover {
    border-color: var(--primary-color);
    background: rgba(107, 28, 46, 0.1);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-placeholder i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.upload-placeholder p {
    color: var(--gray-600);
    font-weight: 500;
    margin: 0;
}

.upload-placeholder small {
    color: var(--gray-500);
    font-size: 0.75rem;
}

.upload-preview {
    position: relative;
    display: inline-block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.remove-upload {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--danger-color, #ef4444);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-upload:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.upload-tips {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.upload-tips i {
    color: #3b82f6;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ========================================
   Chatbot Attachment Styles
======================================== */
.chatbot-input-container {
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    position: relative;
}

.attachment-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.attachment-btn:hover {
    background: var(--primary-color);
    color: white;
}

.chatbot-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--radius-2xl);
    font-size: 0.875rem;
    color: var(--gray-800);
    border: 2px solid transparent;
}

.chatbot-input::placeholder {
    color: var(--gray-400);
}

.chatbot-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 28, 46, 0.1);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-maroon);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Attachment Selector Popup */
.attachment-selector {
    position: absolute;
    bottom: 80px;
    left: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    animation: slideUp 0.3s ease;
}

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

.selector-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    min-width: 70px;
}

.selector-option:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.selector-option i {
    font-size: 1.5rem;
}

.selector-option span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Attachment Preview */
.attachment-preview {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-lg);
    max-width: fit-content;
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.preview-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-maroon);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
}

.preview-image {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.preview-name {
    font-size: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-size {
    font-size: 0.625rem;
    color: var(--gray-500);
}

.upload-attachment {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    transition: var(--transition);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.upload-attachment:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.remove-attachment {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--error-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    transition: var(--transition);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.remove-attachment:hover {
    transform: scale(1.1);
}

/* Chatbot Model Button */
.chatbot-model {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.chatbot-model:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(15deg);
}

/* Enhanced Settings Panel */
.settings-header h3 {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.setting-group label i {
    color: var(--primary-color);
}

.setting-group input[type="text"],
.setting-group input[type="password"],
.setting-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    transition: var(--transition);
}

.setting-group input:focus,
.setting-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 28, 46, 0.1);
}

.setting-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.setting-group small a {
    color: var(--primary-color);
    text-decoration: underline;
}

.setting-group input[type="range"] {
    width: 100%;
    margin-top: 0.5rem;
}

.api-keys-pool-status {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.key-status-badge {
    padding: 0.35rem 0.5rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-size: 0.72rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-300);
}

.key-status-badge.active {
    background: #dcfce7;
    color: #15803d;
    border-color: #86efac;
    font-weight: 600;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.key-status-badge.exhausted {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
    text-decoration: line-through;
}

.settings-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.settings-buttons .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-reset-keys {
    background: var(--gray-200);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-reset-keys:hover {
    background: var(--gray-300);
    color: var(--gray-900);
}

.model-info {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-top: 1rem;
}

.model-info h4 {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.model-info p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Message with Attachment */
.message-attachment {
    background: var(--gray-200);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 250px;
}

.message-attachment img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.attachment-details {
    flex: 1;
    overflow: hidden;
}

.attachment-details .file-name {
    font-size: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-details .file-type {
    font-size: 0.625rem;
    color: var(--gray-500);
    text-transform: uppercase;
}

/* File type icon colors */
.file-icon-pdf {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.file-icon-txt {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.file-icon-mp3,
.file-icon-wav {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.file-icon-image {
    background: linear-gradient(135deg, #059669, #047857);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .panda-mascot {
        width: 280px;
        height: 320px;
    }

    .panda-head {
        width: 160px;
        height: 145px;
    }

    .panda-body {
        width: 180px;
        height: 160px;
    }

    /* Chatbot Responsive */
    .chatbot-toggle {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .chatbot-container {
        width: calc(100vw - 40px);
        height: calc(100vh - 150px);
        bottom: 100px;
        right: 20px;
        left: 20px;
        max-width: none;
    }

    .chatbot-header {
        padding: 1rem;
    }

    .chatbot-messages {
        padding: 1rem;
    }

    .chatbot-input-container {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 4% 30px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about,
    .menu,
    .gallery,
    .testimonials,
    .contact {
        padding: 60px 4%;
    }

    .about-image-card {
        width: 280px;
        height: 280px;
    }

    .about-image-card i {
        font-size: 6rem;
    }

    .features {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

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

    .social-links,
    .delivery-partners {
        justify-content: center;
    }
}

/* ========================================
   Loading Animation
======================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Error/Success Messages
======================================== */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ========================================
   Bamboo Decoration
======================================== */
.bamboo-decoration {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(90deg, var(--maroon-dark), var(--primary-color));
    opacity: 0.1;
    z-index: 0;
    display: none;
}

@media (min-width: 1400px) {
    .bamboo-decoration {
        display: block;
    }
}

.bamboo-decoration::before,
.bamboo-decoration::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-dark);
}

.bamboo-decoration::before {
    top: 100px;
}

.bamboo-decoration::after {
    bottom: 100px;
}

/* ========================================
   Enhanced Responsive Design
======================================== */

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Medium Screens */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet Small */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        width: 100%;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .menu-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem;
    }
    
    .logo span {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .panda-mascot {
        width: 200px;
        height: 240px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .menu-category-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ========================================
   Chatbot Responsive Enhanced
======================================== */

/* Tablet & Mobile */
@media (max-width: 768px) {
    .chatbot-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        max-width: none;
    }
    
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .chatbot-header {
        padding: 1rem;
    }
    
    .chatbot-title {
        font-size: 1rem;
    }
    
    .chatbot-messages {
        padding: 1rem;
    }
    
    .message {
        max-width: 85%;
    }
    
    .chatbot-input-container {
        padding: 0.75rem;
    }
    
    .order-panel {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .chatbot-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .chatbot-header {
        padding: 0.75rem;
    }
    
    .chatbot-title span {
        display: none;
    }
    
    .chatbot-title i {
        font-size: 1.25rem;
    }
    
    .chatbot-messages {
        padding: 0.75rem;
    }
    
    .message {
        max-width: 90%;
    }
    
    .message-avatar {
        width: 35px;
        height: 35px;
    }
    
    .message-content p {
        font-size: 0.8rem;
    }
    
    .chatbot-input-container {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .chatbot-input {
        font-size: 0.8rem;
    }
    
    .chatbot-send,
    .attachment-btn,
    .order-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    /* Order Panel Small */
    .order-panel-header {
        padding: 0.75rem;
    }
    
    .order-panel-header h3 span {
        display: none;
    }
    
    .order-cart-item {
        padding: 0.6rem;
    }
    
    .order-cart-item-name {
        font-size: 12px !important;
    }
    
    .order-cart-item-price {
        font-size: 11px !important;
    }

    .btn-checkout-order {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .chatbot-container {
        max-height: 100vh;
    }
    
    .chatbot-messages {
        max-height: calc(100vh - 140px);
    }
    
    .order-panel-content {
        max-height: calc(100vh - 180px);
    }
}
"/* Payment Proof Upload Modal - Added via conversation */" 
