/* FILE: /foodorder/public/css/style.css */

:root {
  --primary: #00813d; /* Premium Green */
  --primary-light: #f0fdf4;
  --primary-dark: #00602e;
  --accent: #00813d; 
  --bg: #fafafa;
  --surface: #ffffff;
  --border: #f2f2f2;
  --text: #1a1a1a;
  --text-muted: #666666;
  --cta: #00813d; 
  --cta-hover: #00602e;
  --shadow-soft: 0 4px 16px rgba(0,0,0,0.04);
  --shadow-premium: 0 12px 32px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* 1. CORE RESET */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Outfit', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; transition: 0.2s; }
img { max-width: 100%; display: block; }

.hidden { display: none !important; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.font-bold { font-weight: 700; }
.font-800 { font-weight: 800; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.italic { font-style: italic; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 24px; }

/* 2. APP HEADER */
.app-header {
    height: 64px;
    background: white;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1500;
    padding: 0 20px;
    box-shadow: 0 1px 0 var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.lang-switcher-top { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; }
.lang-switcher-top a { color: #cbd5e0; padding: 4px; }
.lang-switcher-top a.active { color: var(--primary); }

/* LOCATION PILL SMALL (For Info Block) */
.location-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
    border: 1px solid transparent;
}
.location-info-pill:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.location-info-pill .change-btn { color: var(--primary); font-size: 10px; text-transform: uppercase; margin-left: 4px; border-left: 1px solid #cbd5e1; padding-left: 8px; }

.icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #111; border-radius: 50%; background: #f8fafc; }
.icon-btn:hover { background: #f1f5f9; transform: scale(1.05); }
.logo-wrap { height: 32px; display: flex; align-items: center; cursor: pointer; }
.logo-wrap img { height: 100%; width: auto; }

/* 3. MAIN BODY */
.app-body { padding-top: 64px; padding-bottom: 140px; }

/* HERO AREA */
.hero-section { background: white; padding-bottom: 0; }
.hero-image-wrap { position: relative; height: 180px; background: #eee; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }

.res-info-block { padding: 20px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.res-name { font-size: 24px; font-weight: 900; color: #111; letter-spacing: -0.5px; }
.res-address-text { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.meta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 700; color: #111; }
.rating-pill { color: #f59e0b; background: #fffbeb; padding: 2px 8px; border-radius: 6px; }
.dot { opacity: 0.3; }

/* ORDER TOGGLE (Modern Slider Style) */
.order-toggle-section { max-width: 1200px; margin: 0 auto; padding: 24px 20px 12px 20px !important; }
.toggle-container { 
    display: flex; 
    background: #f1f5f9; 
    padding: 4px; 
    border-radius: 16px; 
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}
.toggle-item {
    flex: 1; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    color: #64748b; font-weight: 700; font-size: 14px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2; cursor: pointer;
}
.toggle-item.active { background: white; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.toggle-item:hover:not(.active) { color: #111; }

/* STICKY TOP CONTROLS */
.sticky-controls-wrapper { position: sticky; top: 64px; background: rgba(255,255,255,0.9); z-index: 1400; border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
.search-bar-modern { padding: 12px 20px; position: relative; max-width: 1200px; margin: 0 auto; }
.search-bar-modern input {
    width: 100%; height: 48px; border: 1.5px solid var(--border); border-radius: 12px;
    padding: 0 16px 0 48px; font-size: 15px; font-weight: 500; outline: none; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.search-bar-modern input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 129, 61, 0.05); }
.search-icon { position: absolute; left: 36px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 18px; }

/* CATEGORY BAR WITH ICON */
.cat-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 24px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.cat-list-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}
.cat-list-icon:hover { border-color: var(--primary); color: var(--primary); }

.cat-scroll-inner { 
    display: flex; 
    overflow-x: auto; 
    gap: 8px; 
    scrollbar-width: none; 
    flex: 1;
}
.cat-pill { padding: 6px 16px; background: white; border: 1.5px solid var(--border); border-radius: 10px; font-size: 13px; font-weight: 700; color: #475569; white-space: nowrap; transition: 0.2s; }
.cat-pill:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.cat-pill.active { background: var(--primary); color: white; border-color: var(--primary); }

/* MENU SECTIONS - ACCORDION STYLE */
.category-section-modern { background: #fff; border-bottom: 1px solid var(--border); }
.cat-header { 
    padding: 20px 24px; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer;
    transition: background 0.2s;
}
.cat-header:hover { background: #fbfcfd; }
.cat-title { font-size: 18px; font-weight: 800; color: #111; margin: 0; }
.cat-chevron { 
    font-size: 14px; 
    color: var(--text-muted); 
    transition: transform 0.3s; 
}
.category-section-modern.active .cat-chevron { transform: rotate(180deg); }
.category-section-modern.active .cat-title { color: var(--primary); }

.items-list-modern { 
    display: none; /* Hidden by default for accordion */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px 24px 24px;
    animation: slideDown 0.3s ease-out;
}
.category-section-modern.active .items-list-modern { display: grid; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
    .items-list-modern { grid-template-columns: 1fr; }
}

.item-row { 
    padding: 20px; 
    background: #fff; 
    border-radius: var(--radius-lg); 
    display: flex; 
    justify-content: space-between; 
    gap: 16px; 
    border: 1px solid var(--border); 
    cursor: pointer; 
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    box-shadow: var(--shadow-soft);
}
.item-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-premium); border-color: #ddd; }

.item-left { flex: 1; display: flex; flex-direction: column; }
.item-title { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 6px; line-height: 1.3; padding-right: 40px; }
.item-desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-price { font-size: 16px; font-weight: 800; color: #111; margin-top: auto; }

.item-right { position: relative; display: flex; align-items: flex-start; }
.item-img { width: 80px; height: 80px; border-radius: var(--radius-md); object-fit: cover; background: #f7fafc; }

/* The industry-standard + button */
.item-row::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    transition: 0.2s;
}
.item-row:hover::after { background: var(--primary); color: #fff; border-color: var(--primary); }

.badge-pop { background: #fef3c7; color: #92400e; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-right: 6px; }

/* FLOATING BASKET (Mobile) */
.basket-wrapper {
    position: fixed; bottom: 0; left: 0; right: 0;
    width: 100%; z-index: 1600; display: flex; flex-direction: column; gap: 12px;
    background: white; padding: 16px 24px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 12px));
    box-shadow: 0 -10px 40px rgba(0,0,0,0.12); border-top: 1px solid #eee;
}
.btn-view-basket {
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 18px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 17px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 129, 61, 0.3);
}.b-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 8px;
    margin-right: 10px;
}

/* MODALS OVERLAYS & BOXES */
.item-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(12px); }
.item-modal-overlay.active { display: flex; }
.item-modal-box { 
    background: white; width: 100%; max-width: 580px; border-radius: var(--radius-xl); 
    overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.15); position: relative; 
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header { padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.modal-item-name { font-size: 24px; font-weight: 900; color: #111; margin: 0; letter-spacing: -0.5px; }
.modal-close-btn { width: 40px; height: 40px; background: #f5f5f5; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #111; border: none; cursor: pointer; transition: 0.2s; }
.modal-close-btn:hover { background: #eee; transform: rotate(90deg); }

.modal-body-scroll { flex: 1; overflow-y: auto; padding: 32px; }
.modifier-group { margin-bottom: 32px; }
.modifier-group-title { font-size: 18px; font-weight: 800; color: #111; display: flex; align-items: center; justify-content: space-between; }
.badge-required { background: #fef2f2; color: #dc2626; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.modifier-option-item { 
    display: flex; align-items: center; gap: 14px; padding: 16px 20px; 
    border: 1.5px solid var(--border); border-radius: var(--radius-md); 
    cursor: pointer; transition: 0.2s; margin-top: 12px;
}
.modifier-option-item:hover { border-color: #ddd; background: #fafafa; }
.modifier-option-item input { width: 20px; height: 20px; cursor: pointer; accent-color: var(--primary); }

.modal-footer { padding: 24px 32px; background: #fff; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 20px; }
.qty-controls { display: flex; align-items: center; background: #f5f5f5; padding: 4px; border-radius: 30px; }
.qty-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #111; font-weight: 600; transition: 0.2s; }
.qty-btn:hover { background: #e5e5e5; }
.qty-value { min-width: 40px; text-align: center; font-weight: 800; font-size: 18px; }

.add-to-cart-btn { 
    flex: 1; height: 56px; background: var(--primary); color: white; border-radius: 28px; 
    font-weight: 800; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0, 129, 61, 0.2);
}
.add-to-cart-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 129, 61, 0.3); }

/* BASKET PAGE PREMIUM STYLES */
.basket-item-card { background: white; border-radius: 20px; padding: 20px; margin-bottom: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); position: relative; }
.basket-item-card .item-title { font-size: 17px; font-weight: 800; color: #111; padding-right: 0; margin-bottom: 4px; }
.basket-item-card .item-price-side { font-size: 17px; font-weight: 800; color: #111; }
.basket-item-card .item-mods { font-size: 13px; color: #666; margin-top: 2px; }
.basket-item-card .add-note-link { font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: underline; display: inline-block; margin-top: 12px; cursor: pointer; }

.qty-control-premium { display: flex; align-items: center; background: #f5f5f5; border-radius: 8px; padding: 4px; gap: 12px; width: fit-content; margin-left: auto; margin-top: 12px; }
.qty-control-premium button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: #111; border-radius: 4px; border: none; background: none; cursor: pointer; }
.qty-control-premium button:hover { background: #e8e8e8; }
.qty-control-premium .qty-val { font-size: 16px; font-weight: 800; color: #111; min-width: 20px; text-align: center; }

.min-order-bar { background: transparent; padding: 16px 0; }
.bar-track { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #00813d !important; transition: 0.5s; }

.checkout-btn-premium { 
    height: 64px; border-radius: 32px; width: 100%; display: flex; align-items: center; justify-content: space-between; 
    padding: 0 32px; font-weight: 900; font-size: 19px; box-shadow: 0 10px 25px rgba(0, 129, 61, 0.3); 
    border: none; color: white; background: var(--primary); cursor: pointer; transition: 0.2s;
}
.checkout-btn-premium:hover { transform: scale(1.02); }

/* SIDEBAR CART REFINEMENTS */
.desktop-cart-sidebar { background: #fbfbfb; border: none; box-shadow: -1px 0 0 var(--border); border-radius: 0; position: sticky; top: 72px; height: calc(100vh - 72px); }
.cart-card { display: flex; flex-direction: column; height: 100%; background: transparent; padding: 0; }
.cart-header { padding: 32px 24px 16px 24px; border: none; font-size: 24px; font-weight: 900; color: #111; display: flex; justify-content: space-between; align-items: center; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-summary { background: transparent; padding: 24px; border-top: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; color: #555; font-weight: 600; }
.summary-row.total { border-top: none; font-size: 24px; font-weight: 900; color: #111; margin-top: 16px; padding-top: 0; }
.cart-footer { padding: 0 24px 32px 24px; border: none; }
.btn-accent { background: var(--primary); color: white; height: 56px; border-radius: 28px; display: flex; align-items: center; justify-content: center; width: 100%; font-weight: 800; font-size: 16px; transition: 0.3s; box-shadow: 0 8px 20px rgba(0, 129, 61, 0.2); }
.btn-accent:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 129, 61, 0.3); }

/* DESKTOP LAYOUT */
@media (min-width: 901px) {
    .app-layout-wrapper { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 0; padding: 0; }
    .app-body { padding-right: 40px; padding-left: 40px; }
    .basket-wrapper { display: none !important; }
}

@media (max-width: 900px) {
    .desktop-cart-sidebar { display: none !important; }
    .app-body { padding-bottom: 180px; }
    .items-list-modern { grid-template-columns: 1fr; }
    .checkout-btn-premium { margin-bottom: 20px; }
}

/* FOOTER */
footer.app-footer {
    padding: 60px 24px;
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 60px;
    text-align: center;
}
footer.app-footer p { font-weight: 700; color: #111; margin-bottom: 12px; font-size: 15px; }
footer.app-footer .footer-links { display: flex; justify-content: center; gap: 24px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
footer.app-footer .footer-links a:hover { color: var(--primary); text-decoration: underline; }

/* CHECKOUT PAGE PREMIUM STYLES */
.checkout-wrapper { background: #fbfcfd; min-height: 100vh; padding-bottom: 80px; padding-top: 72px; }
.checkout-header-bar { background: white; border-bottom: 1px solid #edf2f7; margin-bottom: 40px; }
.checkout-container { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1fr 420px; gap: 40px; padding: 0 24px; }

.checkout-card { background: white; border-radius: 28px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); border: 1.5px solid #edf2f7; margin-bottom: 32px; }
.checkout-title { font-size: 22px; font-weight: 900; color: #1a202c; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 800; color: #4a5568; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input { width: 100%; height: 56px; background: #f8fafc; border: 2px solid #edf2f7; border-radius: 16px; padding: 0 20px; font-size: 16px; font-weight: 600; transition: 0.2s; }
.form-input:focus { border-color: var(--primary); background: white; outline: none; box-shadow: 0 0 0 4px var(--primary-light); }
.form-textarea { width: 100%; background: #f8fafc; border: 2px solid #edf2f7; border-radius: 16px; padding: 18px; font-size: 16px; font-weight: 600; min-height: 120px; transition: 0.2s; resize: none; }
.form-textarea:focus { border-color: var(--primary); background: white; outline: none; box-shadow: 0 0 0 4px var(--primary-light); }

.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.payment-card { cursor: pointer; position: relative; }
.payment-card input { position: absolute; opacity: 0; }
.payment-card-inner { 
    padding: 16px; border: 2px solid #edf2f7; border-radius: 20px; background: #fff; 
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.payment-card-inner .icon { font-size: 28px; }
.payment-card-inner .label { font-weight: 700; color: #4a5568; font-size: 13px; line-height: 1.2; }
.payment-card input:checked + .payment-card-inner { border-color: var(--primary); background: var(--primary-light); transform: scale(1.02); box-shadow: 0 8px 20px rgba(0,129,61,0.1); }
.payment-card input:checked + .payment-card-inner .label { color: var(--primary); }
.payment-card:hover:not(input:checked + .payment-card-inner) { border-color: #cbd5e0; }

/* CHECKOUT ANIMATIONS */
.checkout-card { animation: cardFadeIn 0.5s ease-out backwards; }
.checkout-card:nth-child(2) { animation-delay: 0.1s; }
.checkout-card:nth-child(3) { animation-delay: 0.2s; }
.checkout-card:nth-child(4) { animation-delay: 0.3s; }

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkout-sidebar-card { position: sticky; top: 100px; background: white; border-radius: 28px; border: 1.5px solid #edf2f7; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.04); }
.summary-header { padding: 24px 32px; background: #fbfcfd; border-bottom: 1.5px solid #edf2f7; font-weight: 900; font-size: 18px; color: var(--primary); display: flex; justify-content: space-between; }
.summary-items { padding: 24px 32px; max-height: 450px; overflow-y: auto; }
.summary-item { display: flex; justify-content: space-between; gap: 15px; padding: 16px 0; border-bottom: 1px solid #f8fafc; }
.summary-item:last-child { border-bottom: none; }
.summary-totals { padding: 28px 32px; background: #fff; border-top: 1.5px solid #edf2f7; }

.btn-checkout-complete { 
    height: 60px; background: var(--primary); color: white; border-radius: 16px; 
    width: 100%; display: flex; align-items: center; justify-content: center; 
    font-weight: 800; font-size: 16px; box-shadow: 0 8px 20px rgba(0, 129, 61, 0.2); 
    border: none; cursor: pointer; transition: 0.3s; 
    margin-top: 24px; margin-bottom: 24px;
}
.btn-checkout-complete:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0, 129, 61, 0.3); }

/* CHECKOUT PAGE SPECIFIC OVERRIDES */
.checkout-wrapper-clean { padding-bottom: 40px !important; }

@media (max-width: 900px) {
    .checkout-container { grid-template-columns: 1fr; padding: 0 20px; }
    .checkout-sidebar-card { position: static; margin-top: 32px; }
    .form-row, .payment-grid { grid-template-columns: 1fr; }
    .checkout-wrapper { padding-top: 60px; }
}

/* PREMIUM LOGIN PAGE */
.login-page-wrapper { background: white; min-height: 100vh; display: flex; flex-direction: column; }
.login-header { height: 60px; border-bottom: 1px solid #eee; display: flex; align-items: center; padding: 0 16px; position: sticky; top: 0; background: white; z-index: 100; }
.login-container { max-width: 440px; margin: 40px auto; width: 100%; padding: 0 20px; flex: 1; }

.login-title { font-size: 22px; font-weight: 800; color: #1a202c; margin-bottom: 28px; }

.social-btn { 
    height: 52px; border-radius: 26px; border: 1.5px solid #e2e8f0; 
    display: flex; align-items: center; justify-content: center; gap: 12px; 
    width: 100%; margin-bottom: 16px; font-weight: 700; font-size: 15px; transition: 0.2s;
}
.social-btn:hover { background: #f8fafc; border-color: #cbd5e0; }
.social-btn.facebook { background: #1877f2; border-color: #1877f2; color: white; }
.social-btn.facebook:hover { background: #166fe5; }
.social-btn img { width: 22px; height: 22px; }

.login-separator { display: flex; align-items: center; gap: 16px; margin: 28px 0; color: #94a3b8; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.login-separator::before, .login-separator::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }

.auth-form-group { margin-bottom: 20px; }
.auth-form-group label { display: block; font-size: 14px; font-weight: 800; color: #1a202c; margin-bottom: 8px; }
.auth-input { width: 100%; height: 56px; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 0 20px; font-size: 16px; font-weight: 600; outline: none; transition: 0.2s; background: #f8fafc; }
.auth-input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-light); }

.cf-verification { 
    border: 1px solid #e2e8f0; border-radius: 4px; padding: 12px 16px; 
    display: flex; align-items: center; justify-content: space-between; 
    margin-bottom: 24px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.cf-status { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #444; font-weight: 500; }
.cf-spinner { width: 20px; height: 20px; border: 2.5px solid #e2e8f0; border-top-color: #2e7d32; border-radius: 50%; animation: spin 1s linear infinite; }

.login-footer-info { text-align: center; color: #718096; font-size: 12px; line-height: 1.6; margin-top: 32px; }
.login-footer-info a { text-decoration: none; color: #1a202c; font-weight: 800; border-bottom: 1.5px solid #1a202c; }

.login-bottom-bar { background: #f8fafc; padding: 24px 20px; text-align: center; border-top: 1px solid #e2e8f0; }
.login-bottom-bar p { color: #64748b; font-size: 13px; font-weight: 700; }

@keyframes spin { to { transform: rotate(360deg); } }
