/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbars for all browsers */
* {
    /* Firefox */
    scrollbar-width: none;
    /* IE and Edge */
    -ms-overflow-style: none;
}

/* Webkit browsers (Chrome, Safari, newer Edge) */
*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

html {
    /* Prevent pull-to-refresh bounce on iOS */
    overscroll-behavior-y: contain;
    /* Smooth scrolling */
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

body {
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

:root {
    --body-background-color: #212121;
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e22929;
    --text-color: #333;
    --bg-color: #f7f7f7;
    --white: #FFFFFF;
    --white-text: #c9c9c9;
    --spacing: 1rem;
    --default-font-size-value: 16;
    --list-option-background: #f7f7f7;
    --orange: #ff6439;
    --review-star-color: #ffbf1d;
    --review-idle-star-color:#4d4d4d;
    --green-auth-color: #0cc60ccc;
    --shared-bg: url("");

    /* Icons */
    --address-selector-icon-color: #e22929;
    --cart-icon-color: #FFFFFF;
}

.right-popup-window,
.shifted-left,
.in_background,
button,
a {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

body {
    font-family: 'SF-Pro-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.3;
    background-color: var(--body-background-color);
    /* Prevent text selection on mobile */
    -webkit-user-select: none;
    user-select: none;
    /* Safe area for notched devices */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    /* Font smoothing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-reveal {
    background-image: var(--shared-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* keeps one global-looking image */
}

main {
    padding-top: 1rem;
    padding-bottom: 4rem;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    opacity: 0;
}

/* Header Styles */
header {
    background-color: var(--body-background-color);
    color: var(--white-text);
    padding-top: var(--safe-area-top, 0px);
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: fixed;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    top: 0;
    padding-bottom: 1rem;
    opacity: 0;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.fade-in {
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

header.fade-in,
main.fade-in,
footer.fade-in {
    opacity: 1;
}

.login-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.auth-container {
    max-width: 400px;
    position: relative;
    margin: 0 auto;
}

.auth-container input[type="password"],
.auth-container input[type="text"],
.auth-container input[type="tel"],
.auth-container input[type="number"],
.auth-container input[type="email"] {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--white);
    border-radius: 8px;
    background-color: transparent;
    color: var(--text-color);
    background-color: var(--white);
    margin-bottom: 0.5rem;
}

.auth-container input[type="email"] {
    text-transform: lowercase;
}

.auth-container input[type="password"] {
    padding-right: 60px;
}

.auth-container input[type="password"]:focus,
.auth-container input[type="text"]:focus,
.auth-container input[type="tel"]:focus,
.auth-container input[type="number"]:focus,
.auth-container input[type="email"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px -5px var(--primary-color);
}

.auth-container .profile-form-phone-prefix-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    border: 2px solid var(--white);
    background-color: var(--white);
    height: 46px;
}

.auth-container .profile-form-phone-prefix-btn i {
    font-size: 18px;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.auth-container .profile-form-phone-prefix-btn i.active {
    transform: scaleY(-1);
}

.auth-container input[name="phone_number"] {
    width: calc(100% - 134px);
    display: inline !important;
    margin-left: 10px;
}

.auth-container input[name="birthday"] {
    text-transform: none;
}

.auth-container input[disabled] {
    background-color: #f3f3f3;
    color: #555555;
    cursor: not-allowed;
}

.phone-prefix-dropdown {
    position: absolute;
    width: 240px;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    max-height: 0px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.phone-prefix-dropdown.active {
    max-height: 200px;
    opacity: 1;
    pointer-events: all;
}

.phone-prefix-dropdown li {
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0 8px;
    color: var(--text-color);
    border-bottom: 1px solid #f3f3f3;
}

.phone-prefix-dropdown li:hover {
    background-color: #f3f3f3;
}

.auth-container button[type="submit"] {
    background: linear-gradient(to bottom, rgb(255, 162, 91), rgb(176, 38, 0));
    color: var(--white);
    width: 100%;
}

.legal-documentation-content {
    font-size: 13px;
}

.legal-documentation-content h1 {
    font-family: 'SF-Pro-Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 1.25rem;
}

.legal-documentation-content h2 {
    font-family: 'SF-Pro-SemiBold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-size: 1.15rem;
}

.legal-documentation-content h3 {
    font-family: 'SF-Pro-Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
}

.legal-documentation-content p {
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.legal-documentation-content li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.legal-documentation-content p,
.legal-documentation-content li {
    text-align: left;
}

.legal-documentation-content ul,
.legal-documentation-content ol {
    color: var(--text-color);
    margin-left: 1rem;
    margin-bottom: 0.75rem;
}

.legal-documentation-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border: 1px solid #ebebeb;
}

.legal-documentation-content table th,
.legal-documentation-content table td {
    border: 1px solid #ebebeb;
    padding: 0.5rem;
    text-align: left;
}

.legal-documentation-content table th {
    background-color: #f3f3f3;
}

/* --------------------- */

/* Container holds the height */
.auth-card-forms-container {
    position: relative;
    min-height: 300px; /* adjust to your tallest form */
}

.auth-card-login-form-wrapper,
.auth-card-forgot-password-form-wrapper,
.auth-card-register-form-wrapper,
.auth-card-validate-code-form-wrapper,
.auth-card-validate-registration-code-form-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    max-height: 0px;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.auth-card-login-form-wrapper.open,
.auth-card-forgot-password-form-wrapper.open,
.auth-card-register-form-wrapper.open,
.auth-card-validate-code-form-wrapper.open,
.auth-card-validate-registration-code-form-wrapper.open {
    opacity: 1;
    pointer-events: all;
    max-height: 1000px; /* ensure this is taller than the tallest form */
    transform: translateY(0px);
}

input[name="verify-code"],
input[name="verify_registration_code"] {
    letter-spacing: 0.5rem;
    text-align: center;
}

/* Remove spinner buttons in Chrome, Safari, Edge, Opera */
input[name="verify-code"]::-webkit-inner-spin-button,
input[name="verify-code"]::-webkit-outer-spin-button,
input[name="verify_registration_code"]::-webkit-inner-spin-button,
input[name="verify_registration_code"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove spinner buttons in Firefox */
input[name="verify-code"],
input[name="verify_registration_code"] {
  -moz-appearance: textfield;
}

/* Hide the blinking cursor (caret) */
input[name="verify-code"],
input[name="verify_registration_code"] {
  caret-color: transparent;
}

.chronometer-countdown {
    color: var(--orange);
}

#registration-form button[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

input[name="user_name"],
input[name="user_surname"] {
    text-transform: capitalize;
}

/* --------------------- */
.mobile-header-spacer {
    display: block;
    height: 50px;
}

.address-selector {
    display: flex;
    gap: 0 0.5rem;
    align-items: flex-end;
    cursor: pointer;
}
.address-selector svg {
    fill: var(--address-selector-icon-color, #e22929);
}
.address-selector .address > span {
    display: block;
    width: 100%;
    text-align: left;
}
.address-selector .address #address-label {
    font-family: 'SF-Pro-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    color: var(--white-text);
}
.address-selector .address #address-display {
    font-family: 'SF-Pro-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.95rem;
    color: var(--white-text);
    opacity: 0.8;
}
.address-selector .address-chevron-icon {
    color: var(--white-text);
    font-size: 1.2rem;
    opacity: 0.8;
    margin-left: 1rem;
}
.cart-icon {
    cursor: pointer;
    position: relative;
}
.cart-icon svg {
    fill: var(--cart-icon-color, #FFFFFF);
    opacity: 0.8;
}
.cart-icon #cart-count {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--white-text);
    width: 18px;
    height: 18px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: bold;
    outline: 3px solid var(--body-background-color);
}

/* Main Wrapper */
/* .wrapper {
    filter: blur(0px);
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
} */
.shifted-left {
    transform: translateX(-100px) translateY(0px) !important;
    /* filter: blur(5px); */
    pointer-events: none;
    user-select: none;
}
.in_background {
    transform: translateY(-50px) !important;
    /* filter: blur(5px); */
    pointer-events: none;
    user-select: none;
}

/* Customer Welcome Message */
.customer-welcome-message-wrapper {
    display: block;
    width: 100%;
    padding-top: 1rem;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: 1rem;
}
.customer-welcome-message-content {
    color: var(--white-text);
}

/* Product search bar */
.product-search-bar-wrapper {
    position: sticky;
    top: calc(var(--safe-area-top, 0px) + 56px);
    width: 100%;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    overflow: hidden;
    z-index: 2;
    background-color: var(--body-background-color);
}
.product-search-bar-wrapper input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.7rem 2.5rem;
    border: 1px solid var(--white);
    border-radius: 24px;
    outline: none;
    transition: 0.2s ease;
    background-color: var(--white-text);
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
}

.product-search-bar-wrapper input:focus {
    background-color: var(--white);
}

.product-search-bar-wrapper .lni-search-1 {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 2rem;
    font-size: 1.5rem;
    color: var(--text-color);
    transform: translateY(-50%);
}

.product-search-bar-wrapper .lni-xmark {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -1.3rem;
    font-size: 1.5rem;
    color: var(--text-color);
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.product-search-bar-wrapper .lni-xmark.active {
    right: 2rem;
    opacity: 0.7;
    transform: translateY(-50%) rotate(-90deg);
}

/* Product search suggestions dropdown */
.product-search-suggestions {
    position: sticky;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 0.5rem;
    top: calc(var(--safe-area-top, 0px) + 123px);
    width: calc(100% - 2.6rem);
    margin: 0.5rem auto;
}

.product-search-suggestion-item {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

.product-search-suggestion-item:last-child {
    border-bottom: none;
}

.product-search-suggestion-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.product-search-suggestion-item:active {
    background-color: rgba(0, 0, 0, 0.06);
}

.suggestion-product-name {
    color: var(--text-color);
}

.suggestion-product-desc {
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Promotional Banners */
.promotional-banners-wrapper {
    position: relative;
    display: block;
}

.promotional-banners-list {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    overflow-x: auto;
    padding-top: 0.5rem;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: 0;
}

.promotional-banner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 117px;
    cursor: pointer;
    flex-shrink: 0;
    /* border: 1px solid var(--orange);
    box-shadow: 0 0 10px rgba(255, 100, 57, 0.5); */
}

.promotional-banner.single-banner {
    width: 100%;
}

.promotional-banner.multiple-banners {
    width: calc(100% - 1.3rem);
}

.promotional-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* Top 10 selling products */
.top-selling-products-wrapper {
    display: block;
}

.top-selling-products-content {
    display: block;
    padding-top: 1rem;
}

.top-selling-products-content span {
    color: var(--white-text);
}

.top-selling-products-list {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    list-style: none;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.top-selling-product-item {
    width: 117px;
    flex-shrink: 0;
    cursor: pointer;
}

.top-selling-product-image-container {
    position: relative;
}

.top-selling-product-image-container img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    object-fit: cover;
    object-position: center center;
}

.top-selling-product-rank {
    position: absolute;
    bottom: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(to top, var(--accent-color), var(--review-star-color)) !important;
    color: var(--white);
    outline: 3px solid var(--body-background-color);
}

.rank-first {
    position: absolute;
    overflow: visible;
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.45);
    background: linear-gradient(to top, #540e0e, var(--accent-color), var(--review-star-color)) !important;
    animation: rankFirstPulse 1.9s ease-out forwards infinite;
}

.rank-first::before,
.rank-first::after {
    content: '';
    position: absolute;
    inset: -14px;
    pointer-events: none;
    border-radius: 50%;
    background-repeat: no-repeat;
    opacity: 0;
}

.rank-first::before {
    background-image:
        radial-gradient(circle, rgba(255, 249, 196, 0.5) 0 1.6px, transparent 2px),
        radial-gradient(circle, rgba(255, 236, 179, 0.4) 0 1.4px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 1.2px, transparent 2px),
        radial-gradient(circle, rgba(255, 224, 130, 0.4) 0 1.8px, transparent 2px);
    background-position: -10px -10px, -5px 1px, 1px -3px, 5px 5px;
    animation: rankFirstSparklesA 2.3s linear infinite;
}

.rank-first::after {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 1.5px, transparent 2px),
        radial-gradient(circle, rgba(255, 241, 118, 0.4) 0 1.7px, transparent 2px),
        radial-gradient(circle, rgba(255, 253, 231, 0.5) 0 1.3px, transparent 2px),
        radial-gradient(circle, rgba(255, 213, 79, 0.4) 0 1.6px, transparent 2px);
    background-position: -5px -5px, -10px 1px, 1px 3px, 5px 5px;
    animation: rankFirstSparklesB 2.7s linear infinite;
}

@keyframes rankFirstPulse {
    0% {
        
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.25);
    }
    45% {
        box-shadow: 0 0 0 10px rgba(255, 184, 0, 0.08);
    }
    90% {
        box-shadow: 0 0 0 10px rgba(255, 184, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(255, 184, 0, 0);
    }
}

@keyframes rankFirstSparklesA {
    0%,
    100% {
        opacity: 0;
        transform: rotate(0deg) scale(0.96);
    }
    22% {
        opacity: 0.9;
    }
    48% {
        opacity: 0.2;
    }
    70% {
        opacity: 0.95;
    }
    85% {
        opacity: 0;
        transform: rotate(32deg) scale(1.05);
    }
}

@keyframes rankFirstSparklesB {
    0%,
    100% {
        opacity: 0;
        transform: rotate(0deg) scale(1.02);
    }
    16% {
        opacity: 0.75;
    }
    42% {
        opacity: 0;
    }
    63% {
        opacity: 0.95;
    }
    84% {
        opacity: 0.15;
        transform: rotate(-32deg) scale(0.95);
    }
}

.top-selling-product-name {
    display: block;
}


/* Product highlight effect when selected from search */
.product-item.highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0%, 100% {
        background-color: transparent;
    }
    10%, 30% {
        background-color: rgba(255, 215, 0, 0.3);
    }
    50% {
        background-color: rgba(255, 215, 0, 0.05);
    }
}

/* Product categories */
.product-categories-wrapper {
    padding-top: 1rem;
    background-color: var(--body-background-color);
    position: sticky;
    top: calc(var(--safe-area-top, 0px) + 110px);
    z-index: 2;
}

.product-categories-list {
    display: flex;
    align-items: center;
    gap: 0 1.3rem;
    list-style: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.product-category-item {
    white-space: nowrap;
    flex-shrink: 0;
}

.product-category-item a {
    display: inline-block;
    color: var(--white-text);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'SF-Pro-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.product-category-item a.active {
    background: linear-gradient(to bottom, var(--orange), #a90000); /* vertical */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'SF-Pro-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.product-category-item a.rubber-band-animate {
    animation: rubberBand 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes rubberBand {
    0% {
        transform: scale3d(1, 1, 1) rotate(0deg);
    }
    25% {
        transform: scale3d(1, 1, 1) rotate(-1deg);
    }
    50% {
        transform: scale3d(1.2, 1.2, 1.2) rotate(1deg);
    }
    75% {
        transform: scale3d(0.97, 0.97, 0.97) rotate(-1deg);
    }
    100% {
        transform: scale3d(1, 1, 1) rotate(0deg);
    }
}

/* Product List */
.product-list-wrapper {
    margin-top: 0;
    display: block;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.grouped-product-category-section {
    margin-bottom: 2rem;
}

.grouped-product-category-section:last-child {
    margin-bottom: 0;
}

.grouped-category-title {
    display: block;
    margin: 0px 0 15px 0;
    padding: 7.5px 10px;
    color: var(--white-text);
    font-family: 'SF-Pro-Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 18px;
    background: linear-gradient(0deg, #212121 0%, rgba(171,171,171,0.1) 100%);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.grouped-product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.3rem;
}

.product-item {
    border-radius: 24px;
}

.product-image-wrapper {
    position: relative;
}

.product-image-container {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.product-plus-icon {
    position: absolute;
    z-index: 1;
    bottom: -3px;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--orange);
    outline: 6px solid var(--body-background-color);
}

.product-plus-icon svg {
    fill: var(--white);
    width: 16px;
    height: 16px;
}

.product-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1) rotate(-3deg);
    transition: transform 1s cubic-bezier(0.64, 0, 0.4, 1);
}

.product-item-image.visible {
    transform: scale(1.2) rotate(0deg);
}

.product-item-name,
.product-item-description {
    color: var(--white-text);
    margin-bottom: 0.3rem;
}

.product-item-price {
    color: var(--white-text);
}

.product-item-variations-badge {
    color: #e24e29;
}

/* Single product page */
.single-product-image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.single-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single-product-header {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0rem;
    right: 0rem;
    width: 100%;
    padding-top: var(--safe-area-top, 0px);
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    opacity: 0;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.single-product-header.visible {
    opacity: 1 !important;
}

.single-product-header.active {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.single-product-header-title {
    color: var(--text-color);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
    display: block;
    width: 100%;
}

.single-product-header.active .single-product-header-title {
    opacity: 1;
}

.single-product-header-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    flex-shrink: 0;
}

.single-product-header-icon svg {
    fill: var(--text-color);
    width: 25px;
    height: 25px;
}

.single-product-whishlist-bookmark-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 0.5rem
}

.product-bookmark-button-remove svg {
    fill: var(--accent-color) !important;
}

.single-product-details-wrapper {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    padding-bottom: calc(var(--safe-area-bottom, 0px) + 6rem);
}

.single-product-details-spacer {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: transparent;
    /* margin-top: calc(var(--safe-area-top, 0px) * -1); */
}

.single-product-details-content {
    position: relative;
    background-color: var(--body-background-color);
    padding-top: 1.3rem;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: 1.3rem;
}

.top-selling-badge-wrapper {
    position: absolute;
    top: -30px;
    right: 1.3rem;
}

.top-selling-badge-content .top-selling-badge {
    width: 70px;
    height: 110px;
    object-fit: contain;
}

.top-selling-badge-content .top-selling-badge-circle-text {
    position: absolute;
    z-index: 2;
    top: -26px;
    left: -5px;
    width: 78px;
    height: 100px;
}

.top-selling-badge-content .top-selling-badge-text {
    position: absolute;
    z-index: 2;
    color: var(--body-background-color);
    top: 13px;
    left: calc(50% - 1px);
    transform: translateX(-50%);
    font-size: 30px;
}

.top-selling-badge-content .top-selling-badge-number-symbol {
    font-size: 12px;
    position: absolute;
    top: 11px;
    left: -8px;
}

.single-product-description {
    position: relative;
    max-height: 300px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.product-notes-section textarea {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 1px solid #4d4d4d;
    color: var(--white-text);
    border-radius: 12px;
    outline: none;
    resize: none;
    background-color: var(--body-background-color);
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.product-notes-section textarea::placeholder {
    color: #4d4d4d;
}

.product-notes-section textarea:focus {
    border-color: var(--orange);
    background-color: var(--white-text);
    color: var(--text-color);
}


/* Review stars */
.product-rating-stars-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
}

.product-rating-stars-container {
    position: relative;
    display: block;
    width: fit-content;
}

.product-rating-stars,
.product-rating-stars-overlay {
    display: inline-block;
    font-size: 36px !important;
    letter-spacing: -6px !important;
    line-height: 1;
    margin-left: -5px;
}

.product-rating-stars {
    color: var(--review-idle-star-color);
}

.product-rating-stars-overlay-wrapper {
    position: absolute;
    top: 0px;
    left: 0;
    color: var(--review-star-color);
    overflow: hidden;
    white-space: nowrap;
}

.product-rating-stars-wrapper .rating-text {
    display: inline-block;
    position: relative;
}


/* Variations */
.single-product-variation-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0 0.8rem;
    list-style: none;
    padding: 0 0 0.5rem 0;
    margin-top: 1rem;
}

.single-product-variation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    outline: 1px solid var(--white-text);
    border-radius: 12px;
    overflow: hidden;
    height: 75px;
    justify-content: center;
}

.single-product-variation-item.active {
    outline: 1px solid var(--orange);
}

.single-product-variation-item span {
    display: block;
    width: 100%;
    text-align: center;
}

.single-product-variation-item span:nth-of-type(1) {
    padding: 0.3rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-variation-item span:nth-of-type(2) {
    padding: 0rem 0.5rem 0.3rem;
}

.single-product-variation-item.active {
    background-color: var(--orange);
    color: var(--white);
}

/* Extras and complements */
.product-extra-list-wrapper {

}

.product-extra-item {
    border-top: 1px solid #4d4d4d;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.product-extra-item.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.required-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #e22929;
    border-radius: 50%;
    margin-left: 5px;
}

.required-indicator.active {
    background-color: var(--green-auth-color) !important
}

.product-extra-item-instruction {
    color: #666666;
}

.product-extra-options-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-extra-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border: 1px solid #4d4d4d;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.product-extra-option-item.active {
    border: 1px solid var(--orange);
    background-color: var(--orange);
    color: var(--white);
}

.product-extra-option-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.option-details {
    flex-shrink: 0;
    display: block;
    max-width: 74%
}

.option-details img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-right: 10px;
    overflow: hidden;
}

.option-name {
    display: block;
    margin-bottom: 0.2rem;
}

.option-price {
    display: block;
}

.option-quantity-selector {
    display: flex;
    align-items: center;
    gap: 0 5px;
    opacity: 0;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
    pointer-events: none;
}

.option-quantity-selector.active {
    opacity: 1;
    pointer-events: all;
}

.option-quantity-button,
.quantity-increase-button {
    font-size: 1.5rem;
    line-height: 1;
}

.quantity-decrease-button,
.quantity-increase-button,
.option-quantity-value {
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.option-quantity-value {
    display: inline-block;
    width: 20px;
    text-align: center;
    position: relative;
    top: -1px;
}

/* Add to cart button */
.single-product-add-to-cart-wrapper {
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: var(--safe-area-bottom, 0px);
    background: linear-gradient(to top, rgba(33, 33, 33, 0.8), transparent);
    border-top: 1px solid #ffffff3d;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0 1rem;
}

.product-quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border: 1px solid #4d4d4d;
    border-radius: 12px;
    height: 60px;
}

.product-quantity-button {
    font-size: 1.5rem;
    line-height: 1;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.product-quantity-value {
    display: inline-block;
    width: 50px;
    text-align: center;
    position: relative;
    top: -1px;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.single-product-add-to-cart-button {
    width: 100%;
    padding: 0 1rem;
    height: 60px;
    background-color: var(--green-auth-color);
    color: var(--white);
    /* backdrop-filter: blur(10px); */
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'SF-Pro-Semibold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1) !important;
}

.single-product-add-to-cart-button.disabled {
    opacity: 0.5;
    background-color: #4d4d4d;
    pointer-events: none;
}

.single-product-add-to-cart-button-content {
    display: flex;
    align-items: center;
    gap: 0 5px;
}


/*
==================================
    POPUPS
==================================
*/
/* Right Popup */
.right-popup-overlay {
    position: fixed;
    z-index: 21;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 1s ease;
}

.right-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.right-popup-window {
    position: fixed;
    z-index: 22;
    top: 0;
    right: 0;
    max-width: 450px;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding-top: var(--safe-area-top, 0px);
    padding-bottom: var(--safe-area-bottom, 0px);
    transform: translateX(100%);
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.right-popup-window.active {
    transform: translateX(0);
}

.right-popup-window.dragging {
    transition: none;
    user-select: none;
}

.right-popup-window-close-icon {
    font-size: 30px;
    line-height: 0;
    cursor: pointer;
    margin-left: -8px;
    margin-right: 8px;
    top: 1px;
    position: relative;
}

.right-popup-window-header {
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #e0e0e0; */
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.right-popup-window-body {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: var(--safe-area-bottom, 0px);
}

.right-popup-window-body-description {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.right-popup-window-close-icon svg {
    fill: var(--text-color);
    opacity: 0.6;
    width: 2rem;
    height: 2rem;
}

.right-popup-window-content {
    padding-bottom: 6rem;
}

/* Bottom popup window */
.bottom-popup-overlay {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.bottom-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bottom-popup-window {
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    max-width: 450px;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding-top: var(--safe-area-top, 0px);
    padding-bottom: var(--safe-area-bottom, 0px);
    transform: translateY(100%);
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.bottom-popup-window.active {
    transform: translateY(0);
}

.popup-window-close-icon {
    cursor: pointer;
}

.bottom-popup-window-header {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #e0e0e0; */
    cursor: grab;
}

.bottom-popup-window-header:active {
    cursor: grabbing;
}

.bottom-popup-window-body {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: 70px;
}

.bottom-popup-window-body-description {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.popup-window-close-icon svg {
    fill: var(--text-color);
    opacity: 0.6;
    width: 2rem;
    height: 2rem;
}

.bottom-popup-window-address-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.bottom-popup-window-address-list.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.bottom-popup-window-address-item {
    position: relative;
    padding: 0.5rem 1rem;
    background: var(--list-option-background, #f7f7f7);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.bottom-popup-window-address-item.active {
    border: 2px solid var(--text-color);
}

.bottom-popup-window-address-item-default-badge {
    background: #e22929;
    color: white;
    font-size: 1rem;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 10px;
}

.bottom-popup-window-address-item-edit-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    right: 0.5rem;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-color);
}

/* Bottom Short Popup Window */
.bottom-short-popup-window-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    max-width: 450px;
    width: 100%;
    z-index: 24;
    background-color: var(--white);
    padding: 1rem 0.5rem var(--safe-area-bottom, 0px);;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transform: translateY(calc(100% + 30px));
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.bottom-short-popup-window-wrapper.active  {
    transform: translateY(0);
}

.bottom-short-popup-window-wrapper.dragging {
    transition: none;
    user-select: none;
}

.bottom-short-popup-overlay {
    position: fixed;
    z-index: 23;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.bottom-short-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bottom-short-popup-window-content {
    position: relative;
    width: 100%;
    padding: 1rem;
}

.bottom-popup-window.dragging {
    transition: none;
    user-select: none;
}

/* Product bottom popup */
.product-bottom-popup-overlay {
    position: fixed;
    z-index: 21;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.product-bottom-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.product-bottom-popup-window-wrapper {
    position: fixed;
    z-index: 60;
    bottom: 0;
    right: 0;
    max-width: 400px;
    width: 100%;
    height: 100%;
    background-color: var(--body-background-color);
    padding-bottom: var(--safe-area-bottom, 0px);
    transform: translateY(100%);
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.product-bottom-popup-window-wrapper.dragging {
    transition: none;
    user-select: none;
}

.product-bottom-popup-window-wrapper.active {
    transform: translateY(0);
}

#product-bottom-popup-window-body-content {
    color: var(--white-text);
}

/* Payment Methods Right Popup */
.payment-methods-right-popup-overlay {
    position: fixed;
    z-index: 23;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.payment-methods-right-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.payment-methods-right-popup-window {
    position: fixed;
    z-index: 24;
    top: 0;
    right: 0;
    max-width: 450px;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding-top: var(--safe-area-top, 0px);
    padding-bottom: var(--safe-area-bottom, 0px);
    transform: translateX(100%);
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.payment-methods-right-popup-window.active {
    transform: translateX(0);
}

.payment-methods-right-popup-window.dragging {
    transition: none;
    user-select: none;
}

.payment-methods-right-popup-window-close-icon {
    font-size: 30px;
    line-height: 0;
    cursor: pointer;
    margin-left: -8px;
    margin-right: 8px;
    top: 1px;
    position: relative;
}

.payment-methods-right-popup-window-header {
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #e0e0e0; */
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.payment-methods-right-popup-window-body {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 70px;
}

.payment-methods-right-popup-window-body-description {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.payment-methods-right-popup-window-close-icon svg {
    fill: var(--text-color);
    opacity: 0.6;
    width: 2rem;
    height: 2rem;
}

.payment-methods-right-popup-header-totals span {
    line-height: 1;
}

.payment-methods-list {
    display: block;
    margin: 1rem 0 1rem;
    padding: 0 1.3rem;
    list-style: none;
}

.payment-method-option {
    display: block;
    margin-top: 0.8rem;
    cursor: pointer;
    outline: 1px solid var(--white-text);
    border: 2px solid transparent;
    border-radius: 12px;
    opacity: 1;
    max-height: 200px;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.payment-method-option.selected {
    outline-color: var(--text-color) !important;
    border: 2px solid var(--text-color) !important;
}

.payment-method-option.hidden {
    max-height: 0 ;
    padding: 0;
    opacity: 0;
}

.no-bank-cards-info {
    display:block;
    max-height: 200px;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.no-bank-cards-info.hidden {
    max-height: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}

.payment-method-bank-card {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.insufficient-points {
    pointer-events: none;
    opacity: 0.5;
}

.payment-method-option.sufficient-points {
    position: relative;
    border: 2px solid transparent;
    outline: 1px solid var(--white-text);
    box-shadow:
        0 0 2px var(--orange),
        0 0 4px var(--white-text),
        0 0 8px var(--orange);
}

.payment-method-option-info {
    display: flex;
    align-items: center;
    gap: 0 10px;
    padding: 0.5rem;
}

.payment-method-option-icon.cash svg {
    fill: green;
    width: 35px;
    height: 35px;
}

.payment-method-option-icon.points svg {
    fill: #e1a100;
    width: 35px;
    height: 35px;
}

.payment-method-option-icon.visa svg,
.confirm-card-deletion-icon.visa svg {
    fill: #0040ff;
    width: 56px;
    height: 30px;
}

.payment-method-option-icon.mastercard svg,
.confirm-card-deletion-icon.mastercard svg {
    fill: #eb001b;
    width: 56px;
    height: 30px;
}

.payment-method-option-icon.amex svg,
.confirm-card-deletion-icon.amex svg {
    fill: #2e77bb;
    width: 56px;
    height: 30px;
}

.payment-method-option-icon.no-card-selected svg {
    fill: var(--text-color);
    width: 35px;
    height: 35px;
}

.add-new-card-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ebebeb;
    color: var(--text-color);
    border-radius: 24px;
    line-height: 1;
    cursor: pointer;
}

.payment-method-bank-card-edit-btn {
    padding-right: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.new-card-added {
    animation: newCardAddedAnimation 0.3s cubic-bezier(0.64, 0, 0.4, 1) forwards;
    animation-delay: 0.5s;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.new-card-added .payment-method-option-info {
    opacity: 0;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
    animation: fadeIn 0.3s cubic-bezier(0.64, 0, 0.4, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes newCardAddedAnimation {
    0% {
        max-height: 0;
        opacity: 0;
    }
    100% {
        max-height: 200px;
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Bottom Card Edit Popup */
.bottom-card-edit-popup-overlay {
    position: fixed;
    z-index: 25;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.bottom-card-edit-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bottom-card-edit-popup-window-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    max-width: 450px;
    width: 100%;
    max-height: calc(100% - 100px);
    z-index: 26;
    background-color: var(--white);
    padding: 1rem 0.5rem var(--safe-area-bottom);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transform: translateY(calc(100% + 1.5rem));
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.bottom-card-edit-popup-window-wrapper.active  {
    transform: translateY(0);
}

.bottom-card-edit-popup-window-wrapper.dragging {
    transition: none;
    user-select: none;
}

.product-bottom-popup-window-body {
    position: relative;
}

.popup-drag-handle-wrapper {
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.popup-drag-handle {
    width: 40px;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 2.5px;
}

.bottom-card-edit-popup-window-content {
    position: relative;
    display: block;
    width: 100%;
    padding: 1rem;
    overflow-y: auto;
    height: calc(100dvh - 100px);
}

.card-edit-popup-delete-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-top: 1px solid #e0e0e0;
    cursor: pointer;
    margin-top: 0.5rem;
}

.card-edit-popup-delete-btn span {
    color: var(--accent-color);
    line-height: 1;
}

.card-edit-popup-delete-btn .card-edit-popup-delete-icon {
    font-size: 1.5rem;
}

.card-edit-popup-icon.visa svg {
    fill: #0040ff;
    width: 56px;
    height: 30px;
}

.card-edit-popup-icon.mastercard svg {
    fill: #eb001b;
    width: 56px;
    height: 30px;
}

.card-edit-popup-icon.amex svg {
    fill: #2e77bb;
    width: 56px;
    height: 30px;
}
/* 
==================================
    ADDRESS OPTION ITEMS
==================================
*/
.address-options-list {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e0e0e0;
}

.address-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

.address-option-item span {
    line-height: 1;
}

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

.address-option-item-edit {
    color: var(--text-color);
}

.address-option-item-edit-icon {
    color: var(--text-color);
    font-size: 1.5rem;
}

.address-option-item-delete {
    color: var(--accent-color);
}

.address-option-item-delete-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.confirm-address-deletion-container {
    position: fixed;
    z-index: 49;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding: 0 1rem;
    pointer-events: none;
    /* backdrop-filter: blur(10px); */
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.confirm-address-deletion-container.active {
    opacity: 1;
    pointer-events: auto;
}

.confirm-address-deletion-content {
    position: relative;
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.confirm-address-deletion-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.confirm-address-deletion-container-close-icon {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.confirm-deletion-button {
    display: block;
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
}

/* 
==================================
    CUSTOM CONFIRM POPUP
==================================
*/
.custom-confirm-popup-overlay,
.custom-alert-overlay {
    position: fixed;
    z-index: 39;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: 0.15s ease-in-out;
}

.custom-confirm-popup-overlay.active,
.custom-alert-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-confirm-popup-wrapper,
.custom-alert-wrapper {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;    
    padding: 1.3rem;
}

.custom-confirm-popup-wrapper.active,
.custom-alert-wrapper.active {
    pointer-events: auto;
}

.custom-confirm-popup-content,
.custom-alert-content {
    position: relative;
    display: block;
    max-width: 350px;
    width: 100%;
    padding: 1.3rem;
    background-color: white;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.9) translateY(5px);
    transition: all 0.15s cubic-bezier(0.42, 0, 0.51, 2);
}

.custom-confirm-popup-content.active,
.custom-alert-content.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.custom-confirm-popup-header {
    padding: 0 0 0.5rem 0;
    margin: 0 0 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.custom-alert-header {
    display: flex;
    align-items: center;
    gap: 0 10px;
    padding: 0 0 0.5rem 0;
    margin: 0 0 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

#custom-alert-icon {
    font-size: 1.6rem;
}

.custom-confirm-popup-buttons,
.custom-alert-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0 10px;
    margin-top: 1rem;
}

.custom-confirm-popup-buttons button,
.custom-alert-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 6px;
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
}

.custom-confirm-popup-buttons button i,
.custom-alert-buttons button i {
    line-height: 1;
    font-size: 1.2rem;
}

.custom-confirm-popup-confirm-btn,
.custom-alert-confirm-btn {
    background-color: var(--accent-color);
    color: var(--white);
}

/* 
==================================
    NEW ADDRESS MAP
==================================
*/
.new-address-map-container-overlay {
    position: fixed;
    z-index: 29;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.new-address-map-container-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#new-address-map-container {
    position: fixed;
    z-index: 30;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

#new-address-map-container.active {
    top: 0;
}

.new-address-map {
    width: 100%;
    height: 100%;
}

/* Fixed pin overlay - stays centered */
.map-pin-overlay {
    position: absolute;
    z-index: 0 !important;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 1000;
    pointer-events: none;
}
.map-pin-overlay svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    fill: #e22929;
    stroke-width: 1.5px;
    stroke: var(--text-color);
}

.map-pin-pulse-animation {
    animation: pulse 1.2s linear infinite;
    width: 10px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(226, 41, 41, 0.5);
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
        filter: blur(0px);
    }
    25% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

.address-loading-indicator {
    position: absolute;
    z-index: 0 !important;
    top: calc(45% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
}

/* Instructions overlay */
.map-instructions {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 31;
    pointer-events: none;
}

.map-instructions span {
    color: var(--text-color);
    white-space: nowrap;
}

.close-new-address-map-button {
    position: absolute;
    top: var(--safe-area-top, 0px);
    right: 1rem;
    background: var(--white);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 31;
}

.address-map-container-form {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    background-color: var(--white);
    padding: 1rem 0.5rem var(--safe-area-bottom, 0px);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.15);
    max-height: 100dvh;
    overflow-y: auto;
}

.address-map-container-form.active {
    transform: translateY(0%);
}

.address-map-content {
    position: relative;
    width: 100%;
    padding: 1rem;
}

/* Address Search Input */
.address-search-wrapper {
    position: absolute;
    z-index: 35;
    top: calc(var(--safe-area-top, 0px) + 60px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.6rem);
}

.address-search-input {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 3rem;
    font-size: 15px;
    border: 1px solid transparent; /*#e0e0e0*/
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
    background-color: #f8f8f8;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.address-search-wrapper .lni-search-1 {
    position: absolute;
    top: 50%;
    left: 1rem;
    font-size: 1.5rem;
    color: #929292;
    transform: translateY(-50%);
}

.address-search-wrapper .lni-xmark {
    position: absolute;
    top: 50%;
    right: 1rem;
    font-size: 1.5rem;
    color: #929292;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.address-search-input:focus {
    border-color: #e0e0e0;
    background-color: white;
}

/* Address Suggestions Dropdown */
.address-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
}

.address-suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.address-suggestion-item:hover {
    background-color: #f8f8f8;
}

.address-suggestion-item.no-results,
.address-suggestion-item.error {
    cursor: default;
    color: #999;
    text-align: center;
}

.suggestion-name {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 4px;
}

.suggestion-address {
    font-size: 13px;
    color: #7f8c8d;
}

/* Address Details Form */
.address-details-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-size: 14px;
    color: #2c3e50;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
    background-color: #f8f8f8;
    font-family: 'SF-Pro-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #e0e0e0;
    background-color: white;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Save Address Button */
.save-address-button,
.confirm-save-address-button {
    width: 100%;
    padding: 1rem;
    background-color: #e22929;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.save-address-button:hover,
.confirm-save-address-button:hover {
    background-color: #c91f1f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226, 41, 41, 0.3);
}

.save-address-button:active,
.confirm-save-address-button:active {
    transform: translateY(0);
}

.save-address-button:disabled,
.confirm-save-address-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Confirm save address container */
.confirm-address-form-container {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding: 0 1rem;
    pointer-events: none;
    /* backdrop-filter: blur(10px); */
    transition: 0.2s cubic-bezier(0.64, 0, 0.4, 1);
}

.confirm-address-form-container.active {
    opacity: 1;
    pointer-events: auto;
}

.confirm-address-form-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: 0.2s cubic-bezier(0.64, 0, 0.4, 1);
}

.confirm-address-form-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.confirm-address-form-content-close-icon {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.error-message {
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fdf5f6, transparent);
    color: var(--text-color);
    border-left: 3px solid var(--accent-color);
    overflow: hidden;
    max-height: 0;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.error-message.active {
    max-height: 100px;
    padding: 0.5rem 1rem 0.5rem 1rem;
}

.input-error {
    border-color: var(--accent-color);
    background-color: #fdf5f6;
}

/* Mapbox GL Controls Styling */
.mapboxgl-ctrl-group {
    background: white;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.mapboxgl-ctrl-group button {
    width: 36px;
    height: 36px;
}

.mapboxgl-ctrl-zoom-in,
.mapboxgl-ctrl-zoom-out {
    border-radius: 0 !important;
}

.mapboxgl-ctrl-zoom-in {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.mapboxgl-ctrl-zoom-out {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* 
==================================
    BRANCH LIST ITEMS
==================================
*/
.branch-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.branch-item {
    position: relative;
    padding: 0.5rem 1rem;
    background: var(--list-option-background, #f7f7f7);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.branch-item:hover {
    background: #eeeeee;
}

.branch-item.active {
    border: 2px solid var(--text-color);
    background: #ffffff;
}

.branch-item-selected-badge {
    background: #e22929;
    color: white;
    font-size: 1rem;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.branch-address {
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.branch-selector {
    width: 100%;
}

.not-allow-delivery,
.not-allows-pickup,
.not-allows-dine-in {
    opacity: 0.5;
    pointer-events: none;
}

.branch-contact-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.branch-contact-toggle i {
    transition: transform 0.3s ease;
}

.branch-contact-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
    margin-top: 0;
}

.branch-contact-wrapper.active {
    max-height: 40px;
}

.branch-contacts {
    display: flex;
    align-items: flex-start;
    gap: 0 10px;
    list-style: none;
    margin-top: 0.5rem;
}

.branch-contact-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    line-height: 0;
}

.branch-contact-item a {
    line-height: 0;
}

.branch-contact-item i {
    font-size: 1.5rem;
    color: var(--text-color)
}

/* 
==================================
    Deliver methods items
==================================
*/
.delivery-methods-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.delivery-method-item {
    position: relative;
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--list-option-background, #f7f7f7);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 33.333%;
    border: 2px solid #f4f4f4;
}

.delivery-method-item.active {
    border: 2px solid var(--text-color);
}

.delivery-method-item.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    pointer-events: none;
}

.delivery-method-item i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.5;
}

.delivery-method-item.active i {
    color: var(--accent-color);
    opacity: 1;
}

/*
===============================================
    ALERT MESSAGE BADGES
===============================================    
*/
.alert-message {
    display: block;
    width: fit-content;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    padding-left: 0.5rem;
    border-left: 2px solid rgb(253, 182, 0)
}

/*
===============================================
    LOADING SKELETONS
===============================================
*/
.single-row-skeleton-loading {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    border-radius: 4px;
}

.single-row-skeleton-loading::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.5), rgba(33, 33, 33, 0.6), rgba(33, 33, 33, 0.6), rgba(33, 33, 33, 0.5), transparent);
    animation: single-row-skeleton-loading 1.5s linear infinite;
}

@keyframes single-row-skeleton-loading {
    to {
        left: 100%;
    }
}
.order-details-loading-skeleton {
    padding: 1.3rem;
}

.order-item-title-skeleton,
.order-detail-title-skeleton {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    width: 70%;
    height: 30px;
    border-radius: 12px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.order-item-description-skeleton,
.order-detail-description-skeleton {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    width: 100%;
    height: 100px;
    border-radius: 12px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.order-item-skeleton,
.order-detail-skeleton {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.order-detail-items-skeleton {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.order-item-title-skeleton::before,
.order-item-description-skeleton::before,
.order-item-skeleton::before,
.order-detail-title-skeleton::before,
.order-detail-description-skeleton::before,
.order-detail-items-skeleton::before,
.order-detail-skeleton::before {
    content: '';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: -200%;
    top: 0;
    background: linear-gradient(to right, rgba(224, 224, 224, 0) 0%, #e0e0e0 50%, rgba(224, 224, 224, 0) 100%);
    animation: order-item-skeleton-loading 1s linear infinite;
}

@keyframes order-item-skeleton-loading {
    to {
        left: 200%;
    }
}

/*
===============================================
    CART
===============================================
*/
.cart-item {
    position: relative;
    display: block;
    border-bottom: 1px solid #e0e0e0;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.cart-item-header {
    position: relative;
    padding: 0.5rem 0;
    background-color: var(--white);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

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

.cart-item-thumbnail-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #b1b1b1;
}

.cart-item-points {
    position: relative;
    top: 2px;
    color: #565656;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    max-width: 180px;
}

.cart-item-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--text-color);
    padding: 0.1rem 0.3rem;
    border-radius: 30px;
    position: absolute;
    top: 0.8rem;
    right: 1.3rem;
    background-color: var(--white);
}

.cart-item-increase-button,
.cart-item-decrease-button {
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    line-height: 0;
}

.cart-item-quantity {
    display: block;
    width: 30px;
    text-align: center;
    position: relative;
    line-height: 0;
}

.cart-item-extra-data-dropdown {
    position: relative;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.cart-item-extras {
    line-height: 1.2 !important;
    display: block;
}

.cart-item-extra-details {
    display: flex;
    align-items: center;
}

.cart-item-extra-details i.active {
    transform: rotate(180deg);
}

.cart-item-extra-data-dropdown.active {
    max-height: 200px;
}

.cart-item-delete-button {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding-right: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--accent-color);
    color: var(--white);
    cursor: pointer;
    font-size: 24px;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

/* Cart delivery information section */
.delivery-method {
    display: block;
    margin-top: 1.5rem;
    padding: 0 1.3rem;
    position: relative;
    z-index: 2;
}

.delivery-method-section {
    display: block;
    margin-top: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.delivery-details-section-title {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-color);
}

.delivery-out-of-service-area {
    display: block;
    color: var(--text-color);
    padding: 1.3rem;
    text-align: center;
}

.delivery-out-of-service-area img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.delivery-out-of-service-area span {
    border-bottom: 1px solid var(--white-text);
    padding-bottom: 0.5rem;
}

.delivery-branch-section {
    display: flex;
    align-items: center;
    gap: 0 5px;
    padding: 0.8rem 1rem;
}

.delivery-branch-section .branch-image-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    overflow: hidden;
}

.delivery-branch-section .branch-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.delivery-distance-animation-wrapper {
    position: relative;
    width: 100%;
    padding: 1rem 1rem 0rem;
}

.delivery-distance-arrows-animation {
    position: absolute;
    z-index: 3;
    top: calc(50% + 1px);
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    opacity: 0.3;
    line-height: 1;
    letter-spacing: 3px;
    width: 100%;
    white-space: nowrap;
    animation: animate-arrows-to-right 0.8s linear infinite;
}

@keyframes animate-arrows-to-right {
    0% {
        transform: translate(-50%, -50%) translateX(0);
    }
    100% {
        transform: translate(-50%, -50%) translateX(24px);
    }
}

.delivery-distance-animation {
    position: relative;
}

.delivery-distance-animation::before {
    content: '';
    position: absolute;
    z-index: -2;
    top: 50%;
    left: 22.5px;
    width: calc(100% - 45px);
    height: 26px;
    background-color: var(--white-text);
    transform: translateY(-50%);
}

.delivery-distance-animation.animate::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 22.5px;
    width: 0;
    height: 26px;
    background: linear-gradient(to right, var(--text-color), var(--accent-color), var(--orange));
    transform: translateY(-50%);
    animation: delivery-distance-animate 0.5s ease-in-out forwards;
}

@keyframes delivery-distance-animate {
    0% {
        width: 0;
    }
    100% {
        width: calc(100% - 45px);
    }
}

.delivery-distance-dots {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.delivery-distance-dot {
    position: relative;
    width: 26px;
    height: 26px;
    background-color: var(--white);
    border: 2px solid var(--white-text);
    outline: 2px solid var(--white);
    border-radius: 50%;
}

.delivery-distance-dot:nth-child(1) {
    margin-left: 22.5px;
    transform: translateX(-50%);
}

.delivery-distance-dot:nth-child(2) {
    margin-right: 22.5px;
    transform: translateX(50%);
}

.delivery-distance-dot:nth-child(1)::before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: calc(100% + 4px);
    right: 50%;
    width: 1.5px;
    border-radius: 3px;
    height: 0px;
    background: var(--text-color);
    transform: translateX(50%);
}

.delivery-distance-dot:nth-child(2)::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: calc(100% + 4px);
    left: 50%;
    width: 1.5px;
    border-radius: 3px;
    height: 0px;
    background: var(--text-color);
    transform: translateX(-50%);
}

.delivery-distance-dot:nth-child(1).animate::before {
    /* animation: delivery-distance-dot-1-animate 0.3s ease-in-out forwards; */
}

.delivery-distance-dot:nth-child(2).animate::before {
    /* animation: delivery-distance-dot-2-animate 0.3s ease-in-out forwards; */
}

@keyframes delivery-distance-dot-1-animate {
    0% {
        height: 0;
    }
    100% {
        height: 23px;
    }
}

@keyframes delivery-distance-dot-2-animate {
    0% {
        height: 0;
    }
    100% {
        height: 23px;
    }
}

.delivery-distance-icon-wrapper {
    position: absolute;
    z-index: 1;
    top: -15px;
    left: 50%;    
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
    opacity: 0
}

.delivery-distance-icon-wrapper.active {
    animation: delivery-distance-wrapper-animation 0.5s cubic-bezier(0.64, 0, 0.4, 1) forwards;
}

@keyframes delivery-distance-wrapper-animation {
    0% {
        transform: translate(-50%, -50%);
         opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translate(-40%, -50%);
    }
    75% {
        opacity: 1;
        transform: translate(-60%, -50%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.delivery-user-address-section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0 8px;
    padding: 0.8rem 1rem;
    text-align: right;
}

.user-address-info {
    max-width: 70%;
}

.user-address-icon-wrapper {
    position: relative;
    width: 35px;
    height: 45px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-address-icon-wrapper svg {
    position: relative;
    transform: translateX(-4px);
    flex-shrink: 0;
}

.user-address-icon-wrapper svg path:nth-child(1) {
    fill: var(--accent-color);
    position: relative;
    z-index: 1;
}

.user-address-icon-wrapper svg path:nth-child(2) {
    fill: var(--text-color);
    position: relative;
    z-index: 0;
}

.change-address-btn {
    color: #007ed3;
}

.delivery-estimated-eta-section,
.delivery-fee-section {
    display: block;;
    padding: 0.5rem 1rem;
    border-top: 1px solid #e0e0e0;
}

.delivery-estimated-eta-section span,
.delivery-fee-section span {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.delivery-estimated-eta-section span i,
.delivery-fee-section span i {
    font-size: 1.6rem;
    color: var(--text-color);
}

.branch-contact-info {
    display: flex;
    gap: 0 0.5rem;
    align-items: center;
}

.branch-contact-info span {
    display: block;
    text-align: center;
}

.branch-contact-option-link {
    text-decoration: none !important;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    display: block;
}

.branch-contact-option-icon {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: -5px;
}

.branch-contact-option-text {
    color: var(--text-color) !important;
    font-size: 11px;
    text-decoration: none;
}

/* Tip section */
.tip-section {
    display: block;
    margin-top: 1.5rem;
    padding: 2rem 1.3rem;
    background-color: #f0f0f0;
    position: relative;
    z-index: 1;
}

.tips-options-list {
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    list-style: none;
    margin-top: 1.5rem;
}

.tip-option {
    position: relative;
    display: block;
    width: 100%;
    padding: 0.8rem 0.5rem;
    background-color: var(--white);
    border-radius: 8px;
    border: 2px solid var(--white);
    outline: 1px solid #e0e0e0;
    cursor: pointer;
    transition: 0.2s ease-in-out
}

.tip-option.active {
    border-color: var(--text-color);
    outline-color: var(--text-color);
}

.tip-option-perentage,
.tip-option-amount {
    display: block;
    text-align: center;
}

.tip-option-recommended-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px 3px 5px;
    border-radius: 8px;
    white-space: nowrap;
    border: 2px solid #f0f0f0;
}

.order-tip-amount-wrapper {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.order-tip-amount-wrapper.active {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 0.5rem;
}

/* Select payment method */
.payment-method-section {
    display: block;
    padding: 1.5rem 1.3rem 0;
}

.payment-method-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-method-section-title {
    line-height: 1;
}

.change-payment-method-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ebebeb;
    color: var(--text-color);
    border-radius: 24px;
    line-height: 1;
    cursor: pointer;
}

.selected-payment-method-info {
    display: flex;
    align-items: center;
    gap: 0 10px;
    margin-top: 1rem;
    /* padding: 0.5rem;
    border: 3px solid var(--text-color); */
    border-radius: 12px;
}

.selected-payment-method-icon.cash svg {
    fill: green;
    width: 35px;
    height: 35px;
}

.selected-payment-method-icon.points svg {
    fill: #e1a100;
    width: 35px;
    height: 35px;
}

.selected-payment-method-icon.visa svg {
    fill: #0040ff;
    width: 56px;
    height: 30px;
}

.selected-payment-method-icon.mastercard svg {
    fill: #eb001b;
    width: 56px;
    height: 30px;
}

.selected-payment-method-icon.amex svg {
    fill: #2e77bb;
    width: 56px;
    height: 30px;
}

.selected-payment-method-icon.no-card-selected svg {
    fill: var(--text-color);
    width: 35px;
    height: 35px;
}

/* Order totals */
.totals-section {
    display: block;
    padding: 1.5rem 1.3rem;
    background-color: #fffae9;
}

.order-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1ecd9;
}

.order-total-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.order-total-row span {
    display: block;
    margin-bottom: 0.5rem;
}

.order-subtotal-amount,
.order-delivery-fee-amount,
.order-total-final,
.order-total-in-points,
.order-payment-method-stripe-fee-amount {
    margin-bottom: 0.5rem;
}

.order-total-reward-points {
    display: flex;
    align-items: center;
    gap: 0 5px;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    border-radius: 35px;
    line-height: 1;
}

.order-total-reward-points-icon {
    color: var(--review-star-color);
    font-size: 1.5rem;
    line-height: 1;
}

.order-total-reward-points-text {
    color: var(--white);
    line-height: 1;
    position: relative;
    top: -2px;
}

/*
===============================================
    STRIPE PAYMENT FORM
===============================================
*/
#payment-form input,
#payment-form #card-number-element,
#payment-form #card-expiry-element,
#payment-form #card-cvc-element {
    display: block;
    padding: 12px 1rem;
    outline: 1px solid #4d4d4d;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
    font-size: 16px;
    font-family: 'SF-Pro-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 45px;
    width: 100%;
    text-transform: capitalize;
}

#payment-form input:focus,
#card-number-element.StripeElement--focus,
#card-expiry-element.StripeElement--focus,
#card-cvc-element.StripeElement--focus {
    outline-color: var(--text-color) !important;
    border-color: var(--text-color) !important;
}

#payment-form input::placeholder {
    color: #aab7c4;
}

#payment-form .flex > * {
    width: 100%;
}

#payment-form-submit-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    background-color: var(--green-auth-color);
    color: white;
}

#payment-form-submit-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.cash-change-options-wrapper {
    display: block;
    margin-top: 1.5rem;
}

.cash-change-options-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 0.5rem;
    list-style: none;
}

.cash-change-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border: 2px solid transparent;
    outline: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.64, 0, 0.4, 1);
}

.cash-change-option.selected {
    border-color: var(--text-color);
    outline-color: var(--text-color);
}

.cash-change-option-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px 3px 5px;
    border-radius: 8px;
    white-space: nowrap;
    border: 2px solid var(--white);
}

.cash-change-custom-amount-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
}

.cash-custom-display {
    display: flex;
    align-items: flex-start;
}

.cash-custom-display span {
    position: relative;
    line-height: 1;
    font-family: 'SF-Pro-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
}

.cash-currency-symbol {
    font-size: 24px;
    top: 12px;
}

.cash-amount-dollar {
    font-size: 50px;
}

.cash-amount-cents {
    top: 6px;
    font-size: 24px
}

.cash-change-display-text {
    color: #717171;
}

.order-total-cash-change,
.order-total-change,
.order-payment-method-stripe-fee-amount {
    max-height: 0;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    opacity: 0;
    margin-bottom: 0;
}

.order-total-cash-change.active,
.order-total-change.active,
.order-payment-method-stripe-fee-amount.active {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 0.5rem;
}

/*
===============================================
    CART BUTTON
===============================================
*/
.checkout-button-wrapper {
    position: -webkit-sticky;
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    width: 100%;
    padding-top: 1rem;
    padding-right: 1.3rem;
    padding-left: 1.3rem;
    padding-bottom: var(--safe-area-bottom, 0px);
    background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);
    /* backdrop-filter: blur(10px); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.checkout-button-wrapper .checkout-button {
    width: 100%;
    padding: 0 1rem;
    height: 60px;
    background-color: var(--green-auth-color);
    color: var(--white);
    /* backdrop-filter: blur(10px); */
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'SF-Pro-Semibold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1) !important;
}

.checkout-button-wrapper.enabled .checkout-button {
    background-color: var(--green-auth-color);
    color: var(--white);
    pointer-events: all;
    cursor: pointer;
    font-family: 'SF-Pro-Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.checkout-button-wrapper.disabled .checkout-button {
    background-color: var(--white-text);
    color: var(--text-color);
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    font-family: 'SF-Pro-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.delivery-instructions-textarea,
.order-notes-textarea {
    display: block;
    width: 100%;
    height: 100px;
    border: 2px solid transparent;
    outline: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.5rem;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.delivery-instructions-textarea:focus,
.order-notes-textarea:focus {
    outline-color: var(--text-color) !important;
    border-color: var(--text-color) !important;
}

.confirm-checkout-button {
    width: 100%;
    padding: 0 1rem;
    height: 60px;
    background-color: var(--green-auth-color);
    color: var(--white);
    /* backdrop-filter: blur(10px); */
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'SF-Pro-Bold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1) !important;
}

.confirm-checkout-button.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Order confirmation popup */
.order-confirmation-popup-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s cubic-bezier(0.42, 0, 0.51, 2);
}

.order-confirmation-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
    /* backdrop-filter: blur(10px); */
}

.order-confirmation-popup-confetti-canvas {
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.order-confirmation-popup-wrapper {
    position: fixed;
    z-index: 102;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.order-confirmation-popup-content {
    position: relative;
    /* background-color: rgba(0, 0, 0, 0.5); */
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    color: var(--white-text);
    transition: all 0.15s cubic-bezier(0.42, 0, 0.51, 2);
}

.order-confirmation-popup-content.active {
    opacity: 1;
    pointer-events: all;
    animation: order-confirmation-popup--content-animate 0.15s cubic-bezier(0.42, 0, 0.51, 2); forwards;
}

.order-confirmation-popup-content img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.order-success-screen-content {
    max-width: 400px;
}

@keyframes order-confirmation-popup--content-animate {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* empty cart */
.empty-cart-message-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: calc(100dvh - 200px);
}

.empty-cart-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.empty-cart-message-content svg {
    width: 50px;
    height: 50px;
    fill: var(--white-text);
    margin-bottom: 0.5rem;
}

.view-order-details-button {
    background-color: var(--orange);
    color: var(--white);
}

.back-to-home-button {
    background-color: transparent;
    color: var(--white-text);
    margin: 0 auto;
}

/*
===============================================
    STRIPE TOAST
===============================================
*/
.stripe-toast-overlay {
    position: fixed;
    z-index: 105;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    padding: 2.6rem;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.stripe-toast-overlay.active {
    opacity: 1;
    pointer-events: all;
    /* backdrop-filter: blur(10px); */
}

.stripe-toast-wrapper {
    position: fixed;
    z-index: 106;
    top: 0;
    left: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.3rem;
    width: 100%;
    height: 100%;
}

.stripe-toast-content {
    position: relative;
    max-width: 400px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.3rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(50px) scale(0.5);
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.stripe-toast-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stripe-toast-inner-content svg {
    width: 25px;
    height: 25px;
    fill: var(--accent-color);
}

.stripe-toast-accept-btn {
    background-color: var(--accent-color);
    color: var(--white);
    display: block;
    width: 100%;
    cursor: pointer;
}

/*
===============================================
    REMOVED ITEMS POPUP
===============================================
*/
.removed-items-list {
    list-style: none;
    display: block;
    padding: 0;
    margin-top: 1rem;
}

.removed-items-list li {
    line-height: 1;
    padding-bottom: 0.3rem;
     display: flex;
     align-items: center;
     gap: 0 8px;
}

.removed-items-list li i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/*
===============================================
    BRANCH OPERATIONAL HOURS POPUP
===============================================
*/
.operational-hours-bottom-popup-overlay {
    position: fixed;
    z-index: 23;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.operational-hours-bottom-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.operational-hours-bottom-popup-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    max-width: 450px;
    width: 100%;
    z-index: 24;
    background-color: var(--white);
    padding: 1rem 0.5rem var(--safe-area-bottom, 0px);;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transform: translateY(calc(100% + 30px));
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.operational-hours-bottom-popup-wrapper.active {
    transform: translateY(0);
}

.operational-hours-bottom-popup-wrapper.dragging {
    transition: none;
    user-select: none;
}

#operational-hours-bottom-popup-content {
    position: relative;
    width: 100%;
    padding: 1rem;
}
.operational-hours-popup-description {
    display: block;
    padding: 0.5rem 1.3rem;
    border-left: 3px solid var(--accent-color);
    background: linear-gradient(to right, #fdf5f6, transparent);
    color: var(--text-color);
}
.operational-hours-list {
    border: 1px solid #f3f3f3;
    border-radius: 12px;
    overflow: hidden;
    list-style: none;
}
.operational-hours-list li {
    padding: 0.5rem 1rem;
}
.operational-hours-list li:nth-child(odd) {
    background-color: #f3f3f3;
}
/*
===============================================
    FOOTER
===============================================
*/
footer {
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: var(--safe-area-bottom, 0px);
    background: linear-gradient(to top, rgba(33, 33, 33, 0.5), transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid #ffffff3d;
    opacity: 0;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 28px;
    color: var(--white-text);
}

.footer-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--white-text);
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.footer-nav-link.active {
    color: var(--orange) !important;
}

.footer-nav-link.highlighted {
    color: var(--text-color);
}

/* Footer popup */
.footer-popup-overlay {
    position: fixed;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.footer-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.footer-popup-wrapper {
    position: fixed;
    z-index: 9;
    bottom: 0;
    left: 0;
    max-width: 450px;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding-bottom: var(--safe-area-bottom, 0px);
    transform: translateY(100%);
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
    will-change: transform;
}

.footer-popup-wrapper.active {
    transform: translateY(0);
}

.footer-popup-content {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: calc(var(--safe-area-bottom, 0px) + 100px);
    height: calc(100dvh - 55px);
}

.footer-popup-content.profile {
    padding-bottom: var(--safe-area-bottom, 0px);
}

.footer-popup-header {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #e0e0e0; */
    cursor: grab;
    padding-top: var(--safe-area-top, 0px);
}

.footer-popup-header.profile-header {
    display: none !important;
}

.footer-popup-wrapper.dragging {
    transition: none;
    user-select: none;
}

.footer-popup-header:active {
    cursor: grabbing;
}

.footer-popup-close-icon {
    cursor: pointer;
}

.footer-popup-close-icon svg {
    fill: var(--text-color);
    opacity: 0.6;
    width: 2rem;
    height: 2rem;
}

/* Favorites */
.favorite-product-item {
    display: flex;
    align-items: center;
    gap: 0rem 0.5rem;
    margin-bottom: 1rem;
}

.favorite-product-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Orders */
.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 2px solid transparent;
    outline: 1px solid #e0e0e0;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.order-item.active {
    outline-color: var(--text-color);
    border-color: var(--text-color);
}

.order-item-status.pending {
    color: var(--accent-color);
}

.order-item-status.accepted {
    color: #007ed3;
}

.order-item-status.preparing {
    color: #e1a100;
}

.order-item-status.ready {
    color: #28a745;
}

.order-item-status.in_transit {
    color: #17a2b8;
}

.order-item-status.delivered {
    color: #28a745;
}

.order-item-status.cancelled {
    color: #dc3545;
}

.order-item-status.no_show {
    color: #ffc107;
}

.order-item-status.refunded {
    color: #6c757d;
}

.order-item-payment-status {
    color: var(--text-color);
}

.order-item-payment-status.paid {
    color: #28a745;
}

.order-item-payment-status.failed {
    color: #dc3545;
}

.order-item-payment-status.refunded {
    color: #6c757d;
}

.load-more-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 15px;   
}

/* Single order page */
.single-order-ticket {
    text-transform: uppercase !important;
    color: var(--text-color) !important;
}

.single-order-ticket-actions {
    display: flex;
    justify-content: center;
}

.download-ticket-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    width: 100%;
    max-width: 320px;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
    background: #ffffff;
    color: #1f1f1f;
    cursor: pointer;
    text-transform: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.download-ticket-button i {
    font-size: 16px;
}

.single-order-ticket-wrapper {
    --ticket-zigzag-depth: 10px;
    position: relative;
    isolation: isolate;
    display: block;
    padding: 1rem 1rem;
    /* background: #f3f3f1; */
    /* border: 1px dashed #8a8a8a; */
    box-shadow: 0 1px 0 #d2d2d0, 0 8px 20px rgba(0, 0, 0, 0.12);
    /* filter: grayscale(100%) contrast(1.25) brightness(0.95); */
    overflow: hidden;
    clip-path: polygon(
        0 0,
        5% var(--ticket-zigzag-depth),
        10% 0,
        15% var(--ticket-zigzag-depth),
        20% 0,
        25% var(--ticket-zigzag-depth),
        30% 0,
        35% var(--ticket-zigzag-depth),
        40% 0,
        45% var(--ticket-zigzag-depth),
        50% 0,
        55% var(--ticket-zigzag-depth),
        60% 0,
        65% var(--ticket-zigzag-depth),
        70% 0,
        75% var(--ticket-zigzag-depth),
        80% 0,
        85% var(--ticket-zigzag-depth),
        90% 0,
        95% var(--ticket-zigzag-depth),
        100% 0,
        100% 100%,
        95% calc(100% - var(--ticket-zigzag-depth)),
        90% 100%,
        85% calc(100% - var(--ticket-zigzag-depth)),
        80% 100%,
        75% calc(100% - var(--ticket-zigzag-depth)),
        70% 100%,
        65% calc(100% - var(--ticket-zigzag-depth)),
        60% 100%,
        55% calc(100% - var(--ticket-zigzag-depth)),
        50% 100%,
        45% calc(100% - var(--ticket-zigzag-depth)),
        40% 100%,
        35% calc(100% - var(--ticket-zigzag-depth)),
        30% 100%,
        25% calc(100% - var(--ticket-zigzag-depth)),
        20% 100%,
        15% calc(100% - var(--ticket-zigzag-depth)),
        10% 100%,
        5% calc(100% - var(--ticket-zigzag-depth)),
        0 100%
    );
}

.single-order-ticket-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
    background-image:
        radial-gradient(circle at 0.7px 0.7px, rgba(0, 0, 0, 0.2) 0.75px, transparent 0.85px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.03));
    background-size: 3px 3px, 100% 100%;
    mix-blend-mode: multiply;
}

.single-order-ticket-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(0, 0, 0, 0.06) 3px,
        rgba(0, 0, 0, 0.06) 4px
    );
}

.single-order-ticket-wrapper * {
    color: #1f1f1f !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.single-order-ticket-wrapper img,
.single-order-ticket-wrapper svg,
.single-order-ticket-wrapper canvas {
    /* filter: grayscale(100%) contrast(1.6) brightness(1.6) */
}

.single-order-ticket-wrapper .order-details-status,
.single-order-ticket-wrapper .order-details-status.pending,
.single-order-ticket-wrapper .order-details-status.accepted,
.single-order-ticket-wrapper .order-details-status.preparing,
.single-order-ticket-wrapper .order-details-status.ready,
.single-order-ticket-wrapper .order-details-status.in_transit,
.single-order-ticket-wrapper .order-details-status.delivered,
.single-order-ticket-wrapper .order-details-status.cancelled,
.single-order-ticket-wrapper .order-details-status.no_show,
.single-order-ticket-wrapper .order-details-status.refunded,
.single-order-ticket-wrapper .order-details-status.unknown {
    border-top: 1px dashed #8a8a8a;
    border-bottom: 1px dashed #8a8a8a;
}

.order-details-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    /* filter: grayscale(100%); */
}

.order-details-status {
    display:block;
    width: 100%;
    padding: 0.5rem 0.5rem;
}
/* 
.order-details-status.pending {
    background-color: var(--accent-color);
    color: var(--white);
}

.order-details-status.accepted {
    background-color: #007ed3;
    color: var(--white);
}

.order-details-status.preparing {
    background-color: #e1a100;
    color: var(--white);
}

.order-details-status.ready {
    background-color: #28a745;
    color: var(--white);
}

.order-details-status.in_transit {
    background-color: #17a2b8;
    color: var(--white);
}

.order-details-status.delivered {
    background-color: #28a745;
    color: var(--white);
}

.order-details-status.cancelled {
    background-color: #dc3545;
    color: var(--white);
}

.order-details-status.no_show {
    background-color: #ffc107;
    color: var(--text-color);
}

.order-details-status.refunded {
    background-color: #6c757d;
    color: var(--text-color);
}

.order-details-status.unknown {
    background-color: #dc3545;
    color: var(--white);
} */

.branch-information,
.customer-information,
.order-items {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px dashed #8a8a8a;
}
.order-items-header .flex,
.order-items-item .flex {
    gap: 0 10px;
}
.order-items-header .flex > *,
.order-items-item .flex > * {
    flex-shrink: 0;
}

.order-items-header .flex *:nth-child(1) {
    width: calc(10% - 10px);
    text-align: center;
}

.order-items-header .flex *:nth-child(2) {
    width: calc(40% - 5px);
    text-align: center;
}

.order-items-header .flex *:nth-child(3) {
    width: calc(25% - 10px);
    text-align: right;
}

.order-items-header .flex *:nth-child(4) {
    width: calc(25% - 10px);
    text-align: right;
}

.order-items-item .flex *:nth-child(1) {
    width: calc(10% - 10px);
    text-align: right;
}

.order-items-item .flex *:nth-child(2) {
    width: 40%;
    text-align: left;
}

.order-items-item .flex *:nth-child(3),
.order-items-item .flex *:nth-child(4) {
    width: calc(25% - 10px);
    text-align: right;
}

.order-items-totals .flex {
    gap: 0 10px;
}

.order-items-totals .flex:nth-child(1) {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #8a8a8a;
}

.order-items-totals .flex > * {
    text-align: right;
}

.order-items-totals .flex > *:nth-child(1) {
    width: 80%;
}

.order-items-totals .flex > *:nth-child(2) {
    width: 20%;
}

.order-cancel-button-container {
    padding: 0.5rem 0.5rem;
}

.order-cancel-button {
    filter: grayscale(0%) !important;
    color: var(--accent-color) !important;
}

.order-qr-code {
    padding: 1.5rem 0.5rem;
    display: flex;
    width: 100%;
    justify-content: center;
}

.order-qr-code img {
    width: 150px;
    height: 150px;
    object-fit: contain;    
}

/* Order deletion confirmation popup */
.order-deletion-popup-overlay {
    position: fixed;
    z-index: 109;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    padding: 2.6rem;
    transition: 0.5s cubic-bezier(0.64, 0, 0.4, 1);
}

.order-deletion-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
    /* backdrop-filter: blur(10px); */
}

.order-deletion-popup-wrapper {
    position: fixed;
    z-index: 115;
    top: 0;
    left: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.3rem;
    width: 100%;
    height: 100%;
}

.order-deletion-popup-content {
    position: relative;
    max-width: 400px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.3rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(50px) scale(0.5);
    transition: 0.3s cubic-bezier(0.64, 0, 0.4, 1);
}

.order-deletion-popup-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.order-deletion-popup-content-inner svg {
    width: 25px;
    height: 25px;
    fill: var(--accent-color);
}

.order-deletion-popup-accept-btn {
    background-color: var(--accent-color);
    color: var(--white);
    display: block;
    width: 100%;
    cursor: pointer;
}

.order-cancel-button-container {
    display: flex;
    justify-content: center;
}

.order-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    background: #ffffff;
    color: var(--accent-color);
    cursor: pointer;
    text-transform: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.order-cancel-button i {
    font-size: 16px;
}

/*
===============================================
    ACCOUNT SETTINGS
===============================================
*/
.profile-header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1.3rem;
    width: calc(100% + 2.6rem);
    padding-top: calc(var(--safe-area-top, 0px) + 5.5rem);
    background-color: var(--body-background-color);
    backdrop-filter: blur(10px);
    z-index: -1;
}
.profile-header-wrapper {
    position: relative;
    padding-top: calc(var(--safe-area-top, 0px) + 5rem);
    margin-bottom: 1rem;
    display: block;
    width: 100%;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 0 1rem;
    margin-bottom: 1rem;
    margin-top: -60px;
}

.profile-header-avatar {
    position: relative;
    flex-shrink: 0;
    /* border: 4px solid var(--white); */
}

.profile-header-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0e0e0;
    outline: 4px solid var(--white);
    object-fit: cover;
    object-position: center;
}

.profile-header-avatar-placeholder svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0e0e0;
    outline: 4px solid var(--white);
    fill: var(--body-background-color);
}

.spin {
    animation: spin 1s linear infinite;
}

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

.profile-header-avatar-remove-btn {
    position: absolute;
    bottom: 3px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--accent-color);
    line-height: 1;
}

.profile-header-info {
    position: relative;
    width: 100%;
    margin-top: -2.5rem;
}

.profile-header-name {
    color: var(--white-text);
    line-height: 1.6;
}

.profile-header-vip-level {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.profile-header-vip-level svg {
    height: 16px;
    width: auto;
}

.profile-header-vip-level.wing_rookie {
    color: var(--review-star-color);
    fill: var(--review-star-color);
}

.profile-header-vip-level.sauce_scout {
    color: var(--review-star-color);
    fill: var(--review-star-color);
}

.profile-header-vip-level.heat_seeker {
    color: var(--review-star-color);
    fill: var(--review-star-color);
}

.profile-header-vip-level.wing_captain {
    color: var(--review-star-color);
    fill: var(--review-star-color);
}

.profile-header-vip-level.hall_of_flame {
    color: var(--review-star-color);
    fill: var(--review-star-color);
}

.profile-header-points {
    color: var(--white-text);
}

.profile-form {
    display: block;
    width: 100%;
}

.birthday-wrapper-day,
.birthday-wrapper-month,
.birthday-wrapper-year {
    display: inline-block;
}

.birthday-wrapper-month {
    width: calc(100% - 198px);
    margin-left: 10px;
}

.birthday-wrapper-year {
    width: 90px;
    margin-left: 10px;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="password"],
.profile-form input[type="tel"],
.profile-form input[type="number"],
.profile-form-phone-prefix-btn,
.birthday-btn-day,
.birthday-btn-month,
.birthday-btn-year {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background-color: transparent;
        color: var(--text-color);
        margin-bottom: 0.5rem;
        height: 46px;
        font-size: 14px;
}

.profile-form input[type="password"] {
    padding-right: 60px;
}

.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus,
.profile-form input[type="password"]:focus,
.profile-form input[type="tel"]:focus,
.profile-form input[type="number"]:focus,
.profile-form-phone-prefix-btn:focus,
.profile-form-phone-prefix-btn:active,
.birthday-btn-day:focus,
.birthday-btn-day:active,
.birthday-btn-month:focus,
.birthday-btn-month:active,
.birthday-btn-year:focus,
.birthday-btn-year:active {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px -5px var(--primary-color);
    transform: scale(1) !important;
}

.profile-form input[type="text"] {
    text-transform: capitalize;
}

.profile-form-phone-prefix-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    height: 46px;
    position: relative;
    top: 0px;
}

.birthday-btn-day {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 80px;
    border: 2px solid var(--white);
    background-color: var(--white);
    height: 46px;
}

.birthday-btn-month,
.birthday-btn-year {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 2px solid var(--white);
    background-color: var(--white);
    height: 46px;
}

.profile-form-phone-prefix-btn i,
.birthday-btn-day i,
.birthday-btn-month i,
.birthday-btn-year i {
    font-size: 18px;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.profile-form-phone-prefix-btn i.active,
.birthday-btn-day i.active,
.birthday-btn-month i.active,
.birthday-btn-year i.active {
    transform: scaleY(-1);
}

.profile-form input[name="phone_number"] {
    width: calc(100% - 134px);
    display: inline !important;
    margin-left: 10px;
}

.profile-form input[name="birthday"] {
    text-transform: none;
}

.profile-form input[disabled] {
    background-color: #f3f3f3;
    color: #555555;
    cursor: not-allowed;
}

.phone-prefix-dropdown {
    position: absolute;
    width: 240px;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    max-height: 0px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.birthday-dropdown-day {
    position: absolute;
    width: 80px;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    max-height: 0px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.birthday-dropdown-month {
    position: absolute;
    width: calc(100% - 198px);
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    max-height: 0px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.birthday-dropdown-year {
    position: absolute;
    width: 90px;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    max-height: 0px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.phone-prefix-dropdown.active,
.birthday-dropdown-day.active,
.birthday-dropdown-month.active,
.birthday-dropdown-year.active {
    max-height: 200px;
    opacity: 1;
    pointer-events: all;
}

.phone-prefix-dropdown li,
.birthday-dropdown-day li,
.birthday-dropdown-month li,
.birthday-dropdown-year li {
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0 8px;
    border-bottom: 1px solid #f3f3f3;
    font-size: 14px;
}

.birthday-dropdown-day li,
.birthday-dropdown-month li,
.birthday-dropdown-year li {
    color: var(--text-color);
}

.phone-prefix-dropdown li:hover,
.birthday-dropdown-day li:hover,
.birthday-dropdown-month li:hover,
.birthday-dropdown-year li:hover {
    background-color: #f3f3f3;
}

.profile-form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    transition: 0.15s cubic-bezier(0.64, 0, 0.4, 1);
}

.profile-form-submit-btn i {
    font-size: 18px;
    margin-left: 8px;
    position: relative;
    top: 4px;
}

.profile-form-submit-btn[disabled] {
    opacity: 0.6;
    filter: grayscale(50%);
    cursor: not-allowed;
}

.profile-form-logout-btn {
    background: none;
    color: var(--accent-color);
     display: block;
     width: 100%;
}

.profile-form-logout-btn i {
    font-size: 18px;
    margin-right: 8px;
    position: relative;
    top: 4px;
}

.password-input {
    text-transform: unset !important;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 11px;
    font-family: 'SF-Pro-Medium', sans-serif;
    color: #c9c9c9;
}

/*
===============================================
    LOADING ANIMATIONS
===============================================
*/
.loading-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    line-height: 1;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: bounce 0.5s infinite alternate;
    line-height: 1;
}

/* Stagger each dot with a delay */
.loading-dot:nth-child(2) { animation-delay: 0.25s; }
.loading-dot:nth-child(3) { animation-delay: 0.5s; }

@keyframes bounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-4px); }
}

/*
===============================================
    FONT FAMILIES, SIZES AND TEXT SETTINGS
===============================================
*/
 .sf-pro-light {
 	font-family: 'SF-Pro-Light', sans-serif;
 }

 .sf-pro-regular {
 	font-family: 'SF-Pro-Regular', sans-serif;
 }

 .sf-pro-medium {
 	font-family: 'SF-Pro-Medium', sans-serif;
 }

 .sf-pro-semibold {
 	font-family: 'SF-Pro-Semibold', sans-serif;
 }

 .sf-pro-bold {
 	font-family: 'SF-Pro-Bold', sans-serif;
 }

 .sf-pro-heavy {
 	font-family: 'SF-Pro-Heavy', sans-serif;
 }

 .sf-pro-black {
 	font-family: 'SF-Pro-Black', sans-serif;
 }

 .sf-pro-small-italic {
    font-family: 'SF-Pro-Regular', sans-serif;
    font-size: 0.8rem;
    font-style: italic;
 }

 .lekton-regular {
    font-family: 'Lekton-Regular', monospace, 'SF Mono', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
 }

 .lekton-bold {
    font-family: 'Lekton-Bold', monospace, 'SF Mono', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
 }

 .fs-5 {
 	font-size: calc(5 / var(--default-font-size-value) * 1rem);
 }

 .fs-8 {
 	font-size: calc(8 / var(--default-font-size-value) * 1rem);
 }

 .fs-10 {
 	font-size: calc(10 / var(--default-font-size-value) * 1rem);
 }

 .fs-11 {
 	font-size: calc(11 / var(--default-font-size-value) * 1rem);
 }

 .fs-12 {
 	font-size: calc(12 / var(--default-font-size-value) * 1rem);
 }

 .fs-13 {
 	font-size: calc(13 / var(--default-font-size-value) * 1rem);
 }

 .fs-14 {
 	font-size: calc(14 / var(--default-font-size-value) * 1rem);
 }

 .fs-15 {
 	font-size: calc(15 / var(--default-font-size-value) * 1rem);
 }

 .fs-16 {
 	font-size: calc(16 / var(--default-font-size-value) * 1rem);
 }

 .fs-18 {
 	font-size: calc(18 / var(--default-font-size-value) * 1rem);
 }

 .fs-20 {
 	font-size: calc(20 / var(--default-font-size-value) * 1rem);
 }

 .fs-22 {
 	font-size: calc(22 / var(--default-font-size-value) * 1rem);
 }

 .fs-24 {
 	font-size: calc(24 / var(--default-font-size-value) * 1rem);
 }

 .fs-25 {
 	font-size: calc(25 / var(--default-font-size-value) * 1rem);
 }

 .fs-26 {
 	font-size: calc(26 / var(--default-font-size-value) * 1rem);
 }

 .fs-28 {
 	font-size: calc(28 / var(--default-font-size-value) * 1rem);
 }

 .fs-30 {
 	font-size: calc(30 / var(--default-font-size-value) * 1rem);
 }

 .small-text {
    line-height: 1.3 !important;
 }

.bm-text-center {
    display: block;
    text-align: center;
}

.bm-text-left {
    display: block;
    text-align: left;
}

.bm-text-right {
    display: block;
    text-align: right;
}

.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
}

.text-underline {
    text-decoration: underline;
}

.cursor-pointer {
    cursor: pointer;
}

/*
==================================
    TEXT COLORS
==================================
*/
.text-color-black {
    color: var(--text-color);
}

.text-color-white {
    color: var(--white-text);
}

.text-color-orange {
    color: var(--orange);
}

/*
==================================
    LINE HEIGHTS
==================================
*/
 .line-height-0 {
 	line-height: 1;
 }

 .line-height-1 {
 	line-height: 1.25;
 }

 .line-height-2 {
 	line-height: 1.5;
 }

 .line-height-3 {
 	line-height: 1.75;
 }

 .line-height-4 {
 	line-height: 2;
 }

 /*
==================================
    CURSORS
==================================
*/
 .cursor-pointer {
 	cursor: pointer;
 }
 .cursor-default {
 	cursor: default;
 }
 .cursor-not-allowed {
 	cursor: not-allowed;
 }
/*
==================================
    FIXED LAYOUTS
==================================
*/
.fixed-layout {
	position: fixed;
}

.w-full {
	width: 100%;
}

.h-full {
	height: 100%;
}

.fixed-layout-content {
	position: fixed;
}

.overflow-y-auto {
	overflow-y: auto;
}

/*
==================================
    FLEX LAYOUTS
==================================
*/
.flex {
	display: flex;
	height: 100%;
}

.vertical-top {
	align-items: flex-start;
}

.vertical-center {
	align-items: center;
}

.vertical-bottom {
	align-items: flex-end;
}

.horizontal-left {
	justify-content: flex-start;
}

.horizontal-center {
	justify-content: center;
}

.horizontal-right {
	justify-content: flex-end;
}

.horizontal-space-between {
	justify-content: space-between;
}

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

.flex-row {
	flex-direction: row;
}

.flex-no-shrink {
	flex-shrink: 0;
}

.gap-0 {
	gap: 0;
}

.gap-5 {
	gap: 5px;
}

.gap-10 {
	gap: 10px;
}

.gap-15 {
	gap: 15px;
}

.gap-20 {
	gap: 20px;
}

/* 
==================================
	ABSOLUTE LAYOUTS
==================================
 */
.absolute {
	position: absolute;
}

.absolute-top {
	top: 0;
	left: 0;
}

.absolute-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.absolute-top-left {
	top: 0;
	left: 0;
}

.absolute-top-right {
	top: 0;
	right: 0;
}

.absolute-bottom-left {
	bottom: 0;
	left: 0;
}

.absolute-bottom-right {
	bottom: 0;
	right: 0;
}

/*
==================================
    STICKY LAYOUTS
==================================
*/
.sticky-top {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 5;
}

/*
==================================
    MARGINS
==================================
*/
.mt-safe-area {
	margin-top: var(--safe-area-top, var(--default-padding));
}

.mt-0 {
	margin-top: 0;
}

.mt-5 {
	margin-top: 0.3125rem;
}

.mt-10 {
	margin-top: 0.625rem;
}

.mt-15 {
	margin-top: 0.9375rem;
}

.mt-20 {
	margin-top: 1.25rem;
}

.mt-25 {
	margin-top: 1.5625rem;
}

.mt-30 {
	margin-top: 1.875rem;
}

.mt-05rem {
    margin-top: 0.5rem;
}

.mt-1rem {
    margin-top: 1rem;
}

.mt-2rem {
    margin-top: 2rem;
}

.mb-safe-area {
	margin-bottom: var(--safe-area-top, var(--default-padding));
}

.mb-0 {
	margin-bottom: 0;
}

.mb-5 {
	margin-bottom: 0.3125rem;
}

.mb-10 {
	margin-bottom: 0.625rem;
}

.mb-15 {
	margin-bottom: 0.9375rem;
}

.mb-20 {
	margin-bottom: 1.25rem;
}

.mb-25 {
	margin-bottom: 1.5625rem;
}

.mb-30 {
	margin-bottom: 1.875rem;
}

.mb-05rem {
    margin-bottom: 0.5rem;
}

.mb-1rem {
    margin-bottom: 1rem;
}

.ml-0 {
	margin-left: 0;
}

.ml-3 {
    margin-left: 0.1875rem;
}

.ml-5 {
	margin-left: 0.3125rem;
}

.ml-10 {
	margin-left: 0.625rem;
}

.ml-15 {
	margin-left: 0.9375rem;
}

.ml-20 {
	margin-left: 1.25rem;
}

.mr-0 {
	margin-right: 0;
}

.mr-5 {
	margin-right: 0.3125rem;
}

.mr-10 {
	margin-right: 0.625rem;
}

.mr-15 {
	margin-right: 0.9375rem;
}

.mr-20 {
	margin-right: 1.25rem;
}

/*
==================================
    PADDINGS
==================================
*/
.pt-safe-area {
	padding-top: var(--safe-area-top, var(--default-padding));
}

.pt-0 {
	padding-top: 0;
}

.pt-5 {
	padding-top: 0.3125rem;
}

.pt-10 {
	padding-top: 0.625rem;
}

.pt-15 {
	padding-top: 0.9375rem;
}

.pt-20 {
	padding-top: 1.25rem;
}

.pt-1rem {
    padding-top: 1rem;
}

.pb-safe-area {
	padding-bottom: var(--safe-area-top, var(--default-padding));
}

.pb-0 {
	padding-bottom: 0;
}

.pb-5 {
	padding-bottom: 0.3125rem;
}

.pb-10 {
	padding-bottom: 0.625rem;
}

.pb-15 {
	padding-bottom: 0.9375rem;
}

.pb-20 {
	padding-bottom: 1.25rem;
}

.pb-1rem {
    padding-bottom: 1rem;
}

.pl-0 {
	padding-left: 0;
}

.pl-5 {
	padding-left: 0.3125rem;
}

.pl-10 {
	padding-left: 0.625rem;
}

.pl-15 {
	padding-left: 0.9375rem;
}

.pl-20 {
	padding-left: 1.25rem;
}

.pl-30 {
	padding-left: 2.75rem;
}

.pl-40 {
	padding-left: 3.75rem;
}

.pl-50 {
	padding-left: 4.75rem;
}

.pl-1rem {
    padding-left: 1.3rem;
}

.pr-0 {
	padding-right: 0;
}

.pr-5 {
	padding-right: 0.3125rem;
}

.pr-10 {
	padding-right: 0.625rem;
}

.pr-15 {
	padding-right: 0.9375rem;
}

.pr-20 {
	padding-right: 1.25rem;
}

.pr-30 {
	padding-right: 1.875rem;
}

.pr-40 {
	padding-right: 2.5rem;
}

.pr-50 {
	padding-right: 3.25rem;
}

.pr-1rem {
    padding-right: 1.3rem;
}

/*
==================================
    ELEMENTS
==================================
*/
.block {
	display: block;
}

.inline-block {
	display: inline-block;
}

.inline {
	display: inline;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.fixed {
	position: fixed;
}

.fixed-top {
	top: 0;
	left: 0;
	width: 100%;
}

/* 
==================================
	T,B,L,R POSITIONS
==================================
 */
.top-0 {
	top: 0;
}
.top-1 {
	top: calc(1 / var(--default-font-size-value) * 1rem);
}
.top-2 {
	top: calc(2 / var(--default-font-size-value) * 1rem);
}
.top-3 {
	top: calc(3 / var(--default-font-size-value) * 1rem);
}
.top-4 {
	top: calc(4 / var(--default-font-size-value) * 1rem);
}
.top-5 {
	top: calc(5 / var(--default-font-size-value) * 1rem);
}
.top-6 {
	top: calc(6 / var(--default-font-size-value) * 1rem);
}
.top-7 {
	top: calc(7 / var(--default-font-size-value) * 1rem);
}
.top-8 {
	top: calc(8 / var(--default-font-size-value) * 1rem);
}
.top-9 {
	top: calc(9 / var(--default-font-size-value) * 1rem);
}
.top-10 {
	top: calc(10 / var(--default-font-size-value) * 1rem);
}
.top-50p {
	top: 50%;
}
.left-0 {
	left: 0;
}
.left-1 {
	left: calc(1 / var(--default-font-size-value) * 1rem);
}
.left-2 {
	left: calc(2 / var(--default-font-size-value) * 1rem);
}
.left-3 {
	left: calc(3 / var(--default-font-size-value) * 1rem);
}
.left-4 {
	left: calc(4 / var(--default-font-size-value) * 1rem);
}
.left-5 {
	left: calc(5 / var(--default-font-size-value) * 1rem);
}
.left-6 {
	left: calc(6 / var(--default-font-size-value) * 1rem);
}
.left-7 {
	left: calc(7 / var(--default-font-size-value) * 1rem);
}
.left-8 {
	left: calc(8 / var(--default-font-size-value) * 1rem);
}
.left-9 {
	left: calc(9 / var(--default-font-size-value) * 1rem);
}
.left-10 {
	left: calc(10 / var(--default-font-size-value) * 1rem);
}
.left-15 {
	left: calc(15 / var(--default-font-size-value) * 1rem);
}
.left-50p {
	left: 50%;
}

/* 
==================================
	HEIGHTS
==================================
 */
.h-10 {
	height: calc(10 / var(--default-font-size-value) * 1rem);
}
.h-15 {
	height: calc(15 / var(--default-font-size-value) * 1rem);
}
.h-20 {
	height: calc(20 / var(--default-font-size-value) * 1rem);
}
.h-25 {
	height: calc(25 / var(--default-font-size-value) * 1rem);
}
.h-30 {
	height: calc(30 / var(--default-font-size-value) * 1rem);
}
.h-35 {
	height: calc(35 / var(--default-font-size-value) * 1rem);
}
.h-40 {
	height: calc(40 / var(--default-font-size-value) * 1rem);
}
.h-45 {
	height: calc(45 / var(--default-font-size-value) * 1rem);
}
.h-50 {
	height: calc(50 / var(--default-font-size-value) * 1rem);
}

/* 
==================================
	TRANSFORMATIONS
==================================
 */
.transform-center-y {
	top: 50%;
	transform: translateY(-50%);
}

/* 
==================================
	BORDER RADIUS
==================================
 */
.border-radius-default {
	border-radius: var(--default-border-radius);
}

/* 
==================================
	BOX SIZING
==================================
 */
.border-box {
	box-sizing: border-box;
}

/* 
==================================
	BORDERS
==================================
 */
.border-none {
	border: none;
}

/* 
==================================
	INPUTS
==================================
 */
.focus-none:focus {
	outline: none;
	box-shadow: none;
}
.active-none:active {
	outline: none;
	box-shadow: none;
}
.visited-none:visited {
	outline: none;
	box-shadow: none;
}

/* Touch-friendly buttons and interactive elements */
button,
a,
input,
select,
textarea {
    -webkit-user-select: text;
    user-select: text;
    min-height: 44px; /* iOS minimum tap target */
    cursor: pointer;
}

button,
a.btn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    transition: transform 0.1s cubic-bezier(0.64, 0, 0.4, 1), background-color 0.2s cubic-bezier(0.64, 0, 0.4, 1);
    touch-action: manipulation;
    color: var(--text-color);
}

#add-address-button {
    background-color: var(--white);
    color: var(--text-color);
    padding: 0;
    font-size: 32px;
    min-height: 0;
    font-weight: bold;
    background-color: unset;
    transition: 0.1s cubic-bezier(0.64, 0, 0.4, 1);
}

#add-address-button:active {
    transform: scale(0.9);
}


button:active,
a.btn:active {
    transform: scale(0.97);
}

/* Pull-to-refresh indicator */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-text);
    border-radius: 0 0 8px 8px;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.pull-to-refresh.active {
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design */
@media (min-width: 500px) {
    .grouped-product-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1.3rem;
    }
}

@media (min-width: 768px) {
    .grouped-product-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem 1.4rem;
    }
}

@media (min-width: 1024px) {
    .grouped-product-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem 1.5rem;
    }
}

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

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

/* Hidden class for JavaScript toggling */
.hidden {
    display: none !important;
}

/* ============================================
   Authentication Styles
   ============================================ */


/* Mobile adjustments for auth */
@media (max-width: 768px) {
    .auth-card {
        padding: 0 2rem 0 2rem;
    }

    .auth-container {
        min-height: 60vh;
    }
}

/* Icons */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://example.com/MaterialIcons-Round.eot); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Round.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Round.woff) format('woff'),
    url(https://example.com/MaterialIcons-Round.ttf) format('truetype');
}

.material-icons-round {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

/* ============================================
   Loading Spinner (iOS-style)
   ============================================ */

/* Overlay that covers the entire screen */
.loading-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(33, 33, 33, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    backdrop-filter: blur(0px);
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(10px);
}

/* Semi-transparent square container */
.loading-spinner-container {
    background-color: rgba(40, 40, 40, 0.9);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

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

/* iOS-style spinner with 12 bars */
.loading-spinner {
    width: 50px;
    height: 50px;
    position: relative;
    animation: rotate 1s linear infinite;
}

/* Create 12 bars in a circle */
.loading-spinner::before,
.loading-spinner::after,
.loading-spinner .bar {
    content: '';
    position: absolute;
    width: 4px;
    height: 14px;
    background: #ffffff;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: 0 -18px;
}

/* Generate 12 bars with different rotations and opacities */
.loading-spinner::before {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.loading-spinner::after {
    transform: translate(-50%, -50%) rotate(30deg);
    opacity: 0.9;
}

/* We'll use JavaScript to create the remaining 10 bars */

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

/* Alternative: Simple circular spinner if bars are too complex */
.loading-spinner-simple {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Loading text (optional) */
.loading-spinner-text {
    color: #ffffff;
    font-family: 'SF-Pro-Medium', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    margin-top: 16px;
    opacity: 0.9;
}

@font-face {
    font-family: 'SF-Pro-Light';
    src: url('fonts/SF-Pro/SF-Pro-Display-Light.otf') format('opentype');
}

@font-face {
    font-family: 'SF-Pro-Regular';
    src: url('fonts/SF-Pro/SF-Pro-Display-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'SF-Pro-Medium';
    src: url('fonts/SF-Pro/SF-Pro-Display-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'SF-Pro-Semibold';
    src: url('fonts/SF-Pro/SF-Pro-Display-Semibold.otf') format('opentype');
}

@font-face {
    font-family: 'SF-Pro-Bold';
    src: url('fonts/SF-Pro/SF-Pro-Display-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'SF-Pro-Heavy';
    src: url('fonts/SF-Pro/SF-Pro-Display-Heavy.otf') format('opentype');
}

@font-face {
    font-family: 'SF-Pro-Black';
    src: url('fonts/SF-Pro/SF-Pro-Display-Black.otf') format('opentype');
}

@font-face {
    font-family: 'Lekton-Regular';
    src: url('fonts/Lekton/Lekton-Regular.ttf') format('opentype');
}

@font-face {
    font-family: 'Lekton-Bold';
    src: url('fonts/Lekton/Lekton-Bold.ttf') format('opentype');
}


