/* =========================================================
   COASTLINE CAFE - GLOBAL STYLES
   Warm, Natural, Independent Coffee Shop Aesthetic
========================================================= */

/* 1. RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--cream);
    color: #694624;
    line-height: 1.5;
    overflow-x: hidden;
}

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

button, input, textarea, select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. THEME VARIABLES - #694624 is the Dominant Coastline Brown */
:root {
    --cream: #FAF4ED;
    --warm-bg: #F4ECE3;
    --card-bg: #FFFDF9;
    --surface-elevated: #FFFFFF;
    --surface-inset: #F5EEE5;
    --brown: #694624;
    --dark-brown: #50351A;
    --text-brown: #694624;
    --light-brown: #E8DCCF;
    --gold: #DBAD65;
    --gold-hover: #DBAD65;
    --cream-text: #FFEEC7;
    --footer-text: #F1E8DF;
    --border-subtle: rgba(105, 70, 36, 0.12);
    --border-card: rgba(105, 70, 36, 0.16);
    --shadow-soft: 0 4px 20px rgba(105, 70, 36, 0.05);
    --shadow-drawer: -6px 0 30px rgba(105, 70, 36, 0.18);
    --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. STICKY NAVBAR */
#navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.navbar {
    width: 100%;
    height: 90px;
    padding: 0 max(20px, 5.83%);
    display: flex;
    align-items: center;
    background-color: var(--cream);
    position: relative;
    z-index: 1000;
    transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.navbar.scrolled {
    height: 80px;
    background-color: rgba(250, 244, 237, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(105, 70, 36, 0.08);
    border-bottom: 1px solid rgba(105, 70, 36, 0.08);
}

/* Clean, Natural Logo - Original shape and corner radius preserved, external effects removed */
.navbar-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.02);
}

.logo-holder {
    width: 52px;
    height: 52px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 50%;
    box-shadow: none;
    filter: none;
    display: block;
}

.logo-fallback-emblem {
    color: #694624;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.05em;
    font-family: 'Poppins', sans-serif;
}

/* Navigation Links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: 50px;
}

.navbar-links a {
    color: #694624;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 8px 4px;
    border-radius: 0;
    text-decoration: none;
    transition: opacity var(--transition);
}

.navbar-links a:hover {
    color: #694624;
    opacity: 0.8;
}

.navbar-links a.active {
    color: #694624;
    font-weight: 700;
}

/* Cart Button (Pill shaped - Dominant #694624, No color change on hover) */
/* Cart Button (Pill shaped - Dominant #694624, No color change on hover) */
.cart-button {
    height: 40px;
    padding: 0 18px;
    border: 1.5px solid #694624;
    border-radius: 40px;
    background: #694624;
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(105, 70, 36, 0.16);
    transition: transform var(--transition), opacity var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.cart-button:hover {
    background: #694624;
    transform: translateY(-1px);
    opacity: 0.95;
}

.cart-icon-holder {
    width: 19px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-icon-svg {
    width: 18px;
    height: 17px;
    display: block;
    flex-shrink: 0;
}

/* Cart Badge Count */
.cart-count {
    display: none;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 12px;
    background: var(--gold);
    color: #694624;
    font-size: 11px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    margin-left: 8px;
    border: 1.5px solid #694624;
    border-radius: 50%;
    background: #FAF4ED;
    color: #694624;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(105, 70, 36, 0.08);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
    padding: 0;
}

.menu-toggle:hover {
    background: #694624;
    color: var(--cream);
    transform: translateY(-1px);
}

.menu-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* 4. FOOTER */
.footer {
    width: 100%;
    background: #694624;
    color: #F1E8DF;
    padding: 60px 0 28px;
    border-top: 1px solid rgba(219, 173, 101, 0.2);
    position: relative;
}

.footer-wrapper {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.footer-logo-holder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    background: transparent;
}

.footer-logo {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
    display: block;
}

.footer-brand-names {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.footer-brand-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.footer-brand-about {
    font-size: 13.5px;
    color: rgba(241, 232, 223, 0.88);
    line-height: 1.6;
    margin: 0;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(219, 173, 101, 0.15);
    border: 1px solid rgba(219, 173, 101, 0.35);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    width: fit-content;
}

.footer-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

.footer-col-title {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: #FFF;
    opacity: 0.85;
    transform: translateX(3px);
}

.footer-info-block {
    margin-bottom: 14px;
}

.footer-info-block:last-child {
    margin-bottom: 0;
}

.footer-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: rgba(219, 173, 101, 0.9);
    margin-bottom: 3px;
}

.footer-info-val {
    font-size: 13.5px;
    color: rgba(241, 232, 223, 0.85);
    line-height: 1.5;
    margin: 0;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.footer-contact-link:hover {
    color: #FFF;
    opacity: 0.85;
    transform: translateX(2px);
}

.footer-contact-link .contact-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(219, 173, 101, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(241, 232, 223, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: rgba(241, 232, 223, 0.7);
}

.footer-copyright {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(241, 232, 223, 0.8);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.footer-bottom-links a:hover {
    color: #FFF;
    opacity: 0.85;
}

.footer-sep {
    color: rgba(241, 232, 223, 0.4);
    font-size: 10px;
}

.footer-owner-link {
    background: rgba(219, 173, 101, 0.18);
    border: 1px solid rgba(219, 173, 101, 0.45);
    color: var(--gold) !important;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px !important;
    font-weight: 600;
}

.footer-owner-link:hover {
    background: var(--gold);
    color: #694624 !important;
}

/* 5. BUTTONS & UI - Dominant #694624, No color change on hover */
.primary-button {
    min-width: 130px;
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 0;
    background: #694624;
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), opacity var(--transition);
}

.primary-button:hover {
    background: #694624;
    transform: translateY(-2px);
    opacity: 0.95;
}

/* =========================================================
   6. CART DRAWER (SLIDE-OUT FROM RIGHT)
========================================================= */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 15, 5, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: #FAF4ED;
    z-index: 1200;
    box-shadow: var(--shadow-drawer);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 24px 28px;
    background: #694624;
    color: var(--cream-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--cream-text);
}

.drawer-badge {
    background: var(--gold);
    color: #694624;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--cream-text);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 0.8;
}

/* Cart Items Body */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #694624;
    padding: 40px 20px;
}

.cart-empty-icon {
    width: 64px;
    height: 64px;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 16px;
}

/* =========================================================
   RESTRUCTURED COMPACT CART ROW SYSTEM WITH SQUARE THUMBNAIL
   Clean horizontal layout: Left square thumbnail, Right details & controls
   ========================================================= */
.compact-cart-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #FFFDF9;
    border: 1px solid rgba(105, 70, 36, 0.14);
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(105, 70, 36, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.compact-cart-row:hover {
    border-color: rgba(105, 70, 36, 0.28);
    box-shadow: 0 3px 10px rgba(105, 70, 36, 0.06);
}

/* Left: Consistent square product thumbnail with top-focused crop */
.cart-item-thumb-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 5px;
    overflow: hidden;
    background: #F4ECE3;
    border: 1px solid rgba(105, 70, 36, 0.14);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cart-item-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.2s ease;
}

.cart-item-thumb-box:hover .cart-item-thumb-img {
    transform: scale(1.06);
}

/* Right: Details beside thumbnail */
.cart-row-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cart-row-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-row-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.cart-row-name-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #50351A;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s ease;
}

.cart-row-name-btn:hover {
    color: #8C5325;
    text-decoration: underline;
}

.cart-row-size {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.size-tag-midra {
    background: #F4ECE3;
    color: #694624;
}

.size-tag-triton {
    background: #EEDFD0;
    color: #8C5325;
    border: 1px solid rgba(140, 83, 37, 0.25);
}

.cart-row-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #7B4B22;
    background: #F5EEE5;
    padding: 3px 8px;
    border-radius: 3px;
    border-left: 2px solid #DBAD65;
    line-height: 1.35;
    word-break: break-word;
}

.cart-row-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px dashed rgba(105, 70, 36, 0.12);
}

.cart-stepper-control {
    display: inline-flex;
    align-items: center;
    background: #FAF4EC;
    border: 1px solid rgba(105, 70, 36, 0.25);
    border-radius: 4px;
    overflow: hidden;
}

.cart-stepper-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #50351A;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.cart-stepper-btn:hover {
    background: rgba(105, 70, 36, 0.1);
}

.cart-stepper-value {
    min-width: 26px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #50351A;
}

.cart-row-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cart-unit-rate {
    font-size: 11px;
    color: rgba(105, 70, 36, 0.7);
    font-weight: 500;
}

.cart-line-total {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #50351A;
    line-height: 1.2;
}

.cart-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-edit-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FAF2E8;
    border: 1px solid rgba(105, 70, 36, 0.25);
    color: #694624;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cart-edit-action:hover {
    background: #694624;
    color: #FFF7EE;
    border-color: #694624;
}

.cart-remove-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FDF2F0;
    border: 1px solid rgba(184, 51, 42, 0.2);
    color: #B8332A;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cart-remove-action:hover {
    background: #B8332A;
    color: #FFFFFF;
    border-color: #B8332A;
}

.cart-row-pickup {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #694624;
    background: #F8EFE4;
    padding: 3px 8px;
    border-radius: 3px;
    align-self: flex-start;
}

/* Drawer Footer */
.drawer-footer {
    padding: 20px 24px;
    background: #FCF5ED;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.drawer-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.drawer-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #694624;
}

.drawer-total-row.grand-total {
    font-size: 18px;
    font-weight: 800;
    color: #694624;
    border-top: 1px dashed rgba(105, 70, 36, 0.25);
    padding-top: 10px;
    margin-top: 4px;
}

.checkout-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 0;
    background: #694624;
    color: var(--cream);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform var(--transition), opacity var(--transition);
}

.checkout-btn:hover:not(:disabled) {
    background: #694624;
    transform: translateY(-1px);
    opacity: 0.95;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================================================
   7. CHECKOUT VIEW INSIDE DRAWER
========================================================= */
.checkout-view {
    display: none;
    flex-direction: column;
    height: 100%;
}

.checkout-view.active {
    display: flex;
}

.checkout-header-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 247, 238, 0.35);
    background: transparent;
    color: var(--cream);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    margin: 0;
    transition: opacity 0.2s ease;
}

.checkout-header-back:hover {
    background: transparent;
    opacity: 0.85;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-field label {
    font-size: 13px;
    font-weight: 700;
    color: #694624;
}

.checkout-field label .req {
    color: #B2533E;
}

.checkout-input, .checkout-textarea, .checkout-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(105, 70, 36, 0.3);
    border-radius: 0;
    background: #FFF;
    color: #694624;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-input:focus, .checkout-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(219, 173, 101, 0.2);
    outline: none;
}

.customization-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.chip-btn {
    border: 1px dashed rgba(105, 70, 36, 0.35);
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 9px;
    border-radius: 0;
    font-size: 11.5px;
    color: #694624;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.chip-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.85;
}

/* Payment Method Selection */
.payment-method-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.pay-method-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: #FFF;
    border: 1px solid rgba(105, 70, 36, 0.25);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pay-method-card:hover {
    border-color: rgba(105, 70, 36, 0.25);
    opacity: 0.9;
}

.pay-method-card.active {
    border-color: #694624;
    background: #F5EEE5;
    box-shadow: 0 0 0 1px #694624;
}

.pay-method-card input[type="radio"] {
    margin-top: 3px;
    accent-color: #694624;
}

.pay-method-info {
    flex: 1;
    min-width: 0;
}

.pay-method-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pay-method-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #694624;
}

.pay-method-desc {
    font-size: 11.5px;
    color: #694624;
    opacity: 0.85;
    margin-top: 1px;
}

.pay-sim-badge {
    background: #007DFE;
    color: #FFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    letter-spacing: 0.05em;
}

.gcash-sim-box {
    margin-top: 8px;
    background: #EEF6FF;
    border: 1px solid #B8DAFF;
    padding: 12px;
}

.gcash-sim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.gcash-tag {
    font-size: 12px;
    font-weight: 700;
    color: #004D99;
}

.gcash-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    background: #FFEAA7;
    color: #8C6200;
}

.gcash-status-badge.paid {
    background: #D4EDDA;
    color: #155724;
}

.gcash-sim-note {
    font-size: 11.5px;
    color: #495057;
    margin: 0 0 8px;
    line-height: 1.4;
}

.btn-gcash-simulate {
    width: 100%;
    padding: 8px 12px;
    background: #007DFE;
    color: #FFF;
    border: none;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-gcash-simulate:hover {
    background: #007DFE;
    opacity: 0.9;
}

.btn-gcash-simulate.paid {
    background: #10B981;
    cursor: default;
}

/* =========================================================
   8. ORDER WINDOW MODAL (ITEM DETAILS & ADD)
   FIX 7: Clean thumbnail area without floating box or nested borders
========================================================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 15, 5, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    width: min(780px, 94vw);
    max-height: 90vh;
    background: #FFFDF9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(40, 20, 10, 0.28);
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    position: relative;
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .order-modal {
    transform: scale(1);
}

/* WRITE REVIEW / NOTE MODAL CARD STYLING */
#writeReviewModalBackdrop .owner-modal-card {
    background: #FFFDF9;
    border: 1.5px solid rgba(105, 70, 36, 0.22);
    border-radius: 12px;
    width: min(540px, 94vw);
    padding: 30px 26px 26px;
    box-shadow: 0 20px 50px rgba(40, 20, 10, 0.35);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#writeReviewModalBackdrop.open .owner-modal-card {
    transform: scale(1);
}

#writeReviewModalBackdrop .owner-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-brown, #50351A);
    margin: 0 0 6px 0;
}

#writeReviewModalBackdrop .owner-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(105, 70, 36, 0.08);
    color: #694624;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease, transform 0.15s ease;
}

.modal-close-btn:hover {
    background: rgba(105, 70, 36, 0.18);
    transform: scale(1.05);
}

/* Modal Left: Full-bleed product image container taking the full container */
.modal-left {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    background: #F4ECE3;
    overflow: hidden;
    box-sizing: border-box;
}

.modal-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.modal-drink-img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    filter: none;
    transition: transform 0.4s ease;
}

.modal-drink-img:hover {
    transform: scale(1.03);
}

/* Modal Right */
.modal-right {
    padding: 32px 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-drink-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #50351A;
    line-height: 1.2;
    margin-bottom: 6px;
}

.modal-drink-price {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #694624;
    margin-bottom: 12px;
}

.modal-drink-desc {
    font-size: 14px;
    color: #694624;
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* Product Detail Modal Special Notes */
.modal-notes-block {
    margin-top: 14px;
    margin-bottom: 14px;
}

.modal-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    gap: 8px;
}

.modal-notes-label {
    font-size: 13px;
    font-weight: 700;
    color: #50351A;
    font-family: 'Poppins', sans-serif;
}

.modal-notes-hint {
    font-size: 11px;
    color: #8C5325;
}

.modal-notes-input {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    background: #FFF;
    border: 1.5px solid rgba(105, 70, 36, 0.25);
    border-radius: 4px;
    font-size: 13.5px;
    color: #402613;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.modal-notes-input:focus {
    border-color: #694624;
    box-shadow: 0 0 0 3px rgba(105, 70, 36, 0.12);
}

.modal-notes-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.modal-chip-btn {
    border: 1px solid rgba(105, 70, 36, 0.2);
    background: #FAF2E8;
    color: #694624;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.modal-chip-btn:hover {
    background: #694624;
    color: #FFF7EE;
    border-color: #694624;
}

.modal-sticky-actions {
    margin-top: auto;
}

/* Cart Item Notes & Actions */
.cart-item-notes-text {
    font-size: 11.5px;
    color: #7B4B22;
    background: #FAF1E6;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 4px 0 6px;
    border-left: 2.5px solid #DBAD65;
    line-height: 1.35;
    word-break: break-word;
}

.cart-item-notes-text em {
    font-style: normal;
    font-weight: 700;
    color: #50351A;
}

.cart-item-actions-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.cart-item-edit-btn {
    background: none;
    border: none;
    color: #8C5325;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.15s ease;
}

.cart-item-edit-btn:hover {
    color: #4A3018;
}

/* =========================================================
   9. TOAST NOTIFICATION
========================================================= */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
    max-width: min(340px, calc(100vw - 32px));
}

.toast {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(36, 23, 14, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(219, 173, 101, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    color: #FFF7EE;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    transform: translateY(8px) scale(0.97);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(219, 173, 101, 0.7);
}

/* =========================================================
   10. ORDER CONFIRMATION MODAL
========================================================= */
/* =========================================================
   10. SIMPLIFIED ORDER DETAILS / STATUS MODAL
========================================================= */
.simplified-order-modal {
    width: min(480px, 92vw);
    background: #FFF9F2;
    border-radius: 8px;
    padding: 32px 28px 26px;
    position: relative;
    box-shadow: 0 20px 45px rgba(40, 20, 10, 0.35);
    border: 1px solid rgba(105, 70, 36, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    text-align: left;
}

.order-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid rgba(105, 70, 36, 0.14);
}

.order-modal-caption {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8C5325;
    display: block;
    margin-bottom: 2px;
}

.order-modal-number {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #50351A;
    margin: 0;
    letter-spacing: -0.01em;
}

.order-modal-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #FAF2E8;
    color: #694624;
    border: 1px solid rgba(105, 70, 36, 0.2);
}

.order-modal-status.preparing {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.order-modal-status.ready {
    background: #D1FAE5;
    color: #065F46;
    border-color: #A7F3D0;
}

.order-modal-status.completed {
    background: #E0E7FF;
    color: #3730A3;
    border-color: #C7D2FE;
}

.order-modal-pickup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FAF4EC;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(105, 70, 36, 0.12);
}

.order-modal-subheading {
    font-size: 12px;
    font-weight: 600;
    color: #7B4B22;
}

.order-modal-pickup-time {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #50351A;
}

.order-modal-items-container {
    background: #FFFFFF;
    border: 1px solid rgba(105, 70, 36, 0.14);
    border-radius: 6px;
    padding: 14px 16px;
}

.order-modal-items-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8C5325;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(105, 70, 36, 0.1);
}

.order-modal-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.order-modal-item-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #382010;
}

.order-modal-item-name {
    font-weight: 500;
}

.order-modal-item-price {
    font-weight: 700;
    color: #50351A;
}

.order-modal-total-line {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(105, 70, 36, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #694624;
}

.order-modal-total-val {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #50351A;
}

.order-modal-actions {
    margin-top: 4px;
}

.order-modal-primary-btn {
    width: 100%;
    height: 46px;
    background: #694624;
    color: #FFF7EE;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.order-modal-primary-btn:hover {
    background: #50351A;
    transform: translateY(-1px);
}

/* Modal Size Selector: MIDRA (16oz) and TRITON (22oz) */
.modal-size-block {
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.modal-size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-size-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #694624;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.modal-size-selection {
    font-size: 12.5px;
    font-weight: 700;
    color: #694624;
    background: #F4EBE2;
    padding: 2px 8px;
    border-radius: 0;
}

.modal-size-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-size-card {
    border: 1.5px solid rgba(105, 70, 36, 0.22);
    background: #FFF;
    border-radius: 0;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.18s ease;
}

.modal-size-card:hover {
    border-color: rgba(105, 70, 36, 0.22);
    opacity: 0.9;
}

.modal-size-card.active {
    border-color: #694624;
    background: #F5EEE5;
    box-shadow: 0 0 0 1px #694624;
}

.size-card-radio-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(105, 70, 36, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-size-card.active .size-card-radio-indicator {
    border-color: #694624;
}

.size-radio-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.modal-size-card.active .size-radio-inner {
    background: #694624;
}

.size-card-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.size-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #694624;
    letter-spacing: 0.02em;
}

.size-card-oz {
    font-size: 11px;
    color: #694624;
    opacity: 0.85;
    margin-top: 1px;
}

.size-card-price {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    color: #694624;
}

/* Cart Item Size Tag Badges */
.cart-item-size-tag {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 0;
    letter-spacing: 0.02em;
    display: inline-block;
    text-transform: uppercase;
}

.size-tag-midra {
    background: #EFE4D6;
    color: #4A301A;
    border: 1px solid rgba(105, 70, 36, 0.18);
}

.size-tag-triton {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Order Success & Ready Window */
.order-success-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.order-success-check-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #D1FAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-ready-window-card {
    background: #FAF2E8;
    border: 1px solid rgba(105, 70, 36, 0.2);
    padding: 14px;
    margin: 12px 0;
    text-align: center;
}

.ready-window-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #694624;
    margin-bottom: 4px;
}

.ready-window-time {
    font-size: 18px;
    font-weight: 800;
    color: #694624;
}

.ready-window-countdown {
    font-size: 13px;
    font-weight: 700;
    color: #10B981;
    margin-top: 3px;
}

.drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-clear-btn {
    background: transparent;
    border: 1px solid rgba(255, 247, 238, 0.35);
    color: var(--cream);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 11px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
}

.drawer-clear-btn:hover {
    background: transparent;
    opacity: 0.85;
}

/* Sidebar Details */
.sidebar-customer-details {
    background: #FCF5ED;
    border: 1px solid var(--border-subtle);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 10px;
}

.sidebar-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #694624;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(105, 70, 36, 0.15);
}

.sidebar-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-field-label {
    font-size: 12px;
    font-weight: 700;
    color: #694624;
}

.sidebar-field-label .req {
    color: #B2533E;
}

.sidebar-input {
    width: 100%;
    padding: 8px 12px;
    background: #FFF;
    border: 1px solid rgba(105, 70, 36, 0.25);
    color: #694624;
    font-size: 13.5px;
    border-radius: 0;
    transition: border-color 0.2s;
}

.sidebar-input:focus {
    outline: none;
    border-color: var(--gold);
}

.pickup-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pickup-select-wrap {
    flex: 1;
}

.pickup-time-select {
    width: 100%;
    padding: 8px 10px;
    background: #FFF;
    border: 1px solid rgba(105, 70, 36, 0.3);
    color: #694624;
    font-size: 13px;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.2s;
}

.pickup-time-select:focus {
    outline: none;
    border-color: var(--gold);
}

.pickup-window-summary {
    font-size: 12px;
    color: #694624;
    background: rgba(105, 70, 36, 0.05);
    padding: 6px 10px;
    border-left: 3px solid var(--gold);
    line-height: 1.4;
}

/* =========================================================
   11. RESPONSIVE UTILITIES & MOBILE
========================================================= */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 860px) {
    .navbar {
        height: 72px;
        padding: 0 16px;
    }
    .navbar-logo {
        width: 44px;
        height: 44px;
    }
    .logo-holder {
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }
    .navbar-logo-img {
        border-radius: 50%;
    }
    .navbar-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: #FAF4ED;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 24px;
        gap: 2px;
        box-shadow: 0 16px 36px rgba(40, 20, 10, 0.2);
        border-top: 1px solid rgba(105, 70, 36, 0.12);
        border-bottom: 3px solid var(--gold);
        z-index: 1050;
    }
    .navbar-links.mobile-open {
        display: flex;
        animation: mobileNavFade 0.22s ease-out;
    }
    @keyframes mobileNavFade {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .navbar-links a {
        width: 100%;
        font-size: 16px;
        font-weight: 700;
        color: #694624;
        padding: 13px 16px;
        border-radius: 6px;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(105, 70, 36, 0.08);
        transition: opacity 0.15s ease;
    }
    .navbar-links a:hover {
        background: transparent;
        opacity: 0.85;
    }
    .navbar-links a.active {
        background: #F4ECE3;
        color: #694624;
        font-weight: 800;
        border-left: 4px solid var(--gold);
        padding-left: 12px;
    }
    .menu-toggle {
        display: inline-flex;
        width: 38px;
        height: 38px;
        margin-left: 8px;
        border: 1.5px solid #694624;
        border-radius: 50%;
        background: #FAF4ED;
        color: #694624;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 0;
        box-shadow: 0 1px 3px rgba(105, 70, 36, 0.08);
    }
    .menu-toggle svg {
        width: 18px;
        height: 18px;
    }
    .navbar-right-group {
        gap: 8px;
        flex-shrink: 0;
    }
    .nav-active-order-btn,
    .nav-active-order-pill {
        height: 38px;
        padding: 0 12px;
        border-radius: 40px;
        font-size: 11.5px;
        max-width: 180px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .account-button {
        height: 38px;
        padding: 0 12px;
        border-radius: 40px;
        font-size: 11.5px;
    }
    .cart-button {
        height: 38px;
        padding: 0 12px;
        border-radius: 40px;
        font-size: 11.5px;
    }
    #globalOrderModalBackdrop.modal-backdrop {
        padding: 0 !important;
        inset: 0 !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        background: rgba(30, 15, 5, 0.72) !important;
    }
    .order-modal,
    #globalOrderModal.order-modal {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        border: none !important;
        transform: none !important;
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #FFFDF9 !important;
        z-index: 1301 !important;
        box-sizing: border-box !important;
    }
    .modal-left,
    #globalOrderModal .modal-left {
        width: 100% !important;
        height: 145px !important;
        min-height: 135px !important;
        max-height: 155px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .modal-image-wrapper,
    #globalOrderModal .modal-image-wrapper {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .modal-drink-img,
    #globalOrderModal .modal-drink-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .modal-right,
    #globalOrderModal .modal-right {
        padding: 14px 16px 110px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 0 auto !important;
        gap: 14px !important;
        box-sizing: border-box !important;
    }
    .modal-size-grid,
    #globalOrderModal .modal-size-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .modal-size-card,
    #globalOrderModal .modal-size-card {
        padding: 9px 8px !important;
        min-height: 52px !important;
    }
    #globalOrderModal .modal-time-range-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
    }
    #globalOrderModal .modal-time-field {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    #globalOrderModal .modal-time-input {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        padding: 8px 10px !important;
    }
    .modal-qty-picker button {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .modal-close-btn,
    #globalOrderModal .modal-close-btn {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 2px 10px rgba(40, 20, 10, 0.25) !important;
        z-index: 1305 !important;
        border-radius: 50% !important;
    }
    .modal-sticky-actions,
    #globalOrderModal .modal-sticky-actions {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #FFFDF9 !important;
        padding: 10px 16px max(14px, env(safe-area-inset-bottom, 14px)) 16px !important;
        margin-top: 0 !important;
        border-top: 1.5px solid rgba(105, 70, 36, 0.15) !important;
        box-shadow: 0 -4px 18px rgba(40, 20, 10, 0.12) !important;
        z-index: 1302 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 600px) {
    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
    }
    .drawer-header {
        padding: 16px 18px;
    }
    .drawer-body {
        padding: 16px 18px;
    }
    .drawer-footer {
        padding: 16px 18px;
    }
    .cart-qty-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .checkout-input {
        height: 46px;
        font-size: 16px;
        padding: 10px 14px;
    }
    .pickup-time-select {
        height: 46px;
        font-size: 15px;
    }
    .payment-method-selector {
        flex-direction: column;
        gap: 8px;
    }
    .pay-method-card {
        padding: 12px 14px;
    }
    .checkout-btn {
        height: 50px;
        font-size: 13.5px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .toast-container {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
    }
    .toast {
        width: 100%;
        font-size: 13px;
        padding: 10px 14px;
    }
    .order-success-modal {
        width: min(420px, 94vw);
        padding: 22px 18px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 62px;
        padding: 0 10px;
    }
    .navbar-logo {
        width: 38px;
        height: 38px;
    }
    .logo-holder {
        width: 38px;
        height: 38px;
    }
    .navbar-links {
        top: 62px;
        max-height: calc(100vh - 62px);
        padding: 12px 16px 20px;
    }
    .navbar-right-group {
        gap: 6px;
        flex-shrink: 0;
    }
    .nav-active-order-btn,
    .nav-active-order-pill {
        padding: 0 8px;
        font-size: 11px;
        height: 36px;
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .nav-active-order-btn span#navActiveOrderText {
        display: inline;
        font-size: 11px;
        font-weight: 700;
    }
    .compact-cart-row {
        gap: 10px;
        padding: 10px;
    }
    .cart-item-thumb-box {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    .account-button {
        height: 36px;
        width: 36px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .account-label {
        display: none;
    }
    .cart-button {
        height: 36px;
        border-radius: 40px;
        padding: 0 9px;
        font-size: 11.5px;
        gap: 5px;
    }
    .cart-label {
        font-size: 11px;
    }
    .menu-toggle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        margin-left: 6px;
        padding: 0;
    }
}

@media (max-width: 360px) {
    .navbar {
        padding: 0 6px;
    }
    .navbar-right-group {
        gap: 4px;
    }
    .nav-active-order-btn {
        padding: 0 6px;
        height: 34px;
        border-radius: 40px;
    }
    .account-button {
        padding: 0;
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }
    .cart-button {
        padding: 0 7px;
        height: 34px;
        border-radius: 40px;
    }
    .cart-label {
        display: none;
    }
    .menu-toggle {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        margin-left: 4px;
    }
}

/* Navbar Right Group & Active Order Status Button */
.navbar-right-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-active-order-btn,
.nav-active-order-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border-radius: 40px;
    background: #FAF3EA;
    border: 1.5px solid #694624;
    color: #694624;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(105, 70, 36, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-active-order-btn:hover,
.nav-active-order-pill:hover {
    background: #F1E5D5;
    border-color: #55371c;
    transform: translateY(-1px);
}

.nav-active-order-btn:active,
.nav-active-order-pill:active {
    transform: translateY(0);
}

.nav-active-order-btn.ready {
    background: #D1FAE5;
    border-color: #059669;
    color: #065F46;
}

.nav-active-order-btn.ready .nav-order-icon-badge {
    color: #065F46;
}

.nav-order-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #694624;
    flex-shrink: 0;
}

.nav-order-icon-badge svg {
    display: block;
}

.active-pulse-dot {
    display: none !important;
}

/* Drawer Navigation Tabs */
.drawer-nav-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px;
    border-radius: 6px;
}

.drawer-tab-btn {
    border: none;
    background: transparent;
    color: var(--cream);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.18s ease;
}

.drawer-tab-btn:hover {
    color: var(--cream);
    opacity: 0.85;
}

.drawer-tab-btn.active {
    background: #FFF;
    color: #694624;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.drawer-tab-badge {
    background: var(--gold);
    color: #694624;
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

.drawer-tab-btn.active .drawer-tab-badge {
    background: #694624;
    color: #FFF;
}

.drawer-tab-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

/* Clean Customer Orders View */
.clean-orders-view {
    display: none;
    flex-direction: column;
    height: 100%;
}

.clean-orders-view.active {
    display: flex;
}

.clean-order-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #694624;
    margin: 16px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clean-order-card {
    background: #FFF;
    border: 1px solid rgba(105, 70, 36, 0.14);
    padding: 16px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.clean-order-card:hover {
    border-color: rgba(105, 70, 36, 0.28);
    box-shadow: 0 3px 10px rgba(105, 70, 36, 0.05);
}

.clean-order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.clean-order-id {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #694624;
}

.clean-status-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
    background: #FAF2E8;
    color: #694624;
}

.clean-status-pill.preparing {
    background: #FEF3C7;
    color: #92400E;
}

.clean-status-pill.ready {
    background: #D1FAE5;
    color: #065F46;
}

.clean-status-pill.completed {
    background: #F3F4F6;
    color: #4B5563;
}

.clean-order-timing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #694624;
    margin-bottom: 8px;
}

.clean-order-timer {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: #065F46;
    background: #ECFDF5;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 12px;
}

.clean-order-items {
    font-size: 13px;
    color: #694624;
    line-height: 1.4;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(105, 70, 36, 0.12);
}

.clean-order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}

.clean-order-price {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #694624;
}

.btn-clean-staff-action {
    background: #FAF2E8;
    border: 1px solid rgba(105, 70, 36, 0.22);
    color: #694624;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clean-staff-action:hover {
    background: #FAF2E8;
    opacity: 0.85;
}

.btn-clean-staff-action.ready {
    background: #ECFDF5;
    color: #065F46;
    border-color: #A7F3D0;
    font-weight: 700;
}

.btn-clean-staff-action.ready:hover {
    background: #ECFDF5;
    opacity: 0.85;
}

/* =========================================================
   ACCOUNT NAVBAR BUTTON & MODAL
   ========================================================= */
.account-button {
    height: 40px;
    padding: 0 16px;
    border-radius: 40px;
    background: transparent;
    border: 1.5px solid #694624;
    color: #694624;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(105, 70, 36, 0.06);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.account-button:hover {
    background: #694624;
    color: var(--cream);
    transform: translateY(-1px);
}

.account-icon-holder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-icon-holder svg {
    display: block;
}

/* Account Modal Styling */
.account-modal-card {
    background: #FFFFFF;
    border-radius: 10px;
    max-width: 460px;
    width: 90%;
    position: relative;
    padding: 32px 28px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(105, 70, 36, 0.18);
    display: flex;
    flex-direction: column;
}

.account-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F4EBE2;
    border: none;
    color: #694624;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.account-modal-close-btn:hover {
    background: #E8DACB;
}

.account-modal-header {
    margin-bottom: 18px;
    text-align: left;
}

.account-modal-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.account-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #694624;
    margin: 0;
}

.account-modal-intro {
    font-size: 13.5px;
    line-height: 1.55;
    color: #55381D;
    margin: 0 0 18px;
}

.btn-facebook-auth {
    width: 100%;
    height: 44px;
    background: #1877F2;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.25);
}

.btn-facebook-auth:hover {
    background: #1464CA;
    transform: translateY(-1px);
}

.account-fb-notice {
    margin-top: 12px;
    padding: 12px 14px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #92400E;
}

.account-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 16px;
    color: rgba(105, 70, 36, 0.45);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.account-divider::before,
.account-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(105, 70, 36, 0.18);
}

.account-divider span {
    padding: 0 10px;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.account-field label {
    font-size: 12px;
    font-weight: 700;
    color: #694624;
}

.account-input {
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid rgba(105, 70, 36, 0.25);
    border-radius: 5px;
    background: #FAF6F0;
    font-family: inherit;
    font-size: 13.5px;
    color: #382010;
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.account-input:focus {
    border-color: #694624;
    background: #FFFFFF;
}

.btn-account-primary {
    height: 44px;
    background: #694624;
    color: var(--cream);
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.btn-account-primary:hover {
    opacity: 0.93;
    transform: translateY(-1px);
}

.btn-account-outline {
    height: 40px;
    background: transparent;
    color: #694624;
    border: 1.5px solid #694624;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease;
}

.btn-account-outline:hover {
    background: #FAF2E8;
}

.account-disclaimer {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(105, 70, 36, 0.65);
    margin: 14px 0 0;
    text-align: center;
}

.account-profile-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.account-avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FAF2E8;
    border: 2px solid #694624;
    color: #694624;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.account-user-name {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #694624;
    margin: 0 0 4px;
}

.account-user-meta {
    font-size: 12.5px;
    color: #7B522A;
    margin: 0 0 12px;
}

.account-provider-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 22px;
}

.account-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Account Modal Navigation Tabs */
.account-tabs {
    display: flex;
    background: #F4EBE2;
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 18px;
    gap: 4px;
}

.account-tab-btn {
    flex: 1;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #694624;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-tab-btn.active {
    background: #FFFFFF;
    color: #50351A;
    box-shadow: 0 2px 6px rgba(105, 70, 36, 0.12);
}

.account-tab-btn:hover:not(.active) {
    color: #382010;
}

/* Password Input with Show/Hide Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .account-input {
    width: 100%;
    padding-right: 42px;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8C6C46;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.password-toggle-btn:hover {
    color: #50351A;
}

/* Forgot Password Row */
.account-forgot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.account-forgot-link {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #9D6B3E;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    transition: color 0.15s ease;
}

.account-forgot-link:hover {
    color: #694624;
}

.account-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #694624;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 14px;
    transition: transform 0.15s ease;
}

.account-back-btn:hover {
    transform: translateX(-2px);
}

/* Alerts & Status Notices */
.account-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.account-alert.error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.account-alert.success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.account-alert.info {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
}

/* OTP Specific Styling */
.otp-input-field {
    height: 48px;
    font-family: 'Poppins', monospace, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 12px;
    text-align: center;
    padding-left: 18px;
    background: #FAF4ED;
    border: 2px solid #C49A6C;
    border-radius: 8px;
    color: #50351A;
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.otp-input-field:focus {
    border-color: #694624;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(105, 70, 36, 0.15);
}

.otp-timer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #7B522A;
    margin-top: 8px;
    padding: 6px 0;
}

.otp-resend-btn {
    background: none;
    border: none;
    color: #9D6B3E;
    font-weight: 700;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.otp-resend-btn:disabled {
    color: #A38C7A;
    text-decoration: none;
    cursor: not-allowed;
}

.otp-demo-pill {
    background: #FEF3C7;
    border: 1px dashed #D97706;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: #92400E;
    margin: 10px 0;
    text-align: center;
}

.account-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.account-role-badge.admin,
.account-role-badge.staff {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.account-role-badge.customer {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

/* =========================================================
   PRODUCT MODAL: PREFERRED PICKUP TIME SELECTION
   Dual arrival window inputs with real-time feedback
   ========================================================= */
.modal-time-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(105, 70, 36, 0.18);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.modal-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.modal-time-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #50351A;
}

.modal-time-hint {
    font-size: 11px;
    font-weight: 600;
    color: #8C5325;
}

.modal-time-range-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    background: #FAF4EC;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(105, 70, 36, 0.18);
}

.modal-time-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-time-sublabel {
    font-size: 10.5px;
    font-weight: 700;
    color: #7B4B22;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-time-range-sep {
    font-size: 12px;
    font-weight: 700;
    color: #8C5325;
    margin-top: 14px;
}

.modal-time-input {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    background: #FFFFFF;
    border: 1.5px solid rgba(105, 70, 36, 0.22);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #50351A;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.modal-time-input:focus {
    border-color: #694624;
    box-shadow: 0 0 0 2px rgba(105, 70, 36, 0.15);
}

.modal-time-validation {
    font-size: 11.5px;
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1.4;
    font-weight: 500;
}

.modal-time-validation.valid {
    background: #E8F5E9;
    color: #1E6B38;
    border: 1px solid rgba(30, 107, 56, 0.2);
}

.modal-time-validation.error {
    background: #FDF2F0;
    color: #B8332A;
    border: 1px solid rgba(184, 51, 42, 0.25);
    font-weight: 600;
}

.val-check-icon {
    font-weight: 800;
    margin-right: 3px;
}

.val-subnote {
    opacity: 0.85;
    font-size: 10.5px;
}

.modal-time-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(105, 70, 36, 0.72);
    line-height: 1.35;
    margin: 2px 0 0;
}

/* =========================================================
   PROFESSIONAL MODAL QUANTITY CONTROLS & ADD TO CART
   Tactile, polished e-commerce design with single-line layout
   ========================================================= */
.modal-qty-controls-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.modal-qty-stepper-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.modal-qty-stepper {
    display: inline-flex;
    align-items: center;
    height: 48px;
    background: #F4ECE3;
    border: 1.5px solid rgba(105, 70, 36, 0.22);
    border-radius: 10px;
    padding: 3px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(105, 70, 36, 0.05);
    transition: border-color 0.18s ease;
}

.modal-qty-stepper:focus-within {
    border-color: #694624;
}

.modal-qty-stepper .modal-qty-btn {
    width: 36px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 7px;
    color: #694624;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.modal-qty-stepper .modal-qty-btn:hover {
    background: #E8DCCF;
    color: #4A2E14;
}

.modal-qty-stepper .modal-qty-btn:active {
    transform: scale(0.92);
}

.modal-qty-stepper .modal-qty-display {
    min-width: 34px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #50351A;
    font-variant-numeric: tabular-nums;
    user-select: none;
    border: none;
}

.modal-add-btn {
    flex: 1;
    min-width: 0;
    height: 48px;
    background: #694624;
    color: #FFFDF9;
    border: 1.5px solid #694624;
    border-radius: 10px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(105, 70, 36, 0.22);
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
    box-sizing: border-box;
}

.modal-add-btn:hover {
    background: #50351A;
    border-color: #50351A;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(105, 70, 36, 0.28);
}

.modal-add-btn:active {
    transform: translateY(0);
}

.modal-add-btn-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #FFFDF9;
    white-space: nowrap;
}

.modal-add-btn-subtotal {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #F8E6C8;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    padding-left: 10px;
}

.modal-item-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    background: #FDF2F0;
    border: 1.5px solid rgba(184, 51, 42, 0.25);
    border-radius: 10px;
    color: #B8332A;
    font-size: 12px;
    font-weight: 700;
    padding: 0 14px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.modal-item-remove-btn:hover {
    background: #FAE4E2;
    border-color: rgba(184, 51, 42, 0.45);
}

@media (max-width: 600px) {
    .account-button {
        padding: 0 10px;
        height: 38px;
    }
    .account-label {
        display: none;
    }
}


