/* ================================================
   KONSTRUCT MOBILE — Global Design System
   Premium Dark Theme | Glassmorphism Aesthetics
   Mobile-First (360px–430px) for APK Conversion
   ================================================ */

/* ──────────── FONT FACES ──────────── */

@font-face {
    font-family: 'Owners XNarrow';
    src: url('../assets/fonts/OwnersXNarrow-XLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Owners XNarrow';
    src: url('../assets/fonts/OwnersXNarrow-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Owners XNarrow';
    src: url('../assets/fonts/OwnersXNarrow-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Owners XNarrow';
    src: url('../assets/fonts/OwnersXNarrow-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Owners XNarrow';
    src: url('../assets/fonts/OwnersXNarrow-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ──────────── CSS VARIABLES ──────────── */

:root {
    /* Colors */
    --bg-primary: #2D3943;
    --bg-secondary: #1a2329;
    --bg-tertiary: #243038;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-strong: rgba(255, 255, 255, 0.10);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-strong: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-accent: #F4EAD1;

    --accent: #F4EAD1;
    --rust: #95412C;
    --rust-light: #b85a3c;
    --green: #81BC06;
    --green-dark: #6a9c05;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;

    /* Typography */
    --font-heading: 'Owners XNarrow', sans-serif;
    --font-body: 'Satoshi', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;
    --spacing-container: 16px;

    /* Borders */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;

    /* Layout */
    --nav-height: 56px;
    --bottom-nav-height: 64px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --blur: blur(12px);
    --blur-strong: blur(24px);
}

/* ──────────── RESET & BASE ──────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 16px);
}

body.no-scroll {
    overflow: hidden;
}

body.no-pad-bottom {
    padding-bottom: 0;
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ──────────── TYPOGRAPHY ──────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.15rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.text-accent { color: var(--accent); }
.text-rust { color: var(--rust); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }

.label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ──────────── LAYOUT ──────────── */

.container {
    width: 100%;
    padding-left: var(--spacing-container);
    padding-right: var(--spacing-container);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header .label {
    margin-bottom: var(--spacing-xs);
    display: block;
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header .see-all {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* ──────────── TOP BAR / PAGE HEADER ──────────── */

.top-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-container);
    background: rgba(45, 57, 67, 0.85);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    z-index: 100;
    border-bottom: 1px solid var(--border-glass);
}

.top-bar .back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    transition: var(--transition);
}

.top-bar .back-btn:active {
    transform: scale(0.92);
    background: var(--bg-glass-strong);
}

.top-bar .back-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-bar .page-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
}

.top-bar .action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    transition: var(--transition);
    position: relative;
}

.top-bar .action-btn:active {
    transform: scale(0.92);
}

.top-bar .action-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-bar-spacer {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

/* ──────────── BOTTOM NAVIGATION ──────────── */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--bottom-nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(26, 35, 41, 0.92);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    border-top: 1px solid var(--border-glass);
    z-index: 1000;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 0;
    min-width: 56px;
    position: relative;
    transition: var(--transition);
    text-decoration: none;
}

.bottom-nav .nav-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

.bottom-nav .nav-item span {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.bottom-nav .nav-item.active svg {
    stroke: var(--green);
}

.bottom-nav .nav-item.active span {
    color: var(--green);
}

.bottom-nav .nav-item:active {
    transform: scale(0.9);
}

/* Cart badge in nav */
.nav-badge {
    position: absolute;
    top: 2px;
    right: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    background: var(--rust);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.nav-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* ──────────── HERO SECTIONS ──────────── */

.hero {
    position: relative;
    padding: var(--spacing-3xl) var(--spacing-container) var(--spacing-2xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(45, 57, 67, 0.3) 0%,
        rgba(45, 57, 67, 0.7) 50%,
        var(--bg-primary) 100%
    );
}

.hero h1 {
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    position: relative;
    z-index: 1;
}

.hero-compact {
    padding: var(--spacing-2xl) var(--spacing-container) var(--spacing-lg);
}

/* ──────────── GLASS CARD ──────────── */

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.glass-card:active {
    transform: scale(0.98);
    border-color: var(--border-glass-strong);
}

/* ──────────── PRODUCT CARD ──────────── */

.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.product-card:active {
    transform: scale(0.97);
}

.product-card .card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card .card-body {
    padding: var(--spacing-sm);
}

.product-card .card-category {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green);
    margin-bottom: 4px;
}

.product-card .card-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.14;
}

.product-card .card-price {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.product-card .card-price .currency {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 2px;
}

.product-card .card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-sm);
}

.product-card .add-cart-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--green);
    transition: var(--transition);
    flex-shrink: 0;
}

.product-card .add-cart-btn:active {
    transform: scale(0.88);
    background: var(--green-dark);
}

.product-card .add-cart-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ──────────── BLOG CARD ──────────── */

.blog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    text-decoration: none;
}

.blog-card:active {
    transform: scale(0.97);
}

.blog-card .card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .card-body {
    padding: var(--spacing-md);
}

.blog-card .card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.blog-card .card-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    background: rgba(129, 188, 6, 0.12);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.blog-card .card-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.blog-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ──────────── BUTTONS ──────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:active {
    background: var(--green-dark);
}

.btn-secondary {
    background: var(--rust);
    color: #fff;
}

.btn-secondary:active {
    background: var(--rust-light);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-glass-strong);
    color: var(--text-primary);
}

.btn-outline:active {
    background: var(--bg-glass);
}

.btn-accent {
    background: var(--accent);
    color: var(--bg-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 16px;
}

.btn-ghost:active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ──────────── FORM ELEMENTS ──────────── */

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1.5px solid var(--border-glass);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--green);
    background: var(--bg-glass-strong);
}

.form-input::placeholder {
    color: var(--text-muted);
}

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

.form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1.5px solid var(--border-glass);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--green);
}

/* ──────────── CHIPS / FILTER PILLS ──────────── */

.chips {
    display: flex;
    gap: var(--spacing-xs);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-sm) var(--spacing-container);
    margin: 0 calc(-1 * var(--spacing-container));
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
}

.chip:active {
    transform: scale(0.95);
}

.chip.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* ──────────── BADGE ──────────── */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(129, 188, 6, 0.15);
    color: var(--green);
}

.badge-rust {
    background: rgba(149, 65, 44, 0.2);
    color: var(--rust-light);
}

.badge-accent {
    background: rgba(244, 234, 209, 0.12);
    color: var(--accent);
}

/* ──────────── HORIZONTAL SCROLL ──────────── */

.h-scroll {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 var(--spacing-container);
    margin: 0 calc(-1 * var(--spacing-container));
    scroll-snap-type: x mandatory;
}

.h-scroll::-webkit-scrollbar {
    display: none;
}

.h-scroll > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* ──────────── QUANTITY CONTROLS ──────────── */

.qty-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.qty-btn:active {
    background: var(--bg-glass-strong);
    color: var(--text-primary);
}

.qty-value {
    min-width: 32px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ──────────── DIVIDERS ──────────── */

.divider {
    height: 1px;
    background: var(--border-glass);
    margin: var(--spacing-lg) 0;
}

.divider-sm {
    height: 1px;
    background: var(--border-glass);
    margin: var(--spacing-sm) 0;
}

/* ──────────── EMPTY STATE ──────────── */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-container);
    text-align: center;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1;
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

/* ──────────── SEARCH BAR ──────────── */

.search-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    margin: var(--spacing-md) var(--spacing-container);
}

.search-bar svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* ──────────── INFO CARD ──────────── */

.info-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.info-card .info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(129, 188, 6, 0.12);
    margin-bottom: var(--spacing-sm);
}

.info-card .info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-card h4 {
    margin-bottom: var(--spacing-xs);
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ──────────── STAT CARD ──────────── */

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
}

.stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-card .stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ──────────── ACCORDION / FAQ ──────────── */

.accordion-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    text-align: left;
    line-height: 1.3;
}

.accordion-header .accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.accordion-header .accordion-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body-inner {
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ──────────── TESTIMONIAL CARD ──────────── */

.testimonial-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    min-width: 280px;
}

.testimonial-card .quote-icon {
    color: var(--green);
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    opacity: 0.6;
}

.testimonial-card .quote {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-glass-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--green);
    flex-shrink: 0;
}

.testimonial-card .author-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.testimonial-card .author-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ──────────── TIMELINE ──────────── */

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    bottom: 0;
    width: 2px;
    background: var(--border-glass-strong);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--bg-primary);
}

.timeline-item h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.timeline-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ──────────── PROCESS STEPS ──────────── */

.process-step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
}

.process-step .step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(129, 188, 6, 0.12);
    color: var(--green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.process-step .step-content h4 {
    margin-bottom: var(--spacing-xs);
}

.process-step .step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ──────────── MENU LIST (Settings/Profile) ──────────── */

.menu-list {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
    text-decoration: none;
}

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

.menu-item:active {
    background: var(--bg-glass-strong);
}

.menu-item .menu-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--bg-glass-strong);
    flex-shrink: 0;
}

.menu-item .menu-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-item .menu-label {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.menu-item .menu-arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-item.danger .menu-label {
    color: var(--danger);
}

.menu-item.danger .menu-icon svg {
    stroke: var(--danger);
}

/* ──────────── CART ITEM ──────────── */

.cart-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-glass);
}

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

.cart-item .item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

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

.cart-item .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-item .item-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.cart-item .item-variant {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cart-item .item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-xs);
}

.cart-item .item-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

.cart-item .remove-btn {
    padding: 6px;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-item .remove-btn:active {
    color: var(--danger);
}

.cart-item .remove-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ──────────── ORDER SUMMARY ──────────── */

.order-summary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
}

.summary-row .summary-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-row .summary-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.summary-row.total {
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-sm);
    border-top: 1px solid var(--border-glass-strong);
}

.summary-row.total .summary-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-row.total .summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

/* ──────────── TOAST NOTIFICATION ──────────── */

.toast {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--green);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ──────────── SKELETON LOADING ──────────── */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-glass) 25%,
        var(--bg-glass-strong) 50%,
        var(--bg-glass) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ──────────── ANIMATIONS ──────────── */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards;
}

/* Staggered children animation */
.stagger > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }
.stagger > *:nth-child(7) { animation-delay: 0.35s; }
.stagger > *:nth-child(8) { animation-delay: 0.4s; }

/* ──────────── UTILITY CLASSES ──────────── */

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.hidden { display: none !important; }
