/**
 * public/css/style.css
 * 瑞哥雞肉飯(五股店) - 白色系玻璃擬物化 (White Glassmorphism Theme)
 * 曆誨𣇉雯身閮摮賂璆萇陛賬餌移蝺駁苊敶梯撟單擧腹
 */

 :root {
    --primary-color: #ea580c; /* 銝餉�撘瑁矽�莎�皞急�璈条� (Sunset Orange) */
    --primary-light: #f97316; /* 甈∟�撘瑁矽�莎��𦒘漁璈䁅𠧧 */
    --secondary-color: #f3f4f6; /* �厰�����賣�摮㛖�摨閗𠧧 */
    --accent-color: #fbbf24; /* 暺䂿韌�莎��煾��� */
    
    /* 銝剜�扯𠧧敶� */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc; /* 銝駁��峕艶嚗䔶蝙�冽扔瘛箇��瑁矽�啁蒾 */
    --bg-white: rgba(255, 255, 255, 0.4);
    
    /* UI ��辣��彍 */
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    
    /* �餌��祉��𣇉鸌�� */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-hover: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    /* �啣蔣 */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
    
    /* �閧𧞄�擧腹 */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* �箇�閮剖� */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 蝳�鍂 iOS �蹱�蝮格𦆮�� 300ms 暺墧�撱園� */
    touch-action: manipulation;
}

body {
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    color: var(--text-main);
    /* �牐��閙���滓�脫撓撅方��荔�霈㮖��寧��餌�����賊＊�箔� */
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* �箏𤐄摰𡁜�閬賢��鞟�蝛粹� */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================== �梁鍂�餌��Ｘ踎 (Glass Panel) ================== */
.glass-panel, .glass-card, .cart-glass-panel, .checkout-glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
}

/* ================== �厰�閮剛� ================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.4);
    color: white;
}

.btn-secondary {
    background-color: var(--glass-bg);
    backdrop-filter: blur(8px);
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: var(--primary-color);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.2rem;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    letter-spacing: 1px;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ================== 撠舘汗�� Navbar ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1rem 0;
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start; /* 蝣箔��批捆�惩椰 */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 銝𧢲�撘誯��格見撘� (Dropdown) */
.dropdown {
    position: relative;
    display: inline-block;
}

/* �勗耦璈𧢲�嚗𡁜‵鋆� dropdown �� dropdown-content 銋钅���征�辷��脫迫皛煾�蝬㯄� margin ���憭� */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: transparent;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    padding: 0.5rem 0;
    z-index: 1100;
    border: 1px solid var(--glass-border);
    margin-top: 0.5rem;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: rgba(26, 26, 46, 0.05);
    color: var(--primary-color);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    color: var(--primary-color) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.cart-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: white !important;
    box-shadow: var(--shadow-hover);
}

.cart-btn::after {
    display: none;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-toggle:hover {
    background: var(--glass-bg-hover);
}

.main-content {
    min-height: calc(100vh - 300px);
    padding-top: 5rem;
}

/* ================== Hero 撱����憛� ================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1512485800893-b08ec1ea59b1?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 頛��鈭桃��𢠃�𤩺��桃蔗嚗䔶誑蝚血��質𠧧蝟颱蜓憿� */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    padding: 3.5rem;
    max-width: 650px;
    color: var(--text-main);
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.hero-title span {
    /* �滨蒾�𣇉鸌�亦��箇�璅䠷� */
    background: linear-gradient(135deg, #1f2937, #4b5563);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================== �寡𠧧�𣇉內��憛� ================== */
.feature-highlights {
    padding: 5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.highlight-item {
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.highlight-item:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.highlight-item h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.3rem;
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================== �𨅯鱓��㨃��身閮� ================== */
.section-header {
    text-align: center;
    margin: 5rem 0 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
}

.menu-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    background: var(--glass-bg-hover);
}

.card-img-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    margin: 0.5rem 0.5rem 0;
    border-radius: calc(var(--border-radius-lg) - 8px);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-card:hover .card-img {
    transform: scale(1.08);
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26,26,46,0.8);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
}

.card-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

/* ================== Page Headers (�𨅯鱓��頃�抵���𢒰���) ================== */
.page-header {
    padding: 4rem 0 2.5rem;
    text-align: center;
    margin-top: -5rem;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(253, 251, 251, 0.8) 0%, rgba(235, 237, 238, 0.8) 100%);
    z-index: -1;
}

.page-header-compact {
    padding: 4rem 0 2.5rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(26,26,46,0.2);
    transform: translateY(-2px);
}

/* ================== 鞈潛�頠𢠃��� (��𢒰��𠧧) ================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 5rem;
}

.cart-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-glass-panel, .checkout-glass-panel {
    padding: 2.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    margin-right: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.cart-item-price {
    color: var(--text-muted);
    font-weight: 700;
}

/* �賊��批� */
.qty-controls {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.8);
    border-radius: 50px;
    padding: 0.25rem;
    margin: 0 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 800;
    color: var(--text-main);
}

.remove-item {
    color: #ef4444;
    background: #fee2e2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* 閮�鱓�䁅���”�� */
.order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.total-row {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main) !important;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(0,0,0,0.1);
}

.price-highlight {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    transition: var(--transition-fast);
    background: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(26,26,46,0.1);
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.text-center { text-align: center; }

/* 鞈潛�頠羓�蝛箸���見撘� */
.empty-cart-message {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4.5rem;
    color: rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

/* 敶�枂閬𣇉� Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 450px;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 3rem 2rem;
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: #10b981;
}

/* ================== �桀�閬��撅� (Sold-Out Overlay) ================== */
.sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}

.sold-out-overlay span {
    background: rgba(100, 100, 100, 0.9);
    color: white;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    letter-spacing: 3px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.menu-card.sold-out {
    opacity: 0.85;
}

.menu-card.sold-out:hover {
    transform: none;
}

.sold-out-btn {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    font-weight: 700;
}

/* ================== 甇瑕蟮閮�鱓�𡑒” (History Page) ================== */
.history-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.history-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================== Footer ��� ================== */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    margin-top: 4rem;
    color: var(--text-main);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h3, .footer h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================== RWD �踵�撘讛身摰� ================== */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        text-align: center;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin: 0;
    }

    .nav-actions {
        width: auto;
        display: flex;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-text {
        padding: 2.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    /* 鞈潛�頠𦠜�璈毺��芸��脰��� */
    .cart-glass-panel, .checkout-glass-panel {
        padding: 1.5rem 1rem;
    }
    
    .cart-item {
        flex-wrap: wrap;
        position: relative;
        padding: 1.25rem 0;
        text-align: left;
    }
    
    .cart-item-img {
        width: 75px;
        height: 75px;
        margin-right: 1.2rem;
        margin-left: 0;
    }
    
    .cart-item-details {
        margin-right: 35px;
        display: block;
    }
    
    .qty-controls {
        margin: 1.2rem 0;
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        background: rgba(0,0,0,0.03);
        border-radius: 16px;
    }
    
    .qty-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        box-shadow: var(--shadow-md);
    }
    
    .qty-input {
        width: 60px;
        font-size: 1.4rem;
    }
    
    .remove-item {
        position: absolute;
        top: 1rem;
        right: 0;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    /* �芣�隞�Ⅳ���笔��� */
    #promo-code {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
    
    #apply-promo-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* ================== Dining Selector (Segmented Control) ================== */
.dining-selector {
    display: flex;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px;
    border-radius: 16px;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    justify-content: space-between; /* 蝣箔��拙�钅����撣�銁撌血𢰧 */
}

.dining-selector input[type="radio"] {
    display: none;
}

.dining-option-btn {
    flex: 0 0 50%; /* 撘瑕�雿娍� 50% 撖砍漲 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-normal);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.3rem;
    margin: 0;
    text-align: center;
}

.dining-option-btn i {
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.dining-selector input[type="radio"]:checked + .dining-option-btn {
    color: var(--primary-color);
}

.dining-selector input[type="radio"]:checked + .dining-option-btn i {
    transform: scale(1.15);
}

/* Glider (皛烐▼���) */
.selector-glider {
    position: absolute;
    width: calc(50% - 12px); /* ��膄撌血𢰧�� 6px padding */
    height: calc(100% - 12px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    top: 6px;
    left: 6px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

#method-delivery:checked ~ .selector-glider {
    transform: translateX(calc(100% + 12px)); /* �穃𢰧蝘餃�銝��见祝摨血�銝𢠃�頝� */
}

#method-pickup:checked ~ .selector-glider {
    transform: translateX(0);
}

/* ================== 鞈潛�頠𡃏”�桀�隞� (Form Controls) ================== */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: var(--border-radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.form-text {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.input-group {
    display: flex;
    align-items: stretch;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.8);
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.input-group .form-control {
    border: none;
    border-radius: 0;
    flex: 1;
    box-shadow: none;
}

.input-group .form-control:focus {
    box-shadow: none;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: rgba(0,0,0,0.04);
    border-right: 1px solid rgba(0,0,0,0.08);
    color: var(--text-muted);
}

.btn-outline-primary {
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(0,0,0,0.08);
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0;
}

.btn-outline-primary:hover {
    background: rgba(234, 88, 12, 0.1);
}

/* �券��孵��詨㨃�� (method-option / method-card) */
.method-option {
    cursor: pointer;
}

.method-option input[type="radio"] {
    display: none;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.7);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.25s;
    text-align: center;
}

.method-card i {
    font-size: 1.4rem;
}

.method-option input[type="radio"]:checked + .method-card {
    border-color: var(--primary-color);
    background: rgba(234, 88, 12, 0.08);
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.15);
}

/* ================== �𡁶鍂 Utility Classes ================== */
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.flex-grow-1 { flex: 1 1 auto; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-3 { gap: 1rem !important; }
.w-100 { width: 100% !important; }
.p-4 { padding: 1.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.h4 { font-size: 1.4rem; }
.h5 { font-size: 1.1rem; }
.text-primary { color: var(--primary-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: #10b981 !important; }
.font-weight-bold { font-weight: 700 !important; }
.order-number { font-size: 1.05rem; color: var(--text-muted); margin-top: 0.5rem; }
.page-title { font-size: 1.8rem; font-weight: 900; color: var(--primary-color); margin-bottom: 1.5rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -0.5rem; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 0.5rem; box-sizing: border-box; }
@media (max-width: 768px) {
    .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    .row { flex-direction: column; }
}
.g-3 { gap: 1rem; }

/* �嘥�鞈潛�頠𢠃��Ｙ��寞�隤踵㟲 */
.cart-page .main-content {
    padding-top: 2rem !important; /* ��𧋦�� 5rem */
}

.cart-page .page-title {
    margin-top: -0.5rem;
    margin-bottom: 1.2rem;
}

/* 優惠碼錯誤震動動畫 */
.shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    border-color: #ef4444 !important;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}
 
 / *   = = = = = = = = = = = = = = = = = =   [o pdQ? ? ? b? ? ? ( C a r t   T i m e   P i c k e r )   = = = = = = = = = = = = = = = = = =   * /  
 . t i m e - t r i g g e r - c a r d   {  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 6 ) ;  
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ;  
         - w e b k i t - b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ;  
         b o r d e r :   1 . 5 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ;  
         b o r d e r - r a d i u s :   1 6 p x ;  
         p a d d i n g :   1 8 p x   2 0 p x ;  
         c u r s o r :   p o i n t e r ;  
         t r a n s i t i o n :   a l l   0 . 2 s ;  
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 0 5 ) ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
 }  
 . t i m e - t r i g g e r - c a r d : h o v e r   {   t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ;   b a c k g r o u n d :   # f f f ;   b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;   }  
 . t r i g g e r - c o n t e n t   {   w i d t h :   1 0 0 % ;   d i s p l a y :   f l e x ;   j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;   a l i g n - i t e m s :   c e n t e r ;   }  
 . s e l e c t e d - l a b e l   {   f o n t - w e i g h t :   8 0 0 ;   f o n t - s i z e :   1 . 1 r e m ;   c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;   }  
 . t r i g g e r - a r r o w   {   c o l o r :   # 9 4 a 3 b 8 ;   t r a n s i t i o n :   t r a n s f o r m   0 . 3 s ;   }  
 . t i m e - t r i g g e r - c a r d : a c t i v e   . t r i g g e r - a r r o w   {   t r a n s f o r m :   t r a n s l a t e X ( 5 p x ) ;   }  
  
 / *   = = =   uPhI  M o d a l   O v e r l a y   = = =   * /  
 . t i m e - d r a w e r - o v e r l a y   {  
         p o s i t i o n :   f i x e d ;   i n s e t :   0 ;  
         b a c k g r o u n d :   r g b a ( 1 5 ,   2 3 ,   4 2 ,   0 . 2 8 ) ;  
         b a c k d r o p - f i l t e r :   b l u r ( 6 p x ) ;  
         - w e b k i t - b a c k d r o p - f i l t e r :   b l u r ( 6 p x ) ;  
         z - i n d e x :   1 0 0 0 0 ;  
         d i s p l a y :   n o n e ;  
         o p a c i t y :   0 ;  
         t r a n s i t i o n :   o p a c i t y   0 . 2 5 s   e a s e ;  
         a l i g n - i t e m s :   c e n t e r ;  
         j u s t i f y - c o n t e n t :   c e n t e r ;  
         p a d d i n g :   2 0 p x ;  
         b o x - s i z i n g :   b o r d e r - b o x ;  
 }  
 . t i m e - d r a w e r - o v e r l a y . s h o w   {  
         d i s p l a y :   f l e x ;  
         o p a c i t y :   1 ;  
 }  
  
 / *   = = =   M o d a l   P a n e l   ( uPhI)   = = =   * /  
 . t i m e - d r a w e r - c o n t e n t   {  
         p o s i t i o n :   r e l a t i v e ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 6 0 d e g ,   # f f f f f f   0 % ,   # f 8 f a f c   1 0 0 % ) ;  
         b o r d e r - r a d i u s :   2 0 p x ;  
         z - i n d e x :   1 0 0 0 1 ;  
         p a d d i n g :   2 0 p x   2 0 p x   1 6 p x ;  
         w i d t h :   1 0 0 % ;  
         m a x - w i d t h :   4 0 0 p x ;  
         h e i g h t :   a u t o ;  
         o v e r f l o w - y :   a u t o ;  
         b o x - s h a d o w :   0   8 p x   4 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 2 ) ,   0   2 p x   8 p x   r g b a ( 0 , 0 , 0 , 0 . 0 6 ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 2 6 ,   2 3 2 ,   2 4 0 ,   0 . 8 ) ;  
         t r a n s f o r m :   t r a n s l a t e Y ( 1 2 p x )   s c a l e ( 0 . 9 7 ) ;  
         o p a c i t y :   0 ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 2 8 s   c u b i c - b e z i e r ( 0 . 3 4 ,   1 . 5 6 ,   0 . 6 4 ,   1 ) ,   o p a c i t y   0 . 2 2 s   e a s e ;  
 }  
 . t i m e - d r a w e r - o v e r l a y . s h o w   . t i m e - d r a w e r - c o n t e n t   {  
         t r a n s f o r m :   t r a n s l a t e Y ( 0 )   s c a l e ( 1 ) ;  
         o p a c i t y :   1 ;  
 }  
  
 . d r a w e r - h e a d e r   {  
         d i s p l a y :   f l e x ;   j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;   a l i g n - i t e m s :   c e n t e r ;  
         m a r g i n - b o t t o m :   1 4 p x ;  
 }  
 . d r a w e r - h e a d e r   h 3   {   m a r g i n :   0 ;   f o n t - w e i g h t :   8 0 0 ;   c o l o r :   # 1 e 2 9 3 b ;   f o n t - s i z e :   0 . 9 5 r e m ;   }  
 . d r a w e r - c l o s e   {  
         b a c k g r o u n d :   # f 1 f 5 f 9 ;   b o r d e r :   n o n e ;  
         w i d t h :   3 0 p x ;   h e i g h t :   3 0 p x ;   b o r d e r - r a d i u s :   5 0 % ;  
         c o l o r :   # 9 4 a 3 b 8 ;   c u r s o r :   p o i n t e r ;   f o n t - s i z e :   0 . 8 r e m ;  
         d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   j u s t i f y - c o n t e n t :   c e n t e r ;  
         t r a n s i t i o n :   b a c k g r o u n d   0 . 2 s ,   c o l o r   0 . 2 s ;  
 }  
 . d r a w e r - c l o s e : h o v e r   {   b a c k g r o u n d :   # e 2 e 8 f 0 ;   c o l o r :   # 1 e 2 9 3 b ;   }  
  
 . t i m e - c h i p s - g r i d   {   d i s p l a y :   g r i d ;   g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( 3 ,   1 f r ) ;   g a p :   8 p x ;   }  
 . t i m e - c h i p   {  
         b a c k g r o u n d :   # f f f ;   b o r d e r :   1 . 5 p x   s o l i d   # e 2 e 8 f 0 ;  
         b o r d e r - r a d i u s :   1 0 p x ;   p a d d i n g :   1 1 p x   6 p x ;  
         t e x t - a l i g n :   c e n t e r ;   f o n t - w e i g h t :   7 0 0 ;   c o l o r :   # 4 7 5 5 6 9 ;  
         c u r s o r :   p o i n t e r ;   t r a n s i t i o n :   a l l   0 . 1 8 s ;   f o n t - s i z e :   0 . 8 5 r e m ;  
         u s e r - s e l e c t :   n o n e ;   l i n e - h e i g h t :   1 . 2 ;  
 }  
 . t i m e - c h i p : h o v e r   {   b o r d e r - c o l o r :   # a 5 b 4 f c ;   c o l o r :   # 4 f 4 6 e 5 ;   b a c k g r o u n d :   # e e f 2 f f ;   }  
 . t i m e - c h i p : a c t i v e   {   t r a n s f o r m :   s c a l e ( 0 . 9 4 ) ;   }  
 . t i m e - c h i p . a c t i v e   {  
         b a c k g r o u n d :   # 6 3 6 6 f 1 ;   c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # 4 f 4 6 e 5 ;  
         b o x - s h a d o w :   0   4 p x   1 4 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 3 5 ) ;  
 }  
 . t i m e - c h i p . a s a p   {  
         g r i d - c o l u m n :   s p a n   3 ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f 5 9 e 0 b ,   # e a 5 8 0 c ) ;  
         c o l o r :   w h i t e ;   b o r d e r :   n o n e ;  
         p a d d i n g :   1 3 p x ;   f o n t - s i z e :   0 . 9 5 r e m ;  
         m a r g i n - b o t t o m :   6 p x ;   b o r d e r - r a d i u s :   1 2 p x ;  
         b o x - s h a d o w :   0   4 p x   1 4 p x   r g b a ( 2 3 4 ,   8 8 ,   1 2 ,   0 . 3 ) ;  
 }  
 . t i m e - c h i p . a s a p : h o v e r   {   o p a c i t y :   0 . 8 8 ;   t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ;   }  
 . t i m e - c h i p . d i s a b l e d   {   o p a c i t y :   0 . 3 5 ;   p o i n t e r - e v e n t s :   n o n e ;   b a c k g r o u n d :   # f 8 f a f c ;   b o r d e r - s t y l e :   d a s h e d ;   }  
  
 / *   ? #? t싉d? * /  
 # t i m e - c h i p s - s c r o l l   {   s c r o l l b a r - w i d t h :   t h i n ;   s c r o l l b a r - c o l o r :   # e 2 e 8 f 0   t r a n s p a r e n t ;   }  
 # t i m e - c h i p s - s c r o l l : : - w e b k i t - s c r o l l b a r   {   w i d t h :   5 p x ;   }  
 # t i m e - c h i p s - s c r o l l : : - w e b k i t - s c r o l l b a r - t r a c k   {   b a c k g r o u n d :   t r a n s p a r e n t ;   }  
 # t i m e - c h i p s - s c r o l l : : - w e b k i t - s c r o l l b a r - t h u m b   {   b a c k g r o u n d :   # e 2 e 8 f 0 ;   b o r d e r - r a d i u s :   1 0 p x ;   }  
 # t i m e - c h i p s - s c r o l l : : - w e b k i t - s c r o l l b a r - t h u m b : h o v e r   {   b a c k g r o u n d :   # c b d 5 e 1 ;   }  
 

/* ==========================================
 * ? wp\ɶܾ UI
 * ========================================== */
.time-trigger-card {
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: var(--shadow-sm);
}
.time-trigger-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.trigger-content { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.selected-label { font-weight: 700; color: var(--primary-color); font-size: 1.05rem; }
.trigger-arrow { color: var(--text-muted); font-size: 0.9rem; }

.time-drawer-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000; display: none;
    align-items: center; justify-content: center;
    padding: 1.5rem; transition: opacity 0.3s ease;
}
.time-drawer-overlay.show { display: flex; animation: fadeIn 0.3s ease; }

.time-drawer-content {
    background: var(--bg-light);
    width: 100%; max-width: 480px;
    border-radius: 28px; padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.7);
    transform: translateY(20px); transition: transform 0.3s ease;
}
.time-drawer-overlay.show .time-drawer-content { transform: translateY(0); }

.drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.drawer-header h3 { font-size: 1.25rem; font-weight: 900; color: var(--text-main); margin:0!important; }
.drawer-close {
    background: rgba(0,0,0,0.05); border: none; width: 36px; height: 36px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
}
.drawer-close:hover { background: rgba(0,0,0,0.1); color: #ef4444; }

.time-chips-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.time-chip {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 12px 6px; text-align: center; font-size: 0.92rem; font-weight: 600;
    color: #475569; cursor: pointer; transition: all 0.2s;
}
.time-chip:hover:not(.disabled) { border-color: var(--primary-color); color: var(--primary-color); background: #fff7ed; }
.time-chip.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.time-chip.asap { background: #eff6ff; color: #3b82f6; border-color: #bfdbfe; grid-column: span 3; font-weight: 800; margin-bottom: 10px;}
.time-chip.asap.active { background: #3b82f6; color: #fff; border-color: #3b82f6; }
.time-chip.disabled { opacity: 0.5; background: #f1f5f9; cursor: not-allowed; border-style: dashed; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.time-drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; display: none; align-items: center; justify-content: center; } .time-drawer-overlay.show { display: flex; } .time-drawer-content { background: #fff; width: 90%; max-width: 450px; border-radius: 20px; padding: 20px; } .time-chips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .time-chip { padding: 10px; border: 1px solid #ddd; border-radius: 10px; text-align: center; cursor: pointer; } .time-chip.active { background: #ea580c; color: #fff; border-color: #ea580c; }

/* ?? UI j״_G\ɶuN */
#time-drawer-overlay {
    display: none !important;
    position: fixed !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 3000 !important;
    align-items: center; justify-content: center;
}
#time-drawer-overlay.show {
    display: flex !important;
}

