/* ============================================
   HillsHaat — Global Design System
   ============================================
   Color Palette:
     Primary:   #2D7D46 (forest green)
     Secondary: #F4A623 (warm gold)
     Accent:    #E85D3A (terracotta)
     Dark:      #1A1A2E (deep navy)
     Light:     #FFF8F0 (warm cream)
   Typography:
     Headings: 'Outfit', sans-serif
     Body:     'Inter', sans-serif
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --primary: #2D7D46;
    --primary-light: #3a9c5a;
    --primary-dark: #1e5c32;
    --primary-rgb: 45, 125, 70;
    --secondary: #F4A623;
    --secondary-light: #f6b84d;
    --secondary-dark: #d4901a;
    --secondary-rgb: 244, 166, 35;
    --accent: #E85D3A;
    --accent-light: #ec7a5e;
    --accent-dark: #c44a2b;
    --accent-rgb: 232, 93, 58;
    --dark: #1A1A2E;
    --dark-lighter: #252542;
    --dark-card: #20203a;
    --dark-rgb: 26, 26, 46;
    --light: #FFF8F0;
    --light-dim: #f5ede3;
    --white: #ffffff;
    --black: #0a0a14;
    --gray-100: #f7f7f8;
    --gray-200: #e8e8ec;
    --gray-300: #d1d1d8;
    --gray-400: #a0a0b0;
    --gray-500: #72728a;
    --gray-600: #4e4e64;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17a2b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.25);
    --shadow-glow-primary: 0 0 30px rgba(var(--primary-rgb), 0.3);
    --shadow-glow-secondary: 0 0 30px rgba(var(--secondary-rgb), 0.3);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --container-max: 1280px;
    --header-height: 80px;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section ── */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.section--cream {
    background: var(--light);
}

.section--gradient {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    color: var(--white);
}

.section--gradient h2,
.section--gradient h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-header .label i {
    font-size: 1rem;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.section--dark .section-header p {
    color: var(--gray-300);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-height: 52px;
}

.btn i {
    font-size: 1.1rem;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.btn:hover::after {
    transform: translateX(0);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
}

.btn--secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.35);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.45);
}

.btn--outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
    min-height: 48px;
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-height: 40px;
}

.btn--icon {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card__image img {
    transform: scale(1.08);
}

.card__body {
    padding: 24px;
}

.card__title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.card__text {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Glass Card */
.glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.glass--light {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ── Badge / Tag ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
}

.badge--success {
    background: #28a745;
    color: #fff;
}

.badge--warning {
    background: #ffc107;
    color: #1a1a1a;
}

.badge--danger {
    background: #dc3545;
    color: #fff;
}

.badge--primary {
    background: var(--primary);
    color: #fff;
}

.badge--secondary {
    background: var(--secondary);
    color: #fff;
}

/* ── Alerts / Flash ── */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
}

.alert-close {
    margin-left: auto;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    background: none;
    border: none;
    color: inherit;
}

.alert-close:hover {
    opacity: 1;
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #1a6b2e;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #8b1a25;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.12);
    color: #7a5e00;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: #0d6a7a;
    border-left: 4px solid var(--info);
}

/* ── Toast Notifications ── */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    font-size: 0.95rem;
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast--success {
    border-left: 4px solid var(--success);
}

.toast--error {
    border-left: 4px solid var(--danger);
}

/* ══════════════════════════════════════════
   HEADER / NAVBAR
   ══════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
    height: var(--header-height);
}

.header--transparent {
    background: transparent;
}

.header--scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    height: 70px;
}

/* ── Solid header for light-background pages (auth, dashboard) ── */
.header--solid,
.header--solid.header--scrolled {
    background: var(--white);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header--solid .header__logo-text {
    color: var(--dark);
}

.header--solid .header__nav a {
    color: var(--text-secondary);
}

.header--solid .header__nav a:hover {
    color: var(--dark);
    background: rgba(0, 0, 0, 0.04);
}

.header--solid .header__nav a.active {
    color: var(--primary);
}

.header--solid .header__cart-btn {
    color: var(--dark);
}

.header--solid .header__cart-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header--solid .header__user-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
    border-color: var(--border-color);
}

.header--solid .header__user-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.header--solid .header__toggle {
    color: var(--dark);
}

.header--solid .header__toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.header__logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.header__logo-text span {
    color: var(--secondary);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__nav a {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.header__nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.header__nav a.active {
    color: var(--secondary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.header__cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--white);
    transition: all var(--transition-fast);
}

.header__cart-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header__cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.header__user-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.header__user-btn i {
    font-size: 1.1rem;
}

/* Mobile Toggle */
.header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 101;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.header__toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════
   HERO SECTION — Editorial Magazine Style
   ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

/* Full-bleed background image with overlay */
.hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: saturate(0.6);
}

.hero__backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 20, 0.7) 0%, rgba(10, 10, 20, 0.4) 40%, rgba(10, 10, 20, 0.85) 100%),
        linear-gradient(90deg, rgba(10, 10, 20, 0.9) 0%, transparent 60%);
}

/* Subtle noise texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 1;
    pointer-events: none;
}

/* Accent line on the left */
.hero__accent-line {
    position: absolute;
    left: 40px;
    top: 15%;
    bottom: 15%;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--secondary), var(--primary), transparent);
    z-index: 3;
    border-radius: 3px;
}

.hero__content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 120px 0 80px;
}

.hero__text {
    max-width: 640px;
    padding-left: 20px;
}

/* Eyebrow / tag */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero__badge::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--secondary);
}

.hero__badge i {
    display: none;
}

/* Display heading — editorial style */
.hero__title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero__title .highlight {
    position: relative;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    background: none;
    color: var(--secondary);
    display: inline-block;
}

.hero__title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--secondary);
    opacity: 0.3;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: heroUnderline 1s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroUnderline {
    to {
        transform: scaleX(1);
    }
}

/* Thin outline text for the second line */
.hero__title-outline {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
    -webkit-text-fill-color: transparent;
    display: block;
    font-weight: 800;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 400;
}

.hero__actions {
    margin-bottom: 60px;
}

/* Trust badges — horizontal row */
.hero__trust-row {
    display: flex;
    gap: 28px;
    align-items: center;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.hero__trust-item i {
    color: var(--primary-light);
    width: 18px;
    height: 18px;
}

.hero__trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

/* Stats — editorial oversized numbers */
.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

.hero__stat {
    position: relative;
    padding-left: 0;
}

.hero__stat::before {
    display: none;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* RIGHT SIDE: Photo mosaic grid */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.hero__mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    width: 100%;
    max-width: 500px;
}

.hero__mosaic-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero__mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.hero__mosaic-item:hover img {
    transform: scale(1.08);
}

/* Large photo — spans two rows */
.hero__mosaic-item--large {
    grid-row: 1 / 3;
    min-height: 380px;
}

/* Small photos */
.hero__mosaic-item--small {
    min-height: 180px;
}

/* Caption overlay */
.hero__mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero__mosaic-caption span {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Decorative elements kept for particles */
.hero__bg-shapes,
.hero__grid,
.hero__particles {
    display: none;
}

.hero__shape {
    display: none;
}

.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0;
}

/* Legacy wrappers hidden */
.hero__image-wrapper,
.hero__image-glow,
.hero__image-main,
.hero__floating-card {
    display: none;
}

/* ══════════════════════════════════════════
   CATEGORIES SECTION
   ══════════════════════════════════════════ */
/* Categories carousel wrapper */
.categories-carousel {
    position: relative;
}

.categories-carousel__track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
}

.categories-carousel__track .category-card {
    flex: 0 0 170px;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-select: none;
}

.categories-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    color: var(--dark);
}

.categories-carousel__btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.categories-carousel__btn i,
.categories-carousel__btn svg {
    width: 18px;
    height: 18px;
}

.categories-carousel__btn--left {
    left: -16px;
}

.categories-carousel__btn--right {
    right: -16px;
}

@media (max-width: 768px) {
    .categories-carousel__btn {
        display: none;
    }

    .categories-carousel__track .category-card {
        flex: 0 0 140px;
    }
}

.category-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.6rem;
    transition: all var(--transition-base);
}

.category-card:hover .category-card__icon {
    transform: scale(1.1);
}

.category-card__icon--green {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.category-card__icon--gold {
    background: rgba(var(--secondary-rgb), 0.12);
    color: var(--secondary-dark);
}

.category-card__icon--terra {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
}

.category-card__icon--blue {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
}

.category-card__icon--purple {
    background: rgba(130, 80, 200, 0.1);
    color: #8250c8;
}

.category-card__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.category-card__count {
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* ══════════════════════════════════════════
   FEATURED PRODUCTS
   ══════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.products-grid.products-grid--5col {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.product-card__actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card__action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--gray-600);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.product-card__action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-card__body {
    padding: 20px;
}

.product-card__vendor {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.product-card__stars {
    color: var(--secondary);
    display: flex;
    gap: 2px;
}

.product-card__stars i {
    font-size: 0.8rem;
}

.product-card__rating-count {
    color: var(--gray-400);
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card__price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.product-card__price-old {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 6px;
}

.product-card__cart-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.product-card__cart-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* ══════════════════════════════════════════
   IMPACT / STATS SECTION
   ══════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
}

.stat-card__icon--green {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-light);
}

.stat-card__icon--gold {
    background: rgba(var(--secondary-rgb), 0.15);
    color: var(--secondary);
}

.stat-card__icon--terra {
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent-light);
}

.stat-card__icon--blue {
    background: rgba(23, 162, 184, 0.15);
    color: #5dd9ef;
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-card__label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* ══════════════════════════════════════════
   VENDOR SPOTLIGHT
   ══════════════════════════════════════════ */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vendor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.vendor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vendor-card__banner {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.vendor-card__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-card__banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

.vendor-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    border: 4px solid var(--white);
    overflow: hidden;
    margin: -36px auto 0;
    position: relative;
    z-index: 2;
    background: var(--gray-100);
}

.vendor-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-card__body {
    padding: 16px 24px 28px;
    text-align: center;
}

.vendor-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.vendor-card__location {
    font-size: 0.85rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.vendor-card__location i {
    font-size: 0.85rem;
}

.vendor-card__desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.vendor-card__meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.vendor-card__meta-item {
    text-align: center;
}

.vendor-card__meta-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}

.vendor-card__meta-label {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-card__quote {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1;
    opacity: 0.6;
}

.testimonial-card__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--gray-600);
    flex-shrink: 0;
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-card__role {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ══════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════ */
.cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    top: -100px;
    right: -50px;
}

.cta-box::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    bottom: -60px;
    left: -30px;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-box .btn-group {
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer__wave svg {
    width: 100%;
    height: 60px;
}

.footer__main {
    padding: 100px 0 50px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer__brand-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer__heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 24px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer__links a i {
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer__links a:hover i {
    opacity: 1;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.93rem;
}

.footer__contact-item i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 1rem;
}

.footer__bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer__bottom a {
    color: var(--secondary);
}

.footer__bottom a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding: 110px 0 60px;
        min-height: 80vh;
        min-height: 80dvh;
        gap: 24px;
    }

    .hero__text {
        max-width: 100%;
        padding-left: 0;
    }

    .hero__title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }

    .hero__subtitle {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .hero__actions {
        margin-bottom: 32px;
    }

    .hero__visual {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero__mosaic {
        max-width: 360px;
        gap: 12px;
    }

    .hero__mosaic-item--large {
        min-height: 220px;
    }

    .hero__mosaic-item--small {
        min-height: 120px;
    }

    .hero__accent-line {
        display: none;
    }

    .hero__stats {
        gap: 36px;
    }

    .hero__trust-row {
        flex-wrap: wrap;
        gap: 12px;
    }



    .products-grid,
    .products-grid.products-grid--5col {
        grid-template-columns: repeat(3, 1fr);
    }

    .vendors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 100;
    }

    .header__nav.active {
        display: flex;
    }

    .header__nav a {
        font-size: 1.2rem;
        padding: 14px 30px;
    }

    .header__toggle {
        display: flex;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .vendors-grid {
        grid-template-columns: 1fr;
    }

    .hero__content {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 100px 0 50px;
        text-align: center;
    }

    .hero__text {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__title {
        font-size: clamp(2rem, 5vw, 2.8rem);
        letter-spacing: -1px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
        max-width: 440px;
    }

    .hero__actions {
        margin-bottom: 24px;
    }

    .hero__visual {
        display: none;
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .hero__stat-number {
        font-size: 2rem;
    }

    .hero__trust-row {
        display: none;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cta-box {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__content {
        padding: 90px 0 40px;
    }

    .hero__title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 16px;
    }

    .hero__badge {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .hero__subtitle {
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .hero__actions {
        margin-bottom: 16px;
    }



    .products-grid,
    .products-grid.products-grid--5col {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* ── Compact mobile product cards ── */
    .product-card {
        border-radius: 12px;
    }

    .product-card__image {
        aspect-ratio: 4/3;
    }

    .product-card__badge {
        top: 8px;
        left: 8px;
        font-size: 0.62rem;
        padding: 3px 8px;
    }

    /* Always show action btns on mobile (no hover) */
    .product-card__actions {
        opacity: 1;
        transform: translateX(0);
        top: 8px;
        right: 8px;
        gap: 4px;
    }

    .product-card__action-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .product-card__action-btn i,
    .product-card__action-btn svg {
        width: 14px;
        height: 14px;
    }

    .product-card__body {
        padding: 10px 10px 12px;
    }

    .product-card__vendor {
        font-size: 0.62rem;
        margin-bottom: 3px;
        letter-spacing: 0.3px;
    }

    .product-card__vendor i,
    .product-card__vendor svg {
        width: 10px !important;
        height: 10px !important;
    }

    .product-card__name {
        font-size: 0.82rem;
        margin-bottom: 4px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-card__rating {
        margin-bottom: 8px;
        gap: 4px;
    }

    .product-card__stars i,
    .product-card__stars svg {
        width: 11px;
        height: 11px;
    }

    .product-card__rating-count {
        font-size: 0.68rem;
    }

    .product-card__price {
        font-size: 0.95rem;
    }

    .product-card__price-old {
        font-size: 0.68rem;
        margin-left: 3px;
    }

    .product-card__cart-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .product-card__cart-btn i,
    .product-card__cart-btn svg {
        width: 16px;
        height: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .category-card {
        padding: 24px 16px;
    }

    .categories-grid .category-card {
        flex: 0 0 150px;
    }

    .promo-strip {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-card {
        min-height: 220px;
    }
}

/* ══════════════════════════════════════════
   E-COMMERCE — Deal Banner
   ══════════════════════════════════════════ */
.deal-banner {
    background: linear-gradient(135deg, #1a3a2a 0%, #0f2a1c 100%);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.deal-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(244, 166, 35, 0.12), transparent 60%);
    pointer-events: none;
}

.deal-banner__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.deal-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.deal-banner__subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.deal-banner__timer {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.deal-banner__time-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    min-width: 58px;
}

.deal-banner__time-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.deal-banner__time-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.deal-banner__image {
    position: relative;
    z-index: 1;
}

.deal-banner__image img {
    max-height: 220px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

@media (max-width: 768px) {
    .deal-banner {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .deal-banner__image {
        display: none;
    }
}

/* ══════════════════════════════════════════
   E-COMMERCE — Product Row (Horizontal Scroll)
   ══════════════════════════════════════════ */
.product-row {
    margin-bottom: 20px;
}

.product-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-row__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-row__title i,
.product-row__title svg {
    color: var(--secondary);
    width: 22px;
    height: 22px;
}

.product-row__link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition-fast);
}

.product-row__link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.product-row__link i,
.product-row__link svg {
    width: 16px;
    height: 16px;
}

.product-row__scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.product-row__scroll::-webkit-scrollbar {
    display: none;
}

.product-row__scroll .product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

@media (max-width: 480px) {
    .product-row__scroll .product-card {
        flex: 0 0 160px;
    }

    .product-row__scroll .product-card .product-card__body {
        padding: 10px;
    }

    .product-row__scroll .product-card .product-card__name {
        font-size: 0.82rem;
    }

    .product-row__scroll .product-card .product-card__price {
        font-size: 0.9rem;
    }
}

/* ══════════════════════════════════════════
   E-COMMERCE — Promo Banners Strip
   ══════════════════════════════════════════ */
.promo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promo-card {
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #1a1a2e;
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 50%, rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.promo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.promo-card__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
    filter: brightness(0.5) saturate(1.3);
}

.promo-card:hover .promo-card__bg-img {
    transform: scale(1.1);
    filter: brightness(0.6) saturate(1.5);
}

.promo-card--green {
    background: linear-gradient(135deg, #0d3b1f, #1a5c32);
}

.promo-card--gold {
    background: linear-gradient(135deg, #6b3e00, #c48b1a);
}

.promo-card--terra {
    background: linear-gradient(135deg, #5c1a0f, #b84a2e);
}

.promo-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.promo-card__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-card__icon-wrap i,
.promo-card__icon-wrap svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.promo-card__tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.promo-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-card__desc {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
    margin-bottom: auto;
}

.promo-card__cta {
    margin-top: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
    transition: all 0.3s ease;
}

.promo-card:hover .promo-card__cta {
    background: rgba(255, 255, 255, 0.25);
    gap: 10px;
}

/* Promo card shine effect */
.promo-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    z-index: 2;
    transform: translateX(-100%) rotate(0deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.promo-card:hover::after {
    transform: translateX(100%) rotate(0deg);
}

.promo-card__cta i,
.promo-card__cta svg {
    width: 14px;
    height: 14px;
}


/* Category cards with background images */
.category-card--has-img {
    position: relative;
    overflow: hidden;
}

.category-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: var(--radius-lg);
}

.category-card--has-img:hover .category-card__bg {
    opacity: 0.18;
}

.category-card--has-img>*:not(.category-card__bg) {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .promo-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promo-card {
        min-height: 120px;
        padding: 20px;
    }
}


/* Marquee animation for trust strip */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ══════════════════════════════════════════
   E-COMMERCE — Quick Category Bar
   ══════════════════════════════════════════ */
.quick-cats {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
}

.quick-cats::-webkit-scrollbar {
    display: none;
}

.quick-cat {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.quick-cat:hover,
.quick-cat--active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.quick-cat i,
.quick-cat svg {
    width: 18px;
    height: 18px;
}

/* ══════════════════════════════════════════
   E-COMMERCE — Compact Hero for Shop
   ══════════════════════════════════════════ */
.hero--shop {
    min-height: auto;
    padding: 0;
}

.hero--shop .hero__content {
    min-height: auto;
    padding: 100px 0 50px;
}

.hero--shop .hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    letter-spacing: -1.5px;
}

.hero--shop .hero__subtitle {
    font-size: 1rem;
    max-width: 440px;
    margin-bottom: 28px;
}

.hero--shop .hero__stats {
    display: none;
}

@media (max-width: 1024px) {
    .hero--shop .hero__content {
        padding: 100px 0 40px;
    }
}

@media (max-width: 768px) {
    .hero--shop .hero__content {
        padding: 90px 0 36px;
        text-align: center;
    }

    .hero--shop .hero__title {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }

    .hero--shop .hero__subtitle {
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .hero--shop .hero__content {
        padding: 80px 0 28px;
    }

    .hero--shop .hero__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}

/* ══════════════════════════════════════════
   PREMIUM POLISH — Custom Scrollbar
   ══════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

::selection {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--dark);
}

/* ══════════════════════════════════════════
   TRUST STRIP — Scrolling features bar
   ══════════════════════════════════════════ */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.trust-strip::before,
.trust-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.trust-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.trust-strip::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--white));
}

.trust-strip__track {
    display: flex;
    gap: 60px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.trust-strip__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-strip__item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.trust-strip__dot {
    width: 5px;
    height: 5px;
    background: var(--secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   HOW IT WORKS — Premium Card Layout
   ══════════════════════════════════════════ */
.hiw-section {
    position: relative;
    background: var(--light);
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

/* Connecting line behind cards */
.hiw-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg,
            var(--primary),
            var(--secondary) 33%,
            var(--accent) 66%,
            #8250c8);
    opacity: 0.2;
    z-index: 0;
}

/* Individual card */
.hiw-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px 36px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.hiw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hiw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.hiw-card:hover::before {
    opacity: 1;
}

/* Per-card accent colors */
.hiw-card:nth-child(1)::before {
    background: var(--primary);
}

.hiw-card:nth-child(2)::before {
    background: var(--secondary);
}

.hiw-card:nth-child(3)::before {
    background: var(--accent);
}

.hiw-card:nth-child(4)::before {
    background: #8250c8;
}

/* Large watermark step number */
.hiw-card__watermark {
    position: absolute;
    top: -10px;
    right: -5px;
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.04;
    pointer-events: none;
    color: var(--dark);
}

/* Step number badge */
.hiw-card__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hiw-card:nth-child(1) .hiw-card__step {
    background: var(--primary);
}

.hiw-card:nth-child(2) .hiw-card__step {
    background: var(--secondary);
}

.hiw-card:nth-child(3) .hiw-card__step {
    background: var(--accent);
}

.hiw-card:nth-child(4) .hiw-card__step {
    background: #8250c8;
}

/* Icon */
.hiw-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.hiw-card:nth-child(1) .hiw-card__icon {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.hiw-card:nth-child(2) .hiw-card__icon {
    background: rgba(244, 166, 35, 0.1);
    color: var(--secondary);
}

.hiw-card:nth-child(3) .hiw-card__icon {
    background: rgba(232, 93, 58, 0.1);
    color: var(--accent);
}

.hiw-card:nth-child(4) .hiw-card__icon {
    background: rgba(130, 80, 200, 0.1);
    color: #8250c8;
}

.hiw-card__icon i,
.hiw-card__icon svg {
    width: 26px;
    height: 26px;
}

/* Title */
.hiw-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
}

/* Description */
.hiw-card__desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Accent bar at bottom */
.hiw-card__bar {
    width: 40px;
    height: 3px;
    border-radius: 3px;
    margin-top: 20px;
    transition: width 0.3s ease;
}

.hiw-card:hover .hiw-card__bar {
    width: 70px;
}

.hiw-card:nth-child(1) .hiw-card__bar {
    background: var(--primary);
}

.hiw-card:nth-child(2) .hiw-card__bar {
    background: var(--secondary);
}

.hiw-card:nth-child(3) .hiw-card__bar {
    background: var(--accent);
}

.hiw-card:nth-child(4) .hiw-card__bar {
    background: #8250c8;
}

/* Arrow connectors between cards */
.hiw-card__arrow {
    position: absolute;
    right: -16px;
    top: 60px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hiw-card__arrow i,
.hiw-card__arrow svg {
    width: 14px;
    height: 14px;
    color: var(--gray-400);
}

.hiw-card:last-child .hiw-card__arrow {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hiw-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hiw-grid::before {
        display: none;
    }

    .hiw-card__arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Legacy process-grid (hidden, for backward compat) */
.process-grid {
    display: none;
}

/* ══════════════════════════════════════════
   SECTION DECORATOR — Floating orbs
   ══════════════════════════════════════════ */
.section-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.section-deco--orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
}

.section-deco--corner-tl {
    top: -60px;
    left: -60px;
    background: var(--primary);
}

.section-deco--corner-br {
    bottom: -60px;
    right: -60px;
    background: var(--secondary);
}

.section-deco--dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--secondary) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
}

/* ══════════════════════════════════════════
   ENHANCED CATEGORY CARDS — Gradient border
   ══════════════════════════════════════════ */
.category-card {
    background: var(--white);
    position: relative;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.category-card:hover::after {
    opacity: 1;
}

/* ══════════════════════════════════════════
   ENHANCED PRODUCT CARDS — Shine on hover
   ══════════════════════════════════════════ */
.product-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.product-card:hover .product-card__image::after {
    left: 125%;
}

/* ══════════════════════════════════════════
   ENHANCED STAT CARDS — Glow on hover
   ══════════════════════════════════════════ */
.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.15);
}

/* ══════════════════════════════════════════
   ENHANCED TESTIMONIAL — Quote + Stars
   ══════════════════════════════════════════ */
.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-card__stars i {
    color: var(--secondary);
    width: 16px;
    height: 16px;
}

.testimonial-card:hover {
    border-color: rgba(var(--secondary-rgb), 0.25);
}

/* ══════════════════════════════════════════
   ENHANCED CTA — Pattern Overlay
   ══════════════════════════════════════════ */
.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 20% 50%, var(--white) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, var(--white) 1px, transparent 1px),
        radial-gradient(circle at 50% 20%, var(--white) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px, 50px 50px;
    pointer-events: none;
}

/* ══════════════════════════════════════════
   ENHANCED VENDOR CARD — Verified Badge
   ══════════════════════════════════════════ */
.vendor-card__verified {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    z-index: 2;
}

.vendor-card__verified i {
    width: 14px;
    height: 14px;
}

/* ══════════════════════════════════════════
   HERO ENHANCED — Scroll indicator
   ══════════════════════════════════════════ */
.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: var(--secondary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(12px);
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — New elements
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .process-grid::before {
        display: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .trust-strip__track {
        gap: 40px;
    }

    .hero__scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════
   AUTH PAGES — Login, Register, Verify, Reset
   ═══════════════════════════════════════════ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: var(--bg-light);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    background: var(--white);
}

.auth-container--wide {
    max-width: 1080px;
}

.auth-container--center {
    display: flex;
    justify-content: center;
    max-width: 520px;
}

/* ── Brand Panel (Left) ── */
.auth-brand {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #3aa85e 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.auth-brand--vendor {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--primary-dark) 50%, var(--primary) 100%);
}

.auth-brand__content {
    position: relative;
    z-index: 1;
}

.auth-brand__logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-brand__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.auth-brand__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.auth-brand__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-brand__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
}

.auth-brand__feature i {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* ── Registration Steps ── */
.auth-steps {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.auth-step--active {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
}

.auth-step__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.auth-step--active .auth-step__num {
    background: var(--secondary);
    color: #1a1a2e;
}

.auth-step__label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.auth-step--active .auth-step__label {
    color: #fff;
}

.auth-step--done {
    background: rgba(45, 125, 70, 0.2);
    border-color: rgba(45, 125, 70, 0.4);
}

.auth-step--done .auth-step__num {
    background: var(--primary);
    color: #fff;
}

.auth-step--done .auth-step__label {
    color: rgba(255, 255, 255, 0.9);
}

/* ── OTP Right-Panel Elements ── */
.otp-icon-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2D7D46, #3a9d5a);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(45, 125, 70, 0.25);
}

.otp-input-wrap {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 12px 0 20px;
}

.otp-box {
    width: 50px;
    height: 58px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--dark, #1a1a2e);
    outline: none;
    transition: all 0.2s;
    background: #fafafa;
}

.otp-box:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(45, 125, 70, 0.12);
}

/* ── Form Panel (Right) ── */
.auth-form-wrap {
    padding: 40px 36px;
    overflow-y: auto;
    max-height: 90vh;
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Form Elements ── */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-label i {
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.93rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-input-wrap {
    position: relative;
}

.form-input-wrap .form-input {
    padding-right: 48px;
}

.form-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.form-toggle-pw:hover {
    color: var(--primary);
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.form-optional {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.required {
    color: var(--danger);
}

/* ── Form Sections ── */
.form-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.form-section__title i {
    color: var(--primary);
}

/* ── Checkbox ── */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.form-checkbox__mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 1px;
}

.form-checkbox input:checked+.form-checkbox__mark {
    background: var(--primary);
    border-color: var(--primary);
}

.form-checkbox input:checked+.form-checkbox__mark::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* ── Auth Links & Footer ── */
.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-link--accent {
    color: var(--secondary-dark);
}

.auth-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-footer__links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ── Centered Card (Forgot/Reset/Verify) ── */
.auth-card {
    width: 100%;
    padding: 48px 40px;
    text-align: center;
}

.auth-card__icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.auth-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-card__desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 380px;
    margin: 0 auto;
}

.auth-card .auth-form {
    text-align: left;
}

/* ── Verify Email Result ── */
.auth-result-card {
    width: 100%;
    padding: 60px 48px;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.auth-result__icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.auth-result__title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.auth-result__message {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* ── Buttons (auth-specific) ── */
.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn--secondary {
    background: var(--secondary);
    color: #1a1a2e;
    border: none;
}

.btn--secondary:hover {
    background: var(--secondary-dark);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.82rem;
    min-height: auto;
}

/* ── Flash Messages (auth styling) ── */
.auth-form-wrap .alert,
.auth-card .alert,
.auth-result-card .alert {
    margin-bottom: 20px;
    text-align: left;
}

/* ── OTP Verification Page ── */
.otp-page {
    max-width: 520px;
    margin: 100px auto 40px;
    padding: 0 16px;
}

.otp-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.otp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.otp-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e8e8e8;
    color: #999;
    transition: all 0.3s;
}

.otp-step.done .otp-step__num {
    background: var(--primary);
    color: #fff;
}

.otp-step.active .otp-step__num {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(45, 125, 70, 0.2);
    animation: otpPulse 2s ease-in-out infinite;
}

@keyframes otpPulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(45, 125, 70, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(45, 125, 70, 0.1);
    }
}

.otp-step__label {
    font-size: 0.72rem;
    color: #999;
    font-weight: 500;
    white-space: nowrap;
}

.otp-step.done .otp-step__label,
.otp-step.active .otp-step__label {
    color: var(--primary);
    font-weight: 600;
}

.otp-step__line {
    width: 32px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 4px;
    margin-bottom: 22px;
    border-radius: 2px;
}

.otp-step__line.done {
    background: var(--primary);
}

.otp-card {
    background: #fff;
    border-radius: 20px;
    padding: 44px 36px 36px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.otp-card__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2D7D46, #3a9d5a);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(45, 125, 70, 0.25);
}

.otp-card__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark, #1a1a2e);
    margin: 0 0 8px;
}

.otp-card__desc {
    font-size: 0.92rem;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.5;
}

.otp-card__desc strong {
    color: var(--dark, #1a1a2e);
}

.otp-input-wrap {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 16px 0 28px;
}

.otp-box {
    width: 52px;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--dark, #1a1a2e);
    outline: none;
    transition: all 0.2s;
    background: #fafafa;
}

.otp-box:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 125, 70, 0.12);
}

.otp-box:not(:placeholder-shown) {
    border-color: var(--primary);
    background: #f0faf3;
}

.otp-card .alert {
    margin-bottom: 20px;
    text-align: left;
}

.otp-card__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.otp-card__footer p {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 10px;
}

.otp-timer {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    padding: 6px 16px;
    background: #f0faf3;
    border-radius: 8px;
}

.otp-expire-note {
    margin-top: 12px !important;
    font-size: 0.78rem !important;
    color: #bbb !important;
}


@media (max-width: 768px) {
    .auth-page {
        padding: 80px 12px 24px;
    }

    .auth-container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .auth-brand {
        padding: 32px 28px;
    }

    .auth-brand__title {
        font-size: 1.5rem;
    }

    .auth-brand__desc {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .auth-brand__features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .auth-brand__feature {
        font-size: 0.78rem;
    }

    .auth-steps {
        flex-direction: row;
        overflow-x: auto;
        gap: 6px;
        margin-top: 20px;
    }

    .auth-step {
        padding: 6px 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .auth-form-wrap {
        padding: 28px 20px;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-result-card {
        padding: 40px 24px;
    }

    .auth-card {
        padding: 36px 24px;
    }

    .auth-footer__links {
        flex-direction: column;
        align-items: center;
    }

    /* OTP page mobile */
    .otp-page {
        margin-top: 80px;
    }

    .otp-stepper {
        margin-bottom: 20px;
    }

    .otp-step__num {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .otp-step__label {
        font-size: 0.62rem;
    }

    .otp-step__line {
        width: 16px;
    }

    .otp-card {
        padding: 32px 20px 28px;
        border-radius: 16px;
    }

    .otp-card__title {
        font-size: 1.3rem;
    }

    .otp-box {
        width: 42px;
        height: 50px;
        font-size: 1.3rem;
        border-radius: 10px;
    }

    .otp-input-wrap {
        gap: 6px;
    }
}

/* ═══════════════════════════════════════════
   VENDOR DASHBOARD LAYOUT (shared sidebar)
   ═══════════════════════════════════════════ */

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    padding-top: 72px;
}

/* ── Sidebar ── */
.dash-sidebar {
    background: var(--dark);
    color: #fff;
    padding: 28px 0;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-sidebar__header {
    padding: 0 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.dash-sidebar__avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.dash-sidebar__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-sidebar__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.dash-sidebar__role {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-sidebar__nav {
    padding: 0 12px;
}

.dash-nav__group {
    margin-bottom: 8px;
}

.dash-nav__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    padding: 12px 14px 6px;
    font-weight: 600;
}

.dash-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dash-nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dash-nav__link.active {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-light);
}

.dash-nav__link i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dash-nav__badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* ── Main Content Area ── */
.dash-main {
    padding: 32px;
    background: var(--bg-light);
    min-height: calc(100vh - 72px);
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dash-topbar__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.dash-topbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.2rem;
}

.dash-topbar__subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 400;
}

/* ── Dashboard Stat Cards ── */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.dash-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dash-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.dash-stat__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.dash-stat__icon i {
    width: 22px;
    height: 22px;
}

.dash-stat__value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}

.dash-stat__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Dashboard Tables ── */
.dash-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 24px;
}

.dash-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.dash-table-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table th {
    text-align: left;
    padding: 12px 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.dash-table td {
    padding: 14px 20px;
    font-size: 0.88rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.dash-table tr:last-child td {
    border-bottom: none;
}

.dash-table tr:hover td {
    background: rgba(var(--primary-rgb), 0.02);
}

/* ── Status Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge--success {
    background: #d4edda;
    color: #155724;
}

.badge--warning {
    background: #fff3cd;
    color: #856404;
}

.badge--danger {
    background: #f8d7da;
    color: #721c24;
}

.badge--info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge--muted {
    background: #e9ecef;
    color: #6c757d;
}

.badge--primary {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-dark);
}

/* ── Dashboard Cards ── */
.dash-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.dash-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.dash-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.dash-card__title i {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 6px;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Responsive: Dashboard ── */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        position: fixed;
        left: -280px;
        top: 72px;
        width: 280px;
        height: calc(100vh - 72px);
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .dash-sidebar.open {
        left: 0;
    }

    .dash-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 72px;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .dash-sidebar-overlay.active {
        display: block;
    }

    .dash-main {
        padding: 20px 16px;
    }

    .dash-toggle-btn {
        display: flex !important;
    }
}

.dash-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    color: var(--dark);
}

@media (max-width: 768px) {
    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dash-stat {
        padding: 16px;
    }

    .dash-stat__value {
        font-size: 1.2rem;
    }

    .dash-table-wrap {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .dash-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Flash Alert Improvements ── */
@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard alerts — override the wider auth-page margins */
.dash-main .alert {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    padding: 12px 16px;
    gap: 10px;
}

/* Disabled sidebar nav links for unapproved vendors */
.dash-nav__link--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}

/* ── Mobile Flash Messages Fix ── */
@media (max-width: 768px) {
    .alert {
        font-size: 0.82rem;
        padding: 10px 14px;
        gap: 8px;
        flex-wrap: nowrap;
        word-break: break-word;
    }

    .alert-icon {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .alert-close {
        font-size: 1rem;
        padding: 0 2px;
        flex-shrink: 0;
    }

    /* Auth pages */
    .auth-form-wrap .alert,
    .auth-card .alert,
    .otp-card .alert {
        font-size: 0.8rem;
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    /* Dashboard */
    .dash-main .alert {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .alert {
        font-size: 0.78rem;
        padding: 8px 12px;
        gap: 6px;
        border-radius: 8px;
    }
}

/* ── Dashboard: Hide site-wide nav toggle ── */
/* On dashboard pages, the sidebar has its own toggle.
   Hide the header hamburger to prevent the full-screen
   site nav overlay from covering the dashboard. */
body:has(.dashboard-layout) .header__toggle {
    display: none !important;
}

body:has(.dashboard-layout) .header__nav {
    display: none !important;
}

/* Also hide the desktop nav links on dashboard */
body:has(.dashboard-layout) .header__nav {
    display: none !important;
}

/* On mobile dashboards, compact the header */
@media (max-width: 768px) {
    body:has(.dashboard-layout) .header {
        position: sticky;
        top: 0;
        z-index: 50;
    }
}

/* ══════════════════════════════════════════
   ONBOARDING STEP PROGRESS BAR
   Shown during vendor registration flow
   (Profile step 3 + KYC step 4)
   ══════════════════════════════════════════ */
.onboarding-steps-bar {
    background: var(--white);
    padding: 32px 24px;
    margin-bottom: 0;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.onboarding-steps-bar__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 10px;
    overflow: visible; /* we manage flex naturally */
}

.ob-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: 110px;
}

.ob-step__circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    z-index: 2;
}

.ob-step--done .ob-step__circle {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    box-shadow: 0 4px 14px rgba(40,167,69,0.3);
}

.ob-step--active .ob-step__circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.15);
    animation: obPulse 2s infinite;
}

@keyframes obPulse {
    0%,100% { box-shadow: 0 0 0 6px rgba(var(--primary-rgb),0.15); }
    50%      { box-shadow: 0 0 0 10px rgba(var(--primary-rgb),0.05); }
}

.ob-step__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s;
}

.ob-step--done .ob-step__label { color: var(--dark); }
.ob-step--active .ob-step__label { color: var(--primary); font-weight: 700; }

.ob-step__line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin-top: 20px; /* align with 44px circle */
    min-width: 20px;
    border-radius: 3px;
    transition: background 0.4s;
    position: relative;
    z-index: 1;
}

.ob-step__line--done {
    background: var(--success);
    box-shadow: 0 0 6px rgba(40,167,69,0.4);
}

.onboarding-steps-bar__hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 24px 0 0;
    text-align: center;
    font-style: italic;
}

/* ── Mobile Fixes ── */
@media (max-width: 768px) {
    .onboarding-steps-bar {
        padding: 24px 16px;
    }
    
    .dash-topbar {
        padding: 20px;
    }
    
    .dash-card {
        padding: 20px;
    }

    .ob-step {
        width: auto;
        min-width: 36px;
    }
    
    .ob-step__circle {
        width: 36px; height: 36px;
        font-size: 0.85rem;
    }
    
    .ob-step__line {
        margin-top: 16px; /* center with 36px circle */
    }
    
    .ob-step__label {
        display: none; /* remove labels to let it fit on tiny devices without breaking */
    }
}