/* ==========================================================
   FaB CAFE Management System — Stylesheet
   ========================================================== */

:root {
    --pink: #8c5a3c;
    --pink-light: #a06846;
    --pink-dark: #6f472e;
    --bg: #f9f5ef;
    --bg-panel: #f3ede4;
    --bg-card: #f3ede4;
    --bg-input: #e9decb;
    --border: #e0d2c3;
    --text: #2c1e16;
    --text-dim: #7a6859;
    --text-faint: #9e8d80;
    --green: #22c55e;
    --green-bg: rgba(34, 197, 94, 0.12);
    --red: #ef4444;
    --red-bg: rgba(239, 68, 68, 0.12);
    --gray-bg: rgba(140, 90, 60, 0.06);
    --amber: #d49b54;
    --amber-bg: rgba(212, 155, 84, 0.14);
    --radius: 14px;
    --radius-sm: 10px;
    --font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Theme Variable Swaps ---------- */
[data-theme="light"], html:not([data-theme="dark"]) {
    --pink: #8c5a3c;
    --pink-light: #a06846;
    --pink-dark: #6f472e;
    --bg: #f9f5ef;
    --bg-panel: #f3ede4;
    --bg-card: #f3ede4;
    --bg-input: #e9decb;
    --border: #e0d2c3;
    --text: #2c1e16;
    --text-dim: #7a6859;
    --text-faint: #9e8d80;
    --green-bg: rgba(34, 197, 94, 0.12);
    --red-bg: rgba(239, 68, 68, 0.12);
    --gray-bg: rgba(140, 90, 60, 0.06);
    --amber-bg: rgba(212, 155, 84, 0.14);
}

[data-theme="dark"] {
    --pink: #d69e6e;
    --pink-light: #e2b478;
    --pink-dark: #b88660;
    --bg: #160f0a;
    --bg-panel: #241811;
    --bg-card: #241811;
    --bg-input: #2d1f16;
    --border: #3d2b1f;
    --text: #f5ede4;
    --text-dim: #c9b8ab;
    --text-faint: #9e8d80;
    --green-bg: rgba(34, 197, 94, 0.2);
    --red-bg: rgba(239, 68, 68, 0.2);
    --gray-bg: rgba(255, 255, 255, 0.08);
    --amber-bg: rgba(212, 155, 84, 0.2);
}

html {
    background-color: #f9f5ef;
    color-scheme: light;
}
html[data-theme="dark"] {
    background-color: #160f0a !important;
    color-scheme: dark;
}

/* Dark Mode Explicit Element Overrides (100% Readable Controls & Buttons) */
html[data-theme="dark"] body {
    background: #160f0a !important;
    color: #f5ede4 !important;
}

html[data-theme="dark"] .topbar {
    background: #1a120c !important;
    border-bottom: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .topbar-left h2 { color: #ffffff !important; }
html[data-theme="dark"] .topbar-left p { color: #c9b8ab !important; }
html[data-theme="dark"] .search-box {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .search-box input { color: #f5ede4 !important; }
html[data-theme="dark"] .search-box i { color: #d69e6e !important; }

html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] #notifToggle {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d6c8bc !important;
}

html[data-theme="dark"] .admin-dropdown,
html[data-theme="dark"] .notif-dropdown {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    color: #f5ede4 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
html[data-theme="dark"] .admin-dropdown a,
html[data-theme="dark"] .admin-dropdown button,
html[data-theme="dark"] .notif-item {
    color: #f5ede4 !important;
}
html[data-theme="dark"] .admin-dropdown a:hover,
html[data-theme="dark"] .admin-dropdown button:hover {
    background: #38271d !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .stat-card {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .stat-card:hover {
    border-color: #d69e6e !important;
}
html[data-theme="dark"] .stat-icon {
    background: #38271d !important;
    color: #d69e6e !important;
}
html[data-theme="dark"] .stat-icon i { color: #d69e6e !important; }
html[data-theme="dark"] .stat-label { color: #c9b8ab !important; }
html[data-theme="dark"] .stat-value { color: #ffffff !important; }
html[data-theme="dark"] .stat-link { color: #d69e6e !important; }

html[data-theme="dark"] .panel {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .panel-head h3 { color: #ffffff !important; }
html[data-theme="dark"] .period-select,
html[data-theme="dark"] .ts-period-select {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #f5ede4 !important;
}
html[data-theme="dark"] .view-all { color: #d69e6e !important; }

html[data-theme="dark"] .sales-summary-item {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .sales-summary-label { color: #c9b8ab !important; }
html[data-theme="dark"] .sales-summary-value { color: #ffffff !important; }

html[data-theme="dark"] table thead th,
html[data-theme="dark"] .ts-table th { color: #c9b8ab !important; }
html[data-theme="dark"] table tbody td,
html[data-theme="dark"] .ts-table td {
    background: #241811 !important;
    color: #f5ede4 !important;
    border-top: 1px solid #36241a !important;
}
html[data-theme="dark"] .order-id { color: #d69e6e !important; }
html[data-theme="dark"] .drink-info strong,
html[data-theme="dark"] .drink-count strong,
html[data-theme="dark"] .stock-left { color: #ffffff !important; }
html[data-theme="dark"] .drink-thumb,
html[data-theme="dark"] .stock-thumb {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d69e6e !important;
}
html[data-theme="dark"] .stock-bar { background: #38271d !important; }
html[data-theme="dark"] .top-selling-modal-card {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-modal-header {
    background: #241811 !important;
    border-bottom: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-header-text h3 { color: #ffffff !important; }
html[data-theme="dark"] .ts-header-text p { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-period-select {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #ffffff !important;
}
html[data-theme="dark"] .ts-close-x { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-close-x:hover { color: #ffffff !important; background: rgba(255, 255, 255, 0.08) !important; }
html[data-theme="dark"] .ts-modal-body {
    background: #1f140e !important;
}
html[data-theme="dark"] .ts-metric-card {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-metric-value { color: #ffffff !important; }
html[data-theme="dark"] .ts-metric-sub { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-metric-label { color: #d69e6e !important; }
html[data-theme="dark"] .ts-metric-icon {
    background: rgba(214, 158, 110, 0.12) !important;
    border-color: rgba(214, 158, 110, 0.25) !important;
    color: #d69e6e !important;
}
html[data-theme="dark"] .ts-podium-section {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-podium-header { border-bottom: 1px dashed #3d2b1f !important; }
html[data-theme="dark"] .ts-podium-title { color: #ffffff !important; }
html[data-theme="dark"] .ts-podium-subtitle { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-podium-card {
    background: #241811 !important;
    border-color: #3d2b1f !important;
}
html[data-theme="dark"] .ts-podium-card.silver {
    border-color: #64748b !important;
    background: linear-gradient(180deg, #2a2018 0%, #241811 100%) !important;
}
html[data-theme="dark"] .ts-podium-card.gold {
    border-color: #d97706 !important;
    background: linear-gradient(180deg, #362215 0%, #241811 100%) !important;
}
html[data-theme="dark"] .ts-podium-card.bronze {
    border-color: #8c5a3c !important;
    background: linear-gradient(180deg, #2c1c13 0%, #241811 100%) !important;
}
html[data-theme="dark"] .ts-podium-name { color: #ffffff !important; }
html[data-theme="dark"] .ts-podium-price { color: #d69e6e !important; }
html[data-theme="dark"] .ts-podium-stat-pill {
    background: #1c130d !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-podium-stat-pill strong { color: #ffffff !important; }
html[data-theme="dark"] .ts-podium-stat-pill .lbl { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-podium-bar-track { background: #3d2b1f !important; }
html[data-theme="dark"] .ts-podium-share-text { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-table-section {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-table-heading { color: #ffffff !important; }
html[data-theme="dark"] .ts-rank-mode-tabs {
    background: #1c130d !important;
    border-color: #3d2b1f !important;
}
html[data-theme="dark"] .ts-mode-tab { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-mode-tab.active { background: #8c5a3c !important; color: #ffffff !important; }
html[data-theme="dark"] .ts-table td {
    background: #241811 !important;
    border-color: #3d2b1f !important;
}
html[data-theme="dark"] .ts-table th { color: #c9b8ab !important; }
html[data-theme="dark"] .rank-badge.normal {
    background: #1c130d !important;
    border: 1px solid #3d2b1f !important;
    color: #d69e6e !important;
}
html[data-theme="dark"] .ts-prod-name { color: #ffffff !important; }
html[data-theme="dark"] .ts-prod-category { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-prod-img {
    background: #1c130d !important;
    border-color: #3d2b1f !important;
}
html[data-theme="dark"] .ts-units-val { color: #ffffff !important; }
html[data-theme="dark"] .ts-revenue-val { color: #d69e6e !important; }
html[data-theme="dark"] .ts-progress-track { background: #3d2b1f !important; }
html[data-theme="dark"] .ts-progress-pct { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-modal-footer {
    background: #241811 !important;
    border-top: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .ts-footer-meta { color: #c9b8ab !important; }
html[data-theme="dark"] .ts-btn-export-footer {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #c9b8ab !important;
}
html[data-theme="dark"] .ts-btn-export-footer:hover {
    background: #342319 !important;
    color: #ffffff !important;
}

/* Reviews Page Dark Mode Overrides (Exact Match to Reports.php Dark Coffee Theme) */
html[data-theme="dark"] .stat-card-5 {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .stat-card-5:hover {
    border-color: #d69e6e !important;
}
html[data-theme="dark"] .stat-icon-pink {
    background: #38271d !important;
    color: #d69e6e !important;
}
html[data-theme="dark"] .stat-lbl { color: #c9b8ab !important; }
html[data-theme="dark"] .stat-val { color: #ffffff !important; }
html[data-theme="dark"] .stat-sub { color: #c9b8ab !important; }

html[data-theme="dark"] .rating-overview-card,
html[data-theme="dark"] .search-filter-card,
html[data-theme="dark"] .reviews-section-panel {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .score-box { border-right-color: #3d2b1f !important; }
html[data-theme="dark"] .score-big,
html[data-theme="dark"] .top-action-bar h2,
html[data-theme="dark"] .reviews-section-head,
html[data-theme="dark"] .prod-left-name,
html[data-theme="dark"] .customer-name-bold,
html[data-theme="dark"] .review-comment-txt { color: #ffffff !important; }

html[data-theme="dark"] .top-action-bar p,
html[data-theme="dark"] .score-sub,
html[data-theme="dark"] .bar-row,
html[data-theme="dark"] .helpful-tag,
html[data-theme="dark"] .timestamp-txt,
html[data-theme="dark"] .pagination-bar { color: #c9b8ab !important; }

html[data-theme="dark"] .bar-track { background: #38271d !important; }
html[data-theme="dark"] .bar-fill { background: #d69e6e !important; }

html[data-theme="dark"] .search-input-wrap input,
html[data-theme="dark"] .filter-controls-flex select {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #f5ede4 !important;
}

html[data-theme="dark"] .review-card-row {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .prod-left-thumb {
    background: #1a120c !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .customer-avatar-pink {
    background: #38271d !important;
    color: #d69e6e !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .prod-left-price,
html[data-theme="dark"] .badge-verified-pink {
    color: #d69e6e !important;
}
html[data-theme="dark"] .btn-dots-action,
html[data-theme="dark"] .page-btn {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d6c8bc !important;
}
html[data-theme="dark"] .dropdown-action-menu {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    color: #f5ede4 !important;
}
html[data-theme="dark"] .dropdown-action-item {
    color: #f5ede4 !important;
}
html[data-theme="dark"] .dropdown-action-item:hover {
    background: #38271d !important;
    color: #ffffff !important;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   Top Selling Products Modal Template (Exact Mockup Match)
   ========================================================== */
#topProductsModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 8, 12, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
#topProductsModalOverlay.open {
    display: flex;
    opacity: 1;
}

.top-selling-modal-card {
    background: #fdfbf7;
    border: 1px solid #e6ded6;
    border-radius: 24px;
    max-width: 980px;
    width: 95%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(110, 75, 45, 0.22);
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { transform: scale(0.94) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Modal Header */
.ts-modal-header {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6ded6;
    background: #ffffff;
}

.ts-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ts-trophy-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8c5a3c, #5c3821);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(140, 90, 60, 0.32);
    flex-shrink: 0;
}

.ts-header-text h3 {
    margin: 0 0 3px 0;
    font-size: 20px;
    font-weight: 800;
    color: #2c1e16;
    letter-spacing: -0.2px;
}
.ts-header-text p {
    margin: 0;
    font-size: 12.5px;
    color: #7a6859;
    font-weight: 500;
}

.ts-header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.ts-select-icon {
    position: absolute;
    left: 12px;
    color: #8c5a3c;
    font-size: 13px;
    pointer-events: none;
}

.ts-period-select {
    background: #f7f4ef;
    border: 1px solid #dfd5cb;
    border-radius: 12px;
    padding: 9px 16px 9px 34px;
    color: #2c1e16;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ts-period-select:focus {
    border-color: #8c5a3c;
    box-shadow: 0 0 0 3px rgba(140, 90, 60, 0.15);
}

.ts-close-x {
    background: none;
    border: none;
    color: #7a6859;
    font-size: 19px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-close-x:hover {
    color: #2c1e16;
    background: rgba(140, 90, 60, 0.08);
}

/* Modal Body */
.ts-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #fdfbf7;
}

.ts-modal-body::-webkit-scrollbar {
    width: 6px;
}
.ts-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.ts-modal-body::-webkit-scrollbar-thumb {
    background: #dfd5cb;
    border-radius: 999px;
}
.ts-modal-body::-webkit-scrollbar-thumb:hover {
    background: #8c5a3c;
}

/* Top 4 KPI Cards */
.ts-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ts-metric-card {
    background: #ffffff;
    border: 1px solid #e8e0d6;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(110, 75, 45, 0.05);
}
.ts-metric-card:hover {
    transform: translateY(-2px);
    border-color: #8c5a3c;
    box-shadow: 0 8px 20px rgba(140, 90, 60, 0.12);
}

.ts-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(140, 90, 60, 0.1);
    border: 1px solid rgba(140, 90, 60, 0.22);
    color: #8c5a3c;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ts-metric-info {
    flex: 1;
    min-width: 0;
}
.ts-metric-label {
    font-size: 10px;
    font-weight: 800;
    color: #7a6859;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: block;
}
.ts-metric-value {
    font-size: 20px;
    font-weight: 900;
    color: #2c1e16;
    line-height: 1.1;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ts-metric-sub {
    font-size: 11px;
    color: #7a6859;
    font-weight: 600;
}

/* ========================================================
   Option 1: Visual Podium Showcase (.ts-podium-section)
   ======================================================== */
.ts-podium-section {
    background: #ffffff;
    border: 1px solid #e6ded6;
    border-radius: 22px;
    padding: 22px 24px 18px 24px;
    box-shadow: 0 6px 20px rgba(110, 75, 45, 0.06);
}

.ts-podium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e6ded6;
}

.ts-podium-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #2c1e16;
}
.ts-podium-title i {
    color: #d97706;
    font-size: 17px;
}
.ts-podium-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #7a6859;
}

.ts-podium-container {
    width: 100%;
    transition: opacity 0.2s ease;
}

/* Empty State */
.ts-empty-state {
    text-align: center;
    padding: 36px 20px;
    color: #7a6859;
}
.ts-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(140, 90, 60, 0.08);
    color: #8c5a3c;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}
.ts-empty-state h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 800;
    color: #2c1e16;
}
.ts-empty-state p {
    margin: 0;
    font-size: 12.5px;
    color: #7a6859;
    max-width: 380px;
    margin: 0 auto;
}

/* Podium Grid */
.ts-podium-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding-top: 10px;
}

/* Ordering: 2nd on left, 1st in center (taller), 3rd on right */
.ts-podium-card.rank-2 { order: 1; }
.ts-podium-card.rank-1 { order: 2; }
.ts-podium-card.rank-3 { order: 3; }

.ts-podium-card {
    flex: 1;
    max-width: 280px;
    min-width: 220px;
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 14px 0 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

/* Runner-Up (2nd - Silver) */
.ts-podium-card.silver {
    border: 1.5px solid #d1d8df;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.12);
}
.ts-podium-card.silver:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(100, 116, 139, 0.2);
}

/* Grand Champion (1st - Gold) Elevated */
.ts-podium-card.gold {
    border: 2px solid #eab308;
    background: linear-gradient(180deg, #fffcf0 0%, #ffffff 100%);
    box-shadow: 0 16px 36px rgba(234, 179, 8, 0.22);
    transform: translateY(-8px);
}
.ts-podium-card.gold:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 42px rgba(234, 179, 8, 0.32);
}

/* 3rd Place (Bronze) */
.ts-podium-card.bronze {
    border: 1.5px solid #dfc2b2;
    background: linear-gradient(180deg, #fdf8f5 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(140, 90, 60, 0.12);
}
.ts-podium-card.bronze:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(140, 90, 60, 0.2);
}

/* Ribbon Badges */
.ts-podium-ribbon {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.ts-podium-ribbon.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.ts-podium-ribbon.silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.25);
}
.ts-podium-ribbon.bronze {
    background: linear-gradient(135deg, #b45309, #8c5a3c);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(140, 90, 60, 0.25);
}

/* Product Avatar Wrap */
.ts-podium-avatar-wrap {
    position: relative;
    border-radius: 50%;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.ts-podium-avatar-wrap.gold {
    width: 82px;
    height: 82px;
    padding: 4px;
    background: #ffffff;
    border: 3px solid #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}
.ts-podium-avatar-wrap.silver {
    width: 72px;
    height: 72px;
    padding: 3px;
    background: #ffffff;
    border: 2.5px solid #94a3b8;
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.2);
}
.ts-podium-avatar-wrap.bronze {
    width: 68px;
    height: 68px;
    padding: 3px;
    background: #ffffff;
    border: 2.5px solid #8c5a3c;
    box-shadow: 0 6px 16px rgba(140, 90, 60, 0.2);
}

.ts-podium-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fdfbf7;
}

.ts-podium-num-tag {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}
.ts-podium-num-tag.gold {
    background: #f59e0b;
    font-size: 10px;
}
.ts-podium-num-tag.silver {
    background: #64748b;
}
.ts-podium-num-tag.bronze {
    background: #8c5a3c;
}

/* Podium Product Info */
.ts-podium-info {
    margin-bottom: 12px;
    width: 100%;
}
.ts-podium-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
}
.ts-podium-name.champion {
    font-size: 16px;
    font-weight: 900;
    color: #2c1e16;
}
.ts-podium-price {
    font-size: 13px;
    font-weight: 700;
    color: #8c5a3c;
}

/* Stats Pills */
.ts-podium-stats {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}
.ts-podium-stat-pill {
    flex: 1;
    background: #f7f4ef;
    border: 1px solid #e8e0d6;
    border-radius: 12px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ts-podium-stat-pill.gold {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}
.ts-podium-stat-pill .lbl {
    font-size: 9.5px;
    font-weight: 800;
    color: #7a6859;
    text-transform: uppercase;
}
.ts-podium-stat-pill strong {
    font-size: 13px;
    font-weight: 800;
    color: #2c1e16;
}

/* Share Bar */
.ts-podium-share {
    width: 100%;
    margin-bottom: 14px;
}
.ts-podium-bar-track {
    width: 100%;
    height: 6px;
    background: #e8e0d6;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 4px;
}
.ts-podium-bar-fill {
    height: 100%;
    border-radius: 999px;
}
.ts-podium-bar-fill.gold {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}
.ts-podium-bar-fill.silver {
    background: linear-gradient(90deg, #94a3b8, #64748b);
}
.ts-podium-bar-fill.bronze {
    background: linear-gradient(90deg, #b45309, #8c5a3c);
}
.ts-podium-share-text {
    font-size: 10.5px;
    color: #7a6859;
    font-weight: 600;
}

/* Pedestal Block at Bottom of Card */
.ts-pedestal {
    width: 100%;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.ts-pedestal.gold {
    height: 50px;
    background: linear-gradient(180deg, #f59e0b, #b45309);
    font-size: 18px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.35);
}
.ts-pedestal.silver {
    height: 38px;
    background: linear-gradient(180deg, #94a3b8, #64748b);
    font-size: 15px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.35);
}
.ts-pedestal.bronze {
    height: 28px;
    background: linear-gradient(180deg, #b45309, #78350f);
    font-size: 14px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.35);
}

/* ========================================================
   Ranked Table Section (Rank 4+ or All)
   ======================================================== */
.ts-table-section {
    background: #ffffff;
    border: 1px solid #e6ded6;
    border-radius: 22px;
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(110, 75, 45, 0.05);
}

.ts-table-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.ts-table-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ts-table-title-wrap i {
    color: #8c5a3c;
    font-size: 16px;
}
.ts-table-heading {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #2c1e16;
}

/* Mode Tabs */
.ts-rank-mode-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f7f4ef;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #dfd5cb;
}
.ts-mode-tab {
    background: none;
    border: none;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    color: #7a6859;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ts-mode-tab.active {
    background: #8c5a3c;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(140, 90, 60, 0.25);
}
.ts-tab-count {
    background: rgba(0, 0, 0, 0.12);
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
}
.ts-mode-tab.active .ts-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Table */
.ts-table-wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.ts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    min-width: 620px;
}

.ts-table th {
    color: #7a6859;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 16px 8px 16px;
    text-align: left;
}

.ts-table td {
    background: #fbf8f5;
    border-top: 1px solid #e8e0d6;
    border-bottom: 1px solid #e8e0d6;
    padding: 14px 16px;
    vertical-align: middle;
}

.ts-table tr td:first-child {
    border-left: 1px solid #e8e0d6;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}
.ts-table tr td:last-child {
    border-right: 1px solid #e8e0d6;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

/* Empty & Podium Helper Rows */
.ts-table-empty-row,
.ts-table-podium-row {
    text-align: center;
    padding: 30px 16px !important;
    color: #7a6859;
    font-size: 13px;
}
.ts-table-podium-row i {
    color: #d97706;
    font-size: 20px;
    margin-right: 8px;
}

/* Rank Badges */
.rank-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
}
.rank-badge.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.rank-badge.silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.25);
}
.rank-badge.bronze {
    background: linear-gradient(135deg, #b45309, #8c5a3c);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(140, 90, 60, 0.25);
}
.rank-badge.normal {
    background: #ffffff;
    color: #8c5a3c;
    border: 1px solid #dfd5cb;
}

/* Product Cell */
.ts-prod-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ts-prod-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid #dfd5cb;
    padding: 2px;
}
.ts-prod-name {
    font-size: 14px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 3px;
}
.ts-prod-category {
    font-size: 12px;
    font-weight: 600;
    color: #7a6859;
}

/* Units Sold Cell */
.ts-units-val {
    font-size: 14px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 5px;
}
.ts-units-label {
    font-size: 11px;
    font-weight: 600;
    color: #7a6859;
}
.ts-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ts-progress-track {
    width: 120px;
    height: 6px;
    background: #e8e0d6;
    border-radius: 999px;
    overflow: hidden;
}
.ts-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8c5a3c, #b88258);
    border-radius: 999px;
}
.ts-progress-pct {
    font-size: 11px;
    color: #7a6859;
    font-weight: 700;
}

/* Revenue Cell */
.ts-revenue-val {
    font-size: 14.5px;
    font-weight: 900;
    color: #8c5a3c;
    margin-bottom: 2px;
}
.ts-revenue-sub {
    font-size: 11px;
    color: #7a6859;
    font-weight: 500;
}

/* Trend Badges */
.ts-trend-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ts-trend-badge.up {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}
.ts-trend-badge.down {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}
.ts-trend-sub {
    font-size: 10.5px;
    color: #7a6859;
    margin-top: 3px;
    font-weight: 500;
}

/* ========================================================
   Modal Footer: Warm Cafe Theme (NO MORE PINK)
   ======================================================== */
.ts-modal-footer {
    padding: 16px 28px;
    border-top: 1px solid #e6ded6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
}

.ts-footer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #7a6859;
    font-weight: 600;
}
.ts-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: livePulse 2s infinite;
}
@keyframes livePulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.ts-footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-btn-export-footer {
    background: #ffffff;
    color: #7a6859;
    border: 1px solid #dfd5cb;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.ts-btn-export-footer:hover {
    background: #f7f4ef;
    color: #2c1e16;
    border-color: #8c5a3c;
}

/* Warm Mocha Close Button (Replaces Hot Pink) */
.ts-btn-close {
    background: linear-gradient(135deg, #8c5a3c, #5c3821);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid rgba(140, 90, 60, 0.4);
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.ts-btn-close:hover {
    background: linear-gradient(135deg, #9e6745, #6e4328);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(140, 90, 60, 0.38);
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
    .ts-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ts-podium-grid {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .ts-podium-card {
        width: 100%;
        max-width: 100%;
        order: initial !important;
        transform: none !important;
    }
    .ts-pedestal {
        display: none;
    }
}

@media (max-width: 600px) {
    .ts-modal-header {
        padding: 16px 20px;
    }
    .ts-modal-body {
        padding: 16px 20px;
        gap: 16px;
    }
    .ts-metrics-grid {
        grid-template-columns: 1fr;
    }
    .ts-modal-footer {
        padding: 14px 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .ts-footer-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .ts-btn-export-footer,
    .ts-btn-close {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Theme toggle switch (topbar) ---------- */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 12px 6px 10px;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 12.5px;
    font-weight: 600;
}

.theme-toggle i { font-size: 13px; color: var(--pink-light); width: 14px; text-align: center; }

.theme-toggle-track {
    position: relative;
    width: 36px;
    height: 20px;
    background: var(--border);
    border-radius: 999px;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.theme-toggle-track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pink-light), var(--pink-dark));
    transition: transform 0.2s ease;
}

[data-theme="light"] .theme-toggle-track::after { transform: translateX(16px); }

/* ==========================================================
   Login Page — Split 2-Column Exact Mockup Match
   ========================================================== */
.login-hero-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #fdfaf7;
    font-family: var(--font);
    color: #2c1e16;
    overflow-x: hidden;
}

.login-hero-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* LEFT PANEL (Backdrop + Features) */
.login-left-panel {
    flex: 0 0 42%;
    position: relative;
    background: #2c1e16;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    box-sizing: border-box;
    border-right: 1px solid #e6ded6;
    overflow: hidden;
}

.login-left-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.45;
    filter: brightness(0.9) contrast(1.05);
}

.login-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(44, 30, 22, 0.78) 0%, rgba(30, 20, 14, 0.92) 100%);
    z-index: 2;
}

.login-left-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.left-tag {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.2px;
    color: #ffffff;
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.left-tag-sub {
    font-size: 13.5px;
    color: #d6c8bc;
    line-height: 1.35;
    margin: 0;
}

.login-left-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.left-feat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 14px 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.left-feat-card:hover {
    transform: translateX(6px);
    border-color: rgba(212, 155, 84, 0.5);
    box-shadow: 0 8px 24px rgba(140, 90, 60, 0.2);
}

.left-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(140, 90, 60, 0.25);
    border: 1px solid rgba(212, 155, 84, 0.4);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(140, 90, 60, 0.2);
}

.left-feat-info strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.left-feat-info span {
    display: block;
    font-size: 12.5px;
    color: #d6c8bc;
    font-weight: 400;
    line-height: 1.25;
}

.login-left-footer p {
    font-size: 12.5px;
    color: #f7f4ef;
    margin: 0 0 2px 0;
    font-weight: 600;
}

.login-left-footer span {
    font-size: 12px;
    color: #d6c8bc;
}

/* RIGHT PANEL (Login Card Box) */
.login-right-panel {
    flex: 1;
    background: radial-gradient(circle at 50% 20%, rgba(140, 90, 60, 0.08), transparent 60%), #fdfaf7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    box-sizing: border-box;
    position: relative;
}

.login-right-inner {
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8c5a3c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e6ded6;
    box-shadow: 0 2px 8px rgba(110, 75, 45, 0.06);
    margin-bottom: 24px;
    align-self: flex-start;
    transition: all 0.2s ease;
}

.login-back-btn:hover {
    color: #6f472e;
    background: #f7f4ef;
    border-color: #8c5a3c;
    transform: translateX(-4px);
}

.login-back-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.login-back-btn:hover i {
    transform: translateX(-3px);
}

/* Top Neon Logo Brand */
.login-top-brand {
    text-align: center;
    margin-bottom: 28px;
}

.brand-logo-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 14px auto;
    background: #ffffff;
    border: 2.5px solid #8c5a3c;
    box-shadow: 0 8px 25px rgba(140, 90, 60, 0.2), inset 0 0 15px rgba(140, 90, 60, 0.08);
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-ring img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.login-top-brand h2 {
    font-size: 26px;
    font-weight: 900;
    color: #2c1e16;
    margin: 0;
    letter-spacing: 0.5px;
}

.login-top-brand h2 span {
    color: #8c5a3c;
}

.brand-subtitle {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7a6859;
    margin: 4px 0 0 0;
}

/* Main Form Box Card */
.login-card-box {
    background: #ffffff;
    border: 1px solid #e6ded6;
    border-radius: 24px;
    padding: 36px 32px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 16px 45px rgba(110, 75, 45, 0.08), 0 0 20px rgba(140, 90, 60, 0.05);
    margin-bottom: 32px;
}

.login-shield-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f7f4ef;
    border: 1px solid #e6ded6;
    color: #8c5a3c;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 15px rgba(140, 90, 60, 0.12);
}

.login-card-headline {
    font-size: 22px;
    font-weight: 900;
    color: #2c1e16;
    text-align: center;
    margin: 0 0 6px 0;
}

.login-card-subtext {
    font-size: 13.5px;
    color: #7a6859;
    text-align: center;
    margin: 0 0 24px 0;
}

/* Form Fields */
.form-group-wrap {
    margin-bottom: 18px;
    text-align: left;
}

.form-group-wrap label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2c1e16;
    margin-bottom: 8px;
}

.input-icon-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-lead-icon {
    position: absolute;
    left: 16px;
    color: #8c5a3c;
    font-size: 14px;
    pointer-events: none;
}

.input-icon-field input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6ded6;
    border-radius: 14px;
    padding: 13px 16px 13px 44px;
    color: #2c1e16;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.input-icon-field input:focus {
    border-color: #8c5a3c;
    box-shadow: 0 0 0 3.5px rgba(140, 90, 60, 0.18);
}

.password-eye-toggle {
    position: absolute;
    right: 16px;
    color: #7a6859;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.password-eye-toggle:hover {
    color: #8c5a3c;
}

/* Actions Row */
.login-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 24px 0;
    font-size: 13px;
}

.remember-check-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #2c1e16;
    font-weight: 600;
    user-select: none;
}

.remember-check-wrap input[type="checkbox"] {
    accent-color: #8c5a3c;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-pwd-link {
    color: #8c5a3c;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-pwd-link:hover {
    color: #6f472e;
    text-decoration: underline;
}

/* Submit & Customer Buttons */
.login-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8c5a3c, #6f472e);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 14px;
    padding: 14px 20px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(140, 90, 60, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #6f472e, #543420);
    box-shadow: 0 8px 26px rgba(140, 90, 60, 0.45);
}

.login-submit-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.login-submit-btn:hover i {
    transform: translateX(4px);
}

.login-divider-or {
    display: flex;
    align-items: center;
    margin: 22px 0;
    color: #7a6859;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-divider-or::before,
.login-divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e6ded6;
}

.login-divider-or span {
    padding: 0 14px;
}

.login-customer-btn {
    width: 100%;
    background: #f7f4ef;
    border: 1px solid #e6ded6;
    color: #8c5a3c;
    font-weight: 800;
    font-size: 14px;
    border-radius: 14px;
    padding: 13px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.login-customer-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #8c5a3c;
    color: #6f472e;
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.15);
}

/* Bottom Trust Badges */
.login-bottom-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    border-top: 1px solid #e6ded6;
    padding-top: 24px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.trust-badge-item i {
    color: #8c5a3c;
    font-size: 18px;
    flex-shrink: 0;
}

.trust-badge-item strong {
    display: block;
    font-size: 12px;
    color: #2c1e16;
    font-weight: 800;
    line-height: 1.2;
}

.trust-badge-item span {
    font-size: 11px;
    color: #7a6859;
    line-height: 1.2;
}

/* Mobile Responsive Rules for Login Form */
@media (max-width: 1024px) {
    .login-hero-container {
        flex-direction: column;
        min-height: 100vh;
    }
    .login-left-panel {
        display: none !important;
    }
    .login-right-panel {
        width: 100%;
        min-height: 100vh;
        padding: 32px 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .login-right-panel {
        padding: 24px 16px;
    }
    .login-right-inner {
        max-width: 100%;
    }
    .brand-logo-ring {
        width: 85px;
        height: 85px;
    }
    .login-top-brand h2 {
        font-size: 22px;
    }
    .login-card-box {
        padding: 26px 18px;
        border-radius: 20px;
    }
    .login-card-headline {
        font-size: 20px;
    }
    .login-card-subtext {
        font-size: 12.5px;
        margin-bottom: 18px;
    }
    .login-actions-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .login-bottom-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

/* ==========================================================
   Welcome Page — Exact Attached Mockup Match
   ========================================================== */
.welcome-hero-body {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 15%, rgba(236, 43, 124, 0.22), transparent 65%),
                radial-gradient(circle at 10% 90%, rgba(236, 43, 124, 0.12), transparent 50%),
                radial-gradient(circle at 90% 90%, rgba(236, 43, 124, 0.12), transparent 50%),
                #08080c;
    position: relative;
    font-family: var(--font);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.welcome-hero-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../Images/bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.welcome-container {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.welcome-logo-wrap {
    margin-bottom: 24px;
}

.welcome-logo-img {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: contain;
    background: #0d0d14;
    border: 2.5px solid #ec2b7c;
    box-shadow: 0 0 35px rgba(236, 43, 124, 0.5), inset 0 0 15px rgba(236, 43, 124, 0.2);
    padding: 6px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.welcome-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(236, 43, 124, 0.7);
}

.welcome-headline {
    font-size: 38px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}
.welcome-headline span {
    color: #ec2b7c;
}

.welcome-subtext {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 36px 0;
    font-weight: 500;
}
.welcome-subtext span {
    color: #ec2b7c;
    font-weight: 700;
}

.welcome-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.welcome-card-box {
    background: rgba(18, 18, 24, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(236, 43, 124, 0.25);
    border-radius: 24px;
    padding: 36px 26px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease, 
                box-shadow 0.35s ease, 
                background 0.35s ease;
}

.welcome-card-box:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(26, 20, 32, 0.88);
    border-color: rgba(236, 43, 124, 0.85);
    box-shadow: 0 24px 50px rgba(236, 43, 124, 0.35), 0 0 30px rgba(236, 43, 124, 0.2);
}

.welcome-card-box:active {
    transform: translateY(-4px) scale(0.99);
}

.welcome-icon-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #ff4d97 0%, #ec2b7c 35%, #9f1239 75%, #4c0519 100%) !important;
    color: #ffffff !important;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(236, 43, 124, 0.55), 0 8px 25px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.welcome-card-box:hover .welcome-icon-badge {
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 0 0 40px rgba(236, 43, 124, 0.9), 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.welcome-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.welcome-card-line {
    width: 32px;
    height: 3px;
    background: #ec2b7c;
    border-radius: 999px;
    margin: 0 auto 20px auto;
    transition: width 0.35s ease, background 0.35s ease;
}

.welcome-card-box:hover .welcome-card-line {
    width: 52px;
    background: #ff4d97;
}

.welcome-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    text-align: left;
}

.welcome-features-list li {
    font-size: 13.5px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
}

.welcome-features-list li i {
    color: #ec2b7c;
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.welcome-action-btn {
    width: 100%;
    margin-top: auto;
    background: linear-gradient(135deg, #ec2b7c, #d9206e);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 14px;
    padding: 13px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(236, 43, 124, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
}

.welcome-card-box:hover .welcome-action-btn {
    background: linear-gradient(135deg, #ff4d97, #ec2b7c);
    box-shadow: 0 8px 28px rgba(236, 43, 124, 0.7);
    color: #ffffff;
}

.welcome-action-btn i {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.welcome-card-box:hover .welcome-action-btn i {
    transform: translateX(6px);
}

.welcome-action-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.welcome-action-btn:hover i {
    transform: translateX(4px);
}

.welcome-footer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.welcome-footer-brand {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-footer-brand i {
    color: #ec2b7c;
    font-size: 16px;
}

.welcome-footer-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 992px) {
    .welcome-cards-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }
    .welcome-headline {
        font-size: 30px;
    }
    .welcome-subtext {
        font-size: 14px;
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .welcome-card-box {
        padding: 28px 20px 24px;
    }
    .welcome-logo-img {
        width: 95px;
        height: 95px;
    }
    .welcome-headline {
        font-size: 26px;
    }
}

/* ---------- Layout ---------- */
.app {
    display: flex;
    min-height: 100vh;
}

.main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sidebar ~ .main {
    margin-left: 260px;
}

.content {
    padding: 28px 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---------- Sidebar (Dark Warm Chocolate Coffee Theme - Mockup Match) ---------- */
.sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #543a2b;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 28px 18px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 40;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-brand, .login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.brand-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #a87652;
    font-size: 24px;
    color: #543a2b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.brand-icon.small { width: 48px; height: 48px; font-size: 18px; }

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 2px;
}

.sidebar-brand h1, .login-brand h1 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.sidebar-brand h1 span, .login-brand h1 span { color: #d6c8bc; }

.brand-sub {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #d6c8bc;
    margin-top: 2px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    margin-top: 8px;
}

.sidebar a,
.sidebar-nav a,
.nav-item,
.nav-item span {
    text-decoration: none !important;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-item i { width: 18px; text-align: center; font-size: 15px; color: #ffffff; transition: transform 0.2s ease; }

.nav-item .nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    opacity: 1;
}

.nav-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateX(4px);
}

.nav-item:hover i,
.nav-item:hover .nav-icon {
    transform: scale(1.12);
}

.nav-item.active:hover {
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, #b88660, #a87652);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    margin-top: 12px;
}

.nav-item.logout { color: #ffffff; }
.nav-item.logout:hover { color: #ff8a8a; background: rgba(239, 68, 68, 0.2); }

.copyright {
    font-size: 11px;
    color: #d6c8bc;
    text-align: center;
    margin-top: 14px;
    line-height: 1.6;
}

/* ---------- Sidebar Minimize / Collapse ---------- */
.sidebar-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-brand .brand-text {
    display: flex;
    flex-direction: column;
}
.sidebar-collapse-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.25s ease;
    margin-left: auto;
    flex-shrink: 0;
}
.sidebar-collapse-btn:hover {
    background: #a87652;
    border-color: #a87652;
    transform: scale(1.1);
}

/* Collapsed State — Perfectly Centered Slim Icon Rail (64px) */
aside.sidebar.collapsed {
    width: 64px !important;
    padding: 16px 0 24px 0 !important;
    transition: width 0.25s ease !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}
aside.sidebar.collapsed::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
aside.sidebar.collapsed .brand-text,
aside.sidebar.collapsed .sidebar-footer {
    display: none !important;
}
aside.sidebar.collapsed .sidebar-brand {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}
aside.sidebar.collapsed .brand-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 2px solid #a87652 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
}
aside.sidebar.collapsed .brand-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
aside.sidebar.collapsed .sidebar-collapse-btn {
    position: fixed !important;
    left: 53px !important;
    top: 20px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 9px !important;
    background: #543a2b !important;
    border: 1.5px solid #ebdcd0 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
}
aside.sidebar.collapsed .sidebar-collapse-btn:hover {
    background: #a87652 !important;
    border-color: #ffffff !important;
    transform: scale(1.15) !important;
}
aside.sidebar.collapsed .sidebar-collapse-btn i {
    transform: rotate(180deg) !important;
}
aside.sidebar.collapsed .sidebar-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
aside.sidebar.collapsed .sidebar-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    transform: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item:hover,
aside.sidebar.collapsed .sidebar-nav .nav-item.active:hover {
    transform: none !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item span {
    display: none !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item i {
    font-size: 19px !important;
    width: 19px !important;
    height: 19px !important;
    line-height: 19px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    color: #ffffff !important;
    transform: none !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item:hover i {
    transform: scale(1.15) !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
aside.sidebar.collapsed .sidebar-nav .nav-item:hover::after {
    content: attr(data-label);
    position: absolute;
    left: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c1e16;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.3px;
    opacity: 0;
    animation: sidebarTooltipIn 0.15s ease forwards;
}

@keyframes sidebarTooltipIn {
    from { opacity: 0; transform: translateY(-50%) translateX(-4px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

aside.sidebar.collapsed ~ .main,
body.sidebar-is-collapsed .main {
    margin-left: 64px !important;
    transition: margin-left 0.25s ease !important;
}

/* ---------- Topbar ---------- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    min-height: 72px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    background: var(--bg);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 40px;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    color: #8c5a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(110, 75, 45, 0.05);
}

.topbar-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

i.topbar-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #8c5a3c;
}

.topbar-left h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: #2c1e16;
}
.topbar-left p {
    font-size: 12.5px;
    color: #7a6859;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 18px;
    height: 40px;
    box-sizing: border-box;
    width: 260px;
    box-shadow: 0 2px 8px rgba(110, 75, 45, 0.04);
}

.search-box i { color: #8c5a3c; font-size: 13px; flex-shrink: 0; }

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 13px;
    width: 100%;
}

#notifToggle,
.icon-btn {
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

#notifToggle i,
.icon-btn i {
    font-size: 16px !important;
    color: var(--text) !important;
    display: inline-block !important;
}

#notifToggle .badge,
.icon-btn .badge,
button.icon-btn .badge {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    background: #ec2b7c !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #0c0c0e !important;
    box-shadow: 0 2px 6px rgba(236, 43, 124, 0.4) !important;
    z-index: 10 !important;
    line-height: 1 !important;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
}

.avatar { font-size: 36px; color: var(--text-faint); line-height: 1; }
.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-info { display: flex; flex-direction: column; line-height: 1.3; }
.user-info strong { font-size: 13.5px; }
.user-info span { font-size: 12px; color: var(--text-dim); }

.user-chip > i { color: var(--text-faint); font-size: 12px; }

.user-menu { position: relative; }

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 60;
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dim);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-item i { width: 16px; text-align: center; }
.dropdown-item:hover { background: var(--gray-bg); color: var(--text); }
.dropdown-item.logout:hover { background: var(--red-bg); color: var(--red); }

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 4px;
}

/* ---- Notification bell dropdown ---- */
.notif-menu { position: relative; }

.notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -8px;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: 440px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 60;
}

.notif-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-head {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    position: sticky;
    top: 0;
    background: var(--bg-card);
}

.notif-body { padding: 6px; }

.notif-section { padding: 6px 2px; }
.notif-section + .notif-section { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 10px; }

.notif-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-faint);
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
    color: var(--text);
}

.notif-item:hover { background: var(--gray-bg); }

.notif-text { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.35; }
.notif-text strong { font-size: 13px; }
.notif-text span { color: var(--text-dim); }

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex: none;
}
.notif-dot-warn { background: var(--red); }
.notif-dot-pending { background: var(--pink); }
.notif-dot-done { background: var(--text-faint); }
.notif-dot-good { background: var(--green); }

.notif-achievement { background: var(--green-bg); border-radius: 8px; }
.notif-achievement:hover { background: var(--green-bg); }

.notif-more {
    display: block;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pink-light);
}
.notif-more:hover { text-decoration: underline; }

.notif-empty {
    padding: 24px 12px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

.topbar-clock { text-align: right; line-height: 1.3; white-space: nowrap; }
.topbar-clock strong { display: block; font-size: 15px; font-weight: 700; }
.topbar-clock span { font-size: 12px; font-weight: 600; color: var(--pink-light); }

/* ---------- Stat cards ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: #a87652;
    box-shadow: 0 10px 28px rgba(168, 118, 82, 0.18);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f2e4d8 !important;
    box-shadow: none !important;
    color: #543a2b !important;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.06);
    background: #ebdcd0 !important;
    box-shadow: none !important;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-icon i {
    font-size: 22px;
    color: #543a2b !important;
}

.stat-body { display: flex; flex-direction: column; gap: 4px; }

.stat-label {
    font-size: 11px;
    letter-spacing: 0.6px;
    color: var(--text-dim);
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    transition: color 0.25s ease;
}

.stat-card:hover .stat-value {
    color: var(--pink-light);
}

.stat-change {
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.up { color: var(--green); }
.stat-change.down { color: var(--red); }
.stat-change .muted { color: var(--text-faint); font-weight: 400; }

.stat-link {
    font-size: 12.5px;
    color: var(--pink-light);
    font-weight: 600;
    margin-top: 2px;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.stat-card:hover .stat-link {
    text-decoration: underline;
}
}

/* ---------- Panels ---------- */
.grid-2col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    align-items: start;
}

.panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.panel-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-head h3 {
    font-size: 13px;
    letter-spacing: 0.6px;
    font-weight: 700;
    color: var(--text);
}

.view-all { font-size: 12.5px; color: var(--pink-light); font-weight: 600; }
.view-all-btn { background: none; border: none; font-family: inherit; cursor: pointer; padding: 0; }
.view-all-btn:hover { text-decoration: underline; }

.drink-list-modal { max-height: 60vh; overflow-y: auto; padding-right: 4px; }

.period-select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
}

.sales-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.sales-summary-item {
    background: #f7f0e8;
    border: 1px solid #ebdcd0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sales-summary-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #7a6859;
    font-weight: 700;
    text-transform: uppercase;
}

.sales-summary-value {
    font-size: 16px;
    font-weight: 900;
    color: #2c1e16;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-summary-item:nth-child(2) .sales-summary-value { color: #a87652; }

@media (max-width: 640px) {
    .sales-summary { grid-template-columns: 1fr; }
}

.chart-wrap {
    position: relative;
}

.chart-callout {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.chart-callout .callout-value { display: none !important; }
.chart-callout::after { display: none !important; }

/* ---------- Drink list ---------- */
.drink-list { display: flex; flex-direction: column; gap: 16px; }

.drink-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.drink-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-light);
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

.drink-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.rank {
    position: absolute;
    left: 30px;
    top: -4px;
    background: var(--pink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.drink-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.drink-info strong { font-size: 14px; }
.drink-info span { font-size: 12.5px; color: var(--text-dim); }

.drink-count { text-align: right; }
.drink-count strong { display: block; font-size: 15px; }
.drink-count span { font-size: 11px; color: var(--text-dim); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

thead th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--text-faint);
    font-weight: 600;
    padding: 0 10px 12px;
    white-space: nowrap;
}

tbody td {
    padding: 14px 10px;
    font-size: 13.5px;
    border-top: 1px solid var(--border);
    white-space: nowrap;
}

.order-id { color: var(--pink-light); font-weight: 600; }
.row-menu { color: var(--text-faint); text-align: right; }

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-pending-verification { background: var(--amber-bg); color: var(--amber); }
.badge-preparing { background: rgba(236, 43, 124, 0.15); color: var(--pink-light); }
.badge-ready { background: var(--green-bg); color: var(--green); }
.badge-completed { background: var(--gray-bg); color: var(--text-dim); }
.badge-cancelled { background: var(--red-bg); color: var(--red); }
.badge i { margin-right: 5px; }

.muted { color: var(--text-faint); }

/* ---------- Mini legend (used by the pie/doughnut report chart) ---------- */
.mini-legend { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mini-legend-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-dim); }
.mini-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.mini-legend-item strong { color: var(--text); font-weight: 600; }
.mini-legend-value { margin-left: auto; font-weight: 700; color: var(--text); white-space: nowrap; }

.chart-filter-row { margin-bottom: 16px; }

/* ---------- Stock list ---------- */
.stock-list { display: flex; flex-direction: column; gap: 16px; }

.stock-list li { display: flex; align-items: center; gap: 12px; }

.stock-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-light);
    font-size: 14px;
    flex-shrink: 0;
}

.stock-info { flex: 1; min-width: 0; }
.stock-info strong { display: block; font-size: 13.5px; margin-bottom: 6px; }

.stock-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--bg-input);
    overflow: hidden;
}

.stock-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--pink-light));
    border-radius: 999px;
}

.stock-left { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; }

/* ---------- Accounts (Settings) ---------- */
.account-list { display: flex; flex-direction: column; gap: 14px; }

.account-card {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}

.account-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pink-light), var(--pink-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.account-avatar-btn {
    position: relative;
    padding: 0;
    border: none;
    cursor: pointer;
    overflow: hidden;
    font: inherit;
}

.account-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.account-avatar-edit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.15s;
}

.account-avatar-btn:hover .account-avatar-edit { opacity: 1; }

.account-info { flex: 1; min-width: 0; }
.account-info strong { display: block; font-size: 14.5px; }
.account-info span { font-size: 12.5px; color: var(--text-dim); }

.role-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.role-badge.admin { background: rgba(236, 43, 124, 0.15); color: var(--pink-light); }
.role-badge.cashier { background: var(--green-bg); color: var(--green); }

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink-light); }

.btn-danger {
    background: var(--red-bg);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: var(--red);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); border-color: var(--red); }

.modal-hint {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.5;
    margin: -4px 0 12px;
}

.pw-form {
    display: none;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.pw-form.open { display: grid; }

.pw-form .field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.pw-form .input-with-icon { padding: 10px 14px; }
.pw-form .btn-primary { padding: 11px 18px; box-shadow: none; }

.temp-password-result {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--text-dim);
    flex-wrap: wrap;
}
.temp-password-result code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--pink-light);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 13.5px;
    letter-spacing: 0.4px;
}

.alert-success {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 640px) {
    .pw-form { grid-template-columns: 1fr; }
}

/* ---------- POS System ---------- */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.category-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.category-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.category-pill.active { background: linear-gradient(135deg, #8c5a3c, #6f472e); color: #fff; border-color: #8c5a3c; box-shadow: 0 4px 14px rgba(140, 90, 60, 0.35); text-decoration: none !important; }
.category-pill:hover:not(.active) { border-color: #8c5a3c; color: var(--text); text-decoration: none !important; }

.products-panel {
    min-width: 0 !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 10px !important;
    padding-bottom: 24px !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(140, 90, 60, 0.4) rgba(140, 90, 60, 0.05) !important;
}

.products-panel::-webkit-scrollbar {
    width: 6px !important;
}

.products-panel::-webkit-scrollbar-track {
    background: rgba(140, 90, 60, 0.05) !important;
    border-radius: 999px !important;
}

.products-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8c5a3c, #6f472e) !important;
    border-radius: 999px !important;
    transition: background 0.2s ease !important;
}

.products-panel::-webkit-scrollbar-thumb:hover {
    background: #6f472e !important;
}

.products-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.products-head h3 { font-size: 16px; font-weight: 700; }

.view-toggle { display: flex; gap: 8px; }
.view-toggle button {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
    display: flex; align-items: center; justify-content: center;
}
.view-toggle button.active { background: var(--pink); color: #fff; border-color: var(--pink); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid .empty-state { grid-column: 1 / -1; }

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    transition: border-color 0.15s;
}
.product-card:hover { border-color: var(--pink); }
.product-card.hidden, .hidden { display: none !important; }

.product-fav {
    position: absolute; top: 14px; left: 14px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(0, 0, 0, 0.4); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; cursor: pointer; z-index: 2;
}
.product-fav.active { color: var(--pink-light); }

.product-badge {
    position: absolute; top: 14px; right: 14px;
    background: var(--pink); color: #fff; font-size: 10px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px; letter-spacing: 0.4px; z-index: 2;
}

.product-thumb {
    width: 100%; aspect-ratio: 1 / 0.85; border-radius: 12px;
    background: var(--bg-input); display: flex; align-items: center; justify-content: center;
    font-size: 38px; color: var(--pink-light); margin-bottom: 14px; flex-shrink: 0;
}

.product-info { min-width: 0; }
.product-name { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.product-price { color: var(--pink-light); font-weight: 700; font-size: 14px; margin-bottom: 12px; }

.btn-add {
    width: 100%; background: linear-gradient(145deg, var(--pink-light), var(--pink));
    color: #fff; border: none; padding: 10px; border-radius: 10px;
    font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add:hover { transform: translateY(-1px); }

.btn-cust-add-pill,
.btn-add.btn-cust-add-pill {
    background: linear-gradient(135deg, #8c5a3c, #6f472e) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: auto !important;
    box-shadow: 0 4px 12px rgba(140, 90, 60, 0.3) !important;
    transition: all 0.2s ease !important;
}

.btn-cust-add-pill:hover,
.btn-add.btn-cust-add-pill:hover {
    background: linear-gradient(135deg, #6f472e, #543420) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(140, 90, 60, 0.45) !important;
    transform: translateY(-1.5px) !important;
}

.load-more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.btn-load-more {
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
    padding: 12px 26px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
}

/* Modern 2026 List View Styling for POS */
.product-grid.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
}

.product-grid.list-view .product-card:not(.hidden) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #121218 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 12px 20px !important;
    gap: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
    position: relative !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.product-grid.list-view .product-card:not(.hidden):hover {
    border-color: rgba(236, 43, 124, 0.5) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 8px 24px rgba(236, 43, 124, 0.2) !important;
}

.product-grid.list-view .product-fav {
    position: static !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important;
}

.product-grid.list-view .product-thumb {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    padding: 2px !important;
    flex-shrink: 0 !important;
}

.product-grid.list-view .product-thumb img {
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6)) !important;
}

.product-grid.list-view .product-info {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.product-grid.list-view .product-name {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    width: 140px !important;
    min-width: 100px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 0 !important;
}

.product-grid.list-view .product-rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11.5px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.product-grid.list-view .product-rating .stars {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
    color: #f59e0b !important;
}

.product-grid.list-view .product-price {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #ec2b7c !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 16px 0 auto !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-align: right !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2 !important;
}

.product-grid.list-view .product-card-actions {
    margin-top: 0 !important;
    width: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 5 !important;
}

.product-grid.list-view .product-action-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.product-grid.list-view .btn-quick-minus,
.product-grid.list-view .btn-quick-plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(236, 43, 124, 0.35) !important;
    color: #ec2b7c !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.2s ease !important;
}

.product-grid.list-view .btn-quick-minus:hover,
.product-grid.list-view .btn-quick-plus:hover {
    background: #ec2b7c !important;
    color: #ffffff !important;
    border-color: #ec2b7c !important;
    box-shadow: 0 4px 14px rgba(236, 43, 124, 0.4) !important;
}

.product-grid.list-view .btn-add {
    width: auto !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Current order / cart panel - Fixed Still View */
.order-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky !important;
    top: 90px !important;
    overflow: visible !important;
    z-index: 20 !important;
}
.order-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }

.order-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    color: var(--text-faint);
}
.order-customer i { color: var(--pink-light); font-size: 13px; }
.order-customer input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 13.5px;
}
.order-customer input::placeholder { color: var(--text-faint); }
.order-panel-head h3 { font-size: 15px; font-weight: 700; }

.btn-clear {
    background: transparent; border: 1px solid var(--border); color: var(--text-dim);
    padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.btn-clear:hover { border-color: var(--red); color: var(--red); }

.order-items { display: flex; flex-direction: column; gap: 16px; max-height: 320px; overflow-y: auto; margin-bottom: 18px; }

.order-item { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-right: 18px; }
.order-item-thumb {
    width: 46px; height: 46px; border-radius: 10px; background: var(--bg-input);
    display: flex; align-items: center; justify-content: center; color: var(--pink-light);
    font-size: 18px; flex-shrink: 0;
}
.order-item-body { flex: 1; min-width: 0; }
.order-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.order-item-body strong { display: block; font-size: 13.5px; }
.order-item-body .variant { font-size: 11.5px; color: var(--text-dim); }
.order-item-unit-price { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; }

.order-item-remove {
    position: absolute; top: 0; right: 0; background: none; border: none;
    color: var(--text-faint); font-size: 12px; padding: 2px;
}
.order-item-remove:hover { color: var(--red); }

.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty-stepper { display: flex; align-items: center; gap: 10px; }
.qty-stepper button {
    width: 26px; height: 26px; border-radius: 7px; background: var(--bg-input);
    border: 1px solid var(--border); color: var(--text); font-size: 13px;
}
.qty-stepper span { font-size: 13px; font-weight: 600; min-width: 14px; text-align: center; }
.order-item-total { font-weight: 700; color: var(--pink-light); font-size: 13.5px; }

.empty-order { text-align: center; color: var(--text-faint); font-size: 13px; padding: 30px 0; }

.order-summary { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--text-dim); }
.summary-row.total { font-size: 17px; font-weight: 800; color: var(--text); padding-top: 8px; border-top: 1px solid var(--border); }
.summary-row.total .amount { color: var(--pink-light); }
.discount-link { color: var(--pink-light); font-size: 12px; font-weight: 600; }

.order-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.btn-checkout {
    background: linear-gradient(145deg, var(--pink-light), var(--pink)); color: #fff; border: none;
    padding: 14px; border-radius: 12px; font-size: 14.5px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(236, 43, 124, 0.3);
}
.btn-checkout:disabled { opacity: 0.5; box-shadow: none; cursor: not-allowed; }

.btn-hold {
    background: transparent; border: 1.5px solid var(--pink); color: var(--pink-light);
    padding: 13px; border-radius: 12px; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-hold:disabled { opacity: 0.5; cursor: not-allowed; }

.payment-method { margin-top: 18px; }
.payment-method-label { font-size: 12px; font-weight: 700; color: var(--text-dim); margin-bottom: 10px; letter-spacing: 0.4px; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option {
    border: 1.5px solid var(--border); background: var(--bg-input); color: var(--text-dim);
    padding: 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.payment-option.active { border-color: var(--pink); color: var(--pink-light); background: rgba(236, 43, 124, 0.08); }

@media (max-width: 1200px) {
    .pos-layout { grid-template-columns: 1fr; }
    .order-panel { position: static; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .product-grid { grid-template-columns: 1fr; }
    .payment-options { grid-template-columns: 1fr; }
}

/* ---------- Login page ---------- */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, #1a0a14 0%, #0a0a0c 55%);
    padding: 20px;
}

.login-wrap { width: 100%; max-width: 420px; }

/* ---------- Login transition (pink circle grow) ---------- */
.login-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.login-transition-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.login-transition-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8c5a3c, #6f472e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(140, 90, 60, 0.55);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.login-transition-circle.grow {
    transform: translate(-50%, -50%) scale(var(--grow-scale, 40));
}

.login-transition-circle img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.25s ease 0.1s;
}

.login-transition-circle.grow img {
    opacity: 0;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.login-title { font-size: 22px; font-weight: 700; text-align: center; margin-top: 8px; }
.login-subtitle { font-size: 13.5px; color: var(--text-dim); text-align: center; margin-top: 6px; margin-bottom: 24px; }

.login-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
    margin-top: 16px;
}

.login-form label:first-of-type { margin-top: 0; }

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
}

.input-with-icon i { color: var(--text-faint); font-size: 14px; }

.input-with-icon .toggle-password {
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
}
.input-with-icon .toggle-password:hover { color: var(--text); }

.input-with-icon input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 14px;
    width: 100%;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 12.5px;
}

.checkbox { display: flex; align-items: center; gap: 6px; color: var(--text-dim); }
.forgot-link { color: var(--pink-light); font-weight: 600; }

.btn-primary {
    background: linear-gradient(145deg, var(--pink-light), var(--pink));
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(236, 43, 124, 0.3);
    transition: transform 0.1s;
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-block { width: 100%; margin-top: 22px; }

.login-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 20px;
}

.login-back {
    text-align: center;
    font-size: 12.5px;
    margin-top: 14px;
}
.login-back a { color: var(--text-dim); font-weight: 600; }
.login-back a:hover { color: var(--pink-light); }

/* ---------- Welcome / role-select page ---------- */
.welcome-card { max-width: 460px; }

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

.welcome-role-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    transition: border-color 0.15s, transform 0.15s;
}
.welcome-role-card:hover { border-color: var(--pink); transform: translateY(-1px); }

.welcome-role-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pink-light), var(--pink-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.welcome-role-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.welcome-role-text strong { font-size: 15px; }
.welcome-role-text span { font-size: 12.5px; color: var(--text-dim); }

.welcome-role-card > i.fa-chevron-right { color: var(--text-faint); }

.alert-error {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- Responsive ---------- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.app, .main {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2col { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .sidebar { position: fixed; left: -280px; z-index: 50; transition: left 0.2s; }
    .sidebar.open { left: 0; }
    .search-box { display: none; }
}

/* Sidebar Overlay for Mobile View */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 861px) {
    .sidebar-overlay {
        display: none !important;
    }
}

/* ---------- Inventory: table row extras ---------- */
.row-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-light);
    font-size: 15px;
    overflow: hidden;
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }

.stock-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--gray-bg);
    color: var(--text-dim);
}
.stock-pill.low { background: var(--red-bg); color: var(--red); }

.row-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.inline-form { display: inline-block; }

.btn-icon {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    transition: all 0.2s ease;
}
.btn-icon:hover { border-color: #8c5a3c; color: #8c5a3c; transform: translateY(-1px); }
.btn-icon-danger:hover { border-color: var(--red); color: var(--red); }
.btn-icon-good {
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1.5px solid rgba(34, 197, 94, 0.4) !important;
    color: #16a34a !important;
}
.btn-icon-good:hover {
    background: rgba(34, 197, 94, 0.22) !important;
    border-color: #16a34a !important;
    color: #15803d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
}

.btn-add-product { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; box-shadow: none; }

/* ---------- Empty state ---------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    gap: 12px;
}
.empty-state i { font-size: 32px; color: var(--text-faint); }
.empty-state p { font-size: 14px; max-width: 340px; }

/* ---------- Modal ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.modal.modal-sm { max-width: 400px; }

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 15px; font-weight: 700; }

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
}
.modal-close:hover { background: var(--bg-input); color: var(--text); }

.modal-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }

.modal-field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.modal-field-row .modal-field { min-width: 0; }

.modal-field { display: flex; flex-direction: column; gap: 8px; }
.modal-field label { font-size: 12.5px; font-weight: 600; color: var(--text-dim); display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.btn-link-add {
    background: none;
    border: none;
    color: var(--pink-light);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.btn-link-add:hover { color: var(--pink); text-decoration: underline; }

.modal-field input[type="text"],
.modal-field input[type="number"],
.modal-field input[type="file"],
.modal-field select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    width: 100%;
}
.modal-field input:focus, .modal-field select:focus { outline: none; border-color: var(--pink); }

.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.modal-field-checkbox { margin-top: -6px; }
.modal-field-checkbox .checkbox-label input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--pink); cursor: pointer; }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 22px;
    border-top: 1px solid var(--border);
}
.modal-footer .btn-primary { padding: 11px 20px; box-shadow: none; }

/* ---------- POS: option picker ---------- */
.option-choice-list { display: flex; flex-direction: column; gap: 10px; }
.option-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}
.option-choice:hover { border-color: var(--pink); color: var(--pink-light); }
.option-choice span:last-child { color: var(--text-dim); font-weight: 600; }

/* ---------- POS: product extras ---------- */
.product-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.product-variant { font-size: 11.5px; color: var(--text-dim); margin-top: 1px; }
.product-badge-out { background: var(--red-bg); color: var(--red); }
.btn-add:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-add:disabled:hover { transform: none; }

@media (max-width: 640px) {
    .modal-field-row { grid-template-columns: 1fr; }
}

/* ---------- Orders / Sales / Customers / Reports: shared additions ---------- */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.filter-bar .category-row { margin-bottom: 0; }

.status-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 28px 6px 12px;
    border-radius: 999px;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%239a9aa2'/></svg>");
}
.status-select:focus { outline: none; }

.order-item-sub { font-size: 11.5px; color: var(--text-dim); }

.order-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 16px;
}
.order-meta div { display: flex; flex-direction: column; gap: 4px; }
.order-meta span { font-size: 11.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .3px; }
.order-meta strong { font-size: 13.5px; }

.qr-pay-box {
    display: flex;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.qr-pay-box img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.order-totals {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.order-totals > div { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-dim); }
.order-totals .order-total-grand { font-size: 16px; color: var(--text); padding-top: 8px; border-top: 1px dashed var(--border); }
.order-totals .order-total-grand strong { color: var(--pink-light); }

/* ---------- Customer self-order page ---------- */
.customer-main { width: 100%; margin-left: 0 !important; }

.customer-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.customer-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 13.5px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    flex-shrink: 0;
}
.customer-back:hover { border-color: var(--pink); color: var(--pink-light); }

.customer-topbar-brand { display: flex; align-items: center; gap: 12px; }
.customer-topbar-brand img { width: 40px; height: 40px; object-fit: contain; }
.customer-topbar-brand h2 { font-size: 19px; font-weight: 700; }
.customer-topbar-brand h2 span { color: var(--pink-light); }
.customer-topbar-brand span { font-size: 12.5px; color: var(--text-dim); }

.customer-topbar-spacer { flex: 1; }

/* Customer Account Topbar & Chip */
.customer-account-topbar {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.customer-user-chip i.fa-user-check {
    color: var(--pink-light);
}

.customer-user-chip small {
    color: var(--text-dim);
    font-weight: 400;
}

.btn-customer-logout {
    background: transparent;
    border: none;
    color: var(--text-faint);
    cursor: pointer;
    padding: 4px;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.btn-customer-logout:hover {
    color: var(--red);
}

.btn-customer-login {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(236, 43, 124, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-customer-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(236, 43, 124, 0.5);
}

/* Customer Auth Modal */
.customer-auth-modal {
    max-width: 440px;
    width: 90%;
    padding: 28px;
}

.customer-auth-header-brand {
    text-align: center;
    margin-bottom: 20px;
}

.customer-auth-header-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.customer-auth-header-brand h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.customer-auth-header-brand p {
    font-size: 13px;
    color: var(--text-dim);
}

.otp-sent-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.otp-sent-info i {
    font-size: 24px;
}

.otp-sent-info strong {
    font-size: 14px;
    color: #22c55e;
}

.otp-sent-info p {
    font-size: 12.5px;
    color: var(--text-dim);
    margin: 0;
}

/* SMS Live Toast Alert Banner */
.sms-toast-alert {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 380px;
    background: #1c1c21;
    border: 1px solid var(--pink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(236, 43, 124, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    animation: smsToastSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes smsToastSlideIn {
    from { transform: translateX(120%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

.sms-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sms-toast-content strong {
    display: block;
    font-size: 13.5px;
    color: var(--pink-light);
    margin-bottom: 2px;
}

.sms-toast-content p {
    font-size: 13px;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
}

.sms-toast-content small {
    font-size: 11px;
    color: var(--text-faint);
    display: block;
    margin-top: 4px;
}

/* Live order tracker bar — hidden until an order is placed (or resumed
   from sessionStorage on reload), sits right under the topbar. */
.order-tracker {
    display: none;
    border-bottom: 1px solid var(--border);
    background: var(--bg-panel);
}
.order-tracker.show { display: block; }
.order-tracker-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 32px;
}
.order-tracker-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.order-tracker-left > i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(236, 43, 124, 0.15);
    color: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.order-tracker-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.order-tracker-label { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.03em; }
.order-tracker-code { font-size: 14.5px; font-weight: 700; color: var(--text); }
.order-tracker-badge { flex-shrink: 0; }
.order-tracker-close {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.order-tracker-close:hover { background: var(--gray-bg); color: var(--text); }

@media (max-width: 640px) {
    .order-tracker-inner { padding: 12px 18px; }
    .order-tracker-label { display: none; }
}

.fulfillment-choice-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.fulfillment-choice {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    text-align: left;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}
.fulfillment-choice i { grid-row: 1 / 3; align-self: center; font-size: 17px; color: var(--text-dim); }
.fulfillment-choice span { font-size: 14px; font-weight: 700; }
.fulfillment-choice small { font-size: 12px; color: var(--text-dim); grid-column: 2; }

.fulfillment-choice.active {
    border-color: var(--pink);
    background: rgba(236, 43, 124, 0.08);
}
.fulfillment-choice.active i,
.fulfillment-choice.active span { color: var(--pink-light); }

/* Delivery/source badges shown to the cashier/admin on Orders */
.order-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.order-type-badge.walkin { background: var(--gray-bg); color: var(--text-dim); }
.order-type-badge.delivery { background: var(--green-bg); color: var(--green); }

.payment-split { display: flex; gap: 10px; flex-wrap: wrap; }
.payment-chip {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 12px;
}

.table-total-row td { border-top: 2px solid var(--border); font-weight: 700; padding-top: 14px; color: var(--text); }
.table-total-row td:first-child { color: var(--text-dim); font-weight: 600; }

.status-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.menu-variant-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--pink-light);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 18px 0 12px;
}
.menu-variant-label:first-of-type { margin-top: 6px; }
.menu-grid { margin-bottom: 6px; }
.menu-section { margin-bottom: 24px; }

/* ---------- Welcome / role-select page (v2, matches mockup) ---------- */
.welcome2-body {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050506 url('../Images/bg.png') no-repeat center center;
    background-size: cover;
    padding: 60px 20px;
}

.welcome2-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.w2-dots {
    position: absolute;
    width: 110px;
    height: 70px;
    background-image: radial-gradient(var(--pink) 2px, transparent 2.5px);
    background-size: 22px 22px;
    opacity: 0.55;
}
.w2-dots-tl { top: 36px; left: 36px; }
.w2-dots-br { bottom: 36px; right: 36px; }

.w2-blob {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.9;
}
.w2-blob-tr {
    top: -140px;
    right: -120px;
    background: radial-gradient(circle at 35% 35%, var(--pink-light), var(--pink-dark) 60%, transparent 75%);
    opacity: 0.5;
}
.w2-blob-bl {
    bottom: -150px;
    left: -130px;
    background: radial-gradient(circle at 35% 35%, var(--pink-light), var(--pink-dark) 60%, transparent 75%);
    opacity: 0.5;
}

.w2-cup {
    position: absolute;
    top: 12%;
    right: 6%;
    font-size: 320px;
    color: var(--pink);
    opacity: 0.06;
    transform: rotate(-6deg);
}

.welcome2-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome2-brand { margin-bottom: 6px; }
.welcome2-logo { max-width: 260px; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(236, 43, 124, 0.35)); }

.welcome2-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
    margin-top: 4px;
}
.w2-accent { color: var(--pink); }

.welcome2-subtitle {
    font-size: 19px;
    color: var(--text-dim);
    margin-top: 6px;
    margin-bottom: 42px;
}

.welcome2-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    width: 100%;
}

.welcome2-card {
    background: rgba(22, 12, 18, 0.55);
    border: 1px solid rgba(236, 43, 124, 0.28);
    border-radius: 16px;
    padding: 34px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.welcome2-card:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
    box-shadow: 0 12px 34px rgba(236, 43, 124, 0.22);
}

.w2-icon-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pink-light), var(--pink-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 24px rgba(236, 43, 124, 0.4);
    margin-bottom: 18px;
}

.welcome2-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
}

.w2-divider {
    width: 34px;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
    margin: 10px 0 16px;
}

.welcome2-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-dim);
    min-height: 62px;
    margin-bottom: 22px;
}

.w2-select-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--pink-light), var(--pink));
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 8px 20px rgba(236, 43, 124, 0.3);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.w2-select-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(236, 43, 124, 0.42); }

.welcome2-footer {
    margin-top: 40px;
    font-size: 12.5px;
    color: var(--text-faint);
}

@media (max-width: 860px) {
    .welcome2-cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .welcome2-title { font-size: 38px; }
    .w2-cup { font-size: 220px; }
}

/* ------------------------------------------------------------------
   SweetAlert2 theme — applies everywhere SweetAlert is used (admin,
   cashier, and the public customer-ordering page) so every popup and
   toast in the app shares one consistent look instead of drifting
   between the library's default white style and this site's dark/pink
   theme depending on which page happens to show it.
   ------------------------------------------------------------------ */
.swal2-popup {
    width: 23em !important;
    padding: 1.4em 1.5em 1.6em !important;
    background: var(--bg-card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
    font-family: var(--font) !important;
}
.swal2-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    padding: 0.4em 0 0.2em !important;
}
.swal2-html-container {
    font-size: 13.5px !important;
    color: var(--text-dim) !important;
    line-height: 1.5 !important;
    margin: 0.5em 1em 0 !important;
}
.swal2-icon {
    /* The default icon is built at a fixed 5em size out of several
       absolutely-positioned pieces (ring, check, the two X bars) whose
       own sizes/positions are math'd off that 5em base. Forcing a
       smaller width/height directly (the old approach here) resizes
       the box but not those inner pieces, which is exactly what made
       the checkmark and the X look chunky/off-center. Scaling the
       whole icon as one unit with zoom keeps every piece in
       proportion, so it stays crisp and centered at any size. */
    zoom: 0.72 !important;
    margin: 0.6em auto 0.2em !important;
}
.swal2-warning { border-color: var(--pink) !important; color: var(--pink) !important; }
.swal2-success-ring { border-color: rgba(34, 197, 94, 0.3) !important; }
.swal2-success-line-tip, .swal2-success-line-long { background-color: var(--green) !important; }
.swal2-error [class^='swal2-x-mark-line'] { background-color: var(--red) !important; }
.swal2-actions { margin-top: 1.4em !important; gap: 10px !important; }
.swal2-styled {
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 9px 18px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.swal2-styled.swal2-confirm {
    background: linear-gradient(145deg, var(--pink-light), var(--pink)) !important;
}
.swal2-styled.swal2-confirm:focus { box-shadow: 0 0 0 3px rgba(236, 43, 124, 0.35) !important; }
.swal2-styled.swal2-cancel {
    background: var(--bg-input) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}
.swal2-timer-progress-bar { background: var(--pink) !important; }
.swal2-close { color: var(--text-faint) !important; }
.swal2-close:hover { color: var(--text) !important; }

/* ---- Custom content inside specific SweetAlerts ---- */

/* Cashier "Verify GCash payment" dialog (orders.php) */
.gcash-verify { text-align: left; }
.gcash-verify-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding: 6px 0;
}
.gcash-verify-row span { color: var(--text-faint); }
.gcash-verify-row strong { color: var(--text); font-weight: 600; }
.gcash-ref-box {
    margin-top: 10px;
    padding: 12px 14px;
    background: var(--amber-bg);
    border: 1px dashed var(--amber);
    border-radius: var(--radius-sm);
    text-align: center;
}
.gcash-ref-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--amber);
    margin-bottom: 6px;
}
.gcash-ref-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
    word-break: break-all;
}
.gcash-ref-missing { font-size: 13px; font-weight: 600; color: var(--red); }
.gcash-verify-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.5;
}

/* Customer "Order placed!" confirmation (customer_order.php) */
.order-success { text-align: center; }
.order-success-code {
    display: inline-block;
    margin: 2px 0 10px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(236, 43, 124, 0.15);
    color: var(--pink-light);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.order-success-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--amber-bg);
    color: var(--amber);
    font-size: 11.5px;
    font-weight: 700;
}
.order-success-msg {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.55;
}
.order-success-divider { height: 1px; background: var(--border); margin: 14px 0; }
.order-success-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.5;
    text-align: left;
}
.order-success-note i { color: var(--pink-light); margin-top: 2px; }

/* Cashier order receipt (pos.php) — shown in a SweetAlert right after checkout */
.receipt-box { text-align: center; }
.receipt-logo { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 8px; display: block; }
.receipt-store { font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: 0.02em; }
.receipt-address { font-size: 11.5px; color: var(--text-faint); margin-top: 2px; }
.receipt-code {
    display: inline-block;
    margin: 8px 0 2px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(236, 43, 124, 0.15);
    color: var(--pink-light);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.receipt-divider { border: none; border-top: 1px dashed var(--border); margin: 12px 0; }
.receipt-meta { text-align: left; }
.receipt-meta-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 2px 0; color: var(--text-dim); }
.receipt-meta-row span:first-child { color: var(--text-faint); }
.receipt-items { text-align: left; }
.receipt-item-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
}
.receipt-item-row:last-child { border-bottom: none; }
.receipt-item-name { color: var(--text); font-weight: 600; }
.receipt-item-sub, .receipt-item-qty { display: block; font-size: 11px; color: var(--text-faint); font-weight: 400; }
.receipt-item-amount { color: var(--text); font-weight: 600; white-space: nowrap; }
.receipt-totals { text-align: left; margin-top: 6px; }
.receipt-totals-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 3px 0; color: var(--text-dim); }
.receipt-totals-row.grand {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
}
.receipt-totals-row.change strong { color: var(--pink-light); }
.receipt-footer-note { margin-top: 14px; font-size: 11.5px; color: var(--text-faint); line-height: 1.5; }

/* Toasts stay compact and don't need the full padding/icon treatment above */
.swal2-popup.swal2-toast {
    width: auto !important;
    padding: 0.65em 1em !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4) !important;
}
.swal2-popup.swal2-toast .swal2-title { font-size: 13px !important; padding: 0 !important; }
.swal2-popup.swal2-toast .swal2-icon { width: 1.6em !important; height: 1.6em !important; margin: 0 0.6em 0 0 !important; }

/* ==========================================================
   Transactions page (transactions.php)
   ========================================================== */
.txn-layout { grid-template-columns: 1.7fr 1fr; align-items: start; }

.txn-row { cursor: pointer; transition: background 0.15s; }
.txn-row:hover { background: var(--gray-bg); }
.txn-row.active { outline: 1px solid var(--pink); outline-offset: -1px; background: rgba(236, 43, 124, 0.06); }
.txn-row.active td:first-child { position: relative; }
.txn-row .order-id a { color: var(--pink-light); font-weight: 700; }

.txn-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.txn-pagination .muted { font-size: 12.5px; color: var(--text-faint); }

.pagination { display: flex; align-items: center; gap: 6px; }
.page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
}
.page-btn:hover:not(.disabled):not(.active) { border-color: var(--pink); color: var(--pink-light); }
.page-btn.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.page-ellipsis { color: var(--text-faint); padding: 0 2px; font-size: 12.5px; }

/* ---------- Receipt preview panel ---------- */
.receipt-panel { position: sticky; top: 20px; }
.receipt-panel .panel-head .btn-icon { width: 34px; height: 34px; }

.receipt-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.receipt-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.receipt-card-id { font-size: 16px; font-weight: 800; color: var(--pink-light); }

.receipt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 14px;
}
.receipt-brand img { width: 40px; height: 40px; object-fit: contain; }
.receipt-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.receipt-brand strong { font-size: 16px; font-weight: 800; }
.receipt-brand strong .pink { color: var(--pink); }
.receipt-brand span { font-size: 9.5px; letter-spacing: 0.08em; color: var(--text-faint); font-weight: 700; }

.receipt-meta-rows { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.receipt-meta-rows div { display: flex; justify-content: space-between; font-size: 12.5px; }
.receipt-meta-rows span { color: var(--text-faint); }
.receipt-meta-rows strong { color: var(--text); font-weight: 600; }

.receipt-customer { display: flex; flex-direction: column; gap: 2px; }
.receipt-customer span { font-size: 11px; color: var(--pink-light); font-weight: 700; letter-spacing: 0.03em; }
.receipt-customer strong { font-size: 14px; }

.receipt-items-label { font-size: 11px; color: var(--pink-light); font-weight: 700; letter-spacing: 0.03em; margin-bottom: 8px; }
.receipt-items-list { display: flex; flex-direction: column; gap: 8px; }
.receipt-line-item { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.receipt-line-item em { font-style: normal; color: var(--text-faint); font-size: 11px; }
.receipt-line-item strong { white-space: nowrap; font-weight: 600; }

.receipt-totals-list { display: flex; flex-direction: column; gap: 5px; }
.receipt-totals-list div { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-dim); }

.receipt-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 800;
    color: var(--pink-light);
}

.receipt-thankyou {
    text-align: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 13px;
    font-weight: 700;
    color: var(--pink-light);
    line-height: 1.5;
}

.receipt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}
.receipt-actions .btn-primary,
.receipt-actions .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.receipt-actions .btn-primary { grid-column: 1 / -1; padding: 12px; }

@media (max-width: 1100px) {
    .txn-layout { grid-template-columns: 1fr; }
    .receipt-panel { position: static; }
}

/* ==========================================================
   Logs page (logs.php)
   ========================================================== */
.log-user-cell { display: flex; align-items: center; gap: 10px; }
.log-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-bg);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.badge-auth-login { background: var(--green-bg); color: var(--green); }
.badge-auth-logout { background: var(--gray-bg); color: var(--text-dim); }
.badge-auth-failed { background: var(--red-bg); color: var(--red); }

/* ==========================================================
   MASTER MOBILE RESPONSIVE OVERRIDES
   ========================================================== */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.app, .main {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

@media (max-width: 860px) {
    .main {
        margin-left: 0 !important;
    }

    .content { padding: 16px !important; gap: 16px !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; }
    .panel { padding: 16px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    .stats-grid { grid-template-columns: 1fr !important; }

    /* Header actions layout fix on mobile */
    .panel-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .panel-head-actions {
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        display: flex !important;
    }

    .panel-head-actions button,
    .panel-head-actions a,
    .panel-head-actions .btn-primary,
    .panel-head-actions .btn-secondary,
    .panel-head-actions .btn-add-product,
    .panel-head-actions .btn-add-type,
    .panel-head-actions .btn-delete-type,
    .panel-head-actions .btn-add-variant {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 110px !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 9px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* Filter bar & categories responsive horizontal scroll/wrap */
    .filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .filter-bar .period-select {
        width: 100% !important;
    }

    .category-row {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
    }

    .category-pill {
        flex-shrink: 0 !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    .grid-2col {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .grid-2col > .panel,
    .panel {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        display: block !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .table-wrap table {
        min-width: 550px !important;
        width: 100% !important;
    }

    /* Topbar responsive adjustments */
    .topbar {
        padding: 12px 16px !important;
        gap: 10px !important;
    }

    .topbar-left {
        gap: 10px !important;
        min-width: 0 !important;
    }

    .topbar-left h2 {
        font-size: 17px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .topbar-left p {
        display: none !important;
    }

    .user-info {
        display: none !important;
    }

    .modal-field-row {
        grid-template-columns: 1fr !important;
    }

    .receipt-actions {
        grid-template-columns: 1fr !important;
    }

    /* Accounts card (user.php) responsive layout */
    .account-row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .account-info {
        flex: 1 1 120px !important;
        min-width: 0 !important;
    }

    .account-row .btn-secondary,
    .account-row .btn-danger {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 110px !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .pw-form {
        grid-template-columns: 1fr !important;
    }

    /* Fix topbar clock overlapping header on mobile */
    .topbar-clock {
        display: none !important;
    }

    /* Fix List View product cards on mobile view */
    .product-grid.list-view .product-card:not(.hidden) {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .product-grid.list-view .product-thumb {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
    }

    .product-grid.list-view .product-info {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }

    .product-grid.list-view .product-name {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 13.5px !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .product-grid.list-view .product-price {
        font-size: 13px !important;
        margin-bottom: 0 !important;
    }

    .product-grid.list-view .btn-add {
        width: auto !important;
        padding: 8px 14px !important;
        font-size: 12.5px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 480px) {
    .panel-head-actions button,
    .panel-head-actions a,
    .panel-head-actions .btn-primary,
    .panel-head-actions .btn-secondary,
    .panel-head-actions .btn-add-product,
    .panel-head-actions .btn-add-type,
    .panel-head-actions .btn-delete-type,
    .panel-head-actions .btn-add-variant,
    .account-row .btn-secondary,
    .account-row .btn-danger {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

/* Global Modal Backdrop & SweetAlert Backdrop Blur System */
.swal2-container:not(.swal2-toast-shown) {
    background: rgba(10, 10, 15, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: backdrop-filter 0.25s ease !important;
}

/* Toast notifications container must NEVER have a backdrop overlay or blur */
.swal2-container.swal2-toast-shown,
.swal2-container:has(.swal2-toast) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none !important;
}

.swal2-container.swal2-toast-shown .swal2-popup,
.swal2-toast {
    pointer-events: auto !important;
}

.modal-overlay {
    background: rgba(10, 10, 15, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Modal Backdrop Overlay System */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-backdrop .modal-card {
    background: var(--bg-card, #141418);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(236, 43, 124, 0.15);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .modal-card {
    transform: scale(1) translateY(0);
}

/* Fix Customer Auth Modal Layout Overrides */
.customer-auth-modal.modal-card {
    width: 440px !important;
    max-width: 92vw !important;
    padding: 32px 26px !important;
    display: block !important;
    box-sizing: border-box !important;
}

.customer-auth-modal .modal-head {
    display: block !important;
    text-align: center !important;
    padding: 0 !important;
    margin-bottom: 22px !important;
    border-bottom: none !important;
}

.customer-auth-modal .modal-head h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 8px 0 4px !important;
}

.customer-auth-modal .modal-head p {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.customer-auth-step {
    display: block;
    width: 100%;
}

/* =====================================================================
 * High-End Current Order Panel (Exact Reference Image Match)
 * ===================================================================== */
.order-panel {
    background: #f3ede4 !important;
    border: 1px solid #e0d2c3 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 4px 18px rgba(110, 75, 45, 0.03) !important;
    position: sticky !important;
    top: 90px !important;
    align-self: start !important;
    z-index: 20 !important;
}

.order-panel-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 22px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.order-panel-head h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #2c1e16 !important;
    margin: 0 !important;
}

.btn-clear, #clearOrderBtn {
    background: #e9decb !important;
    border: 1px solid #e0d2c3 !important;
    color: #543a2b !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-clear:hover, #clearOrderBtn:hover {
    background: rgba(220, 38, 38, 0.12) !important;
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    box-shadow: none !important;
}

.order-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-height: 380px !important;
    overflow-y: auto !important;
    margin-bottom: 20px !important;
    padding-right: 4px !important;
}

.order-item {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #e0d2c3 !important;
    position: relative !important;
}

.order-item:last-child {
    border-bottom: none !important;
}

.order-item-thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 14px !important;
    background: #e9decb !important;
    border: 1px solid #e0d2c3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a87652 !important;
    font-size: 24px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.order-item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.order-item-body {
    flex: 1 !important;
    min-width: 0 !important;
}

.order-item-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.order-item-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2c1e16 !important;
    line-height: 1.3 !important;
    display: block !important;
}

.order-item-body .variant {
    font-size: 12px !important;
    color: #7a6859 !important;
    margin-top: 3px !important;
}

.order-item-right-price-col {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.order-item-unit-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2c1e16 !important;
    white-space: nowrap !important;
}

.order-item-remove {
    background: transparent !important;
    border: none !important;
    color: #7a6859 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 2px !important;
    transition: color 0.2s ease !important;
}

.order-item-remove:hover {
    color: #dc2626 !important;
}

.qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 10px !important;
}

.qty-stepper {
    background: #e9decb !important;
    border: 1px solid #e0d2c3 !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.qty-stepper button {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: #2c1e16 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
}

.qty-stepper button:hover {
    color: #a87652 !important;
}

.qty-stepper span {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #2c1e16 !important;
    min-width: 14px !important;
    text-align: center !important;
}

.order-item-total {
    font-weight: 800 !important;
    color: #a87652 !important;
    font-size: 15px !important;
}

.order-summary {
    border-top: 1px solid #e0d2c3 !important;
    padding-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.summary-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 14.5px !important;
    color: #2c1e16 !important;
    font-weight: 600 !important;
}

.summary-row span:last-child {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2c1e16 !important;
}

.summary-row.total {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2c1e16 !important;
    padding-top: 14px !important;
    margin-top: 6px !important;
    border-top: 1px solid #e0d2c3 !important;
}

.summary-row.total .amount {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #a87652 !important;
    letter-spacing: -0.5px !important;
}

/* =====================================================================
 * High-End Transactions Page Design (Side-by-Side 2-Column Desktop Grid)
 * ===================================================================== */
.grid-2col.txn-layout, .txn-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 370px !important;
    gap: 20px !important;
    align-items: start !important;
}

/* Badge Color Overrides */
.badge-completed, span.badge-completed {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.badge-cancelled, span.badge-cancelled {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.badge-refunded, span.badge-refunded {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.badge-preparing, span.badge-preparing {
    background: rgba(236, 43, 124, 0.15) !important;
    color: #ec2b7c !important;
    border: 1px solid rgba(236, 43, 124, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.badge-pending-verification, span.badge-pending-verification {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #eab308 !important;
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.badge-ready, span.badge-ready {
    background: rgba(168, 85, 247, 0.15) !important;
    color: #a855f7 !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

/* Filter Dropdown Wrappers in Header */
.filter-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.filter-dropdown-wrap .filter-icon {
    position: absolute;
    left: 12px;
    color: #a87652;
    font-size: 13px;
    pointer-events: none;
}

.filter-dropdown-wrap select.period-select {
    padding-left: 32px !important;
    background-color: #e9decb !important;
    border: 1px solid #e0d2c3 !important;
    color: #2c1e16 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding-right: 28px !important;
    height: 38px !important;
    cursor: pointer !important;
}

/* Table Design */
.txn-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.txn-table th {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #7a6859 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e0d2c3 !important;
    white-space: nowrap !important;
}

.txn-table td {
    padding: 14px 12px !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid #e0d2c3 !important;
    color: #2c1e16 !important;
    vertical-align: middle !important;
}

.txn-table tr.txn-row {
    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

.txn-table tr.txn-row:hover {
    background: #e9decb !important;
}

.txn-table tr.txn-row.active {
    background: rgba(168, 118, 82, 0.1) !important;
    outline: 1px solid #a87652 !important;
    border-radius: 8px !important;
}

.txn-table td.order-id a {
    color: #a87652 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.txn-table td.cust-name-cell {
    font-weight: 600 !important;
    color: #2c1e16 !important;
}

.txn-table td.total-cell {
    font-weight: 700 !important;
    color: #2c1e16 !important;
}

.txn-table td.date-cell {
    font-size: 12.5px !important;
    color: #7a6859 !important;
    line-height: 1.3 !important;
}

.txn-table td.date-cell small {
    color: #9e8d80 !important;
}

.txn-table td.action-cell {
    text-align: center !important;
    color: #7a6859 !important;
}

/* Pagination */
.txn-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e0d2c3 !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.txn-pagination .muted {
    font-size: 12.5px !important;
    color: #7a6859 !important;
    margin: 0 !important;
}

.pagination {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.pagination .page-btn {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    background: #f3ede4 !important;
    border: 1px solid #e0d2c3 !important;
    color: #543a2b !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.pagination .page-btn:hover:not(.disabled) {
    border-color: #a87652 !important;
    color: #a87652 !important;
}

.pagination .page-btn.active {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    border-color: #a87652 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(168, 118, 82, 0.25) !important;
}

.pagination .page-btn.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Receipt Preview Panel & Thermal Ticket */
.receipt-panel {
    background: #f3ede4 !important;
    border: 1px solid #e0d2c3 !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 4px 18px rgba(110, 75, 45, 0.03) !important;
}

.receipt-header-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
}

.receipt-banner-code {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #a87652 !important;
}

#receiptPrintTop {
    color: #a87652 !important;
    font-size: 18px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

#receiptPrintTop:hover {
    transform: scale(1.1) !important;
}

/* Jagged Sawtooth Thermal Receipt Container */
.thermal-ticket-container {
    position: relative !important;
    margin-bottom: 22px !important;
    filter: drop-shadow(0 8px 24px rgba(110, 75, 45, 0.12)) !important;
}

.thermal-ticket-top-sawtooth {
    height: 10px !important;
    background: radial-gradient(circle, transparent, transparent 50%, #e9decb 50%, #e9decb 100%) !important;
    background-size: 14px 20px !important;
    background-position: left bottom !important;
}

.thermal-ticket {
    background: #e9decb !important;
    border-left: 1px solid #e0d2c3 !important;
    border-right: 1px solid #e0d2c3 !important;
    padding: 16px 20px !important;
}

.thermal-ticket-bottom-sawtooth {
    height: 10px !important;
    background: radial-gradient(circle, transparent, transparent 50%, #e9decb 50%, #e9decb 100%) !important;
    background-size: 14px 20px !important;
    background-position: left top !important;
}

.thermal-pink-dashed-line {
    border-top: 1px dashed rgba(168, 118, 82, 0.45) !important;
    margin: 14px 0 !important;
}

.thermal-brand {
    text-align: center !important;
    margin-bottom: 12px !important;
}

.thermal-logo {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    margin: 0 auto 6px !important;
    display: block !important;
}

.thermal-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #2c1e16 !important;
}

.thermal-title .pink {
    color: #a87652 !important;
}

.thermal-sub {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #7a6859 !important;
    margin-top: 2px !important;
}

.thermal-meta div {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #7a6859 !important;
    margin-bottom: 4px !important;
}

.thermal-meta div strong {
    color: #2c1e16 !important;
}

.thermal-customer {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #7a6859 !important;
}

.thermal-customer strong {
    color: #2c1e16 !important;
    font-weight: 700 !important;
}

.thermal-label {
    font-size: 12px !important;
    font-weight: 700;
    color: #a87652 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.thermal-item-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #543a2b !important;
    margin-bottom: 6px !important;
}

.thermal-item-row strong {
    color: #2c1e16 !important;
}

.thermal-totals div {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #7a6859 !important;
    margin-bottom: 4px !important;
}

.thermal-totals div span:last-child {
    color: #2c1e16 !important;
    font-weight: 600 !important;
}

.thermal-grand-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #2c1e16 !important;
}

.thermal-grand-total .pink-total {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #a87652 !important;
}

.thermal-footer {
    text-align: center !important;
    margin-top: 10px !important;
}

.pink-footer-text {
    color: #a87652 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 2px 0 !important;
}

/* 2x2 Grid of Receipt Action Buttons */
.receipt-action-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.btn-receipt-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background: #1a1a20 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e4e4e7 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-receipt-action:hover {
    border-color: #ec2b7c !important;
    color: #ffffff !important;
    background: rgba(236, 43, 124, 0.1) !important;
}

.btn-receipt-action.btn-pink {
    background: #ec2b7c !important;
    border-color: #ec2b7c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(236, 43, 124, 0.35) !important;
}

.btn-receipt-action.btn-pink:hover {
    background: #d81b6c !important;
    box-shadow: 0 6px 20px rgba(236, 43, 124, 0.5) !important;
}

/* Mobile Responsiveness Rules (Only collapse on mobile under 768px) */
@media (max-width: 768px) {
    .grid-2col.txn-layout, .txn-layout {
        grid-template-columns: 1fr !important;
    }

    .responsive-table-container {
        overflow-x: auto !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .txn-table {
        min-width: 650px !important;
    }

    .panel-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .panel-head-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .filter-dropdown-wrap {
        flex: 1 !important;
    }

    .filter-dropdown-wrap select.period-select {
        width: 100% !important;
    }

    .receipt-action-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   POS Exact Mockup Styling & Components Match
   ========================================================== */

/* Top 4 Stat Cards Row */
.pos-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.pos-stat-card {
    background: #ffffff;
    border: 1px solid #e6ded6;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 18px rgba(110, 75, 45, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pos-stat-card:hover {
    transform: translateY(-3px);
    border-color: #8c5a3c;
}

.pos-stat-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(140, 90, 60, 0.12) !important;
    border: 1px solid rgba(140, 90, 60, 0.3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #8c5a3c !important;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.15) !important;
}

.pos-stat-icon-wrap.gold {
    background: linear-gradient(135deg, #d49b54, #b88258);
    box-shadow: 0 6px 16px rgba(212, 155, 84, 0.35);
    color: #ffffff !important;
}

.pos-stat-label {
    display: block;
    font-size: 12.5px;
    color: #7a6859;
    font-weight: 600;
    margin-bottom: 2px;
}

.pos-stat-value {
    font-size: 22px;
    font-weight: 900;
    color: #2c1e16;
    line-height: 1.2;
}

.pos-stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 3px;
}

.pos-stat-trend.up {
    color: #10b981;
}

.pos-stat-trend.good {
    color: #10b981;
}

/* Quick Filter Tabs Sub-bar */
.pos-filter-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0;
    border-bottom: 1px solid #e6ded6;
    padding-bottom: 12px;
}

.pos-quick-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
}

.quick-tab {
    background: transparent;
    border: none;
    color: #7a6859;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.quick-tab:hover,
.quick-tab.active {
    color: #2c1e16;
}

.quick-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    right: 0;
    height: 3px;
    background: #8c5a3c;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(140, 90, 60, 0.5);
}

/* Load More Button */
.pos-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.btn-load-more {
    background: #f7f4ef;
    border: 1px solid #e6ded6;
    color: #2c1e16;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: #ffffff;
    border-color: #8c5a3c;
    color: #8c5a3c;
}

/* Product Card Action Buttons */
.product-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.btn-quick-minus,
.btn-quick-plus {
    background: #f7f4ef !important;
    border: 1px solid #e6ded6 !important;
    color: #8c5a3c !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.btn-quick-minus:hover,
.btn-quick-plus:hover {
    background: #8c5a3c !important;
    color: #ffffff !important;
    border-color: #8c5a3c !important;
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.4) !important;
}

/* Order Customer Select Row */
.order-customer-select-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.order-customer-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.order-customer-wrap i {
    position: absolute;
    left: 14px;
    color: #8c5a3c;
    font-size: 14px;
    pointer-events: none;
}

.customer-select-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6ded6;
    border-radius: 12px;
    padding: 10px 14px 10px 38px;
    color: #2c1e16;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    box-sizing: border-box;
}

.btn-add-customer {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(140, 90, 60, 0.1);
    border: 1px solid rgba(140, 90, 60, 0.25);
    color: #8c5a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-add-customer:hover {
    background: #8c5a3c;
    color: #ffffff;
}

/* Order Action Buttons */
.order-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.btn-checkout-primary {
    background: linear-gradient(135deg, #8c5a3c, #6f472e);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(140, 90, 60, 0.35);
    transition: all 0.2s ease;
}

.btn-checkout-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #6f472e, #543420);
    box-shadow: 0 10px 30px rgba(140, 90, 60, 0.5);
}

.btn-hold-order {
    background: #f7f4ef;
    border: 1px solid #e6ded6;
    color: #2c1e16;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-hold-order:hover {
    background: #ffffff;
    border-color: #8c5a3c;
    color: #8c5a3c;
}

.btn-checkout-primary:disabled,
.btn-checkout-primary[disabled],
.btn-checkout-primary.disabled,
.btn-hold-order:disabled,
.btn-hold-order[disabled],
.btn-hold-order.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
    filter: grayscale(0.5) !important;
}

.total-pink-value {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #8c5a3c !important;
}

/* =========================================================
   INVENTORY MANAGEMENT TEMPLATE 2026
   ========================================================= */
.inv-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.inv-stat-card {
    background: #f3ede4;
    border: 1px solid #e0d2c3;
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 18px rgba(110, 75, 45, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.inv-stat-card:hover {
    transform: translateY(-2px);
    border-color: #a87652;
}

.inv-stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.inv-icon-total {
    background: #e9decb;
    color: #8c5a3c;
    box-shadow: none;
}

.inv-icon-low {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    box-shadow: none;
}

.inv-icon-out {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    box-shadow: none;
}

.inv-icon-cat {
    background: rgba(168, 85, 247, 0.15);
    color: #9333ea;
    box-shadow: none;
}

.inv-icon-val {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    box-shadow: none;
}

.inv-stat-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.inv-stat-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #7a6859;
    margin-bottom: 2px;
}

.inv-stat-val {
    font-size: 20px;
    font-weight: 900;
    color: #2c1e16;
    line-height: 1.1;
}

.inv-stat-sub {
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
    color: #7a6859;
}

.inv-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.inv-category-pills-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.inv-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}

.inv-category-pills::-webkit-scrollbar { display: none; }

.inv-category-pills .category-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.inv-pills-scroll-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3ede4;
    border: 1px solid #e0d2c3;
    color: #7a6859;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 11px;
    transition: all 0.2s ease;
}

.inv-pills-scroll-next:hover {
    color: #a87652;
    border-color: #a87652;
    background: rgba(168, 118, 82, 0.15);
}

.inv-action-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-inv-add-product {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 16px rgba(168, 118, 82, 0.25) !important;
    transition: all 0.2s ease !important;
}

.btn-inv-add-product:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(168, 118, 82, 0.4) !important;
}

.btn-inv-outline {
    background: #f3ede4 !important;
    border: 1px solid #e0d2c3 !important;
    color: #543a2b !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.btn-inv-outline:hover {
    border-color: #a87652 !important;
    color: #a87652 !important;
    background: #e9decb !important;
}

.inv-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap;
}

.inv-filter-left,
.inv-filter-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.inv-select-box {
    background: #e9decb;
    border: 1px solid #e0d2c3;
    color: #2c1e16;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.inv-select-box:focus {
    border-color: #a87652;
}

.inv-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #f3ede4;
    border: 1px solid #e0d2c3;
    border-radius: 18px;
    padding: 8px 20px;
    box-shadow: 0 4px 18px rgba(110, 75, 45, 0.03);
}

.inv-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.inv-table thead th {
    color: #7a6859;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e0d2c3 !important;
}

.inv-table tbody tr {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e0d2c3 !important;
    transition: background 0.15s ease;
}

.inv-table tbody tr:last-child {
    border-bottom: none !important;
}

.inv-table tbody tr:hover {
    background: #e9decb !important;
}

.inv-table tbody td {
    padding: 14px 16px;
    border: none !important;
    color: #2c1e16;
    font-size: 13.5px;
    vertical-align: middle;
}

.inv-table tbody tr td:first-child {
    border-left: none;
}

.inv-table tbody tr td:last-child {
    border-right: none;
}

.inv-thumb-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #e9decb;
    border: 1px solid #e0d2c3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.inv-thumb-box img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
}

.inv-product-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 2px;
}

.inv-product-sub {
    font-size: 11.5px;
    color: #7a6859;
}

.inv-stock-count {
    font-size: 13px;
    font-weight: 700;
    color: #2c1e16;
    margin-bottom: 4px;
}

.inv-stock-bar-track {
    width: 90px;
    height: 5px;
    background: #e0d2c3;
    border-radius: 999px;
    overflow: hidden;
}

.inv-stock-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.inv-stock-bar-fill.normal { background: #10b981; }
.inv-stock-bar-fill.low { background: #f59e0b; }
.inv-stock-bar-fill.out { background: #ef4444; }

.status-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.status-badge-pill.instock {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge-pill.lowstock {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-badge-pill.outstock {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.inv-action-icon-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-act-circle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f3ede4;
    border: 1px solid #e0d2c3;
    color: #543a2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.btn-act-circle.view:hover { color: #2563eb; border-color: #2563eb; background: rgba(37, 99, 235, 0.12); }
.btn-act-circle.edit:hover { color: #a87652; border-color: #a87652; background: rgba(168, 118, 82, 0.12); }
.btn-act-circle.adjust:hover { color: #059669; border-color: #059669; background: rgba(5, 150, 105, 0.12); }
.btn-act-circle.delete:hover { color: #dc2626; border-color: #dc2626; background: rgba(220, 38, 38, 0.12); }

.inv-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px 4px;
    flex-wrap: wrap;
    gap: 14px;
    color: #7a6859;
    font-size: 13px;
    font-weight: 600;
}

.inv-page-pills {
    display: flex;
    align-items: center;
    gap: 6px;
}

.inv-page-pill {
    padding: 6px 14px;
    border-radius: 10px;
    background: #f3ede4;
    border: 1px solid #e0d2c3;
    color: #543a2b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inv-page-pill.active {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    border-color: #a87652 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(168, 118, 82, 0.25);
}

/* =========================================================
   MENU TEMPLATE 2026 (100% Mockup Match)
   ========================================================= */
.menu-subbar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    margin-bottom: 6px !important;
}

.menu-subbar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 !important;
    min-width: 0 !important;
    cursor: grab !important;
    user-select: none !important;
}

.menu-subbar:active {
    cursor: grabbing !important;
}

.menu-subbar::-webkit-scrollbar { display: none; }

.menu-subbar .category-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 9px 20px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    background: #ffffff !important;
    border: 1px solid #ebdcd0 !important;
    color: #7a6859 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.menu-subbar .category-pill:hover {
    color: #a87652 !important;
    border-color: #a87652 !important;
    background: rgba(168, 118, 82, 0.08) !important;
}

.menu-subbar .category-pill.active {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    border-color: #a87652 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(168, 118, 82, 0.25) !important;
}

.menu-pills-scroll-next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ebdcd0;
    color: #7a6859;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 12px;
    transition: all 0.2s ease;
}

.menu-pills-scroll-next:hover {
    color: #a87652;
    border-color: #a87652;
    background: rgba(168, 118, 82, 0.12);
    box-shadow: 0 0 12px rgba(168, 118, 82, 0.2);
}

.menu-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px !important;
    margin-bottom: 12px !important;
}

.menu-header-row h2 {
    font-size: 20px;
    font-weight: 800;
    color: #2c1e16;
    letter-spacing: -0.3px;
}

.menu-header-row .menu-total-count {
    color: #7a6859;
    font-size: 13.5px;
    font-weight: 600;
}

.menu-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 1200px) {
    .menu-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 850px) {
    .menu-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 550px) {
    .menu-grid-container {
        grid-template-columns: 1fr;
    }
}

.menu-card-item {
    background: #ffffff;
    border: 1px solid #ebdcd0;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 18px rgba(110, 75, 45, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-card-item:hover {
    transform: translateY(-5px);
    border-color: #a87652;
    box-shadow: 0 10px 28px rgba(168, 118, 82, 0.18);
}

.menu-card-img-wrap {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: transparent !important;
    border-radius: 16px;
    padding: 6px;
    overflow: hidden;
}

.menu-card-img-wrap img {
    max-height: 168px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 4px 10px rgba(110, 75, 45, 0.12));
    transition: transform 0.3s ease;
}

.menu-card-item:hover .menu-card-img-wrap img {
    transform: scale(1.06);
}

.menu-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-card-price {
    font-size: 18px;
    font-weight: 900;
    color: #a87652;
    text-shadow: none;
}

.menu-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #ebdcd0;
}

.menu-pagination-bar .page-info {
    color: #7a6859;
    font-size: 13.5px;
    font-weight: 600;
}

.menu-page-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-page-pill {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #ebdcd0;
    color: #543a2b;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-page-pill:hover {
    color: #a87652;
    border-color: #a87652;
    background: rgba(168, 118, 82, 0.1);
}

.menu-page-pill.active {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    border-color: #a87652 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(168, 118, 82, 0.25) !important;
}

/* Menu Page Dark Mode Overrides */
html[data-theme="dark"] .menu-subbar .category-pill {
    background: #281b13 !important;
    border-color: #3d2b1f !important;
    color: #c9b8ab !important;
}
html[data-theme="dark"] .menu-subbar .category-pill.active {
    background: linear-gradient(135deg, #b88660, #a87652) !important;
    border-color: #a87652 !important;
    color: #ffffff !important;
}
html[data-theme="dark"] .menu-pills-scroll-next {
    background: #281b13 !important;
    border-color: #3d2b1f !important;
    color: #c9b8ab !important;
}
html[data-theme="dark"] .menu-header-row h2 { color: #ffffff !important; }
html[data-theme="dark"] .menu-header-row .menu-total-count { color: #c9b8ab !important; }
html[data-theme="dark"] .menu-card-item {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .menu-card-img-wrap { background: transparent !important; }
html[data-theme="dark"] .menu-card-title { color: #ffffff !important; }
html[data-theme="dark"] .menu-card-price { color: #d69e6e !important; text-shadow: none !important; }
html[data-theme="dark"] .menu-pagination-bar { border-top: 1px solid #3d2b1f !important; }
html[data-theme="dark"] .menu-pagination-bar .page-info { color: #c9b8ab !important; }
html[data-theme="dark"] .menu-page-pill {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d6c8bc !important;
}
html[data-theme="dark"] .menu-page-pill.active {
    background: #a87652 !important;
    border-color: #a87652 !important;
    color: #ffffff !important;
}

/* Inventory Page Dark Mode Overrides */
html[data-theme="dark"] .inv-stat-card,
html[data-theme="dark"] .inv-table-wrap {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .inv-stat-val,
html[data-theme="dark"] .inv-product-title,
html[data-theme="dark"] .inv-product-price,
html[data-theme="dark"] .inv-stock-count,
html[data-theme="dark"] .inv-table tbody td {
    color: #ffffff !important;
}
html[data-theme="dark"] .inv-stat-label,
html[data-theme="dark"] .inv-stat-sub,
html[data-theme="dark"] .inv-product-sub,
html[data-theme="dark"] .inv-table thead th,
html[data-theme="dark"] .inv-pagination-bar {
    color: #c9b8ab !important;
}
html[data-theme="dark"] .btn-inv-outline,
html[data-theme="dark"] .inv-select-box,
html[data-theme="dark"] .inv-page-pill,
html[data-theme="dark"] .btn-act-circle,
html[data-theme="dark"] .inv-pills-scroll-next {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d6c8bc !important;
}
html[data-theme="dark"] .inv-thumb-box {
    background: #1a120c !important;
    border: 1px solid #3d2b1f !important;
}
html[data-theme="dark"] .inv-table tbody tr {
    border-bottom: 1px solid #36241a !important;
}
html[data-theme="dark"] .inv-table tbody tr:hover {
    background: #281b13 !important;
}

/* Transactions Page Dark Mode Overrides */
html[data-theme="dark"] .receipt-panel {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .filter-dropdown-wrap select.period-select,
html[data-theme="dark"] .pagination .page-btn {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d6c8bc !important;
}
html[data-theme="dark"] .txn-table th {
    color: #c9b8ab !important;
    border-bottom: 1px solid #36241a !important;
}
html[data-theme="dark"] .txn-table td {
    border-bottom: 1px solid #36241a !important;
    color: #ffffff !important;
}
html[data-theme="dark"] .txn-table td.cust-name-cell,
html[data-theme="dark"] .txn-table td.total-cell,
html[data-theme="dark"] .thermal-title,
html[data-theme="dark"] .thermal-meta div strong,
html[data-theme="dark"] .thermal-customer strong,
html[data-theme="dark"] .thermal-item-row strong,
html[data-theme="dark"] .thermal-grand-total {
    color: #ffffff !important;
}
html[data-theme="dark"] .txn-table td.order-id a,
html[data-theme="dark"] .receipt-banner-code,
html[data-theme="dark"] #receiptPrintTop,
html[data-theme="dark"] .thermal-label,
html[data-theme="dark"] .thermal-grand-total .pink-total,
html[data-theme="dark"] .pink-footer-text {
    color: #d69e6e !important;
}
html[data-theme="dark"] .thermal-ticket {
    background: #1a120c !important;
    border-color: #3d2b1f !important;
}
html[data-theme="dark"] .thermal-ticket-top-sawtooth,
html[data-theme="dark"] .thermal-ticket-bottom-sawtooth {
    background: radial-gradient(circle, transparent, transparent 50%, #1a120c 50%, #1a120c 100%) !important;
}
html[data-theme="dark"] .txn-table tr.txn-row:hover {
    background: #281b13 !important;
}

/* POS Order Panel Dark Mode Overrides */
html[data-theme="dark"] .order-panel {
    background: #241811 !important;
    border: 1px solid #3d2b1f !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="dark"] .order-panel-head h3,
html[data-theme="dark"] .order-item-name,
html[data-theme="dark"] .order-item-unit-price,
html[data-theme="dark"] .qty-stepper button,
html[data-theme="dark"] .qty-stepper span,
html[data-theme="dark"] .summary-row,
html[data-theme="dark"] .summary-row span:last-child,
html[data-theme="dark"] .summary-row.total {
    color: #ffffff !important;
}
html[data-theme="dark"] .btn-clear,
html[data-theme="dark"] #clearOrderBtn,
html[data-theme="dark"] .order-customer,
html[data-theme="dark"] .qty-stepper {
    background: #281b13 !important;
    border: 1px solid #3d2b1f !important;
    color: #d6c8bc !important;
}
html[data-theme="dark"] .order-item-thumb {
    background: #1a120c !important;
    border: 1px solid #3d2b1f !important;
    color: #d69e6e !important;
}
html[data-theme="dark"] .order-item {
    border-bottom: 1px solid #36241a !important;
}
html[data-theme="dark"] .order-item-total,
html[data-theme="dark"] .summary-row.total .amount {
    color: #d69e6e !important;
}

@media (max-width: 1280px) {
    .inv-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .inv-stats-row {
        grid-template-columns: 1fr;
    }
    .inv-subbar, .inv-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1200px) {
    .pos-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pos-stats-row {
        grid-template-columns: 1fr;
    }
}

/* User Profile Topbar Dropdown Text Decoration Reset */
.user-dropdown a,
.user-dropdown button,
.user-dropdown .dropdown-item,
.dropdown-item,
a.dropdown-item,
.user-dropdown a:hover,
.user-dropdown button:hover,
.user-dropdown .dropdown-item:hover,
.dropdown-item:hover,
a.dropdown-item:hover {
    text-decoration: none !important;
}

/* =========================================================
   WELCOME PAGE (NEW BURGER TEMPLATE MATCHING DESIGN)
   ========================================================= */
.welcome-landing-body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fdfaf7 0%, #f7f4ef 100%);
    color: #2c1e16;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
}

.welcome-landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 30px 60px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .welcome-landing-wrapper {
        padding: 24px 30px;
    }
}

@media (max-width: 600px) {
    .welcome-landing-wrapper {
        padding: 20px 16px;
    }
}

/* Top Bar: Logo (Top-Left) & Right Badges */
.welcome-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 10;
}

.welcome-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Automatic Shrink & Grow Breathing Animation for Logo Badge */
@keyframes logoPulseBreath {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 22px rgba(140, 90, 60, 0.25);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 10px 32px rgba(140, 90, 60, 0.45);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 22px rgba(140, 90, 60, 0.25);
    }
}

.welcome-logo-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2.5px solid #8c5a3c;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(140, 90, 60, 0.25);
    margin: 0;
    text-decoration: none;
    animation: logoPulseBreath 3.2s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
}

.welcome-logo-badge:hover {
    animation-play-state: paused;
    transform: scale(1.12) !important;
    box-shadow: 0 10px 36px rgba(140, 90, 60, 0.55) !important;
}

.welcome-logo-badge img {
    width: 100%;
    height: 100%;
    max-width: 95px;
    max-height: 95px;
    object-fit: contain;
}

/* 4x4 Grid Dots Decorator */
.dot-pattern {
    display: grid;
    grid-template-columns: repeat(4, 4px);
    gap: 10px;
    opacity: 0.35;
}

.dot-pattern span {
    width: 4px;
    height: 4px;
    background-color: #8c5a3c;
    border-radius: 50%;
}

.welcome-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-topbar-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e6ded6;
    padding: 5px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(140, 90, 60, 0.08);
    backdrop-filter: blur(8px);
}

.welcome-nav-link {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #7a6859;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.welcome-nav-link:hover {
    color: #8c5a3c;
    background: rgba(140, 90, 60, 0.08);
}

.welcome-nav-link.active {
    background: #8c5a3c;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.3);
}

.welcome-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.welcome-search-input {
    background: #ffffff;
    border: 1.5px solid #e6ded6;
    border-radius: 999px;
    padding: 9px 38px 9px 16px;
    font-size: 13px;
    color: #2c1e16;
    outline: none;
    width: 170px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(140, 90, 60, 0.08);
}

.welcome-search-input:focus {
    width: 220px;
    border-color: #8c5a3c;
    box-shadow: 0 6px 18px rgba(140, 90, 60, 0.2);
}

.welcome-search-btn {
    position: absolute;
    right: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #8c5a3c;
    border: none;
    color: #ffffff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.welcome-search-btn:hover {
    background: #6f472e;
    transform: scale(1.08);
}

.staff-portal-btn {
    background: #ffffff;
    border: 1.5px solid #8c5a3c;
    color: #8c5a3c;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(140, 90, 60, 0.15);
    transition: all 0.25s ease;
}

.staff-portal-btn:hover {
    background: #8c5a3c;
    border-color: #8c5a3c;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(140, 90, 60, 0.35);
}

/* Welcome Menu Catalog Section */
.welcome-menu-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #e6ded6;
}

.welcome-section-header {
    text-align: center;
    margin-bottom: 16px;
}

.welcome-section-title {
    font-size: 32px;
    font-weight: 900;
    color: #2c1e16;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.welcome-section-sub {
    font-size: 14.5px;
    color: #7a6859;
    margin: 0;
}

/* Block Headers for Popular Today & All Products */
.welcome-menu-block {
    margin-bottom: 24px;
}

.welcome-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.welcome-block-title {
    font-size: 20px;
    font-weight: 800;
    color: #2c1e16;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-view-all-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #8c5a3c;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.welcome-view-all-link:hover {
    color: #6f472e;
    transform: translateX(3px);
}

.welcome-category-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.welcome-cat-pill {
    background: #ffffff;
    border: 1.5px solid #e6ded6;
    color: #7a6859;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(140, 90, 60, 0.05);
}

.welcome-cat-pill:hover {
    border-color: #8c5a3c;
    color: #8c5a3c;
}

.welcome-cat-pill.active {
    background: #8c5a3c;
    border-color: #8c5a3c;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(140, 90, 60, 0.25);
}

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

@media (max-width: 1200px) {
    .welcome-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .welcome-products-grid { grid-template-columns: repeat(2, 1fr); }
    .welcome-topbar {
        flex-wrap: wrap;
        gap: 14px;
        justify-content: space-between;
    }

    .welcome-topbar-left {
        gap: 12px;
    }

    .welcome-topbar-center {
        display: flex !important;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 4px;
    }

    .welcome-nav-links {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .welcome-nav-link {
        padding: 7px 14px;
        font-size: 12.5px;
    }

    .welcome-search-wrap {
        width: 100%;
    }

    .welcome-search-input {
        width: 100% !important;
        box-sizing: border-box;
    }

    .welcome-category-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-bottom: 8px !important;
        margin-bottom: 24px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .welcome-category-bar::-webkit-scrollbar {
        display: none !important;
    }

    .welcome-cat-pill {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 8px 16px !important;
        font-size: 12.5px !important;
    }
}

@media (max-width: 580px) {
    .welcome-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .welcome-product-card {
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .welcome-product-thumb {
        height: 120px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    .welcome-product-thumb img {
        max-height: 105px !important;
    }

    .welcome-product-name {
        font-size: 13.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }

    .welcome-product-rating {
        font-size: 10.5px !important;
        margin-bottom: 8px !important;
    }

    .welcome-thumb-rating-badge {
        top: 6px !important;
        left: 6px !important;
        padding: 2px 6px !important;
        font-size: 9.5px !important;
    }

    .welcome-product-price-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        padding-top: 8px !important;
    }

    .welcome-product-price {
        font-size: 16px !important;
    }

    .welcome-order-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 7px 10px !important;
        font-size: 11.5px !important;
        box-sizing: border-box !important;
    }

    .welcome-logo-badge {
        width: 85px;
        height: 85px;
    }

    .dot-pattern {
        display: none;
    }

    .welcome-nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ========================================================
   FULL MENU CATALOG - SEARCH & SEARCH FOCUS ANIMATION
   ======================================================== */
.welcome-search-container {
    max-width: 480px;
    margin: 0 auto 26px auto;
}

.welcome-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #eae1d7;
    border-radius: 999px;
    padding: 4px 6px 4px 18px;
    box-shadow: 0 4px 18px rgba(140, 90, 60, 0.05);
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-search-icon {
    color: #a8988a;
    font-size: 14px;
    margin-right: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

#welcomeSearchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    color: #2c1e16;
    padding: 8px 4px;
    font-family: inherit;
}

#welcomeSearchInput::placeholder {
    color: #a8988a;
    transition: opacity 0.2s ease;
}

/* SEARCH FOCUS ANIMATION */
.welcome-search-box:focus-within {
    border-color: #8c5a3c;
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(140, 90, 60, 0.14), 0 12px 26px -4px rgba(89, 56, 34, 0.12);
}

.welcome-search-box:focus-within .welcome-search-icon {
    color: #8c5a3c;
    transform: scale(1.15) rotate(-5deg);
}

.welcome-search-clear {
    background: transparent;
    border: none;
    color: #a8988a;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.welcome-search-clear:hover {
    color: #593822;
    transform: scale(1.15);
}

.welcome-search-btn {
    background: linear-gradient(135deg, #593822, #442817);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(89, 56, 34, 0.25);
    flex-shrink: 0;
}

.welcome-search-btn:hover {
    background: linear-gradient(135deg, #8c5a3c, #593822);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(89, 56, 34, 0.35);
}

/* ========================================================
   FULL MENU CATALOG - PRODUCT CARDS & IMAGE HOVER
   ======================================================== */
.welcome-product-card {
    background: #ffffff;
    border: 1.5px solid #eae2d8;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
    box-shadow: 0 4px 16px rgba(140, 90, 60, 0.05);
    position: relative;
    overflow: hidden;
}

.welcome-product-card:hover {
    transform: translateY(-6px);
    border-color: #cfbcab;
    box-shadow: 0 16px 32px -6px rgba(140, 90, 60, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.welcome-product-thumb {
    width: 100%;
    height: 165px;
    border-radius: 16px;
    background: radial-gradient(circle at center, #fbf8f4 0%, #f3ede3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    position: relative;
    transition: background 0.35s ease;
}

/* Floating Rating Badge */
.welcome-thumb-rating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(230, 220, 210, 0.7);
    border-radius: 999px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #2c1e16;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.welcome-thumb-rating-badge i {
    color: #e59819;
    font-size: 9.5px;
}

/* IMAGE HOVER ANIMATION */
.welcome-product-thumb img {
    max-height: 140px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
}

.welcome-product-card:hover .welcome-product-thumb img {
    transform: scale(1.10) translateY(-5px);
    filter: drop-shadow(0 12px 14px rgba(89, 56, 34, 0.20));
}

.welcome-product-cat-tag {
    font-size: 10px;
    font-weight: 800;
    color: #8c5a3c;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
    display: block;
}

.welcome-product-name {
    font-size: 15px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.welcome-product-card:hover .welcome-product-name {
    color: #8c5a3c;
}

.welcome-product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f4ede5;
}

.welcome-product-price {
    font-size: 18px;
    font-weight: 900;
    color: #593822;
    letter-spacing: -0.2px;
}

.welcome-order-btn {
    background: linear-gradient(135deg, #593822, #442817);
    color: #ffffff !important;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(89, 56, 34, 0.2);
}

.welcome-order-btn:hover {
    background: linear-gradient(135deg, #8c5a3c, #593822);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(89, 56, 34, 0.35);
}

.welcome-order-btn i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.welcome-order-btn:hover i {
    transform: translateX(2px);
}

/* Contact Us Section */
.welcome-contact-section {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed #e6ded6;
    margin-bottom: 24px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1200px;
}

@media (max-width: 768px) {
    .contact-cards-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 16px !important;
        padding: 4px 4px 14px 4px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-cards-grid::-webkit-scrollbar {
        display: none !important;
    }

    .contact-info-card {
        flex: 0 0 275px !important;
        min-width: 275px !important;
        max-width: 275px !important;
        box-sizing: border-box !important;
    }
}

/* Policies Section Styles */
.welcome-policies-section {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed #e6ded6;
    margin-bottom: 24px;
}

.policies-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 1060px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .policies-cards-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 16px !important;
        padding: 4px 4px 14px 4px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .policies-cards-grid::-webkit-scrollbar {
        display: none !important;
    }

    .policy-info-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        box-sizing: border-box !important;
    }
}

.policy-info-card {
    background: #ffffff;
    border: 1.5px solid #e6ded6;
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 6px 20px rgba(140, 90, 60, 0.06);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.policy-info-card:hover {
    transform: translateY(-4px);
    border-color: #8c5a3c;
    box-shadow: 0 14px 32px rgba(140, 90, 60, 0.18);
}

.policy-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.policy-info-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 8px;
}

.policy-info-card p {
    font-size: 13.5px;
    color: #7a6859;
    line-height: 1.55;
    margin: 0;
}

/* -------------------------------------------------------------
   "Contact Us" Option 1: Converging Tri-Fold Symmetrical Glide
   ------------------------------------------------------------- */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1200px;
}

.contact-info-card {
    background: #ffffff;
    border: 1.5px solid #e6ded6;
    border-radius: 20px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(140, 90, 60, 0.06);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.25, 1), 
                box-shadow 0.35s ease, 
                border-color 0.3s ease;
    will-change: transform, opacity, box-shadow;
    position: relative;
    overflow: hidden;
}

/* Subtle Top Accent Border on Cards */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease, right 0.3s ease;
}

.contact-card-left::before {
    background: #1877f2;
}

.contact-card-center::before {
    background: #ea4335;
}

.contact-card-right::before {
    background: #8c5a3c;
}

.contact-info-card:hover::before {
    opacity: 1;
    left: 10%;
    right: 10%;
}

/* Converging Tri-Fold Entrance Animations */
.contact-cards-grid.is-converging .contact-card-left {
    animation: contactGlideLeft 0.82s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-cards-grid.is-converging .contact-card-center {
    animation: contactBloomCenter 0.86s cubic-bezier(0.16, 1, 0.3, 1) 0.06s forwards;
}

.contact-cards-grid.is-converging .contact-card-right {
    animation: contactGlideRight 0.82s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Card 1: Glides in smoothly from the Left */
@keyframes contactGlideLeft {
    0% {
        opacity: 0;
        transform: translate3d(-45px, 14px, 0) rotateY(6deg);
        box-shadow: 0 2px 8px rgba(140, 90, 60, 0.02);
    }
    50% {
        opacity: 0.85;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0deg);
        box-shadow: 0 6px 20px rgba(140, 90, 60, 0.06);
    }
}

/* Card 2: Blooms up smoothly from the Center */
@keyframes contactBloomCenter {
    0% {
        opacity: 0;
        transform: translate3d(0, 36px, 0) scale(0.94);
        box-shadow: 0 2px 8px rgba(140, 90, 60, 0.02);
    }
    50% {
        opacity: 0.85;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 6px 20px rgba(140, 90, 60, 0.06);
    }
}

/* Card 3: Glides in smoothly from the Right */
@keyframes contactGlideRight {
    0% {
        opacity: 0;
        transform: translate3d(45px, 14px, 0) rotateY(-6deg);
        box-shadow: 0 2px 8px rgba(140, 90, 60, 0.02);
    }
    50% {
        opacity: 0.85;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0deg);
        box-shadow: 0 6px 20px rgba(140, 90, 60, 0.06);
    }
}

/* Responsive Mobile Mode */
@media (max-width: 768px) {
    .contact-cards-grid.is-converging .contact-card-left {
        animation: contactMobileRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
    }
    .contact-cards-grid.is-converging .contact-card-center {
        animation: contactMobileRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.14s forwards;
    }
    .contact-cards-grid.is-converging .contact-card-right {
        animation: contactMobileRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards;
    }

    @keyframes contactMobileRise {
        0% {
            opacity: 0;
            transform: translate3d(0, 28px, 0);
        }
        100% {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

/* Interactive Hover Polish */
.contact-card-left:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 119, 242, 0.45);
    box-shadow: 0 16px 36px rgba(24, 119, 242, 0.12);
}

.contact-card-center:hover {
    transform: translateY(-6px);
    border-color: rgba(234, 67, 53, 0.45);
    box-shadow: 0 16px 36px rgba(234, 67, 53, 0.12);
}

.contact-card-right:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 90, 60, 0.45);
    box-shadow: 0 16px 36px rgba(140, 90, 60, 0.12);
}

.contact-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f7f4ef;
    border: 1.5px solid #e6ded6;
    color: #8c5a3c;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-info-card:hover .contact-icon-circle {
    transform: scale(1.08) translateY(-2px);
}
.contact-card-left:hover .contact-icon-circle {
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.22);
}
.contact-card-center:hover .contact-icon-circle {
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.22);
}
.contact-card-right:hover .contact-icon-circle {
    box-shadow: 0 0 20px rgba(140, 90, 60, 0.22);
}

.contact-info-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 6px;
}

.contact-info-card p {
    font-size: 13.5px;
    color: #7a6859;
    margin-bottom: 14px;
    line-height: 1.4;
}

.contact-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1877f2;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
    transition: all 0.2s ease;
}

.contact-fb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
    background: #0d65d9;
}

.contact-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ea4335;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(234, 67, 53, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.5);
    background: #d93025;
}

/* Main Hero Content (2 Columns Layout) */
.welcome-hero-main {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
    margin: 20px 0;
    position: relative;
}

@media (max-width: 960px) {
    .welcome-hero-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

.welcome-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 580px;
    z-index: 5;
}

@media (max-width: 960px) {
    .welcome-hero-left {
        align-items: center;
        max-width: 100%;
    }
}

.welcome-subhead {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #7a6859;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.subhead-line {
    width: 45px;
    height: 2px;
    background: #8c5a3c;
    display: inline-block;
}

.welcome-main-title {
    font-size: 64px;
    font-weight: 900;
    color: #2c1e16;
    line-height: 1.02;
    margin: 0 0 20px 0;
    letter-spacing: -1.5px;
}

.welcome-main-title span {
    color: #8c5a3c;
}

.welcome-tagline {
    font-size: 30px;
    font-weight: 800;
    color: #2c1e16;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.welcome-desc {
    font-size: 15px;
    color: #7a6859;
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 440px;
    font-weight: 500;
}

.welcome-cta-btn {
    background: linear-gradient(135deg, #8c5a3c, #6f472e);
    color: #ffffff !important;
    padding: 16px 44px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(140, 90, 60, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    cursor: pointer;
}

.welcome-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(140, 90, 60, 0.55);
    background: linear-gradient(135deg, #6f472e, #543420);
}

.welcome-cta-btn i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.welcome-cta-btn:hover i {
    transform: translateX(6px);
}

/* Bottom 3 Features Column Layout */
.welcome-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
    width: 100%;
}

@media (max-width: 960px) {
    .welcome-features-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.welcome-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 960px) {
    .welcome-feature-item {
        align-items: center;
        text-align: center;
    }
}

.feature-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(140, 90, 60, 0.4);
    background: rgba(140, 90, 60, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c5a3c;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text-block {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #2c1e16;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.feature-sub {
    font-size: 12px;
    color: #7a6859;
    line-height: 1.35;
}

/* Right Hero Section: Burger & Separate Stamp Badge */
.welcome-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Stamp Badge "THANK YOU FOR YOUR CONTINUED SUPPORT ♡" */
.thank-you-stamp {
    position: absolute;
    top: -45px;
    left: 0px;
    z-index: 15;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 2.5px solid #8c5a3c;
    outline: 2.5px dashed rgba(140, 90, 60, 0.45);
    outline-offset: -9px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(140, 90, 60, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    box-sizing: border-box;
    cursor: pointer;
    transform: rotate(-6deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
}

.thank-you-stamp:hover {
    transform: rotate(0deg) scale(1.12) translateY(-4px) !important;
    border-color: #8c5a3c !important;
    box-shadow: 0 14px 40px rgba(140, 90, 60, 0.4) !important;
}

.thank-you-stamp .stamp-text-1 {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #2c1e16;
    letter-spacing: 0.8px;
    line-height: 1.08;
    text-transform: uppercase;
}

.thank-you-stamp .stamp-text-2 {
    font-size: 12.5px !important;
    font-weight: 900 !important;
    color: #8c5a3c;
    letter-spacing: 0.8px;
    margin: 3px 0;
}

.thank-you-stamp .stamp-text-3 {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #2c1e16;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.thank-you-stamp .stamp-text-3.font-gold {
    color: #8c5a3c;
}

.thank-you-stamp .stamp-heart {
    font-size: 20px !important;
    color: #8c5a3c;
    margin-top: 4px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.thank-you-stamp:hover .stamp-heart {
    color: #ec2b7c;
    transform: scale(1.2);
}

/* Harmonized Background Image Accent Layers Behind Burger (a, b, c, d, e, f, h, j) */
.hero-bg-layer {
    position: absolute;
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 2;
    opacity: 0.82;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, filter 0.4s ease, z-index 0.1s ease;
}

/* 1. e.png: Upper-Left Accent */
.hero-bg-e {
    left: -50px;
    top: 5%;
    width: 220px;
    transform: rotate(-14deg) scale(0.85);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.75));
}
.hero-bg-e:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(-4deg) scale(1.12) translateY(-10px) translateX(-6px) !important;
    filter: drop-shadow(0 25px 45px rgba(236, 43, 124, 0.5)) !important;
}

/* 2. b.png: Upper-Right Accent */
.hero-bg-b {
    right: -40px;
    top: 4%;
    width: 210px;
    transform: rotate(10deg) scale(0.85);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.75));
}
.hero-bg-b:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(22deg) scale(1.1) translateY(-10px) translateX(6px) !important;
    filter: drop-shadow(0 25px 45px rgba(250, 204, 21, 0.5)) !important;
}

/* 3. c.png: Lower-Left Accent */
.hero-bg-c {
    left: -35px;
    bottom: 6%;
    width: 200px;
    transform: rotate(-8deg) scale(0.85);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.75));
}
.hero-bg-c:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(-18deg) scale(1.1) translateY(8px) translateX(-6px) !important;
    filter: drop-shadow(0 25px 45px rgba(34, 197, 94, 0.5)) !important;
}

/* 4. a.png: Lower-Right Accent */
.hero-bg-a {
    right: -45px;
    bottom: 2%;
    width: 220px;
    transform: rotate(12deg) scale(0.85);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.75));
}
.hero-bg-a:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(2deg) scale(1.12) translateY(8px) translateX(6px) !important;
    filter: drop-shadow(0 25px 45px rgba(236, 43, 124, 0.5)) !important;
}

/* 5. d.png: Mid-Left Floating Accent */
.hero-bg-d {
    left: -70px;
    top: 42%;
    width: 190px;
    transform: rotate(-20deg) scale(0.8);
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.7));
}
.hero-bg-d:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(-8deg) scale(1.08) translateX(-12px) !important;
    filter: drop-shadow(0 20px 40px rgba(250, 204, 21, 0.55)) !important;
}

/* 6. f.png: Top-Center Floating Accent */
.hero-bg-f {
    top: -45px;
    right: 25%;
    width: 180px;
    transform: rotate(15deg) scale(0.8);
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.7));
}
.hero-bg-f:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(4deg) scale(1.08) translateY(-14px) !important;
    filter: drop-shadow(0 20px 40px rgba(236, 43, 124, 0.55)) !important;
}

/* 7. h.png: Mid-Right Floating Accent */
.hero-bg-h {
    right: -65px;
    top: 40%;
    width: 195px;
    transform: rotate(-15deg) scale(0.8);
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.7));
}
.hero-bg-h:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(-4deg) scale(1.08) translateX(12px) !important;
    filter: drop-shadow(0 20px 40px rgba(34, 197, 94, 0.55)) !important;
}

/* 8. j.png: Bottom-Center Floating Accent */
.hero-bg-j {
    bottom: -40px;
    left: 28%;
    width: 185px;
    transform: rotate(-10deg) scale(0.8);
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.7));
}
.hero-bg-j:hover {
    opacity: 1 !important;
    z-index: 12 !important;
    transform: rotate(2deg) scale(1.08) translateY(12px) !important;
    filter: drop-shadow(0 20px 40px rgba(250, 204, 21, 0.55)) !important;
}

/* Automatic Shrink & Grow Breathing Animation for Burger Image */
@keyframes burgerPulseBreath {
    0% {
        transform: scale(1) translateY(0px);
        filter: drop-shadow(0 20px 40px rgba(140, 90, 60, 0.25));
    }
    50% {
        transform: scale(1.18) translateY(-14px);
        filter: drop-shadow(0 38px 75px rgba(140, 90, 60, 0.45));
    }
    100% {
        transform: scale(1) translateY(0px);
        filter: drop-shadow(0 20px 40px rgba(140, 90, 60, 0.25));
    }
}

/* Separate Burger Image (Front Layer) */
.welcome-burger-img {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(140, 90, 60, 0.25));
    animation: burgerPulseBreath 3.2s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    cursor: pointer;
    transform-origin: center center;
}

.welcome-burger-img:hover {
    animation-play-state: paused;
    transform: scale(1.24) translateY(-16px) !important;
    filter: drop-shadow(0 45px 85px rgba(140, 90, 60, 0.55)) !important;
}

/* Bottom Left Dot Pattern Position */
.welcome-bottom-dots {
    position: absolute;
    bottom: -30px;
    left: 0;
}

/* RESPONSIVE MEDIA QUERIES FOR WELCOME PAGE (Must come after base styles) */
@media (max-width: 1200px) {
    .welcome-main-title { font-size: 52px; }
    .welcome-tagline { font-size: 26px; }
    .hero-bg-e { width: 180px; left: -25px; top: 2%; }
    .hero-bg-b { width: 170px; right: -20px; top: 0%; }
    .hero-bg-c { width: 160px; left: -15px; bottom: 2%; }
    .hero-bg-a { width: 180px; right: -25px; bottom: 0%; }
    .hero-bg-d { width: 140px; left: -45px; }
    .hero-bg-f { width: 130px; right: 20%; top: -35px; }
    .hero-bg-h { width: 145px; right: -45px; }
    .hero-bg-j { width: 135px; left: 22%; bottom: -30px; }
}

@media (max-width: 960px) {
    .welcome-landing-wrapper {
        padding: 24px 20px;
    }
    
    .welcome-hero-main {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .welcome-hero-left {
        display: contents;
    }
    
    .welcome-subhead { order: 1; justify-content: center; }
    .welcome-main-title { order: 2; font-size: 48px; margin-bottom: 12px; }
    .welcome-tagline { order: 3; font-size: 24px; }
    .welcome-desc { order: 4; max-width: 100%; margin-bottom: 24px; }
    
    .welcome-cta-btn { 
        order: 5; 
        margin: 0 auto 10px auto; 
    }
    
    .welcome-hero-right {
        order: 6;
        min-height: 360px !important;
        margin: 25px 0 20px 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .welcome-features-row {
        order: 7;
        margin-top: 10px;
    }

    .welcome-burger-img {
        width: 100% !important;
        max-width: 320px !important;
        max-height: 300px !important;
        z-index: 10 !important;
    }

    .thank-you-stamp {
        width: 130px !important;
        margin-top: 20px;
    }

    .welcome-burger-img {
        width: 100% !important;
        max-width: 440px !important;
        max-height: 400px !important;
        z-index: 10 !important;
    }

    .thank-you-stamp {
        width: 145px !important;
        height: 145px !important;
        top: -30px !important;
        left: -15px !important;
        transform: rotate(-6deg) !important;
        z-index: 25 !important;
        position: absolute !important;
    }

    .hero-bg-layer {
        display: block !important;
        opacity: 0.95 !important;
    }

    .hero-bg-e { left: -35px !important; top: 40px !important; width: 120px !important; z-index: 2 !important; }
    .hero-bg-f { left: 52% !important; transform: translateX(-50%) rotate(10deg) !important; top: -40px !important; width: 100px !important; z-index: 3 !important; }
    .hero-bg-b { right: -30px !important; top: 25px !important; width: 135px !important; z-index: 3 !important; }
    .hero-bg-d { left: -40px !important; bottom: 35px !important; width: 130px !important; z-index: 3 !important; }
    .hero-bg-h { right: -30px !important; top: 46% !important; width: 120px !important; z-index: 3 !important; }
    .hero-bg-c { left: -20px !important; bottom: -30px !important; width: 115px !important; z-index: 3 !important; }
    .hero-bg-j { left: 48% !important; transform: translateX(-50%) rotate(-8deg) !important; bottom: -45px !important; width: 85px !important; z-index: 3 !important; }
    .hero-bg-a { right: -25px !important; bottom: -35px !important; width: 135px !important; z-index: 3 !important; }
}

@media (max-width: 600px) {
    .welcome-landing-wrapper {
        padding: 16px 10px;
    }

    .welcome-topbar-left {
        gap: 10px;
    }

    .welcome-logo-badge {
        width: 76px !important;
        height: 76px !important;
    }

    .welcome-logo-badge img {
        max-width: 52px !important;
        max-height: 40px !important;
    }

    .dot-pattern {
        display: none !important;
    }

    .staff-portal-btn {
        padding: 7px 13px;
        font-size: 11px;
    }

    .welcome-main-title {
        font-size: 36px !important;
        margin-bottom: 12px;
    }

    .welcome-tagline {
        font-size: 20px !important;
    }

    .welcome-desc {
        font-size: 13.5px !important;
        line-height: 1.5;
    }

    .welcome-cta-btn {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }

    .welcome-features-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 35px;
    }

    .welcome-feature-item {
        background: #ffffff !important;
        border: 1px solid #e6ded6 !important;
        box-shadow: 0 4px 15px rgba(140, 90, 60, 0.08) !important;
        padding: 14px 18px;
        border-radius: 16px;
        flex-direction: row;
        text-align: left;
    }

    .feature-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .feature-title {
        font-size: 12px;
    }

    .feature-sub {
        font-size: 11px;
    }

    /* Giant Burger & Ultra-Tight Compressed Accent Cluster matching media__1786736684404.png */
    .welcome-hero-right {
        min-height: 340px !important;
        margin: 35px 0 25px 0 !important;
        padding: 10px 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    .welcome-burger-img {
        width: 100% !important;
        max-width: 360px !important;
        max-height: 330px !important;
        margin: 0 auto !important;
        display: block !important;
        z-index: 10 !important;
    }

    /* Stamp Badge top-left overlapping top-left bun matching media__1786736684404.png */
    .thank-you-stamp {
        width: 135px !important;
        height: 135px !important;
        top: -10px !important;
        left: -5px !important;
        transform: rotate(-6deg) !important;
        padding: 8px !important;
        z-index: 25 !important;
        background: #ffffff !important;
        border: 2.5px solid #8c5a3c !important;
        outline: 2.5px dashed rgba(140, 90, 60, 0.45) !important;
        outline-offset: -7px !important;
        box-shadow: 0 8px 25px rgba(140, 90, 60, 0.25) !important;
        position: absolute !important;
    }

    .thank-you-stamp:hover {
        transform: rotate(0deg) scale(1.1) !important;
    }

    .thank-you-stamp .stamp-text-1 { font-size: 13px !important; color: #2c1e16 !important; }
    .thank-you-stamp .stamp-text-2 { font-size: 9.5px !important; margin: 1px 0 !important; color: #8c5a3c !important; }
    .thank-you-stamp .stamp-text-3 { font-size: 12px !important; color: #2c1e16 !important; }
    .thank-you-stamp .stamp-text-3.font-gold { color: #8c5a3c !important; }
    .thank-you-stamp .stamp-heart { font-size: 15px !important; margin-top: 2px !important; color: #8c5a3c !important; }

    /* ALL 8 Accent Floating Images ULTRA-TIGHTLY COMPRESSED against burger edges */
    .hero-bg-layer {
        display: block !important;
        opacity: 0.95 !important;
    }

    /* e.png: Rice Plate sitting directly under stamp badge on left side of bun */
    .hero-bg-e { width: 100px !important; left: -20px !important; top: 50px !important; z-index: 2 !important; }

    /* f.png: Coffee Frappe Cup sitting DIRECTLY ON TOP of top bun */
    .hero-bg-f { width: 95px !important; left: 54% !important; transform: translateX(-50%) rotate(10deg) !important; top: -45px !important; z-index: 3 !important; }

    /* b.png: Beef Shawarma Wrap touching top-right curve of burger bun */
    .hero-bg-b { width: 120px !important; right: -15px !important; top: 15px !important; z-index: 3 !important; }

    /* d.png: Avocado Nut Frappe Cup touching bottom-left curve of burger bun & cheese */
    .hero-bg-d { width: 125px !important; left: -25px !important; bottom: 30px !important; z-index: 3 !important; }

    /* h.png: Hotdog Sandwich touching right edge of patty & cheese */
    .hero-bg-h { width: 110px !important; right: -15px !important; top: 48% !important; z-index: 3 !important; }

    /* c.png: Chicken Wrap tucked tightly behind Avocado Frappe at bottom-left */
    .hero-bg-c { width: 90px !important; left: 5px !important; bottom: -20px !important; z-index: 3 !important; }

    /* j.png: Hot Coffee Cup sitting DIRECTLY UNDER bottom bun */
    .hero-bg-j { width: 85px !important; left: 47% !important; transform: translateX(-50%) rotate(-8deg) !important; bottom: -45px !important; z-index: 3 !important; }

    /* a.png: French Fries Bucket touching bottom-right bun/patty */
    .hero-bg-a { width: 125px !important; right: -15px !important; bottom: -30px !important; z-index: 3 !important; }
}

/* Staff Access Portal Swal Modal Customization (Brown & White Theme) */
.staff-swal-popup {
    background: #ffffff !important;
    border: 1px solid #e6ded6 !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-shadow: 0 20px 50px rgba(140, 90, 60, 0.25) !important;
    color: #2c1e16 !important;
}

.staff-swal-popup .swal2-close {
    color: #7a6859 !important;
}

.staff-swal-popup .swal2-close:hover {
    color: #8c5a3c !important;
}

.staff-portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.staff-portal-card {
    background: #f7f4ef !important;
    border: 1px solid #e6ded6 !important;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
}

.staff-portal-card:hover {
    background: rgba(140, 90, 60, 0.12) !important;
    border-color: #8c5a3c !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(140, 90, 60, 0.25) !important;
}

.staff-portal-card i {
    font-size: 32px;
    color: #8c5a3c !important;
    margin-bottom: 12px;
}

.staff-portal-card strong {
    font-size: 15px;
    color: #2c1e16 !important;
    margin-bottom: 4px;
}

.staff-portal-card span {
    font-size: 12px;
    color: #7a6859 !important;
}

/* Online Order Notification Modal */
.online-order-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(22, 15, 10, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInModal 0.25s ease forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.online-order-modal-box {
    background: #ffffff;
    border: 1.5px solid #e6ded6;
    border-radius: 22px;
    width: 100%;
    max-width: 480px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(44, 30, 22, 0.25);
    position: relative;
    box-sizing: border-box;
}

html[data-theme="dark"] .online-order-modal-box {
    background: #241811 !important;
    border-color: #3d2b1f !important;
    color: #ffffff !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

.online-order-close-x {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 26px;
    font-weight: 300;
    color: #7a6859;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.online-order-close-x:hover {
    background: rgba(140, 90, 60, 0.1);
    color: #8c5a3c;
}

html[data-theme="dark"] .online-order-close-x {
    color: #a08a7b !important;
}

html[data-theme="dark"] .online-order-close-x:hover {
    background: rgba(214, 158, 110, 0.15) !important;
    color: #d69e6e !important;
}

.online-order-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0e6dc;
    margin-bottom: 16px;
}

html[data-theme="dark"] .online-order-modal-header {
    border-bottom-color: #3d2b1f !important;
}

.online-order-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(140, 90, 60, 0.12);
    color: #8c5a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    animation: pulseRing 1.5s infinite;
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(140, 90, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(140, 90, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(140, 90, 60, 0); }
}

html[data-theme="dark"] .online-order-icon-badge {
    background: rgba(214, 158, 110, 0.15) !important;
    color: #d69e6e !important;
}

.online-order-modal-title {
    font-size: 18px;
    font-weight: 900;
    color: #2c1e16;
    margin: 0 0 2px 0;
}

html[data-theme="dark"] .online-order-modal-title {
    color: #ffffff !important;
}

.online-order-modal-sub {
    font-size: 12.5px;
    font-weight: 800;
    color: #8c5a3c;
}

html[data-theme="dark"] .online-order-modal-sub {
    color: #d69e6e !important;
}

.online-order-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #7a6859;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

html[data-theme="dark"] .info-label {
    color: #a08a7b !important;
}

.info-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #2c1e16;
}

html[data-theme="dark"] .info-val {
    color: #ffffff !important;
}

.info-val.price-val {
    color: #8c5a3c;
    font-size: 16px;
    font-weight: 900;
}

html[data-theme="dark"] .info-val.price-val {
    color: #d69e6e !important;
}

.info-val-address {
    font-size: 12.5px;
    color: #2c1e16;
    background: #f7f4ef;
    border: 1px solid #e6ded6;
    padding: 8px 12px;
    border-radius: 10px;
    margin: 2px 0 0 0;
}

html[data-theme="dark"] .info-val-address {
    background: #1d130d !important;
    border-color: #3d2b1f !important;
    color: #e6ded6 !important;
}

.online-order-items-box {
    background: #f7f4ef;
    border: 1px solid #e6ded6;
    border-radius: 12px;
    padding: 10px 12px;
    max-height: 120px;
    overflow-y: auto;
}

html[data-theme="dark"] .online-order-items-box {
    background: #1d130d !important;
    border-color: #3d2b1f !important;
}

.online-order-item-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    padding: 3px 0;
    color: #2c1e16;
}

html[data-theme="dark"] .online-order-item-line {
    color: #e6ded6 !important;
}

.online-order-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #f0e6dc;
}

html[data-theme="dark"] .online-order-modal-footer {
    border-top-color: #3d2b1f !important;
}

.online-order-view-btn {
    background: #f7f4ef;
    border: 1.5px solid #e6ded6;
    color: #8c5a3c !important;
    font-size: 12.5px;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.online-order-view-btn:hover {
    border-color: #8c5a3c;
    background: rgba(140, 90, 60, 0.08);
}

html[data-theme="dark"] .online-order-view-btn {
    background: #1d130d !important;
    border-color: #3d2b1f !important;
    color: #d69e6e !important;
}

.online-order-dismiss-btn {
    background: linear-gradient(135deg, #8c5a3c, #6f472e);
    border: none;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.3);
    transition: all 0.2s ease;
}

.online-order-dismiss-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(140, 90, 60, 0.45);
}

html[data-theme="dark"] .online-order-dismiss-btn {
    background: linear-gradient(135deg, #d69e6e, #b88660) !important;
    color: #160f0a !important;
    box-shadow: 0 4px 14px rgba(214, 158, 110, 0.3) !important;
}

/* ==========================================================================
   SUN'A MOCKUP STYLES FOR WELCOME.PHP
   ========================================================================== */

@font-face {
    font-family: 'Brittany Signature';
    font-style: normal;
    font-weight: 400;
    src: local('Brittany Signature'),
         url('../fonts/BrittanySignature.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/39082/BrittanySignature-LjyZ.woff') format('woff');
}

/* Typography & Base Variables */
.suna-welcome-body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8f3ed;
    color: #26160d;
    margin: 0;
    padding: 0;
}

.suna-serif-title {
    font-family: 'Playfair Display', Georgia, serif;
}

.suna-script-sub {
    font-family: 'Brittany Signature', 'Satisfy', 'Playfair Display', Georgia, cursive, serif !important;
    font-style: normal;
}

/* Topbar Header */
.suna-header {
    background: #f8f3ed;
    border-bottom: 1px solid #eae1d7;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.suna-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.suna-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.suna-logo-icon {
    width: 38px;
    height: 38px;
    background: #593822;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.suna-logo-text {
    display: flex;
    flex-direction: column;
}

.suna-logo-main {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 800;
    color: #26160d;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.suna-logo-sub {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #8a5839;
    text-transform: uppercase;
}

.suna-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.suna-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #361e12;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.suna-nav-link:hover {
    color: #593822;
}

.suna-nav-link.active {
    background: #593822;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(89, 56, 34, 0.25);
}

.suna-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.suna-cart-badge-btn {
    background: transparent;
    border: none;
    color: #361e12;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.suna-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #593822;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suna-btn-login {
    background: transparent;
    border: 1.5px solid #593822;
    color: #593822 !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.suna-btn-login:hover {
    background: rgba(89, 56, 34, 0.08);
}

.suna-btn-signup {
    background: #593822;
    border: 1.5px solid #593822;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(89, 56, 34, 0.2);
}

.suna-btn-signup:hover {
    background: #442a19;
    border-color: #442a19;
    transform: translateY(-1px);
}

.suna-mobile-toggle {
    display: none;
    background: #f0e3d7;
    border: 1px solid #eae1d7;
    color: #593822;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.suna-mobile-toggle:hover {
    background: #593822;
    color: #ffffff;
}

/* Hero Section */
.suna-hero-banner {
    background: #ecdcd0 url('../Images/amoni.png') center right / cover no-repeat;
    height: 440px;
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: 40px 80px;
    position: relative;
    box-sizing: border-box;
}

.suna-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.suna-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 480px;
    width: 100%;
}

.suna-hero-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.suna-hero-cup-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suna-hero-cup-overlay {
    position: absolute;
    right: 10.5%;
    top: 51.5%;
    transform: translateY(-50%);
    width: 382px;
    max-width: 35vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(38, 22, 13, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

.suna-hero-cup-overlay:hover {
    transform: translateY(-54%) scale(1.02);
    filter: drop-shadow(0 16px 28px rgba(38, 22, 13, 0.28));
}

.suna-hero-script {
    font-family: 'Brittany Signature', 'Satisfy', 'Playfair Display', Georgia, cursive, serif !important;
    font-size: 28px;
    color: #8a5839;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.suna-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 50px;
    font-weight: 800;
    color: #26160d;
    margin: 0 0 12px 0;
    line-height: 1.12;
    letter-spacing: -0.5px;
}

.suna-hero-divider {
    width: 48px;
    height: 2.5px;
    background: #593822;
    margin-bottom: 16px;
    border-radius: 999px;
}

.suna-hero-desc {
    font-size: 15px;
    color: #5c473a;
    line-height: 1.5;
    margin: 0 0 24px 0;
    max-width: 440px;
}

.suna-hero-cta-btns {
    display: flex;
    align-items: center;
    gap: 14px;
}

.suna-btn-primary {
    background: #593822;
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(89, 56, 34, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}

.suna-btn-primary:hover {
    background: #442a19;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(89, 56, 34, 0.4);
}

.suna-btn-outline {
    background: #ffffff;
    color: #593822 !important;
    border: 1.5px solid #593822;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.suna-btn-outline:hover {
    background: rgba(89, 56, 34, 0.06);
    transform: translateY(-2px);
}

.suna-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.suna-hero-img-wrap {
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    overflow: hidden;
    filter: drop-shadow(0 12px 25px rgba(38, 22, 13, 0.15));
}

.suna-hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.suna-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
}

.suna-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c8b7a6;
    transition: all 0.2s ease;
}

.suna-dot.active {
    background: #593822;
    width: 10px;
    height: 10px;
}

/* Our Favorites Section */
.suna-favorites-section {
    padding: 50px 40px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.suna-section-head {
    text-align: center;
    margin-bottom: 36px;
}

.suna-head-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #8a5839;
    font-size: 14px;
    margin-bottom: 4px;
}

.suna-badge-line {
    width: 32px;
    height: 1.5px;
    background: #c8b7a6;
}

.suna-badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #593822;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.suna-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 800;
    color: #26160d;
    margin: 0 0 6px 0;
}

.suna-section-sub {
    font-size: 14px;
    color: #6e584a;
    margin: 0;
}

.suna-fav-shuffle-wrap {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.suna-fav-shuffle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #fdfaf6;
    border: 1.5px solid #d8c7b8;
    color: #6e462d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(89, 56, 34, 0.06);
    user-select: none;
}

.suna-fav-shuffle-btn:hover {
    background: #593822;
    color: #ffffff;
    border-color: #593822;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(89, 56, 34, 0.18);
}

.suna-fav-shuffle-btn:active {
    transform: translateY(0) scale(0.98);
}

.suna-fav-shuffle-btn i {
    font-size: 13px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.suna-fav-shuffle-btn.btn-spinning i {
    transform: rotate(360deg);
}

.suna-fav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    perspective: 1400px;
    transform-style: preserve-3d;
}

@media (max-width: 1024px) {
    .suna-fav-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .suna-fav-grid { grid-template-columns: 1fr; }
}

.suna-fav-card {
    background: #f7f2eb;
    border: 1px solid #eae1d7;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.25, 1), border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 56, 34, 0.04);
    transform-origin: center center;
    transform-style: preserve-3d;
    will-change: transform, opacity, box-shadow;
}

/* Card gleam shimmer effect */
.suna-fav-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    opacity: 0;
    z-index: 15;
}

/* -------------------------------------------------------------
   "Our Favorites" Option D: Soft Scale & Parallax Depth Float
   Minimalist, luxury boutique aesthetic, ultra-gentle on the eyes
   ------------------------------------------------------------- */

/* Subtle Focus Dissolve transition when clicking Shuffle Favorites */
.suna-fav-grid.is-focus-shuffle {
    pointer-events: none;
}
.suna-fav-grid.is-focus-shuffle .suna-fav-card {
    animation: favFocusFade 0.26s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes favFocusFade {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0.35;
        transform: scale(0.94) translateY(6px);
        filter: blur(3px);
    }
}

/* Soft Scale & Depth Reveal Animation */
.suna-fav-grid.is-depth-reveal {
    pointer-events: none;
}

.suna-fav-grid.is-depth-reveal .suna-fav-card {
    opacity: 0;
    animation: favSoftDepthBloom 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(1) { animation-delay: 0.04s; }
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(2) { animation-delay: 0.12s; }
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(3) { animation-delay: 0.20s; }
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(4) { animation-delay: 0.28s; }

@keyframes favSoftDepthBloom {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(14px);
        filter: blur(3px);
        box-shadow: 0 2px 8px rgba(89, 56, 34, 0.02);
    }
    50% {
        opacity: 0.85;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
        box-shadow: 0 4px 15px rgba(89, 56, 34, 0.04);
    }
}

/* Delicate Ambient Light Glow on Reveal */
.suna-fav-grid.is-depth-reveal .suna-fav-card::after {
    animation: favDelicateGlow 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(1)::after { animation-delay: 0.15s; }
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(2)::after { animation-delay: 0.23s; }
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(3)::after { animation-delay: 0.31s; }
.suna-fav-grid.is-depth-reveal .suna-fav-card:nth-child(4)::after { animation-delay: 0.39s; }

@keyframes favDelicateGlow {
    0% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0) rotate(25deg);
    }
    40% {
        opacity: 0.28;
    }
    100% {
        opacity: 0;
        transform: translate3d(380%, 0, 0) rotate(25deg);
    }
}

.suna-fav-card:hover {
    border-color: #593822;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(89, 56, 34, 0.12);
}

.suna-fav-thumb-wrap {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
}

.suna-fav-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.suna-fav-card:hover .suna-fav-thumb-wrap img {
    transform: scale(1.06);
}

.suna-fav-badge-circle {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(38, 22, 13, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.suna-fav-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.suna-fav-name {
    font-size: 16px;
    font-weight: 800;
    color: #26160d;
    margin: 0 0 4px 0;
}

.suna-fav-desc {
    font-size: 12.5px;
    color: #6e584a;
    line-height: 1.4;
    margin: 0 0 14px 0;
    flex-grow: 1;
}

.suna-fav-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.suna-fav-price {
    font-size: 16px;
    font-weight: 900;
    color: #26160d;
}

.suna-btn-card-order {
    background: #ffffff;
    border: 1.5px solid #593822;
    color: #593822 !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.suna-btn-card-order:hover {
    background: #593822;
    color: #ffffff !important;
}

/* About Us & Why Choose Us Section */
.suna-about-section {
    padding: 60px 40px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.suna-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 992px) {
    .suna-about-grid { grid-template-columns: 1fr; }
}

.suna-about-col {
    display: flex;
    flex-direction: column;
}

/* -------------------------------------------------------------
   "About Us" Store Image: Cinematic Ken Burns & Ambient Breathe
   ------------------------------------------------------------- */
.suna-about-col-img {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(216, 199, 184, 0.45);
    box-shadow: 0 12px 32px rgba(89, 56, 34, 0.12);
    animation: storeAmbientBreathe 7s ease-in-out infinite alternate;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    will-change: transform, box-shadow;
    background: #f0e6dd;
}

.suna-about-col-img:hover {
    border-color: rgba(140, 90, 60, 0.6);
    box-shadow: 0 20px 45px rgba(89, 56, 34, 0.22);
}

/* Subtle Warm Vignette Gradient at the Bottom */
.suna-about-col-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 55%,
        rgba(38, 22, 13, 0.28) 100%
    );
    pointer-events: none;
    border-radius: 22px;
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* Soft Diagonal Sunbeam Light Sweep on Initial Reveal */
.suna-about-col-img.is-revealed::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.32) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 3;
    animation: storeLightSweep 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes storeLightSweep {
    0% {
        transform: translate3d(-120px, 0, 0) rotate(25deg);
        opacity: 0;
    }
    30% {
        opacity: 0.7;
    }
    100% {
        transform: translate3d(850px, 0, 0) rotate(25deg);
        opacity: 0;
    }
}

/* Slow Cinematic Ken Burns Drift for the Store Photo */
.suna-about-col-img img,
.suna-store-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transform-origin: 50% 50%;
    animation: storeKenBurns 12s ease-in-out infinite alternate;
    transition: filter 0.4s ease, transform 0.4s ease;
    will-change: transform;
}

/* On hover: pauses animation smoothly for clear photo inspection */
.suna-about-col-img:hover img {
    animation-play-state: paused;
}

@keyframes storeKenBurns {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.05) translate3d(-1.5%, -1%, 0);
    }
    100% {
        transform: scale(1.075) translate3d(1%, 1%, 0);
    }
}

@keyframes storeAmbientBreathe {
    0% {
        box-shadow: 0 10px 28px rgba(89, 56, 34, 0.10), 0 2px 8px rgba(89, 56, 34, 0.04);
        transform: translateY(0);
    }
    100% {
        box-shadow: 0 18px 38px rgba(89, 56, 34, 0.17), 0 4px 12px rgba(89, 56, 34, 0.08);
        transform: translateY(-4px);
    }
}

/* Modern Glassmorphic Location Badge */
.suna-store-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(38, 22, 13, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    user-select: none;
}

.suna-store-badge i {
    color: #f7a261;
    font-size: 12px;
}

.suna-store-pulse {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
    animation: storePulseGreen 2s infinite;
}

@keyframes storePulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.suna-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
}

.suna-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0e3d7;
    color: #593822;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.suna-feature-text h4 {
    margin: 0 0 2px 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #26160d;
}

.suna-feature-text p {
    margin: 0;
    font-size: 12.5px;
    color: #6e584a;
    line-height: 1.4;
}

/* Footer Section */
.suna-footer {
    background: #22140b;
    color: #d9c8b8;
    padding: 60px 40px 24px 40px;
    font-size: 13.5px;
    line-height: 1.6;
    box-sizing: border-box;
}

.suna-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 36px;
    max-width: 1280px;
    margin: 0 auto 40px auto;
}

@media (max-width: 900px) {
    .suna-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .suna-footer-grid { grid-template-columns: 1fr; }
}

.suna-footer-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.suna-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suna-footer-links a {
    color: #d9c8b8;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.suna-footer-links a:hover {
    color: #ffffff;
}

.suna-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.suna-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #4a3424;
    color: #d9c8b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.suna-social-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.suna-newsletter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.suna-newsletter-input {
    background: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    color: #26160d;
    outline: none;
    flex-grow: 1;
}

.suna-newsletter-btn {
    background: #593822;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suna-newsletter-btn:hover {
    background: #73482d;
}

.suna-footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #332014;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #8c7665;
}

/* ==========================================================================
   SUN'A MOBILE RESPONSIVE MEDIA QUERIES (Prevents UI Zooming & Breaking)
   ========================================================================== */

@media (max-width: 1024px) {
    .suna-hero-banner {
        height: 400px;
        min-height: 400px;
        padding: 30px 40px;
        background-position: 75% center;
    }
    .suna-hero-cup-overlay {
        width: 320px;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .suna-mobile-toggle {
        display: flex !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 16px !important;
        flex-shrink: 0;
    }

    .suna-header {
        padding: 10px 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        position: relative;
    }

    .suna-logo-group {
        gap: 8px !important;
    }

    .suna-logo-img {
        width: 36px !important;
        height: 36px !important;
    }

    .suna-logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 15px !important;
    }

    .suna-logo-main {
        font-size: 16px !important;
    }

    .suna-logo-sub {
        font-size: 7.5px !important;
    }

    .suna-nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: auto !important;
    }

    .suna-btn-signup {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
        white-space: nowrap !important;
    }

    .suna-nav-links {
        display: none !important;
        width: 100%;
        order: 3;
        flex-direction: column;
        background: #ffffff;
        border: 1.5px solid #eae1d7;
        border-radius: 18px;
        padding: 12px;
        margin-top: 10px;
        gap: 6px;
        box-shadow: 0 12px 30px rgba(38, 22, 13, 0.14);
        box-sizing: border-box;
    }

    .suna-nav-links.mobile-open {
        display: flex !important;
        animation: sunaNavSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .suna-nav-link {
        width: 100%;
        padding: 10px 16px;
        font-size: 13.5px;
        border-radius: 12px;
        justify-content: flex-start;
        box-sizing: border-box;
    }

    .suna-nav-link.active {
        background: #593822;
        color: #ffffff !important;
    }

    .suna-nav-actions {
        gap: 8px;
    }

    .suna-btn-login, .suna-btn-signup {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* Hero Banner Mobile Styling - No Zoom, Fits perfectly */
    .suna-hero-banner {
        height: auto;
        min-height: 380px;
        padding: 30px 20px;
        background-color: #ecdcd0;
        background-image: url('../Images/amoni.png');
        background-position: 82% center;
        background-size: cover;
    }

    .suna-hero-grid {
        position: relative;
        z-index: 10;
    }

    .suna-hero-left {
        max-width: 100%;
        background: rgba(248, 243, 237, 0.88);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        padding: 22px 18px;
        border-radius: 18px;
        box-shadow: 0 8px 24px rgba(38, 22, 13, 0.08);
    }

    .suna-hero-script {
        font-size: 22px;
        margin-bottom: 2px;
    }

    .suna-hero-title {
        font-size: 34px;
        margin-bottom: 8px;
        line-height: 1.15;
    }

    .suna-hero-divider {
        width: 40px;
        margin-bottom: 12px;
    }

    .suna-hero-desc {
        font-size: 13px;
        margin-bottom: 18px;
        max-width: 100%;
        line-height: 1.45;
    }

    .suna-hero-cta-btns {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
    }

    .suna-btn-primary, .suna-btn-outline {
        padding: 10px 18px;
        font-size: 12.5px;
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }

    /* Hide cup overlay on small mobile screens to prevent double-cup overlap */
    .suna-hero-right,
    .suna-hero-cup-overlay {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .suna-hero-banner {
        min-height: 360px;
        padding: 20px 14px;
    }

    .suna-hero-title {
        font-size: 28px;
    }

    .suna-hero-script {
        font-size: 20px;
    }

    .suna-hero-desc {
        font-size: 12.5px;
    }
}

@keyframes sunaNavSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Google reCAPTCHA v3 Floating Badge - Elevated above Mobile Bottom Navigation */
body:has(.customer-bottom-nav) .grecaptcha-badge,
.customer-bottom-nav ~ .grecaptcha-badge {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99990 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18) !important;
    border-radius: 8px 0 0 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Custom PNG Icons for Welcome Page buttons & nav */
.suna-nav-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.suna-nav-link.active .suna-nav-icon {
    filter: brightness(0) invert(1);
}

.suna-nav-link:hover .suna-nav-icon {
    transform: scale(1.08);
}

.suna-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    display: inline-block;
    flex-shrink: 0;
}

.suna-badge-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

/* ========================================================
   Reports Page: Filter Bar & Download Dropdown Menu
   ======================================================== */
.reports-filter-bar {
    margin-bottom: 20px;
}
.reports-filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.report-download-wrap {
    position: relative;
    display: inline-block;
}
.btn-download-report {
    background: linear-gradient(135deg, #8c5a3c, #5c3821);
    color: #ffffff !important;
    border: 1px solid rgba(140, 90, 60, 0.4);
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(140, 90, 60, 0.25);
    transition: all 0.2s ease;
    user-select: none;
}
.btn-download-report:hover {
    background: linear-gradient(135deg, #9e6745, #6e4328);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(140, 90, 60, 0.35);
}
.btn-download-report i.caret-icon {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.download-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e0d2c3;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(110, 75, 45, 0.18);
    width: 310px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
    animation: downloadMenuPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes downloadMenuPop {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.download-dropdown-menu.show {
    display: flex;
}
.download-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.18s ease;
    background: #fdfbf8;
    border: 1px solid transparent;
}
.download-opt:hover {
    background: #f7f2eb;
    border-color: #dfd5cb;
    transform: translateX(3px);
}
.download-opt .opt-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.download-opt .opt-icon.csv {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.download-opt .opt-icon.pdf {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.download-opt .opt-text {
    flex: 1;
    text-align: left;
}
.download-opt .opt-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #2c1e16;
    margin-bottom: 2px;
}
.download-opt .opt-text span {
    display: block;
    font-size: 11px;
    color: #7a6859;
    font-weight: 500;
}

/* Dark Theme Overrides */
html[data-theme="dark"] .download-dropdown-menu {
    background: #241811 !important;
    border-color: #3d2b1f !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45) !important;
}
html[data-theme="dark"] .download-opt {
    background: #281b13 !important;
}
html[data-theme="dark"] .download-opt:hover {
    background: #362215 !important;
    border-color: #4d3627 !important;
}
html[data-theme="dark"] .download-opt .opt-text strong {
    color: #ffffff !important;
}
html[data-theme="dark"] .download-opt .opt-text span {
    color: #c9b8ab !important;
}




