/* ========================================= */
/* FONTS */
/* ========================================= */

@font-face {
    font-family: 'Red Hat Mono';
    src: url('red-hat-mono/RedHatMono[wght].ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Red Hat Mono';
    src: url('red-hat-mono/RedHatMono-Italic[wght].ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}


/* ========================================= */
/* GLOBAL STYLES */
/* ========================================= */

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

body {
    font-family: 'Red Hat Mono', 'Courier New', monospace;
    color: #333;
    background-color: #1e1e1e;
    width: 100%;
}

.container {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
    background-color: #F5F4F2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}


/* ========================================= */
/* NAVIGATION BAR (Bottom) */
/* ========================================= */

.nav-bar {
    background-color: #e07856;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: auto;
}

.nav-item {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px 10px;
    text-decoration: none;
}

.nav-item.history {
    cursor: default;
}

/* .nav-item:hover {
    opacity: 0.8;
} */

.nav-item.active {
    color: #333;
}

/* ========================================= */
/* BUTTONS */
/* ========================================= */

.back-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e07856;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    color: white;
    font-size: 24px;
}

/* .back-button:hover {
    background-color: #d06846;
} */

.close-button {
     width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e07856;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-size: 28px;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.btn {
    padding: 18px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Red Hat Mono', 'Courier New', monospace;
}

.btn-primary {
    background-color: #e07856;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 2px solid #ddd;
}

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




/* ========================================= */
/* HOME PAGE */
/* ========================================= */

.header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.welcome-text {
    flex: 1;
}

.welcome-text p {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.welcome-text h1 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 15px;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e07856;
    font-size: 14px;
}

.location-icon {
    width: 16px;
    height: 16px;
    fill: #e07856;
}

.profile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}


.order-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #8888cc;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.products {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-card-inner {
    background-color: #EDEAE5;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 100%;
    margin-bottom: 15px;
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Only apply cursor pointer to custom smoothie link */
a.product-card {
    cursor: pointer;
}

/* Remove cursor pointer from divs */
div.product-card {
    cursor: default;
}

/* .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
} */

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.most-popular {
    background-color: #ffe5e0;
    color: #e07856;
    border: 1px solid #e07856;
}

.badge.campus-pick {
    background-color: #ffe5e0;
    color: #e07856;
    border: 1px solid #e07856;
}

.badge.exclusive {
    background-color: #e8e8ff;
    color: #8888cc;
    border: 1px solid #8888cc;
}

.product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-name {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* ========================================= */
/* CUSTOMIZATION PAGE */
/* ========================================= */

.container.customization {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 340px, 
        #f9f4f0 340px);
    
    background-color: #EDEAE5;
}

.container.customization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 340px;
    background-image: url('Smoothie_images/fruitBG.png');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.header.customize-header {
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.page-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    flex: 1;
    text-align: center;
    margin-right: 46px;
}

.smoothie-display {
    margin: 0px auto 0px auto;
    padding: 0;
    z-index: 5;
    height: 260px;
    margin-bottom: -10px;
    overflow: hidden;
}

.smoothie-display img {
    padding-top: 30px;
    max-width: 400px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.customization-panel {
    background-color: #f9f4f0;
    border-radius: 20px 20px 0 0;
    padding: 30px 20px 20px;
    position: relative;
    z-index: 10;
    margin-top: -20px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.section-subtitle {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.size-button {
     background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.size-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.size-button.selected {
    background-color: white;
    border-color: #e07856;
}

.size-button.selected .size-label,
.size-button.selected .size-price {
    color: #e07856;
    font-weight: 700;
}

.size-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.size-price {
    font-size: 14px;
    color: #666;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ingredient-button {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    position: relative;
}



.ingredient-button input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.ingredient-button img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.ingredient-button.selected {
    background-color: white;
    border-color: #e07856;
    color: #e07856;
}


.addons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addon-item {
     background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.addon-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.addon-item.selected {
    border-color: #e07856;
}

.addon-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.addon-name {
    font-size: 15px;
    font-weight: 600;
    color: #e07856;
}

.addon-price {
    font-size: 13px;
    color: #999;
}

.custom-checkbox {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: all 0.2s ease;
}

.addon-item.selected .custom-checkbox {
    border-color: #e07856;
    background-color: #e07856;
}

.addon-item.selected .custom-checkbox::after {
    content: '\2713';
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.bottom-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

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

.total-price {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-button.minus {
    background-color: none;
    border: 2px solid #333;
    color: #333;
}

.quantity-button.plus {
    background-color: #333;
    color: white;
}

/* .quantity-button:hover {
    transform: scale(1.1);
} */

.quantity {
    font-size: 20px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.size-cup-image {
    width: auto;
    max-width: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.size-cup-image.small {
    height: 60px;
}

.size-cup-image.medium {
    height: 75px;
}

.size-cup-image.large {
    height: 90px;
}

.size-button {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
    gap: 8px;
    cursor: pointer;
    transition: none;
    position: relative;
    min-height: 180px;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.size-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.size-button.selected {
    background-color: white;
    border-color: #e07856;
}

.size-button.selected .size-label,
.size-button.selected .size-price {
    color: #e07856;
    font-weight: 700;
}

.size-label {
    font-size: 15px;
    color: #333;
}

.size-price {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* ========================================= */
/* BAG PAGE */
/* ========================================= */

.page-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-header .page-title {
    flex: 1;
    text-align: center;
    margin-left: 56px;
}

.bag-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

.bag-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bag-item:last-child {
    margin-bottom: 0;
}


.bag-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-top: 20px;
}

.bag-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.bag-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.bag-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.bag-item-name {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.bag-item-price {
    font-size: 15px;
    font-weight: 600;
}

.bag-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.bag-action-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

/* .bag-action-link:hover {
    color: #e07856;
} */

.bag-quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bag-summary {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.bag-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.bag-action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.detail-section {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    border: 2px solid;
}

.detail-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.detail-size {
    background-color: white;
    border-color: #8888cc;
    color: #8888cc;
}

.detail-ingredient {
    background-color: white;
    border-color: #f4d144;
    color: #9a8a00;
}

.detail-addon {
    background-color: white;
    border-color: #e07856;
    color: #e07856;
}

/* Remove Confirmation Modal */

.modal-overlay-centered {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay-centered.active {
    display: flex;
}

.confirm-modal {
    background-color: white;
    border-radius: 16px;
    padding: 30px 24px;
    width: 90%;
    max-width: 340px;
    position: relative;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirm-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    color: #333;
}

.confirm-message {
    font-size: 15px;
    text-align: center;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.confirm-buttons .btn {
    margin: 0;
}


/* Empty Bag State */
.empty-bag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-bag-icon-svg {
    margin-bottom: 20px;
}

.empty-bag-icon-svg svg {
    display: block;
    margin: 0 auto;
}

.empty-bag-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.empty-bag-message {
    font-size: 16px;
    color: #999;
    margin-bottom: 30px;
}

.empty-bag-button {
    background-color: #e07856;
    color: white;
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.empty-bag-button:hover {
    background-color: #d06846;
    transform: translateY(-2px);
}

/* ========================================= */
/* CHECKOUT PAGE */
/* ========================================= */

.checkout-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.form-section {
    margin-bottom: 30px;
    margin-top: 30px;
}

.form-label {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    color: #333;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: none;
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option.selected {
    border-color: #e07856;
}


.radio-label {
    font-size: 15px;
    font-weight: 600;
}

.radio-sublabel {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: none;
}

.radio-option.selected .radio-circle {
    border-color: #e07856;
}

.radio-option.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #e07856;
    border-radius: 50%;
}

.text-input {
    width: 100%;
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    background-color: white;
}

.text-input::placeholder {
    color: #999;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icon {
    width: 24px;
    height: 24px;
    font-size: 20px;
}

.payment-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tip-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tip-button {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: none;
    text-align: center;
    font-family: 'Red Hat Mono', 'Courier New', monospace;
}

.tip-button.selected {
    background-color: #e07856;
    border-color: #e07856;
    color: white;
}

.tip-input{
    opacity: 0;
    position: absolute;
}

.hide{
    display: none;
}

.order-summary {
     background-color: white;
    color: #333;
    padding: 30px 20px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.order-summary-section {
    margin-top: 40px;
}

.summary-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-item:last-of-type {
    margin-bottom: 0;
}

.summary-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

.checkout-button-container {
    padding: 20px;
    background-color: #333;
}

.checkout-button-container .btn {
    width: 100%;
    background-color: #999;
}

.checkout-button-section {
    margin-top: 30px;
    padding-bottom: 20px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
}

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

.modal-content {
    background-color: white;
    border-radius: 24px 24px 0 0;
    padding: 30px 20px 40px;
    width: 100%;
    max-width: 430px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e07856;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.modal-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #e07856;
    font-size: 14px;
    margin-bottom: 25px;
}

.time-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.time-option {
    background-color: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 20px; 
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.time-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.time-option.selected {
    border-color: #e07856;
}

.time-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.time-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.time-option.selected .time-circle {
    border-color: #e07856;
}

.time-option.selected .time-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #e07856;
    border-radius: 50%;
}

/* Apple Pay Modal */
.applepay-modal {
    background-color: #e8e8ed;
    border-radius: 24px 24px 0 0;
    padding: 20px;
    width: 100%;
    max-width: 430px;
    position: relative;
    animation: slideUp 0.3s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
}

.applepay-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 30px;
    padding-left: 4px;
}

.applepay-logo {
    width: 28px;
    height: 28px;
}

.applepay-text {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    letter-spacing: -0.5px;
}

.payment-card-section {
    margin-bottom: 10px;
}

.payment-card {
    background-color: white;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.card-logo {
    width: 45px;
    height: 28px;
    object-fit: contain;
}

.card-info {
    flex: 1;
}

.card-name {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    margin-bottom: 2px;
    letter-spacing: -0.4px;
}

.card-number {
    font-size: 15px;
    color: #8e8e93;
    letter-spacing: -0.2px;
}

.card-last-four {
    font-size: 17px;
    color: #000;
    margin-right: 8px;
    letter-spacing: -0.4px;
}

.chevron-right {
    color: #c7c7cc;
    font-size: 22px;
    font-weight: 400;
}

.change-payment-button {
    background-color: white;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 17px;
    color: #000;
    font-weight: 300;
    letter-spacing: -0.4px;
    cursor: pointer;
}


.payment-total-section {
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    cursor: pointer;
}

.payment-merchant {
    font-size: 15px;
    color: #8e8e93;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
}

.payment-amount {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    letter-spacing: -0.5px;
}

.payment-total-section .chevron-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.confirm-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0 20px;
}

.confirm-section:hover {
    cursor: pointer;
}

.confirm-icon {
    width: 40px;
    height: 40px;
}

.confirm-text {
    font-size: 15px;
    color: #8e8e93;
    letter-spacing: -0.2px;
}

.summary-item-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.order-details-checkout,
.order-details-confirmation {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
    line-height: 1.4;
    font-weight: 400;
}
/* ========================================= */
/* CONFIRMATION PAGE */
/* ========================================= */

.confirmation-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirmation-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.confirmation-subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.order-number {
    background-color: #EFC353;
    background-image: url('Smoothie_images/fruits-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.order-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.order-number-label {
    font-size: 62px;
    font-weight: bold;
    color: #333;
    position: relative;
}

.receipt {
    background-color: white;
    border-radius: 12px 12px 0 0;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.receipt::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background-image: 
        radial-gradient(circle at 10px 0, transparent 10px, white 10px, white 20px, transparent 20px);
    background-size: 20px 20px;
    background-position: 0 0;
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
}

.check-icon {
    width: 50px;
    height: 50px;
    background-color: #EFC353;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.location-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ready-time {
    background-color: #EFC353;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.pickup-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.receipt-divider {
    border: none;
    border-top: 2px dashed #ddd;
    margin: 20px 0;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
}

.return-button-container {
    padding: 20px;
    width: 100%;
    max-width: 350px;
}

.return-button-container .btn {
    width: 100%;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 430px) {
    .container {
        max-width: 100%;
    }
}


/* ========================================= */
/* HOME2 */
/* ========================================= */

.order-badge-floating {
    position: absolute;  /* Change from fixed to absolute */
    top: 120px;
    right: 15px;
    background-color: #8888cc;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(136, 136, 204, 0.4);
    z-index: 100;
    transition: all 0.2s ease;
}


.order-number-status {
    background-color: #ACCD92;
    background-image: url('Smoothie_images/fruits-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}