/* HomeSe Web Application Styles */

:root {
    /* Color Variables - Based on Flutter App Colors */
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --background-fafa: #FAFAFA;
    --homese-maroon: #7D001F;
    --inactive-gray: #9E9E9E;
    --star-color: #FFC300;
    --secondary-text: #757575;
    --fofo-grey: #F0F0F0;
    --ea-grey: #EAEAEA;
    
    /* Font Weight Variables */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --ea-soft-rose: #F07E7E;
    --success-green: #4CAF50;
    --error-red: #F44336;
    --warning-orange: #FFC300;
    --blue-accent: #007AFF;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

* {
    box-sizing: border-box;
    font-family: var(--font-family) !important;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-fafa);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--homese-maroon) 0%, #9a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

/* App Container */
.app-container {
    /* min-height: 150dvh; */
    padding-top: 60px; /* Space for fixed navbar */
    padding-bottom: 80px; /* Space for bottom navigation */
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand img {
    height: 30px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 140px);
    padding: var(--spacing-md);
}

/* Bottom Navigation */
.navbar-light .navbar-nav .nav-link {
    color: var(--secondary-text);
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--homese-maroon);
}

.navbar-light .navbar-nav .nav-link i {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 20px;
    left: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 1000;
}

.floating-cart-content {
    background: #333333;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.floating-cart-store-name {
    color: white;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.floating-cart-details {
    color: white;
    font-size: 14px;
    line-height: 1.2;
}

.floating-cart-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-cart-btn {
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.floating-cart-btn:hover {
    background: #f5f5f5;
}

.floating-cart-trash-btn {
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.floating-cart-trash-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Remove old floating cart button styles */
.floating-cart .btn {
    display: none;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.card-img-top {
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    height: 200px;
    object-fit: cover;
}

/* Store Cards */
.store-card {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.store-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.store-card-overlay {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
}

.store-card-content {
    padding: var(--spacing-md);
}

.store-card-title {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-xs);
}

.store-card-subtitle {
    color: var(--secondary-text);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.store-card-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.store-card-rating .bi-star-fill {
    color: var(--star-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--homese-maroon);
    border-color: var(--homese-maroon);
}

.btn-primary:hover {
    background-color: #6a001a;
    border-color: #6a001a;
}

.btn-outline-primary {
    color: var(--homese-maroon);
    border-color: var(--homese-maroon);
}

.btn-outline-primary:hover {
    background-color: var(--homese-maroon);
    border-color: var(--homese-maroon);
}

/* Form Controls */
.form-control:focus {
    border-color: var(--homese-maroon);
    box-shadow: 0 0 0 0.2rem rgba(125, 0, 31, 0.25);
}

.form-select:focus {
    border-color: var(--homese-maroon);
    box-shadow: 0 0 0 0.2rem rgba(125, 0, 31, 0.25);
}

/* Search Bar */
.search-bar {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.search-bar input::placeholder {
    color: var(--secondary-text);
}

/* Event Type Chips */
.event-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: white;
    border: 1px solid var(--ea-grey);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent chips from shrinking */
    min-width: fit-content; /* Ensure chips don't get too small */
}

.event-chip:hover {
    background: var(--homese-maroon);
    color: white;
    border-color: var(--homese-maroon);
}

.event-chip.active {
    background: var(--homese-maroon);
    color: white;
    border-color: var(--homese-maroon);
}

.event-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--homese-maroon) 0%, #9a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.splash-content {
    text-align: center;
    color: white;
    padding: var(--spacing-xl);
}

.splash-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius-md);
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-xl);
    line-height: 1.2;
}

.splash-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.splash-button {
    background: white;
    color: var(--homese-maroon);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.splash-button:hover {
    background: var(--fofo-grey);
    transform: translateY(-2px);
}

/* Login Screen */
.login-screen {
    min-height: 100vh !important;
    background-color: var(--background-fafa);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.login-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login-header {
    margin-top: 80px;
    margin-bottom: 80px;
}

.login-title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 24px 0;
    text-align: left;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 16px;
    color: #000000;
    margin: 0;
    text-align: left;
    line-height: 1.4;
    font-weight: normal;
}

.login-form {
    margin-bottom: 0;
    flex: 1;
}

.login-label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 24px;
    text-align: left;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    height: 60px;
    margin-bottom: 40px;
}

.country-code {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-right: 16px;
}

.input-separator {
    width: 1px;
    height: 40px;
    background-color: #A0A0A0;
    margin-right: 16px;
}

.phone-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    outline: none;
    padding: 0;
}

.phone-input::placeholder {
    color: #A0A0A0;
    font-weight: bold;
}

.login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #F5F5F5;
    z-index: 10;
}

.get-otp-btn {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.2s ease;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.get-otp-btn:hover {
    background-color: #333333;
}

.get-otp-btn:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-content {
        padding: 20px 16px;
    }
    
    .login-header {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    
    .login-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .country-code,
    .phone-input {
        font-size: 28px;
    }
    
    .login-label {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .phone-input-container {
        margin-bottom: 30px;
    }
    
    .login-footer {
        padding: 16px;
    }
}

/* OTP Screen */
.otp-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.otp-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.otp-header {
    margin-top: 80px;
    margin-bottom: 60px;
}

.otp-title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

.otp-verification-section {
    flex: 1;
    margin-bottom: 60px;
}

.otp-verification-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 16px 0;
    text-align: left;
}

.otp-instruction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.otp-instruction-text {
    font-size: 16px;
    color: #000000;
    font-weight: normal;
}

.edit-phone-btn {
    background: none;
    border: none;
    color: #A0A0A0;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    padding: 0;
}

.edit-phone-btn:hover {
    color: #666666;
}

.otp-input-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    border: none;
    border-radius: 12px;
    background-color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.otp-input:focus {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.otp-input::placeholder {
    color: #A0A0A0;
}

.otp-timer {
    font-size: 14px;
    color: var(--secondary-text);
    margin-top: 16px;
    text-align: center;
}

.timer-countdown {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-right: 8px;
}

.timer-text {
    font-size: 16px;
    color: #A0A0A0;
    font-weight: normal;
}

.otp-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #F5F5F5;
    z-index: 10;
}

.login-btn {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.2s ease;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.login-btn:hover {
    background-color: #333333;
}

.login-btn:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .otp-content {
        padding: 20px 16px;
    }
    
    .otp-header {
        margin-top: 60px;
        margin-bottom: 40px;
    }
    
    .otp-title {
        font-size: 28px;
    }
    
    .otp-verification-title {
        font-size: 16px;
    }
    
    .otp-input {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .otp-footer {
        padding: 16px;
    }
}

/* Store Screen */
.store-header {
    background: transparent;
    padding: var(--spacing-md);
    /* border-radius: var(--border-radius-lg); */
    /* margin-bottom: var(--spacing-md); */
    /* box-shadow: var(--shadow-sm); */
}

.store-header-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
}

.store-info h1 {
    color: var(--primary-black);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.store-info p {
    color: var(--secondary-text);
    margin-bottom: var(--spacing-sm);
}

.store-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

/* Menu Items */
.menu-category {
    background: white;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.menu-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 0px solid var(--ea-grey);
    margin-bottom: 0px;
    background: transparent;
}

.menu-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--ea-grey);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

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

.menu-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.menu-item-content {
    flex: 1;
}

.menu-item-title {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-xs);
}

.menu-item-description {
    color: var(--secondary-text);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

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

.menu-item-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--ea-grey);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--homese-maroon);
}

.quantity-btn:hover {
    background: var(--homese-maroon);
    color: white;
    border-color: var(--homese-maroon);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

/* Cart Screen */
.cart-item {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.cart-item-title {
    font-weight: 600;
    color: var(--primary-black);
}

.cart-item-price {
    font-weight: 600;
    color: var(--homese-maroon);
}

.cart-total {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.cart-total-final {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--homese-maroon);
    border-top: 1px solid var(--ea-grey);
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    .main-content {
        padding: 0px;
    }
    
    .splash-title {
        font-size: 2rem;
    }
    
    .phone-input {
        font-size: 1.5rem;
    }
    
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .store-card-image {
        height: 150px;
    }
    
    .menu-item-image {
        width: 60px;
        height: 60px;
    }
    
    .floating-cart .btn {
        min-width: 180px;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--homese-maroon) !important;
}

.bg-primary {
    background-color: var(--homese-maroon) !important;
}

.border-primary {
    border-color: var(--homese-maroon) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.rounded-custom {
    border-radius: var(--border-radius-lg);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 0px;
    z-index: 100002; /* Increased to be higher than item popup */
}

.toast-custom {
    background: white;
    border-left: 4px solid var(--homese-maroon);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
}

/* Modal Customization */
.modal-dialog {
    margin: 0;
    max-width: none;
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.modal-dialog-centered {
    align-items: flex-end;
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 1.75rem auto;
        max-width: 500px;
        width: auto;
        height: auto;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .modal-dialog-centered {
        align-items: center;
    }
}

.modal-content {
    border-radius: 20px 20px 0 0; /* Rounded top corners for mobile bottom sheet */
    border: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .modal-content {
        border-radius: 16px; /* Rounded corners for desktop */
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        height: auto;
    }
}

.modal-header {
    border-bottom: none;
    padding: 24px 24px 16px;
    text-align: center;
    position: relative;
}

.modal-header .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    width: 100%;
}

.modal-header .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--fofo-grey);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    opacity: 1;
    background-size: 14px;
}

.modal-body {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--secondary-text);
    line-height: 1.6;
    text-align: center;
}

.modal-footer {
    border-top: none;
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-footer .btn {
    width: 100%;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.modal-footer .btn-primary {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
}

.modal-footer .btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.modal-footer .btn-secondary {
    background-color: var(--ea-grey);
    border-color: var(--ea-grey);
    color: var(--primary-black);
}

.modal-footer .btn-secondary:hover {
    background-color: #ddd;
    border-color: #ddd;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (min-width: 576px) {
    @keyframes slideUp {
        from {
            transform: translateY(20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Store Screen - Updated to match Flutter app design */
.store-screen {
    background: var(--background-fafa);
    min-height: 100vh;
}

/* Store Header */
.store-header {
    padding: var(--spacing-md);
    background: transparent;
}

.store-header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.store-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.store-share-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 10px; 
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.store-share-btn:hover {
    background: var(--primary-black);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.store-share-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.store-share-btn i {
    font-size: 16px;
}

/* Store Header Actions Container */
.store-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Store Profile Button */
.store-profile-btn {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 1px solid var(--ea-grey);
    border-radius: 10px;
    padding: 8px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 40px;
}

.store-profile-btn:hover {
    background: var(--fofo-grey);
    border-color: var(--primary-black);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.store-profile-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.store-profile-btn svg {
    width: 20px;
    height: 20px;
    color: var(--primary-black);
}

/* Store Images - Updated for horizontal scrollable banners */
.store-banners {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 4px; /* Space for scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.store-banners::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.store-banner-image {
    min-width: 220px;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Store Info */
.store-info {
    margin-bottom: 16px;
}

/* Store name row - flex container for name and likes */
.store-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}

.store-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0;
    flex: 1;
    margin-right: 12px;
}

/* Store Meta - Updated to keep location adjacent to rating badge */
.store-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.store-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-rating-badge {
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.store-location {
    color: var(--secondary-text);
    font-size: 14px;
}

.store-likes {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #E8E8E8;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.store-likes:hover {
    background: #EEEEEE;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.store-likes i {
    font-size: 14px;
    color: #666;
}

/* Service Options - Small compact badges */
.store-service-options {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.store-service-options::-webkit-scrollbar {
    display: none;
}

.service-option-btn {
    background: var(--fofo-grey);
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-black);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    flex: 0 0 auto;
    width: fit-content;
    cursor: default;
    transition: none;
    line-height: 1;
}

.service-option-btn:hover {
    background: var(--fofo-grey);
    transform: none;
}

.service-option-btn.clean-kitchen {
    background: var(--primary-white);
    border: 1px solid var(--ea-grey);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 6px;
    flex: 1;
}

.service-option-btn.clean-kitchen:hover {
    background: var(--fofo-grey);
    border-color: var(--secondary-text);
}

.service-option-btn i {
    font-size: 10px;
}

.service-option-btn.clean-kitchen i {
    font-size: 12px;
}

.clean-kitchen-icon {
    color: var(--blue-accent);
}

.service-option-btn .bi-chevron-right {
    font-size: 8px;
    margin-left: 2px;
}

.service-option-btn.clean-kitchen .bi-chevron-right {
    font-size: 10px;
}

/* Responsive adjustments for service options */
@media (max-width: 768px) {
    .store-service-options {
        gap: 6px;
    }
    
    .service-option-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .service-option-btn.clean-kitchen {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Chef Profile */
.chef-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.chef-info {
    flex: 1;
}

.chef-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.chef-specializations {
    font-size: 12px;
    color: var(--secondary-text);
}

.chef-instagram {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 20px;
    cursor: pointer;
}

.chef-instagram:hover {
    opacity: 0.7;
}

/* Store Description */
.store-description {
    margin-bottom: 16px;
}

.store-description-text {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.store-description-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
}

/* Two-line truncation with inline see more button */
.description-short {
    line-height: 1.5;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.5em * 2); /* 2 lines * line-height */
}

.description-short::after {
    content: '... see more';
    color: var(--primary-black);
    cursor: pointer;
    right: 0;
    bottom: 0;
    padding-left: 4px;
    font-size: 14px;
}

.description-short .see-more-btn {
    display: none;
}

.description-short .see-more-btn:hover {
    text-decoration: underline;
}

.description-full {
    display: none;
}

.description-full .see-less-btn {
    color: var(--primary-black);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    margin-left: 4px;
    white-space: nowrap;
}

.description-full .see-less-btn:hover {
    text-decoration: underline;
}

/* Action Buttons - Left and right aligned */
.store-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    justify-content: space-between;
    align-items: center;
}

.action-btn {
    background: var(--primary-white);
    border: 1px solid var(--ea-grey);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    flex: 0 0 auto;
    width: fit-content;
    white-space: nowrap;
}

.action-btn:hover {
    background: var(--fofo-grey);
    border-color: var(--secondary-text);
}

.action-btn i {
    font-size: 16px;
    color: var(--primary-black);
}

.action-btn .bi-chevron-right {
    font-size: 12px;
    margin-left: 4px;
}

/* Search Section */
.store-search-section {
    padding: 0 var(--spacing-md) var(--spacing-md);
    background: transparent;
}

.store-search-bar {
    position: relative;
    margin-bottom: 12px;
}

.store-search-input {
    width: 100%;
    background: var(--primary-white);
    border: none;
    border-radius: 21px;
    padding: 12px 16px 12px 40px;
    font-size: 14px;
    color: var(--primary-black);
}

.store-search-input::placeholder {
    color: var(--secondary-text);
}

.store-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 16px;
}

/* Filter Buttons - Small compact badges */
.store-filter-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.filter-btn {
    background: var(--primary-white);
    border: 1px solid var(--ea-grey);
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
    width: fit-content;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--fofo-grey);
    border-color: var(--secondary-text);
}

.filter-btn .veg-indicator,
.filter-btn .egg-indicator {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    position: relative;
    background: var(--primary-white);
    border: 1px solid;
}

.filter-btn .veg-indicator::before,
.filter-btn .egg-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-btn.veg .veg-indicator {
    border-color: var(--success-green);
}

.filter-btn.veg .veg-indicator::before {
    background: var(--success-green);
}

.filter-btn.non-veg .veg-indicator {
    border-color: var(--error-red);
}

.filter-btn.non-veg .veg-indicator::before {
    background: var(--error-red);
}

.filter-btn.egg .egg-indicator {
    border-color: var(--warning-orange);
}

.filter-btn.egg .egg-indicator::before {
    background: var(--warning-orange);
}

.filter-btn.active {
    background: var(--fofo-grey);
    border-color: var(--primary-black);
    font-weight: 600;
}

/* Menu Section - Updated to match screenshot */
.store-menu-section {
    background: transparent;
    padding: 0 var(--spacing-md) var(--spacing-md);
    margin-bottom: 60px;
}

.menu-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 0px solid var(--ea-grey);
    margin-bottom: 0px;
    background: transparent;
}

.menu-category-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
}

.menu-category-toggle {
    width: 20px;
    height: 20px;
    background: var(--fofo-grey);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Menu Items */
.menu-item-card {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 0px solid var(--ea-grey);
}

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

.menu-item-content {
    flex: 1;
}

.menu-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.menu-item-details-link {
    font-size: 12px;
    color: var(--secondary-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.menu-item-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--primary-black);
}

.menu-item-weight {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-item-price {
    font-weight: 600;
}

.menu-item-image-container {
    position: relative;
    width: 90px;
    height: 90px;
}

.menu-item-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.menu-item-add-btn {
    position: absolute;
    bottom: -12px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: var(--primary-black);
    border: 1px solid var(--primary-white);
    border-radius: 50%;
    color: var(--primary-white);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer */
.store-footer {
    background: transparent;
    padding: 20px;
    text-align: center;
}

.store-fssai {
    font-size: 12px;
    color: var(--secondary-text);
    margin-bottom: 4px;
}

.store-license {
    font-size: 10px;
    color: var(--secondary-text);
}

/* Floating Action Button */
.store-fab {
    position: fixed;
    bottom: var(--menu-button-bottom, 20px); /* Dynamic positioning */
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary-white);
    border: none;
    border-radius: 50%;
    box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 24px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-fab:hover {
    background: var(--homese-maroon);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-fab:active {
    transform: scale(0.95);
}

/* Responsive adjustments for floating elements */
@media (max-width: 768px) {
    .store-fab {
        bottom: var(--menu-button-bottom, 20px); /* Dynamic positioning */
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* Menu Category Wrapper */
.menu-category-wrapper {
    margin-bottom: 20px;
}

.menu-category-items {
    display: block;
}

.menu-category-toggle {
    width: 20px;
    height: 20px;
    background: var(--fofo-grey);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-category-toggle:hover {
    background: var(--ea-grey);
} 

/* Item Details Popup */
.item-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Safari iOS safe area support */
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.item-details-popup {
    background: var(--primary-white);
    width: 100%;
    max-height: 150vh;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    /* Ensure popup is above Safari navigation */
    position: fixed;
    z-index: 10000;
    bottom: 0;
    height: auto !important;
}

.item-details-popup.show {
    transform: translateY(0);
}

/* Safari iOS specific fixes for item details popup */
@supports (-webkit-touch-callout: none) {
    .item-details-overlay {
        /* Minimal padding for Safari iOS */
        padding-bottom: calc(env(safe-area-inset-bottom, 0) + 10px);
    }
    
    .item-details-popup {
        /* Ensure popup is above Safari's navigation bar */
        /* max-height: calc(85vh - env(safe-area-inset-bottom, 0) - 10px); */
    }
    
    .add-to-cart-btn {
        /* Ensure button is above Safari's navigation bar */
        margin-bottom: calc(env(safe-area-inset-bottom, 0) + 10px);
        /* Additional bottom padding for the button */
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
    }
}

/* Additional iOS Safari specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @supports (-webkit-appearance: none) {
        .item-details-overlay {
            /* Force overlay to be above Safari UI */
            z-index: 99999;
        }
        
        .item-details-popup {
            /* Force popup to be above Safari UI */
            z-index: 100000;
        }
        
        .add-to-cart-btn {
            /* Force button to be above Safari UI */
            position: relative;
            z-index: 100001;
            /* Ensure button is visible above Safari navigation */
            margin-bottom: calc(env(safe-area-inset-bottom, 0) + 15px);
        }
    }
}

.item-details-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.item-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.item-details-content {
    padding: var(--spacing-md) var(--spacing-md) 0 var(--spacing-md);
    height: auto;
    margin-bottom: var(--spacing-md);
}

.item-details-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 12px;
}

.item-details-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.item-details-weight-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--secondary-text);
}

.veg-indicator {
    color: var(--success-green);
    font-size: 8px;
}

.non-veg-indicator {
    color: var(--error-red);
    font-size: 8px;
}

.egg-indicator {
    color: var(--warning-orange);
    font-size: 8px;
}

.separator {
    color: var(--secondary-text);
}

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

.item-details-rating {
    background: var(--fofo-grey);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-details-rating i {
    color: var(--star-color);
}

.item-details-quantity {
    display: flex;
    align-items: center;
    background: var(--primary-black);
    border-radius: 6px;
    padding: 2px;
}

.item-details-quantity .quantity-btn {
    background: none;
    border: none;
    color: var(--primary-white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.item-details-quantity .quantity-display {
    color: var(--primary-white);
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.item-details-description {
    margin-bottom: 20px;
}

.item-details-description p {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.see-more-link {
    color: var(--blue-accent);
    text-decoration: none;
    font-size: 14px;
}

.item-details-datetime {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.datetime-field {
    flex: 1;
    background: var(--primary-white);
    border: 1px solid var(--ea-grey);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--primary-black);
}

.datetime-field i {
    color: var(--secondary-text);
}

.item-details-collection {
    margin-bottom: 20px;
}

.collection-label {
    display: block;
    font-size: 14px;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.collection-options {
    display: flex;
    gap: 8px;
}

.collection-option {
    flex: 1;
    background: var(--primary-white);
    border: 1px solid var(--ea-grey);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--primary-black);
    cursor: pointer;
    transition: all 0.2s ease;
}

.collection-option.active {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 15px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Safari iOS safe area support */
    margin-bottom: env(safe-area-inset-bottom, 0);
    /* Ensure button is always visible */
    /* position: relative; */
    z-index: 1;
}

.add-to-cart-btn:hover {
    background: var(--primary-black);
}

/* Safari iOS specific fixes for item details popup */
@supports (-webkit-touch-callout: none) {
    .item-details-popup {
        /* Additional padding for Safari iOS */
        /* padding-bottom: calc(env(safe-area-inset-bottom, 0) + 20px); */
    }
    
    .add-to-cart-btn {
        /* Ensure button is above Safari's navigation bar */
        margin-bottom: calc(env(safe-area-inset-bottom, 0) + 10px);
    }
}

/* Calendar Popup */
.calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.calendar-popup {
    background: var(--primary-white);
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    /* Ensure calendar popup is above item details popup */
    z-index: 100001;
}

.calendar-popup.show {
    transform: translateY(0);
}

.calendar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--ea-grey);
}

.calendar-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-month-year {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
}

.calendar-arrows {
    display: flex;
    gap: 8px;
}

.calendar-arrow {
    width: 32px;
    height: 32px;
    background: var(--fofo-grey);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-arrow:hover {
    background: var(--ea-grey);
    color: var(--primary-black);
}

.calendar-body {
    padding: 16px 20px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 12px;
    color: var(--secondary-text);
    font-weight: 500;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-black);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.calendar-day:hover:not(.other-month):not(.past) {
    background: var(--primary-black);
}

.calendar-day.other-month {
    color: var(--secondary-text);
    cursor: default;
}

.calendar-day.past {
    color: var(--secondary-text);
    cursor: default;
}

.calendar-day.today {
    border-color: var(--primary-black);
}

.calendar-day.selected {
    background: var(--primary-black);
    color: var(--primary-white);
}

.calendar-footer {
    padding: 20px;
    border-top: 1px solid var(--ea-grey);
}

.calendar-proceed-btn {
    width: 100%;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-proceed-btn:hover {
    background: var(--secondary-text);
} 

/* Time Slots Dropdown */
.time-slots-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 100002;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.time-slots-popup {
    background: var(--primary-white);
    width: 100%;
    max-height: 60vh;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    /* Ensure time slots popup is above item details popup */
    z-index: 100003;
}

.time-slots-popup.show {
    transform: translateY(0);
}

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

.time-slots-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.time-slots-close {
    width: 32px;
    height: 32px;
    background: var(--fofo-grey);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 20px;
}

.time-slots-close:hover {
    background: var(--ea-grey);
    color: var(--primary-black);
}

.time-slots-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
}

.time-slot-option {
    padding: 16px 20px;
    font-size: 16px;
    color: var(--primary-black);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--ea-grey);
}

.time-slot-option:last-child {
    border-bottom: none;
}

.time-slot-option:hover {
    background: var(--fofo-grey);
}

.time-slot-option:active {
    background: var(--ea-grey);
} 

/* Cart Screen - New Design */
.cart-screen {
    background: var(--background-fafa);
    height: 100dvh; /* Use dynamic viewport height */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-content {
    flex: 1;
    padding: 20px;
    padding-bottom: 100px; /* Space for fixed button */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.cart-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-black);
    margin-right: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-btn:hover {
    background-color: var(--fofo-grey);
}

.cart-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

/* Progress Indicator */
.cart-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 0 10px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fofo-grey);
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.progress-step.active .progress-circle {
    background: var(--primary-black);
    color: var(--primary-white);
}

.progress-label {
    font-size: 12px;
    color: var(--secondary-text);
    text-align: center;
    line-height: 1.2;
}

.progress-line {
    height: 2px;
    background: var(--fofo-grey);
    flex: 1;
    margin: 0 8px;
    margin-bottom: 16px;
}

/* Order Summary Card */
.cart-order-summary {
    background: var(--primary-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    align-items: center;
}

.order-id {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 16px;
}

.order-separator {
    width: 1px;
    height: 16px;
    background: var(--fofo-grey);
    margin: 0 12px;
}

.order-count {
    color: var(--secondary-text);
    font-size: 14px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--fofo-grey);
}

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

.item-info {
    flex: 1;
}

.item-name {
    /* font-weight: 500; */
    color: var(--primary-black);
    font-size: 15px;
    margin-bottom: 4px;
}

.item-price {
    color: var(--primary-black);
    font-size: 16px;
    font-weight: 600;
}

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

.quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--fofo-grey);
    border: none;
    color: var(--primary-black);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover {
    background: var(--ea-grey);
}

.quantity-display {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--fofo-grey);
}

.total-label {
    font-weight: 700;
    color: var(--primary-black);
    font-size: 18px;
}

.total-amount {
    font-weight: 700;
    color: var(--primary-black);
    font-size: 18px;
}

/* Cart Footer with Fixed Button */
.cart-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    padding: 16px 20px;
    border-top: 1px solid var(--fofo-grey);
    z-index: 1000;
}

/* Proceed Button */
.proceed-btn {
    width: 100%;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.proceed-btn:hover {
    background: #333;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-content {
        padding: 0px;
        padding-bottom: 100px;
    }
    
    .progress-label {
        font-size: 11px;
    }
    
    .cart-order-summary {
        margin: 0px var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .cart-footer {
        padding: 16px;
    }
} 

/* Order Confirmation Step Styles */
.order-details-section {
    background: var(--background-fafa);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-details-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 16px 0;
}

.order-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-details-row.fulfillment-row {
    margin-top: 16px;
}

.datetime-field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--secondary-text);
}

.datetime-field i {
    font-size: 18px;
}

.fulfillment-label {
    font-size: 14px;
    color: var(--secondary-text);
}

.fulfillment-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: default;
}

.delivery-location-section {
    background: var(--background-fafa);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 var(--spacing-md);
}

.location-map {
    margin-bottom: 16px;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary-black); /* Changed from --text-dark to --primary-black */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
}

.location-marker {
    font-size: 24px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
}

.map-text {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
    font-weight: 500;
}

.locate-me-btn {
    width: 100%;
    background: var(--primary-white);
    border: 1px solid var(--fofo-grey);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 16px;
}

.locate-me-btn:hover {
    background: var(--fofo-grey);
}

.locate-me-btn i {
    font-size: 16px;
}

.location-input-group {
    margin-bottom: 16px;
}

.location-label {
    display: block;
    font-size: 14px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
    margin-bottom: 8px;
    font-weight: 500;
}

.location-input {
    width: 100%;
    background: var(--primary-white);
    border: 1px solid var(--fofo-grey);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
}

.location-input:focus {
    outline: none;
    border-color: var(--homese-maroon); /* Changed from --primary-color to --homese-maroon */
}

/* Progress Step Updates */
.progress-step.completed .progress-circle {
    background: var(--primary-black); /* Changed from --text-dark to --primary-black */
    color: var(--primary-white);
}

.progress-step.completed .progress-circle i {
    font-size: 14px;
}

.progress-step.active .progress-circle {
    background: var(--primary-black); /* Changed from --text-dark to --primary-black */
    color: var(--primary-white);
}

.progress-step.active .progress-label {
    font-weight: 600;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
} 

/* Map Container Styles */
.map-container {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--fofo-grey);
    position: relative;
}

.map-text {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--primary-black);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: calc(100% - 32px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Fallback Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary-black); /* Changed from --text-dark to --primary-black */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
}

.location-marker {
    font-size: 24px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
}

/* Google Maps specific styles */
.gm-style {
    border-radius: 12px;
}

.gm-style-moc {
    border-radius: 12px;
}

/* Location input styles */
.location-input-group {
    margin-bottom: 16px;
}

.location-label {
    display: block;
    font-size: 14px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
    margin-bottom: 8px;
    font-weight: 500;
}

.location-input {
    width: 100%;
    background: var(--primary-white);
    border: 1px solid var(--fofo-grey);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
}

.location-input:focus {
    outline: none;
    border-color: var(--homese-maroon); /* Changed from --primary-color to --homese-maroon */
}

.locate-me-btn {
    width: 100%;
    background: var(--primary-white);
    border: 1px solid var(--fofo-grey);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-black); /* Changed from --text-dark to --primary-black */
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 16px;
}

.locate-me-btn:hover {
    background: var(--fofo-grey);
}

.locate-me-btn i {
    font-size: 16px;
} 

/* Google Places Autocomplete Styles */
.pac-container {
    border-radius: 8px;
    border: 1px solid var(--fofo-grey);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: inherit;
    z-index: 9999;
}

.pac-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #e3f2fd;
}

.pac-item-query {
    font-weight: 500;
    color: var(--primary-black);
}

.pac-matched {
    font-weight: 600;
    color: var(--homese-maroon);
} 

/* Order Success Section Styles */
.order-success-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: var(--primary-white);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin-bottom: 24px;
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.success-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-black), var(--primary-black));
    border-radius: 50%;
    z-index: -1;
}

.success-circle i {
    font-size: 40px;
    color: var(--primary-white);
    font-weight: bold;
}

.order-status {
    margin-bottom: 24px;
}

.order-status-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 8px;
    line-height: 1.2;
}

.order-id {
    font-size: 16px;
    color: var(--primary-black);
    font-weight: 500;
    margin: 0;
}

.order-info {
    margin-bottom: 32px;
    max-width: 400px;
}

.order-message {
    font-size: 16px;
    color: var(--primary-black);
    line-height: 1.5;
    margin-bottom: 8px;
}

.order-timeline {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.app-download-prompt {
    margin-bottom: 32px;
}

.download-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
}

/* Cart Footer Buttons for Step 3 */
.cart-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    padding: 20px;
    border-top: 1px solid var(--fofo-grey);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-app-btn {
    width: 100%;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.download-app-btn:hover {
    background: #333;
}

.return-store-btn {
    width: 100%;
    background: transparent;
    color: var(--primary-black);
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.return-store-btn:hover {
    color: #333;
}

/* Progress Step Updates for Step 3 */
.progress-step.completed .progress-circle {
    background: var(--primary-black);
    color: var(--primary-white);
}

.progress-step.completed .progress-circle i {
    font-size: 14px;
}

.progress-step.active .progress-circle {
    background: var(--primary-black);
    color: var(--primary-white);
}

.progress-step.active .progress-label {
    font-weight: 600;
    color: var(--primary-black);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .order-success-section {
        padding: 30px 16px;
        margin: 16px 0;
    }
    
    .success-circle {
        width: 70px;
        height: 70px;
    }
    
    .success-circle i {
        font-size: 35px;
    }
    
    .order-status-title {
        font-size: 22px;
    }
    
    .order-message {
        font-size: 15px;
    }
    
    .download-text {
        font-size: 15px;
    }
    
    .cart-footer {
        padding: 16px;
    }
    
    .download-app-btn {
        padding: 14px;
        font-size: 15px;
    }
    
    .return-store-btn {
        padding: 10px;
        font-size: 15px;
    }
}

/* Ensure proper spacing for cart content with fixed footer */
.cart-content {
    padding-bottom: 140px; /* Space for fixed footer */
}

/* Existing cart screen styles */
.cart-screen {
    min-height: 100vh;
    background: var(--background-fafa);
    position: relative;
}

.cart-header {
    background: var(--primary-white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--fofo-grey);
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-black);
    cursor: pointer;
    padding: 4px;
}

.cart-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.cart-progress {
    /* background: var(--primary-white); */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-bottom: 1px solid var(--fofo-grey); */
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fofo-grey);
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.progress-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--fofo-grey);
    margin: 0 8px;
} 

/* Pickup Location Section */
.pickup-location-section {
    margin: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
}

.pickup-location-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-md);
}

.pickup-location-section .location-map {
    margin-bottom: var(--spacing-md);
}

.pickup-disclaimer {
    background-color: var(--fofo-grey);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    text-align: center;
}

.pickup-disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.4;
}

/* Fulfilment Method */
.fulfilment-method {
    margin: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fulfilment-method .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
}

.fulfilment-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: capitalize;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fulfilment-btn:hover {
    background-color: #333;
}

/* Order Details Section */
.order-details-section {
    margin: var(--spacing-md);
    padding: 0;
    background-color: var(--background-fafa);
    border-radius: var(--border-radius-lg);
}

.order-details-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-md);
}

.datetime-fields {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.datetime-field {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-xs);
    background-color: var(--fofo-grey);
    border-radius: var(--border-radius-md);
    flex: 1;
}

.datetime-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-black);
}

.datetime-field i {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* Responsive adjustments for pickup flow */
@media (max-width: 768px) {
    .datetime-fields {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .datetime-field {
        width: 100%;
    }
    
    .fulfilment-method {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }
    
    .pickup-disclaimer {
        padding: var(--spacing-sm);
    }
    
    .pickup-disclaimer p {
        font-size: 0.85rem;
    }
} 

/* Location Permission Screen */
.location-permission-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.location-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.location-header {
    margin-top: 80px;
    margin-bottom: 60px;
}

.location-title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 16px 0;
    text-align: left;
    line-height: 1.2;
}

.location-subtitle {
    font-size: 16px;
    color: #000000;
    margin: 0;
    text-align: left;
    line-height: 1.4;
    font-weight: normal;
}

.location-icon-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.location-icon {
    width: 120px;
    height: 120px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-icon i {
    font-size: 48px;
    color: #000000;
}

.location-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #F5F5F5;
    z-index: 10;
}

.allow-location-btn {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.2s ease;
    max-width: 400px;
    margin: 0 auto 12px auto;
    display: block;
}

.allow-location-btn:hover {
    background-color: #333333;
}

.skip-location-btn {
    width: 100%;
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.skip-location-btn:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-content {
        padding: 20px 16px;
    }
    
    .location-header {
        margin-top: 60px;
        margin-bottom: 40px;
    }
    
    .location-title {
        font-size: 28px;
    }
    
    .location-icon {
        width: 100px;
        height: 100px;
    }
    
    .location-icon i {
        font-size: 40px;
    }
    
    .location-footer {
        padding: 16px;
    }
}

/* Event Chips Container - Horizontal Scrollable */
.event-chips-container {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--spacing-sm) 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

.event-chips-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Simple scroll container setup */
#mainContent {
    height: 100dvh; /* Use dynamic viewport height instead of 100vh */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Ensure content containers have proper height */
.container-fluid,
.store-screen,
.cart-screen,
.login-screen,
.otp-screen,
.location-permission-screen {
    min-height: 100%;
}

/* Item Details Popup Close Button */
.item-details-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--fofo-grey);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100001;
    font-size: 20px;
}

.item-details-close:hover {
    background: var(--ea-grey);
    color: var(--primary-black);
}

/* Calendar Popup Close Button */
.calendar-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--fofo-grey);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100002;
    font-size: 20px;
}

.calendar-close:hover {
    background: var(--ea-grey);
    color: var(--primary-black);
}

/* Add fallback for browsers that don't support dvh */
@supports not (height: 100dvh) {
    #mainContent {
        height: 100vh;
        /* Add JavaScript-based height adjustment as fallback */
    }
    
    .cart-screen {
        height: 100vh;
    }
}

/* Menu Popup Styles */
.menu-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.menu-popup {
    background: var(--primary-white);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: menuPopupSlideIn 0.3s ease-out;
}

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

.menu-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid var(--fofo-grey);
}

.menu-popup-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
}

.menu-popup-close {
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.menu-popup-close:hover {
    background: var(--fofo-grey);
    color: var(--primary-black);
}

.menu-popup-content {
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    padding: 8px 0;
}

.menu-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--fofo-grey);
}

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

.menu-category-item:hover {
    background: var(--fofo-grey);
}

.menu-category-item:active {
    background: var(--ea-grey);
}

.menu-category-info {
    flex: 1;
}

.menu-category-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.menu-category-count {
    font-size: 14px;
    color: var(--secondary-text);
}

.menu-category-item i {
    color: var(--secondary-text);
    font-size: 16px;
}

/* Category highlight effect */
.category-highlight {
    animation: categoryHighlight 2s ease-out;
}

@keyframes categoryHighlight {
    0%, 100% {
        background: transparent;
    }
    50% {
        background: rgba(255, 193, 7, 0.2);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-popup {
        max-width: 90vw;
        max-height: 70vh;
    }
    
    .menu-popup-header {
        padding: 16px 16px 12px 16px;
    }
    
    .menu-popup-content {
        padding: 4px 0;
    }
    
    .menu-category-item {
        padding: 14px 16px;
    }
}

.menu-item-details .menu-item-weight::after {
	content: '•';
	margin-left: 5px;
	color: var(--primary-black);
	line-height: 1;
}

/* Disabled (unavailable) calendar days */
.calendar-day.unavailable {
    color: #b9b9b9;
    background: #f3f3f3;
    cursor: not-allowed;
    pointer-events: none;
    border-radius: 50%;
}

/* Guest Name Screen */
.guest-name-screen {
    min-height: 100vh !important;
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.guest-name-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.guest-name-header {
    margin-top: 80px;
    margin-bottom: 80px;
}

.guest-name-title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 24px 0;
    text-align: left;
    line-height: 1.2;
}

.guest-name-subtitle {
    font-size: 16px;
    color: #000000;
    margin: 0;
    text-align: left;
    line-height: 1.4;
    font-weight: normal;
}

.guest-name-form {
    margin-bottom: 0;
    flex: 1;
}

.guest-name-label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 24px;
    text-align: left;
}

.name-input-container {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    height: 60px;
    margin-bottom: 40px;
}

.name-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    outline: none;
    padding: 0;
    border-bottom: 2px solid #A0A0A0;
    padding-bottom: 8px;
}

.name-input::placeholder {
    color: #A0A0A0;
    font-weight: normal;
    font-size: 18px;
}

.name-input:focus {
    border-bottom-color: #000000;
}

.guest-name-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #F5F5F5;
    z-index: 10;
}

.continue-btn {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.2s ease;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.continue-btn:hover {
    background-color: #333333;
}

.continue-btn:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guest-name-content {
        padding: 20px 16px;
    }
    
    .guest-name-header {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    
    .guest-name-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .name-input {
        font-size: 28px;
    }
    
    .guest-name-label {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .name-input-container {
        margin-bottom: 30px;
    }
    
    .guest-name-footer {
        padding: 16px;
    }
}

/* Orders Screen */
.orders-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    padding: 0;
}

.orders-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--ea-grey);
    background-color: var(--primary-white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.orders-header .back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-black);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 16px;
}

.orders-header .back-btn:hover {
    background-color: var(--fofo-grey);
}

.orders-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
}

.orders-section {
    padding: 20px;
}

/* Empty Orders State */
.empty-orders-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
}

.empty-orders-icon {
    width: 80px;
    height: 80px;
    background-color: var(--fofo-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-orders-icon i {
    font-size: 32px;
    color: var(--secondary-text);
}

.empty-orders-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 12px;
    margin-top: 0;
}

.empty-orders-message {
    font-size: 15px;
    color: var(--secondary-text);
    line-height: 1.5;
    max-width: 280px;
    margin: 0;
}

/* Loading Orders State */
.loading-orders-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
}

.loading-orders-spinner {
    width: 80px;
    height: 80px;
    background-color: var(--fofo-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.loading-orders-spinner .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--ea-grey);
    border-top: 3px solid var(--primary-black);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-orders-text {
    font-size: 15px;
    color: var(--secondary-text);
    margin: 0;
}

/* Pagination Loader */
.pagination-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.pagination-loader .loading-spinner {
    width: 40px;
    height: 40px;
    background-color: var(--fofo-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pagination-loader .loading-spinner .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ea-grey);
    border-top: 2px solid var(--primary-black);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.pagination-loader .loading-text {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0;
}

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

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 16px 0;
}

.order-card {
    position: relative;
    background: var(--primary-white);
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.order-card:hover {
    background: #e8e8e8;
}

.order-card-left-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.border-request {
    background: repeating-linear-gradient(
        to bottom,
        var(--secondary-text) 0px,
        var(--secondary-text) 4px,
        transparent 4px,
        transparent 8px
    );
    width: 4px;
}

.border-ongoing {
    background: var(--primary-white);
    width: 4px;
    border-right: 1px solid var(--ea-grey);
}

.border-completed {
    background: var(--primary-black);
    width: 6px;
}

.order-card-content {
    padding: 20px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.order-store-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    flex: 1;
}

.order-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin-left: 16px;
}

.order-card-body {
    margin-bottom: 16px;
}

.order-id {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--primary-black);
    font-weight: 600;
}

.order-status {
    margin: 0;
    font-size: 14px;
    color: var(--secondary-text);
    font-weight: 400;
}

.order-card-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-review {
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-review:hover {
    background: var(--secondary-text);
    transform: translateY(-1px);
}

/* Responsive adjustments for orders screen */
@media (max-width: 768px) {
    .orders-header {
        padding: 16px;
    }
    
    .orders-title {
        font-size: 20px;
    }
    
    .orders-section {
        padding: 16px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .order-card {
        margin-bottom: 12px;
    }
    
    .order-card-content {
        padding: 16px;
    }
    
    .order-store-name {
        font-size: 15px;
    }
    
    .order-amount {
        font-size: 15px;
        margin-left: 12px;
    }
    
    .order-id,
    .order-status {
        font-size: 13px;
    }
    
    .btn-review {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Order Details Screen */
.order-details-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    padding: 0;
}

.order-details-header {
    display: flex;
    align-items: center;
    background-color: var(--primary-white);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--ea-grey);
}

.order-details-header .back-btn {
    background: none;
    border: none;
    padding: 8px;
    margin-right: 16px;
    border-radius: var(--border-radius-sm);
    color: var(--primary-black);
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.order-details-header .back-btn:hover {
    background-color: var(--fofo-grey);
}

.order-details-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-black);
}

/* Order Status Card */
.order-status-card {
    background-color: var(--primary-white);
    margin: 16px;
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.order-status-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.order-status-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-status-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
    line-height: 1.4;
}

.order-status-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-text);
    margin: 0;
    line-height: 1.4;
}

.order-status-right {
    align-self: flex-end;
}

.order-status-chat-btn {
    background-color: #333;
    color: var(--primary-white);
    border: none;
    padding: 6px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 60px;
    text-align: center;
}

.order-status-chat-btn:hover {
    background-color: #45a049;
}

/* Ensure button stays on right side on desktop */
@media (min-width: 769px) {
    .order-status-content {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }
    
    .order-status-right {
        margin-left: 16px !important;
        align-self: flex-start !important;
    }
}

/* Order Info Section */
.order-info-section {
    background-color: var(--primary-white);
    margin: 16px;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.order-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.order-info-left {
    flex: 1;
}

.store-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 4px 0;
}

.order-type {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0;
}

.order-info-right {
    margin-left: 16px;
}

.order-image {
    width: 90px;
    height: 90px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    float: right;
}

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

.order-delivery-info {
    border-top: 0px solid var(--ea-grey);
    padding-top: 0px;
}

.delivery-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
    font-size: 14px;
    color: var(--secondary-text);
}

.delivery-detail i {
    font-size: 16px;
}

.delivery-datetime {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--primary-black);
    margin-bottom: 12px;
}

.delivery-datetime strong {
    font-weight: var(--font-weight-medium);
}

.delivery-address p {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0 0 4px 0;
}

.delivery-address address {
    font-size: 14px;
    color: var(--primary-black);
    margin: 0 0 12px 0;
    font-style: normal;
    line-height: 1.4;
}


/* Order Items Section */
.order-items-section {
    background-color: var(--primary-white);
    margin: 16px;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.items-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 16px 0;
}

.order-items-list {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ea-grey);
}

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


.order-item-details {
    flex: 1;
}


.order-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--secondary-text);
}

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

.order-total {
    border-top: 1px solid var(--ea-grey);
    padding-top: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    flex: 0 0 auto;
}

.total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    flex: 0 0 auto;
    text-align: right;
}

/* Special Instructions Section */
.special-instructions-section {
    background-color: var(--primary-white);
    margin: 16px;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.instructions-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.instructions-text {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Order Actions */
.order-actions {
    padding: 16px;
    margin-bottom: 80px; /* Space for potential bottom navigation */
}


/* Responsive adjustments for order details screen */
@media (max-width: 768px) {
    .order-details-header {
        padding: 12px 16px;
    }
    
    .order-details-title {
        font-size: 20px;
    }
    
    .order-status-card,
    .order-info-section,
    .order-items-section,
    .special-instructions-section {
        margin: 12px;
        padding: 16px;
    }
    
    .order-status-title {
        font-size: 16px;
    }
    
    .order-status-content {
        flex-direction: row !important;
        gap: 12px;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .order-status-right {
        margin-left: 0;
        align-self: end;
    }
    
    .order-status-chat-btn {
        padding: 6px 16px;
        font-size: 13px;
        min-width: 60px;
    }
    
    .order-info-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    .order-info-right {
        margin-left: 0;
    }
    
    .order-actions {
        padding: 12px;
    }
}

/* Profile Screen */
.profile-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

/* Profile Header */
.profile-header {
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #EAEAEA;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #000000;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.back-btn:hover {
    background-color: #F0F0F0;
}

.welcome-text {
    font-size: 18px;
    color: #000000;
    font-weight: 400;
}

.welcome-text strong {
    font-weight: 700;
}

/* Favourite Stores Section */
.favourite-stores-section {
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 16px 0;
}

.stores-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stores-scroll-container::-webkit-scrollbar {
    display: none;
}

.store-card {
    min-width: 160px;
    background: #FFFFFF;
    box-shadow: none;
    overflow: hidden;
    flex-shrink: 0;
}

.store-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

.store-info {
    padding: 0px;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Profile screen specific store name styling */
.profile-screen .store-name {
    font-size: 14px;
    padding: 5px 0px;
}

.store-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background-color: #000000;
    color: #FFFFFF;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    flex-shrink: 0;
}

.store-rating i {
    color: #FFFFFF;
    font-size: 10px;
}

.rating-text {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
}

.store-location {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Profile Menu Section */
.profile-menu-section {
    background-color: #FFFFFF;
    margin-bottom: 16px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.menu-item:hover {
    background-color: #F8F8F8;
}

.menu-icon {
    width: 40px;
    height: 40px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.menu-icon i {
    color: #FFFFFF;
    font-size: 18px;
}

.menu-text {
    flex: 1;
    font-size: 16px;
    color: #000000;
    font-weight: 400;
}

.menu-arrow {
    color: #CCCCCC;
    font-size: 16px;
}

/* Logout Section */
.logout-section {
    background-color: #FFFFFF;
    padding: 20px;
    margin-top: auto;
}

.logout-link {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}

.logout-link:hover {
    color: #666666;
}



/* Notifications Screen */
.notifications-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
}

.notifications-header {
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--ea-grey);
    position: sticky;
    top: 0;
    z-index: 100;
}

.notifications-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.notifications-content {
    padding: 20px;
}

.empty-notifications {
    text-align: center;
    padding: 60px 20px;
}

.empty-notifications i {
    font-size: 48px;
    color: var(--secondary-text);
    margin-bottom: 16px;
}

.empty-notifications h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.empty-notifications p {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0;
}

.notification-section {
    margin-bottom: 32px;
}

.notification-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 16px;
    padding-left: 4px;
}

.notification-list {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--ea-grey);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.notification-item:hover {
    background-color: var(--fofo-grey);
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

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

.notification-content {
    flex: 1;
    margin-right: 12px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-message {
    font-size: 13px;
    color: var(--secondary-text);
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: var(--secondary-text);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        padding: 16px;
    }
    
    .notifications-header {
        padding: 16px;
    }
    
    .notifications-content {
        padding: 16px;
    }
    
    .notification-item {
        padding: 12px;
    }
    
    .notification-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-message {
        font-size: 12px;
    }
    
    .notification-time {
        font-size: 11px;
    }
    
    .favourite-stores-section {
        padding: 16px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .store-card {
        min-width: 140px;
    }
    
    .store-image {
        /* height: 100px; */
        border-radius: var(--border-radius-lg);
    }
    
    .menu-item {
        padding: 14px 16px;
    }
    
    .menu-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .menu-text {
        font-size: 15px;
    }
    
    .logout-section {
        padding: 16px;
    }
}

/* Saved Addresses Screen Styles */
.saved-addresses-screen {
    padding: 0;
    background-color: var(--background-fafa);
    min-height: 100vh;
}

.saved-addresses-header {
    background-color: var(--primary-white);
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-button {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: #f0f0f0;
}

.back-button i {
    font-size: 20px;
    color: var(--primary-black);
    font-weight: 600;
}

.screen-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

/* Empty State */
.empty-addresses {
    padding: 40px 20px;
    padding-bottom: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.empty-illustration {
    margin-bottom: 32px;
    position: relative;
}

.illustration-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.map-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(90deg, #e0e0e0 1px, transparent 1px),
                linear-gradient(0deg, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 8px;
    opacity: 0.6;
}

.person-silhouette {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background-color: #666;
    border-radius: 20px 20px 0 0;
}

.person-silhouette::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: #666;
    border-radius: 50%;
}

.location-pin-small {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 16px;
    height: 16px;
    background-color: #FF9800;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.location-pin-small::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

.location-circle {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 20px;
    height: 20px;
    background-color: #FF9800;
    border-radius: 50%;
    border: 3px solid rgba(255, 152, 0, 0.3);
}

.delivery-path {
    position: absolute;
    top: 80px;
    left: 60px;
    width: 40px;
    height: 2px;
    background-color: #FF9800;
    transform: rotate(45deg);
}

.delivery-path::before {
    content: '';
    position: absolute;
    right: -5px;
    top: -2px;
    width: 0;
    height: 0;
    border-left: 8px solid #FF9800;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.empty-headline {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 12px;
    line-height: 1.3;
    max-width: 280px;
}

.empty-subtext {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    max-width: 280px;
    margin-bottom: 0;
}

/* Addresses Container */
.addresses-container {
    padding: 12px 20px;
    padding-bottom: 100px;
}

.address-item {
    background-color: var(--primary-white);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
    display: flex;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5f5f5;
}

.address-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #e8e8e8;
}

.address-icon {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-icon i {
    font-size: 20px;
    color: var(--primary-black);
    font-weight: 400;
}

.address-content {
    flex: 1;
    min-width: 0;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.address-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 20px;
}

.action-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
    color: var(--primary-black);
}

.action-link:hover {
    opacity: 0.7;
}

.edit-link {
    color: var(--primary-black);
}

.delete-link {
    color: var(--primary-black);
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.address-text {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.address-location {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

/* Add Address Button */
.add-address-section {
    padding: 20px;
    padding-top: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-top: 1px solid #e0e0e0;
    z-index: 10;
}

.add-address-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.add-address-btn:hover {
    background-color: #333;
}

.add-address-btn i {
    font-size: 18px;
    font-weight: 600;
}

.add-address-btn.primary {
    background-color: var(--primary-black);
}

.add-address-btn.full-width {
    width: 100%;
}

/* Empty State Button Styling */
.add-address-section.empty-state {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-top: 1px solid #e0e0e0;
    z-index: 10;
    margin-top: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-address-section.empty-state .add-address-btn {
    max-width: 300px;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .saved-addresses-header {
        padding: 16px;
    }
    
    .addresses-container {
        padding: 12px 16px;
        padding-bottom: 100px;
    }
    
    .address-item {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .address-icon {
        width: 36px;
        height: 36px;
    }
    
    .address-icon i {
        font-size: 18px;
    }
    
    .add-address-section {
        padding: 16px;
        padding-top: 8px;
    }
    
    .empty-addresses {
        padding: 30px 16px;
        padding-bottom: 100px;
        min-height: 50vh;
    }
    
    .illustration-container {
        width: 160px;
        height: 160px;
    }
    
    .map-grid {
        width: 100px;
        height: 100px;
        background-size: 16px 16px;
    }
    
    .person-silhouette {
        width: 32px;
        height: 48px;
    }
    
    .person-silhouette::before {
        width: 24px;
        height: 24px;
        top: -12px;
    }
    
    .location-pin-small {
        width: 14px;
        height: 14px;
        top: 25px;
        right: 25px;
    }
    
    .location-circle {
        width: 16px;
        height: 16px;
        top: 50px;
        left: 35px;
    }
    
    .delivery-path {
        width: 32px;
        top: 65px;
        left: 50px;
    }
    
    .empty-headline {
        font-size: 16px;
        max-width: 260px;
    }
    
    .empty-subtext {
        font-size: 13px;
        max-width: 260px;
    }
    
    .add-address-section.empty-state {
        padding: 16px;
    }
    
    .add-address-section.empty-state .add-address-btn {
        max-width: 280px;
    }
}

/* Add Address Screen Styles */
.add-address-screen {
    padding: 0;
    background-color: var(--background-fafa);
    min-height: 100vh;
    padding-bottom: 100px;
}

.add-address-header {
    background-color: var(--primary-white);
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Location Overview Section */
.location-overview {
    background-color: var(--primary-white);
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.location-info {
    flex: 1;
}

.location-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 8px 0;
}

.location-address {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.change-location-btn {
    background: none;
    border: none;
    color: var(--blue-accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.change-location-btn:hover {
    background-color: #f0f8ff;
}

/* Address Form */
.address-form {
    background-color: var(--primary-white);
    padding: 20px;
    margin-bottom: 12px;
}

.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 16px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-black);
    background-color: var(--primary-white);
    transition: border-color 0.2s ease;
}

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

.form-input::placeholder {
    color: #999999;
}

.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-black);
    background-color: var(--primary-white);
    transition: border-color 0.2s ease;
    resize: vertical;
    min-height: 80px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--homese-maroon);
}

.form-textarea::placeholder {
    color: #999999;
}

/* Address Tags */
.address-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.tag-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: none;
    color: var(--primary-black);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-btn:hover {
    border-color: var(--homese-maroon);
}

.tag-btn.active {
    border-color: var(--primary-black);
    background-color: var(--primary-black);
    color: var(--primary-white);
}

/* Phone Input */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.country-code {
    background-color: #f5f5f5;
    padding: 14px 16px;
    color: var(--primary-black);
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid #e0e0e0;
}

.phone-input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.phone-input:focus {
    border-color: transparent;
}

.form-help-text {
    font-size: 12px;
    color: #666666;
    margin: 8px 0 0 0;
    line-height: 1.4;
}

/* Confirm Button */
.confirm-button-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-top: 1px solid #e0e0e0;
    padding: 20px;
    z-index: 10;
}

.confirm-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.confirm-btn:hover {
    background-color: #333;
}

/* Responsive adjustments for Add Address screen */
@media (max-width: 768px) {
    .add-address-header {
        padding: 16px;
    }
    
    .location-overview {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .address-form {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .address-tags {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .tag-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .confirm-button-section {
        padding: 16px;
    }
    
    .confirm-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Location Selection Screen Styles */
.location-selection-screen {
    padding: 0;
    background-color: var(--primary-white);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.location-selection-header {
    background-color: var(--primary-white);
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 25;
}

/* Search Bar */
.search-bar-container {
    padding: 0 20px;
    position: relative;
    z-index: 20;
    margin-top: 16px;
    margin-bottom: 16px;
}

.search-bar {
    background-color: var(--primary-white);
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
}

.search-icon {
    color: var(--primary-black);
    font-size: 18px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--primary-black);
    background: none;
    min-width: 0;
}

.search-input::placeholder {
    color: #999999;
}

/* Google Places Autocomplete Styling */
.pac-container {
    background-color: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
    margin-top: 4px;
    font-family: inherit;
    z-index: 1000;
}

.pac-container .pac-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    color: var(--primary-black);
    font-size: 14px;
}

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

.pac-container .pac-item:hover,
.pac-container .pac-item-selected {
    background-color: #f8f9fa;
}

.pac-container .pac-item .pac-icon {
    background-image: none;
    margin-right: 8px;
}

.pac-container .pac-item .pac-icon:before {
    content: '\F1A5';
    font-family: 'bootstrap-icons';
    color: #666;
    font-size: 16px;
}

.pac-container .pac-item-query {
    color: var(--primary-black);
    font-weight: 600;
}

.pac-container .pac-matched {
    font-weight: 700;
    color: var(--primary-black);
}

/* Location Selection Map Container */
.location-selection-screen .map-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    z-index: 5;
}

.location-selection-screen .google-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* Locate Me Button */
.location-selection-screen .locate-me-btn {
    position: absolute;
    bottom: 180px;
    right: 20px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    z-index: 20;
    width: 44px;
    height: 44px;
}

.location-selection-screen .locate-me-btn:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-selection-screen .locate-me-btn i {
    font-size: 18px;
}

/* Address Details Bottom Sheet */
.address-details-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-radius: 24px 24px 0 0;
    padding: 28px 20px 32px 20px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    z-index: 30;
    min-height: 140px;
}

.address-info {
    margin-bottom: 24px;
}

.address-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.address-details {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
    max-width: 100%;
}

.select-location-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 10px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    min-height: 56px;
}

.select-location-btn:hover {
    background-color: #333;
}

/* Responsive adjustments for Location Selection screen */
@media (max-width: 768px) {
    .location-selection-header {
        padding: 16px;
    }
    
    .search-bar-container {
        padding: 0 16px;
        margin-top: 10px;
    }
    
    .search-bar {
        padding: 12px 16px;
    }
    
    .location-selection-screen .map-container {
        height: 100vh;
    }
    
    .location-selection-screen .locate-me-btn {
        bottom: 160px;
        right: 16px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    .address-details-sheet {
        padding: 24px 16px 28px 16px;
        min-height: 130px;
    }
    
    .address-info {
        margin-bottom: 20px;
    }
    
    .select-location-btn {
        padding: 16px 20px;
        font-size: 15px;
        min-height: 52px;
    }
}

/* ==================== DEEP LINK STYLES ==================== */

/* Deep Link Container */
.deep-link-container {
    background: linear-gradient(135deg, var(--homese-maroon) 0%, #8B1538 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Deep Link Card */
.deep-link-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    animation: slideInUp 0.6s ease-out;
    border: none;
}

.deep-link-card h4 {
    color: var(--homese-maroon);
    font-weight: 600;
    margin-bottom: 1rem;
}

.deep-link-card .text-muted {
    color: #6c757d !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

.deep-link-card .btn-outline-primary {
    border-color: var(--homese-maroon);
    color: var(--homese-maroon);
    border-width: 2px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
}

.deep-link-card .btn-outline-primary:hover,
.deep-link-card .btn-outline-primary:focus {
    background-color: var(--homese-maroon);
    border-color: var(--homese-maroon);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
}

.deep-link-card .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

.deep-link-card .spinner-border.text-primary {
    color: var(--homese-maroon) !important;
}

/* Deep Link Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments for deep link */
@media (max-width: 768px) {
    .deep-link-container {
        padding: 1rem;
    }
    
    .deep-link-card {
        max-width: 100%;
        margin: 0;
    }
    
    .deep-link-card h4 {
        font-size: 1.25rem;
    }
    
    .deep-link-card .text-muted {
        font-size: 0.9rem;
    }
    
    .deep-link-card .btn-outline-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Chat Seller Button - WhatsApp Style */
.chat-seller-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: 1px solid var(--primary-black);
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-seller-btn:hover {
    background-color: var(--fofo-grey);
    border-color: var(--secondary-text);
}

.chat-seller-btn i {
    font-size: 20px;
    color: var(--primary-black);
}

/* Order Status Payment Button */
.order-status-payment-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.order-status-payment-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Payment Screen Styles */
.payment-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--primary-white);
    border-bottom: 1px solid var(--ea-grey);
}

.payment-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
    flex: 1;
    text-align: center;
}

.payment-content {
    padding: 16px;
    padding-bottom: 100px; /* Space for fixed button */
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 16px 0;
    text-align: center;
}

/* Order Summary Card */
.order-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.order-id {
    font-weight: 600;
    color: var(--primary-black);
}

.separator {
    margin: 0 8px;
    color: var(--secondary-text);
}

.item-count {
    color: var(--secondary-text);
}

.order-items-list {
    margin-bottom: 12px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.item-name {
    color: var(--primary-black);
    flex: 1;
}

.item-price {
    color: var(--primary-black);
    font-weight: 500;
}

.net-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ea-grey);
    font-weight: 600;
    color: var(--primary-black);
}

/* Pickup Details Card */
.pickup-details-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pickup-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.pickup-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.pickup-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.pickup-location-row {
    font-size: 14px;
}

.pickup-location-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-location {
    color: var(--secondary-text);
    margin-left: 4px;
}

/* Payment Summary Card */
.payment-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-amount-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.payment-label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
}

.amount-display {
    flex: 1;
    text-align: center;
    margin: 0 16px;
}

.original-amount {
    color: var(--secondary-text);
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.final-amount {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 16px;
}

.payment-action-btn {
    background: none;
    border: none;
    color: var(--primary-black);
    font-size: 16px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fofo-grey);
}

.savings-message {
    font-size: 14px;
    color: var(--primary-black);
    text-align: center;
}

/* Payment Actions */
.payment-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background-color: var(--primary-white);
    border-top: 1px solid var(--ea-grey);
    z-index: 1000;
}

.proceed-pay-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proceed-pay-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

.proceed-pay-btn.disabled {
    background-color: var(--inactive-gray);
    color: var(--secondary-text);
    cursor: not-allowed;
    opacity: 0.6;
}

.proceed-pay-btn.disabled:hover {
    background-color: var(--inactive-gray);
    transform: none;
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Complete Payment Button - Fixed Bottom */
.complete-payment-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.complete-payment-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Payment Screen Styles */
.payment-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--primary-white);
    border-bottom: 1px solid var(--ea-grey);
}

.payment-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
    flex: 1;
    text-align: center;
}

.payment-content {
    padding: 16px;
    padding-bottom: 100px; /* Space for fixed button */
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 16px 0;
    text-align: center;
}

/* Order Summary Card */
.order-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.order-id {
    font-weight: 600;
    color: var(--primary-black);
}

.separator {
    margin: 0 8px;
    color: var(--secondary-text);
}

.item-count {
    color: var(--secondary-text);
}

.order-items-list {
    margin-bottom: 12px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.item-name {
    color: var(--primary-black);
    flex: 1;
}

.item-price {
    color: var(--primary-black);
    font-weight: 500;
}

.net-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ea-grey);
    font-weight: 600;
    color: var(--primary-black);
}

/* Pickup Details Card */
.pickup-details-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pickup-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.pickup-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.pickup-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.pickup-location-row {
    font-size: 14px;
}

.pickup-location-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-location {
    color: var(--secondary-text);
    margin-left: 4px;
}

/* Payment Summary Card */
.payment-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-amount-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.payment-label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
}

.amount-display {
    flex: 1;
    text-align: center;
    margin: 0 16px;
}

.original-amount {
    color: var(--secondary-text);
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.final-amount {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 16px;
}

.payment-action-btn {
    background: none;
    border: none;
    color: var(--primary-black);
    font-size: 16px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fofo-grey);
}

.savings-message {
    font-size: 14px;
    color: var(--primary-black);
    text-align: center;
}

/* Payment Actions */
.payment-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background-color: var(--primary-white);
    border-top: 1px solid var(--ea-grey);
    z-index: 1000;
}

.proceed-pay-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proceed-pay-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

.proceed-pay-btn.disabled {
    background-color: var(--inactive-gray);
    color: var(--secondary-text);
    cursor: not-allowed;
    opacity: 0.6;
}

.proceed-pay-btn.disabled:hover {
    background-color: var(--inactive-gray);
    transform: none;
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Main Details Card */
.order-details-card {
    background-color: var(--primary-white);
    margin: 16px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: 20px;
}

.order-delivery-info {
    margin-top: 20px;
}

.order-items-header {
    margin-top: 24px;
    padding-top: 0px;
    border-top: 0px solid var(--ea-grey);
}

.order-info-section {
    padding: 20px;
    border-bottom: 1px solid var(--ea-grey);
}

.order-info-right {
    text-align: center;
}

.order-id-display {
    font-size: 13px;
    color: var(--secondary-text);
    margin-top: 8px;
}

.order-id-label {
    font-weight: var(--font-weight-light);
    color: var(--secondary-text);
}

.order-id-value {
    font-weight: var(--font-weight-bold);
    color: var(--primary-black);
}

/* Order Items Section */
.order-items-section {
    padding: 20px;
}

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

.items-table-header {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-text);
    margin-bottom: 8px;
    float: right;
}

.items-table-header span {
    width: 60px;
    text-align: center;
}

.items-table-header span:first-child {
    width: 50px;
}

.items-table-header span:last-child {
    width: 80px;
}

.items-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 16px 0;
}

.order-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ea-grey);
}

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


.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-black);
    margin: 0;
    display: inline-block;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.order-item-meta {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0;
    font-size: 14px;
    color: var(--secondary-text);
    justify-content: flex-end;
    flex: 1;
    text-align: right;
    vertical-align: middle;
    margin-left: 8px;
    float: right;
}

.order-item-meta > span {
    text-align: right;
}

.order-item-weight {
    width: 50px;
}

.order-item-quantity {
    width: 60px;
}

.order-item-price {
    width: 80px;
    font-weight: 600;
    color: var(--primary-black);
}

.order-total {
    border-top: 1px solid var(--ea-grey);
    padding-top: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    flex: 0 0 auto;
}

.total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    flex: 0 0 auto;
    text-align: right;
}

/* Special Instructions Section */
.special-instructions-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--ea-grey);
}

.instructions-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.instructions-text {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Order Actions */
.order-actions {
    padding: 16px;
    margin-bottom: 80px; /* Space for potential bottom navigation */
}


/* Responsive adjustments for order details screen */
@media (max-width: 768px) {
    .order-details-header {
        padding: 12px 16px;
    }
    
    .order-details-title {
        font-size: 20px;
    }
    
    .order-status-card,
    .order-info-section,
    .order-items-section,
    .special-instructions-section {
        margin: 12px;
        padding: 16px;
    }
    
    .order-status-title {
        font-size: 16px;
    }
    
    .order-status-content {
        flex-direction: row !important;
        gap: 12px;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .order-status-right {
        margin-left: 0;
        align-self: end;
    }
    
    .order-status-chat-btn {
        padding: 6px 16px;
        font-size: 13px;
        min-width: 60px;
    }
    
    .order-info-right {
        margin-left: 0;
    }
    
    .order-actions {
        padding: 12px;
    }
}

/* Profile Screen */
.profile-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

/* Profile Header */
.profile-header {
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #EAEAEA;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #000000;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.back-btn:hover {
    background-color: #F0F0F0;
}

.welcome-text {
    font-size: 18px;
    color: #000000;
    font-weight: 400;
}

.welcome-text strong {
    font-weight: 700;
}

/* Favourite Stores Section */
.favourite-stores-section {
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 16px 0;
}

.stores-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stores-scroll-container::-webkit-scrollbar {
    display: none;
}

.store-card {
    min-width: 160px;
    background: #FFFFFF;
    box-shadow: none;
    overflow: hidden;
    flex-shrink: 0;
}

.store-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

.store-info {
    padding: 0px;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Profile screen specific store name styling */
.profile-screen .store-name {
    font-size: 14px;
    padding: 5px 0px;
}

.store-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background-color: #000000;
    color: #FFFFFF;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    flex-shrink: 0;
}

.store-rating i {
    color: #FFFFFF;
    font-size: 10px;
}

.rating-text {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
}

.store-location {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Profile Menu Section */
.profile-menu-section {
    background-color: #FFFFFF;
    margin-bottom: 16px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.menu-item:hover {
    background-color: #F8F8F8;
}

.menu-icon {
    width: 40px;
    height: 40px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.menu-icon i {
    color: #FFFFFF;
    font-size: 18px;
}

.menu-text {
    flex: 1;
    font-size: 16px;
    color: #000000;
    font-weight: 400;
}

.menu-arrow {
    color: #CCCCCC;
    font-size: 16px;
}

/* Logout Section */
.logout-section {
    background-color: #FFFFFF;
    padding: 20px;
    margin-top: auto;
}

.logout-link {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}

.logout-link:hover {
    color: #666666;
}



/* Notifications Screen */
.notifications-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
}

.notifications-header {
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--ea-grey);
    position: sticky;
    top: 0;
    z-index: 100;
}

.notifications-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.notifications-content {
    padding: 20px;
}

.empty-notifications {
    text-align: center;
    padding: 60px 20px;
}

.empty-notifications i {
    font-size: 48px;
    color: var(--secondary-text);
    margin-bottom: 16px;
}

.empty-notifications h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.empty-notifications p {
    font-size: 14px;
    color: var(--secondary-text);
    margin: 0;
}

.notification-section {
    margin-bottom: 32px;
}

.notification-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 16px;
    padding-left: 4px;
}

.notification-list {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--ea-grey);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.notification-item:hover {
    background-color: var(--fofo-grey);
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

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

.notification-content {
    flex: 1;
    margin-right: 12px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-message {
    font-size: 13px;
    color: var(--secondary-text);
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: var(--secondary-text);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        padding: 16px;
    }
    
    .notifications-header {
        padding: 16px;
    }
    
    .notifications-content {
        padding: 16px;
    }
    
    .notification-item {
        padding: 12px;
    }
    
    .notification-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-message {
        font-size: 12px;
    }
    
    .notification-time {
        font-size: 11px;
    }
    
    .favourite-stores-section {
        padding: 16px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .store-card {
        min-width: 140px;
    }
    
    .store-image {
        /* height: 100px; */
        border-radius: var(--border-radius-lg);
    }
    
    .menu-item {
        padding: 14px 16px;
    }
    
    .menu-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .menu-text {
        font-size: 15px;
    }
    
    .logout-section {
        padding: 16px;
    }
}

/* Saved Addresses Screen Styles */
.saved-addresses-screen {
    padding: 0;
    background-color: var(--background-fafa);
    min-height: 100vh;
}

.saved-addresses-header {
    background-color: var(--primary-white);
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-button {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: #f0f0f0;
}

.back-button i {
    font-size: 20px;
    color: var(--primary-black);
    font-weight: 600;
}

.screen-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

/* Empty State */
.empty-addresses {
    padding: 40px 20px;
    padding-bottom: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.empty-illustration {
    margin-bottom: 32px;
    position: relative;
}

.illustration-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.map-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(90deg, #e0e0e0 1px, transparent 1px),
                linear-gradient(0deg, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 8px;
    opacity: 0.6;
}

.person-silhouette {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background-color: #666;
    border-radius: 20px 20px 0 0;
}

.person-silhouette::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: #666;
    border-radius: 50%;
}

.location-pin-small {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 16px;
    height: 16px;
    background-color: #FF9800;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.location-pin-small::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

.location-circle {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 20px;
    height: 20px;
    background-color: #FF9800;
    border-radius: 50%;
    border: 3px solid rgba(255, 152, 0, 0.3);
}

.delivery-path {
    position: absolute;
    top: 80px;
    left: 60px;
    width: 40px;
    height: 2px;
    background-color: #FF9800;
    transform: rotate(45deg);
}

.delivery-path::before {
    content: '';
    position: absolute;
    right: -5px;
    top: -2px;
    width: 0;
    height: 0;
    border-left: 8px solid #FF9800;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.empty-headline {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 12px;
    line-height: 1.3;
    max-width: 280px;
}

.empty-subtext {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    max-width: 280px;
    margin-bottom: 0;
}

/* Addresses Container */
.addresses-container {
    padding: 12px 20px;
    padding-bottom: 100px;
}

.address-item {
    background-color: var(--primary-white);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
    display: flex;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5f5f5;
}

.address-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #e8e8e8;
}

.address-icon {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-icon i {
    font-size: 20px;
    color: var(--primary-black);
    font-weight: 400;
}

.address-content {
    flex: 1;
    min-width: 0;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.address-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 20px;
}

.action-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
    color: var(--primary-black);
}

.action-link:hover {
    opacity: 0.7;
}

.edit-link {
    color: var(--primary-black);
}

.delete-link {
    color: var(--primary-black);
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.address-text {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.address-location {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

/* Add Address Button */
.add-address-section {
    padding: 20px;
    padding-top: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-top: 1px solid #e0e0e0;
    z-index: 10;
}

.add-address-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.add-address-btn:hover {
    background-color: #333;
}

.add-address-btn i {
    font-size: 18px;
    font-weight: 600;
}

.add-address-btn.primary {
    background-color: var(--primary-black);
}

.add-address-btn.full-width {
    width: 100%;
}

/* Empty State Button Styling */
.add-address-section.empty-state {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-top: 1px solid #e0e0e0;
    z-index: 10;
    margin-top: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-address-section.empty-state .add-address-btn {
    max-width: 300px;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .saved-addresses-header {
        padding: 16px;
    }
    
    .addresses-container {
        padding: 12px 16px;
        padding-bottom: 100px;
    }
    
    .address-item {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .address-icon {
        width: 36px;
        height: 36px;
    }
    
    .address-icon i {
        font-size: 18px;
    }
    
    .add-address-section {
        padding: 16px;
        padding-top: 8px;
    }
    
    .empty-addresses {
        padding: 30px 16px;
        padding-bottom: 100px;
        min-height: 50vh;
    }
    
    .illustration-container {
        width: 160px;
        height: 160px;
    }
    
    .map-grid {
        width: 100px;
        height: 100px;
        background-size: 16px 16px;
    }
    
    .person-silhouette {
        width: 32px;
        height: 48px;
    }
    
    .person-silhouette::before {
        width: 24px;
        height: 24px;
        top: -12px;
    }
    
    .location-pin-small {
        width: 14px;
        height: 14px;
        top: 25px;
        right: 25px;
    }
    
    .location-circle {
        width: 16px;
        height: 16px;
        top: 50px;
        left: 35px;
    }
    
    .delivery-path {
        width: 32px;
        top: 65px;
        left: 50px;
    }
    
    .empty-headline {
        font-size: 16px;
        max-width: 260px;
    }
    
    .empty-subtext {
        font-size: 13px;
        max-width: 260px;
    }
    
    .add-address-section.empty-state {
        padding: 16px;
    }
    
    .add-address-section.empty-state .add-address-btn {
        max-width: 280px;
    }
}

/* Add Address Screen Styles */
.add-address-screen {
    padding: 0;
    background-color: var(--background-fafa);
    min-height: 100vh;
    padding-bottom: 100px;
}

.add-address-header {
    background-color: var(--primary-white);
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Location Overview Section */
.location-overview {
    background-color: var(--primary-white);
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.location-info {
    flex: 1;
}

.location-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 8px 0;
}

.location-address {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.change-location-btn {
    background: none;
    border: none;
    color: var(--blue-accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.change-location-btn:hover {
    background-color: #f0f8ff;
}

/* Address Form */
.address-form {
    background-color: var(--primary-white);
    padding: 20px;
    margin-bottom: 12px;
}

.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 16px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-black);
    background-color: var(--primary-white);
    transition: border-color 0.2s ease;
}

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

.form-input::placeholder {
    color: #999999;
}

.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-black);
    background-color: var(--primary-white);
    transition: border-color 0.2s ease;
    resize: vertical;
    min-height: 80px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--homese-maroon);
}

.form-textarea::placeholder {
    color: #999999;
}

/* Address Tags */
.address-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.tag-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: none;
    color: var(--primary-black);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-btn:hover {
    border-color: var(--homese-maroon);
}

.tag-btn.active {
    border-color: var(--primary-black);
    background-color: var(--primary-black);
    color: var(--primary-white);
}

/* Phone Input */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.country-code {
    background-color: #f5f5f5;
    padding: 14px 16px;
    color: var(--primary-black);
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid #e0e0e0;
}

.phone-input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.phone-input:focus {
    border-color: transparent;
}

.form-help-text {
    font-size: 12px;
    color: #666666;
    margin: 8px 0 0 0;
    line-height: 1.4;
}

/* Confirm Button */
.confirm-button-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-top: 1px solid #e0e0e0;
    padding: 20px;
    z-index: 10;
}

.confirm-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.confirm-btn:hover {
    background-color: #333;
}

/* Responsive adjustments for Add Address screen */
@media (max-width: 768px) {
    .add-address-header {
        padding: 16px;
    }
    
    .location-overview {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .address-form {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .address-tags {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .tag-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .confirm-button-section {
        padding: 16px;
    }
    
    .confirm-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Location Selection Screen Styles */
.location-selection-screen {
    padding: 0;
    background-color: var(--primary-white);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.location-selection-header {
    background-color: var(--primary-white);
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 25;
}

/* Search Bar */
.search-bar-container {
    padding: 0 20px;
    position: relative;
    z-index: 20;
    margin-top: 16px;
    margin-bottom: 16px;
}

.search-bar {
    background-color: var(--primary-white);
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
}

.search-icon {
    color: var(--primary-black);
    font-size: 18px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--primary-black);
    background: none;
    min-width: 0;
}

.search-input::placeholder {
    color: #999999;
}

/* Google Places Autocomplete Styling */
.pac-container {
    background-color: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
    margin-top: 4px;
    font-family: inherit;
    z-index: 1000;
}

.pac-container .pac-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    color: var(--primary-black);
    font-size: 14px;
}

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

.pac-container .pac-item:hover,
.pac-container .pac-item-selected {
    background-color: #f8f9fa;
}

.pac-container .pac-item .pac-icon {
    background-image: none;
    margin-right: 8px;
}

.pac-container .pac-item .pac-icon:before {
    content: '\F1A5';
    font-family: 'bootstrap-icons';
    color: #666;
    font-size: 16px;
}

.pac-container .pac-item-query {
    color: var(--primary-black);
    font-weight: 600;
}

.pac-container .pac-matched {
    font-weight: 700;
    color: var(--primary-black);
}

/* Location Selection Map Container */
.location-selection-screen .map-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    z-index: 5;
}

.location-selection-screen .google-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* Locate Me Button */
.location-selection-screen .locate-me-btn {
    position: absolute;
    bottom: 180px;
    right: 20px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    z-index: 20;
    width: 44px;
    height: 44px;
}

.location-selection-screen .locate-me-btn:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-selection-screen .locate-me-btn i {
    font-size: 18px;
}

/* Address Details Bottom Sheet */
.address-details-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    border-radius: 24px 24px 0 0;
    padding: 28px 20px 32px 20px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    z-index: 30;
    min-height: 140px;
}

.address-info {
    margin-bottom: 24px;
}

.address-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.address-details {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
    max-width: 100%;
}

.select-location-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 10px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    min-height: 56px;
}

.select-location-btn:hover {
    background-color: #333;
}

/* Responsive adjustments for Location Selection screen */
@media (max-width: 768px) {
    .location-selection-header {
        padding: 16px;
    }
    
    .search-bar-container {
        padding: 0 16px;
        margin-top: 10px;
    }
    
    .search-bar {
        padding: 12px 16px;
    }
    
    .location-selection-screen .map-container {
        height: 100vh;
    }
    
    .location-selection-screen .locate-me-btn {
        bottom: 160px;
        right: 16px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    .address-details-sheet {
        padding: 24px 16px 28px 16px;
        min-height: 130px;
    }
    
    .address-info {
        margin-bottom: 20px;
    }
    
    .select-location-btn {
        padding: 16px 20px;
        font-size: 15px;
        min-height: 52px;
    }
}

/* ==================== DEEP LINK STYLES ==================== */

/* Deep Link Container */
.deep-link-container {
    background: linear-gradient(135deg, var(--homese-maroon) 0%, #8B1538 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Deep Link Card */
.deep-link-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    animation: slideInUp 0.6s ease-out;
    border: none;
}

.deep-link-card h4 {
    color: var(--homese-maroon);
    font-weight: 600;
    margin-bottom: 1rem;
}

.deep-link-card .text-muted {
    color: #6c757d !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

.deep-link-card .btn-outline-primary {
    border-color: var(--homese-maroon);
    color: var(--homese-maroon);
    border-width: 2px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
}

.deep-link-card .btn-outline-primary:hover,
.deep-link-card .btn-outline-primary:focus {
    background-color: var(--homese-maroon);
    border-color: var(--homese-maroon);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
}

.deep-link-card .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

.deep-link-card .spinner-border.text-primary {
    color: var(--homese-maroon) !important;
}

/* Deep Link Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments for deep link */
@media (max-width: 768px) {
    .deep-link-container {
        padding: 1rem;
    }
    
    .deep-link-card {
        max-width: 100%;
        margin: 0;
    }
    
    .deep-link-card h4 {
        font-size: 1.25rem;
    }
    
    .deep-link-card .text-muted {
        font-size: 0.9rem;
    }
    
    .deep-link-card .btn-outline-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Chat Seller Button - WhatsApp Style */
.chat-seller-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: 1px solid var(--primary-black);
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-seller-btn:hover {
    background-color: var(--fofo-grey);
    border-color: var(--secondary-text);
}

.chat-seller-btn i {
    font-size: 20px;
    color: var(--primary-black);
}

/* Order Status Payment Button */
.order-status-payment-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.order-status-payment-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Payment Screen Styles */
.payment-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--primary-white);
    border-bottom: 1px solid var(--ea-grey);
}

.payment-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
    flex: 1;
    text-align: center;
}

.payment-content {
    padding: 16px;
    padding-bottom: 100px; /* Space for fixed button */
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 16px 0;
    text-align: center;
}

/* Order Summary Card */
.order-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.order-id {
    font-weight: 600;
    color: var(--primary-black);
}

.separator {
    margin: 0 8px;
    color: var(--secondary-text);
}

.item-count {
    color: var(--secondary-text);
}

.order-items-list {
    margin-bottom: 12px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.item-name {
    color: var(--primary-black);
    flex: 1;
}

.item-price {
    color: var(--primary-black);
    font-weight: 500;
}

.net-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ea-grey);
    font-weight: 600;
    color: var(--primary-black);
}

/* Pickup Details Card */
.pickup-details-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pickup-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.pickup-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.pickup-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.pickup-location-row {
    font-size: 14px;
}

.pickup-location-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-location {
    color: var(--secondary-text);
    margin-left: 4px;
}

/* Payment Summary Card */
.payment-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-amount-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.payment-label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
}

.amount-display {
    flex: 1;
    text-align: center;
    margin: 0 16px;
}

.original-amount {
    color: var(--secondary-text);
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.final-amount {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 16px;
}

.payment-action-btn {
    background: none;
    border: none;
    color: var(--primary-black);
    font-size: 16px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fofo-grey);
}

.savings-message {
    font-size: 14px;
    color: var(--primary-black);
    text-align: center;
}

/* Payment Actions */
.payment-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background-color: var(--primary-white);
    border-top: 1px solid var(--ea-grey);
    z-index: 1000;
}

.proceed-pay-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proceed-pay-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

.proceed-pay-btn.disabled {
    background-color: var(--inactive-gray);
    color: var(--secondary-text);
    cursor: not-allowed;
    opacity: 0.6;
}

.proceed-pay-btn.disabled:hover {
    background-color: var(--inactive-gray);
    transform: none;
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Complete Payment Button - Fixed Bottom */
.complete-payment-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.complete-payment-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

/* Payment Screen Styles */
.payment-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--primary-white);
    border-bottom: 1px solid var(--ea-grey);
}

.payment-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
    flex: 1;
    text-align: left;
}

.payment-content {
    padding: 16px;
    padding-bottom: 100px; /* Space for fixed button */
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 16px 0;
    text-align: center;
}

/* Order Summary Card */
.order-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.order-id {
    font-weight: 600;
    color: var(--primary-black);
}

.separator {
    margin: 0 8px;
    color: var(--secondary-text);
}

.item-count {
    color: var(--secondary-text);
}

.order-items-list {
    margin-bottom: 12px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.item-name {
    color: var(--primary-black);
    flex: 1;
}

.item-price {
    color: var(--primary-black);
    font-weight: 500;
}

.net-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ea-grey);
    font-weight: 600;
    color: var(--primary-black);
}

/* Pickup Details Card */
.pickup-details-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pickup-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.pickup-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.pickup-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.pickup-location-row {
    font-size: 14px;
}

.pickup-location-label {
    font-weight: 600;
    color: var(--primary-black);
}

.pickup-location {
    color: var(--secondary-text);
    margin-left: 4px;
}

/* Payment Summary Card */
.payment-summary-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-amount-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.payment-label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
}

.amount-display {
    flex: 1;
    text-align: left;
    margin: 0 16px;
}

.original-amount {
    color: var(--secondary-text);
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.final-amount {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 16px;
}

.payment-action-btn {
    background: none;
    border: none;
    color: var(--primary-black);
    font-size: 16px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fofo-grey);
}

.savings-message {
    font-size: 14px;
    color: var(--primary-black);
    text-align: center;
}

/* Payment Actions */
.payment-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background-color: var(--primary-white);
    border-top: 1px solid var(--ea-grey);
    z-index: 1000;
}

.proceed-pay-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proceed-pay-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

.proceed-pay-btn.disabled {
    background-color: var(--inactive-gray);
    color: var(--secondary-text);
    cursor: not-allowed;
    opacity: 0.6;
}

.proceed-pay-btn.disabled:hover {
    background-color: var(--inactive-gray);
    transform: none;
}

/* Delivery Address Cards */
.delivery-time-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-label {
    font-weight: 600;
    color: var(--primary-black);
}

.delivery-time {
    color: var(--primary-black);
    margin-left: 8px;
}

.delivery-date {
    color: var(--primary-black);
    margin-left: 4px;
}

.saved-addresses-section {
    margin-top: 16px;
}

.saved-addresses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0 12px 0;
}

.address-cards {
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--fofo-grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-card.selected {
    background-color: var(--ea-grey);
    border-color: var(--secondary-text);
}

.address-card i {
    font-size: 18px;
    color: var(--secondary-text);
    margin-right: 12px;
    width: 20px;
}

.address-info {
    flex: 1;
}

.address-type {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 14px;
    margin-bottom: 2px;
}

.address-text {
    display: block;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.3;
}

.add-delivery-address-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-delivery-address-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}
/* Make Payment Screen Styles */
.make-payment-screen {
    min-height: 100vh;
    background-color: var(--background-fafa);
    padding-bottom: 2rem;
}

.make-payment-header {
    background-color: var(--primary-white);
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.make-payment-title {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
    margin: 0;
    flex: 1;
    text-align: left;
    margin-right: 2rem; /* Compensate for back button */
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-black);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    transition: background-color 0.2s ease;
}

.back-btn:hover {
    background-color: var(--fofo-grey);
}

/* Payment Instructions Card */
.payment-instructions-card {
    background-color: var(--primary-white);
    margin: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ea-grey);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.instruction-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.step-icon {
    width: 45px;
    height: 45px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.step-icon i {
    color: var(--primary-black);
    font-size: 18px;
}

.step-text {
    font-size: 12px;
    color: var(--primary-black);
    line-height: 1.3;
    font-weight: var(--font-weight-normal);
    max-width: 100px;
    word-wrap: break-word;
}

.step-text strong {
    font-weight: var(--font-weight-semibold);
}

.step-arrow {
    color: var(--homese-black);
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
}

/* Payment Details Section */
.payment-details-section {
    background-color: var(--primary-white);
    margin: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.payment-detail-item {
    margin-bottom: 1.5rem;
}

.payment-detail-item:last-child {
    margin-bottom: 0;
}

.payment-detail-label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.payment-detail-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background-color: var(--fofo-grey);
    border-radius: var(--border-radius-md);
    padding: 0.5rem;
    border: 1px solid var(--ea-grey);
}

.payment-detail-input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background-color: transparent;
    color: var(--primary-black);
    outline: none;
}

.payment-detail-input:focus {
    outline: none;
}

.copy-btn {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: var(--secondary-text);
    transform: translateY(-1px);
}

.copy-btn i {
    font-size: 14px;
}

/* OR Separator */
.or-separator {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.or-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--ea-grey);
}

.or-separator span {
    background-color: var(--primary-white);
    padding: 0 1rem;
    color: var(--secondary-text);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    position: relative;
    z-index: 1;
}

/* Payment Amount Section */
.payment-amount-section {
    background-color: var(--primary-white);
    margin: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.payment-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-amount-label {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
}

.payment-amount-value {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--homese-maroon);
}

/* Payment Notes Section */
.payment-notes-section {
    margin: 1rem;
}

.payment-note {
    background-color: var(--primary-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.note-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.note-content {
    flex: 1;
}

.note-content p {
    margin: 0 0 0.5rem 0;
    font-size: 13px;
    color: var(--secondary-text);
    line-height: 1.4;
}

.note-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-instructions-card {
        padding: 1rem;
        gap: 0.25rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        background-color: transparent;
    }
    
    .step-icon i {
        font-size: 16px;
        color: var(--primary-black);
    }
    
    .step-text {
        font-size: 11px;
        max-width: 80px;
    }
    
    .step-arrow {
        font-size: 16px;
        margin: 0 0.15rem;
    }
}

@media (max-width: 480px) {
    .payment-instructions-card {
        padding: 0.75rem;
        gap: 0.15rem;
    }
    
    .step-icon {
        width: 35px;
        height: 35px;
        background-color: transparent;
    }
    
    .step-icon i {
        font-size: 14px;
        color: var(--primary-black);
    }
    
    .step-text {
        font-size: 10px;
        max-width: 70px;
    }
    
    .step-arrow {
        font-size: 14px;
        margin: 0 0.1rem;
    }
    
    .payment-detail-input-group {
        flex-direction: row;
        align-items: stretch;
    }
    
    .copy-btn {
        justify-content: center;
    }
}
