/* ═══════════════════════════════════════════════════════════════
   PipeKart — Flipkart-inspired Light Theme
   Primary: #2874F0 (Flipkart Blue)  Accent: #FB641B (kept only for cart CTA)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
    /* Brand — PipeKart Teal */
    --blue: #1B6CA8;
    --blue-dk: #155A8A;
    --blue-lt: #3A8FC2;
    --blue-soft: rgba(27,108,168,.08);
    --blue-softer: rgba(27,108,168,.04);
    /* CTA — Add to Cart */
    --cta: #26A541;
    --cta-dk: #1E8A34;
    /* Neutrals */
    --dark: #212121;
    --dark-mid: #424242;
    --mid: #878787;
    --muted: #B0B0B0;
    --border: #E8ECF0;
    --border-lt: #F2F4F6;
    --bg: #F5F7FA;
    --bg-2: #FFFFFF;
    --surface: #FFFFFF;
    /* Status */
    --danger: #D32F2F;
    --success: #388E3C;
    --warning: #F57C00;
    --info: #1976D2;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-xs: 0 1px 4px rgba(0,0,0,.08);
    --shadow: 0 2px 8px rgba(0,0,0,.10);
    --shadow-lg: 0 4px 20px rgba(0,0,0,.12);
    --shadow-blue: 0 4px 16px rgba(40,116,240,.30);
    --transition: .18s ease;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--dark);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

    a:hover {
        color: var(--blue-dk);
    }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* ── Utilities ──────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.badge-brand {
    background: var(--blue-soft);
    color: var(--blue);
}

.badge-success {
    background: rgba(56,142,60,.12);
    color: #2E7D32;
}

.badge-danger {
    background: rgba(211,47,47,.10);
    color: #C62828;
}

.badge-warning {
    background: rgba(245,124,0,.10);
    color: #E65100;
}

.badge-info {
    background: rgba(25,118,210,.10);
    color: #1565C0;
}

.badge-dark {
    background: var(--dark);
    color: #fff;
}

.badge-copper {
    background: var(--blue-soft);
    color: var(--blue);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: .01em;
}

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

    .btn-primary:hover {
        background: var(--blue-dk);
        border-color: var(--blue-dk);
        color: #fff;
        box-shadow: var(--shadow-blue);
    }

.btn-cta {
    background: var(--cta);
    color: #fff;
    border-color: var(--cta);
}

    .btn-cta:hover {
        background: var(--cta-dk);
        border-color: var(--cta-dk);
        color: #fff;
    }

.btn-dark {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

    .btn-dark:hover {
        background: var(--dark-mid);
        color: #fff;
    }

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

    .btn-outline:hover {
        background: var(--blue);
        color: #fff;
    }

.btn-ghost {
    background: transparent;
    color: var(--mid);
    border-color: var(--border);
}

    .btn-ghost:hover {
        background: var(--bg);
        color: var(--dark);
        border-color: var(--muted);
    }

.btn-danger {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

    .btn-danger:hover {
        background: #C62828;
        color: #fff;
    }

.btn-success {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.btn-navy {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

    .btn-navy:hover {
        background: var(--dark-mid);
        color: #fff;
    }

.btn-copper {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

    .btn-copper:hover {
        background: var(--blue-dk);
        color: #fff;
    }

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
}

.btn-block {
    width: 100%;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark);
    background: var(--surface);
    transition: border var(--transition), box-shadow var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(40,116,240,.12);
    }

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

.form-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 3px;
    display: block;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23878787' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

textarea.form-control {
    resize: vertical;
    min-height: 88px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-lt);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
}

.card-body {
    padding: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — Flipkart style
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Row 1: logo + search + actions */
.navbar-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    height: 60px;
}

.navbar-brand {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

    .navbar-brand .tagline {
        font-size: 9px;
        color: rgba(255,220,120,.9);
        font-style: italic;
        font-weight: 400;
        font-family: var(--font-body);
        letter-spacing: .03em;
        margin-top: 2px;
    }

    .navbar-brand span {
        color: #FFD700;
    }

.navbar-search {
    flex: 1;
    max-width: 520px;
    position: relative;
}

    .navbar-search input {
        width: 100%;
        padding: 9px 44px 9px 16px;
        background: #fff;
        border: none;
        border-radius: var(--radius-sm);
        color: var(--dark);
        font-size: 13px;
        font-family: var(--font-body);
        transition: box-shadow var(--transition);
        outline: none;
    }

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

        .navbar-search input:focus {
            box-shadow: 0 0 0 3px rgba(255,255,255,.35);
        }

    .navbar-search button {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 42px;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--blue);
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color var(--transition);
    }

        .navbar-search button:hover {
            color: var(--blue-dk);
        }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 6px 12px;
    color: #fff;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 11px;
    font-weight: 500;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
}

    .nav-icon-btn i {
        font-size: 16px;
    }

    .nav-icon-btn:hover {
        color: #fff;
        background: rgba(0,0,0,.12);
    }

.cart-badge {
    position: absolute;
    top: 3px;
    right: 4px;
    background: #E53935;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
}

/* Row 2: category links */
.navbar-bottom {
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-top: 1px solid rgba(255,255,255,.15);
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--blue);
}

    .navbar-bottom::-webkit-scrollbar {
        display: none;
    }

.nav-cat-link {
    padding: 9px 14px;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

    .nav-cat-link:hover {
        color: #fff;
        border-bottom-color: #FFD700;
    }

/* Mobile: search row (hidden desktop) */
.navbar-search-mobile {
    display: none;
    padding: 8px 12px;
    background: var(--blue);
    border-top: 1px solid rgba(255,255,255,.12);
}

    .navbar-search-mobile input {
        width: 100%;
        padding: 9px 44px 9px 14px;
        background: #fff;
        border: none;
        border-radius: var(--radius-sm);
        color: var(--dark);
        font-size: 13px;
        font-family: var(--font-body);
        outline: none;
    }

        .navbar-search-mobile input::placeholder {
            color: var(--muted);
        }

    .navbar-search-mobile button {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--blue);
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* ── Hero Slider ─────────────────────────────────────────────── */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #ddd;
}

.hero-slide {
    min-height: 380px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .hero-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg, rgba(15,30,60,.80) 0%, rgba(15,30,60,.40) 60%, transparent 100%);
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 540px;
    padding: 48px 56px;
    color: #fff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(22px,3vw,40px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #fff;
}

    .hero-content h1 em {
        color: #A8D8F0;
        font-style: normal;
    }

.hero-content p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 56px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

    .slider-dot.active {
        background: #fff;
        width: 20px;
    }

/* ── Section ────────────────────────────────────────────────── */
.section {
    padding: 24px 0;
}

.section-sm {
    padding: 16px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(16px,2.2vw,22px);
    font-weight: 700;
    color: var(--dark);
}

.section-subtitle {
    color: var(--mid);
    margin-top: 4px;
    font-size: 13px;
}

.section-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY SLIDER
   ═══════════════════════════════════════════════════════════════ */
.cat-slider-wrap {
    position: relative;
    padding: 0 20px;
}

.cat-slider-track-outer {
    overflow: hidden;
    padding: 6px 0 10px;
}

.cat-slider-track {
    display: flex;
    gap: 12px;
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.cat-card {
    flex: 0 0 112px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 18px 10px 14px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

    .cat-card:hover {
        border-color: var(--blue);
        box-shadow: var(--shadow);
        transform: translateY(-2px);
    }

.cat-card-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--blue);
    transition: all var(--transition);
}

.cat-card:hover .cat-card-icon {
    background: var(--blue);
    color: #fff;
}

.cat-card span {
    font-size: 11px;
    font-weight: 500;
    color: var(--dark-mid);
    line-height: 1.3;
}

.cat-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--dark);
    z-index: 2;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

    .cat-slider-btn:hover {
        background: var(--blue);
        color: #fff;
        border-color: var(--blue);
    }

    .cat-slider-btn.prev {
        left: -4px;
    }

    .cat-slider-btn.next {
        right: -4px;
    }

    .cat-slider-btn:disabled {
        opacity: .3;
        cursor: not-allowed;
        pointer-events: none;
    }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD — tight Flipkart style
   ═══════════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: 16px;
}

.product-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

    .product-card:hover {
        box-shadow: 0 4px 20px rgba(0,0,0,.12);
        transform: translateY(-2px);
    }

.product-card-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #fff;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-card-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .3s ease;
    }

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

/* sale badge — top left red pill like Flipkart */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 7px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

    .product-badge.sale {
        background: var(--danger);
        color: #fff;
    }

    .product-badge.new {
        background: var(--success);
        color: #fff;
    }

    .product-badge.hot {
        background: var(--cta);
        color: #fff;
    }

.product-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: var(--surface);
    border-radius: 50%;
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.product-card:hover .product-wishlist-btn {
    opacity: 1;
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
    color: var(--danger);
    border-color: var(--danger);
}

.product-card-body {
    padding: 10px 12px 6px;
    flex: 1;
}

.product-cat {
    font-size: 10px;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 3px;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--success);
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
}

    .rating-pill i {
        font-size: 9px;
    }

.stars-count {
    font-size: 11px;
    color: var(--muted);
}

.stars {
    color: var(--warning);
    font-size: 11px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.price-original {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.price-off {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.product-card-footer {
    padding: 0 12px 12px;
}

.stock-out {
    color: var(--danger);
    font-size: 11px;
    font-weight: 600;
}

.stock-low {
    color: var(--warning);
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

/* ── Product Detail Gallery ─────────────────────────────────── */
.product-detail-gallery {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 10px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gallery-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    cursor: pointer;
    border: 1.5px solid var(--border);
    padding: 3px;
    background: var(--surface);
    transition: border-color var(--transition);
}

    .gallery-thumb.active, .gallery-thumb:hover {
        border-color: var(--blue);
    }

.gallery-main {
    aspect-ratio: 1/1;
    background: var(--bg-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 16px;
    }

/* ── Cart ───────────────────────────────────────────────────── */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

    .cart-table th {
        background: var(--bg);
        color: var(--mid);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        padding: 11px 14px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .cart-table td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border-lt);
        vertical-align: middle;
    }

    .cart-table tr:last-child td {
        border-bottom: none;
    }

    .cart-table tbody tr:hover td {
        background: var(--bg);
    }

.qty-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--dark);
}

    .qty-btn:hover {
        background: var(--blue);
        color: #fff;
        border-color: var(--blue);
    }

.qty-input {
    width: 40px;
    text-align: center;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ── Order Summary ──────────────────────────────────────────── */
.order-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 76px;
}

    .order-summary h3 {
        color: var(--dark);
        font-size: 15px;
        margin-bottom: 16px;
        border-bottom: 1px solid var(--border-lt);
        padding-bottom: 10px;
    }

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 13px;
    color: var(--mid);
}

    .order-summary-row.total {
        font-family: var(--font-head);
        font-size: 16px;
        font-weight: 700;
        color: var(--dark);
        border-top: 1px solid var(--border);
        padding-top: 12px;
        margin-top: 6px;
    }

.coupon-box {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

    .coupon-box input {
        flex: 1;
    }

/* ── Status Pills ───────────────────────────────────────────── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.status-pending {
    background: rgba(245,124,0,.10);
    color: #E65100;
}

.status-confirmed {
    background: rgba(25,118,210,.10);
    color: #1565C0;
}

.status-processing {
    background: rgba(106,27,154,.10);
    color: #6A1B9A;
}

.status-shipped {
    background: rgba(25,118,210,.10);
    color: #1565C0;
}

.status-outfordelivery {
    background: rgba(56,142,60,.10);
    color: #2E7D32;
}

.status-delivered {
    background: rgba(56,142,60,.12);
    color: #2E7D32;
}

.status-cancelled {
    background: rgba(211,47,47,.10);
    color: #C62828;
}

.status-returnrequested {
    background: rgba(245,124,0,.10);
    color: #E65100;
}

.status-returned {
    background: rgba(97,97,97,.10);
    color: #424242;
}

.status-refunded {
    background: rgba(56,142,60,.10);
    color: #2E7D32;
}

/* ── Toast ──────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--dark);
    color: #fff;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    border-left: 3px solid var(--blue);
    animation: slideInToast .25s ease;
    font-size: 13px;
    font-weight: 500;
}

    .toast.error {
        border-left-color: var(--danger);
    }

    .toast.success {
        border-left-color: var(--success);
    }

@keyframes slideInToast {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--muted);
    padding: 12px 0;
    flex-wrap: wrap;
}

    .breadcrumb a {
        color: var(--mid);
    }

        .breadcrumb a:hover {
            color: var(--blue);
        }

.breadcrumb-sep {
    color: var(--border);
}

/* ── Filter Sidebar ─────────────────────────────────────────── */
.filter-sidebar {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 18px;
}

.filter-section {
    border-bottom: 1px solid var(--border-lt);
    padding: 14px 0;
}

    .filter-section:first-child {
        padding-top: 0;
    }

    .filter-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.filter-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dark);
    margin-bottom: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    cursor: pointer;
    font-size: 13px;
    color: var(--mid);
    transition: color var(--transition);
}

    .filter-option:hover {
        color: var(--dark);
    }

    .filter-option input[type=radio],
    .filter-option input[type=checkbox] {
        accent-color: var(--blue);
        width: 14px;
        height: 14px;
    }

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .price-range input {
        width: 78px;
    }

/* ── Stars review input ─────────────────────────────────────── */
.stars-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

    .stars-input input {
        display: none;
    }

    .stars-input label {
        font-size: 24px;
        color: #ddd;
        cursor: pointer;
        transition: color .12s;
    }

        .stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label {
            color: var(--warning);
        }

/* ── Trust Strip ────────────────────────────────────────────── */
.trust-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

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

.trust-item-icon {
    width: 36px;
    height: 36px;
    background: var(--blue-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--blue);
    flex-shrink: 0;
}

.trust-item-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.trust-item-text span {
    font-size: 11px;
    color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: #0F2337;
    color: rgba(255,255,255,.6);
    padding: 48px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

    .footer-logo span {
        color: var(--blue-lt);
    }

.footer-desc {
    font-size: 12px;
    line-height: 1.7;
    max-width: 240px;
}

.footer-heading {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.4);
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: rgba(255,255,255,.5);
        font-size: 12px;
        transition: color var(--transition);
    }

        .footer-links a:hover {
            color: #fff;
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    transition: all var(--transition);
    font-size: 13px;
}

    .social-link:hover {
        background: var(--blue);
        color: #fff;
    }

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

    .newsletter-form input {
        flex: 1;
        padding: 8px 12px;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: var(--radius-sm);
        color: #fff;
        font-size: 13px;
        font-family: var(--font-body);
    }

        .newsletter-form input::placeholder {
            color: rgba(255,255,255,.3);
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: rgba(255,255,255,.4);
        }

/* ── Promo Strip ────────────────────────────────────────────── */
.promo-strip {
    background: linear-gradient(135deg, #0f2749 0%, #1a3f6f 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

    .promo-strip::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 75% 50%, rgba(40,116,240,.15) 0%, transparent 70%);
    }

/* ═══════════════════════════════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════════════════════════════ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 230px;
    flex-shrink: 0;
    background: #0F2337;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
}

    .admin-sidebar::-webkit-scrollbar {
        display: none;
    }

.admin-sidebar-logo {
    /* teal accent */
    padding: 18px 18px 16px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .admin-sidebar-logo span {
        color: var(--blue-lt);
    }

    .admin-sidebar-logo small {
        font-family: var(--font-body);
        font-size: 9px;
        color: rgba(255,255,255,.3);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .07em;
    }

.admin-nav-group {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.admin-nav-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.22);
    padding: 10px 18px 4px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    font-weight: 400;
    transition: all var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}

    .admin-nav-link i {
        width: 15px;
        text-align: center;
        font-size: 12px;
    }

    .admin-nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,.06);
    }

    .admin-nav-link.active {
        color: #fff;
        border-left-color: var(--blue);
        background: rgba(40,116,240,.12);
    }

        .admin-nav-link.active i {
            color: var(--blue-lt);
        }

.admin-content {
    flex: 1;
    padding: 24px 28px;
    min-width: 0;
    background: var(--bg);
}

.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

/* ── Stat Cards ─────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px,1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px 18px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

    .stat-card:hover {
        box-shadow: var(--shadow);
    }

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .stat-icon.copper {
        background: var(--blue-soft);
        color: var(--blue);
    }

    .stat-icon.navy {
        background: rgba(23,35,55,.07);
        color: var(--dark);
    }

    .stat-icon.success {
        background: rgba(56,142,60,.10);
        color: var(--success);
    }

    .stat-icon.warning {
        background: rgba(245,124,0,.10);
        color: var(--warning);
    }

.stat-value {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Data Table ─────────────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

    .data-table thead {
        background: var(--bg);
    }

    .data-table th {
        padding: 11px 14px;
        color: var(--mid);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        text-align: left;
        border-bottom: 1.5px solid var(--border);
    }

    .data-table td {
        padding: 11px 14px;
        border-bottom: 1px solid var(--border-lt);
        font-size: 13px;
        vertical-align: middle;
    }

    .data-table tbody tr:last-child td {
        border-bottom: none;
    }

    .data-table tbody tr:hover td {
        background: var(--bg);
    }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    text-decoration: none;
}

    .page-btn:hover {
        background: var(--blue-soft);
        border-color: var(--blue);
        color: var(--blue);
    }

    .page-btn.active {
        background: var(--blue);
        border-color: var(--blue);
        color: #fff;
    }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAVBAR & DRAWER
   ═══════════════════════════════════════════════════════════════ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 7px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
}

    .nav-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 1px;
    }

.nav-mobile-actions {
    display: none;
}

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1998;
    opacity: 0;
    transition: opacity .25s;
}

    .drawer-overlay.open {
        display: block;
        opacity: 1;
    }

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 276px;
    max-width: 82vw;
    background: var(--surface);
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    scrollbar-width: none;
}

    .mobile-drawer::-webkit-scrollbar {
        display: none;
    }

    .mobile-drawer.open {
        transform: translateX(0);
    }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 52px;
    background: var(--blue);
    flex-shrink: 0;
}

    .drawer-header .navbar-brand {
        color: #fff;
        font-size: 18px;
    }

.drawer-close {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.12);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-search {
    padding: 10px 12px;
    background: var(--blue);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

    .drawer-search .search-wrap {
        position: relative;
    }

    .drawer-search input {
        width: 100%;
        padding: 8px 38px 8px 12px;
        background: #fff;
        border: none;
        border-radius: var(--radius-sm);
        color: var(--dark);
        font-size: 13px;
        font-family: var(--font-body);
        outline: none;
    }

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

    .drawer-search button {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 36px;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--blue);
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.drawer-section-label {
    padding: 11px 16px 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    background: var(--bg);
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: var(--dark-mid);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border-lt);
    transition: all var(--transition);
}

    .drawer-link i {
        width: 16px;
        text-align: center;
        font-size: 13px;
        color: var(--muted);
    }

    .drawer-link:hover {
        background: var(--blue-softer);
        color: var(--blue);
    }

        .drawer-link:hover i {
            color: var(--blue);
        }

/* ── Responsive breakpoints ─────────────────────────────────── */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .navbar-actions {
        display: none;
    }

    .navbar-bottom {
        display: none;
    }

    .navbar-search {
        display: none;
    }

    .nav-mobile-actions {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
    }

    .navbar-search-mobile {
        display: block;
    }

    .navbar-top {
        padding: 0 12px;
        height: 52px;
        gap: 10px;
    }

    .navbar-brand {
        font-size: 17px;
    }

        .navbar-brand .tagline {
            display: none;
        }

    .products-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    /* Product card mobile fixes */
    .product-card-body {
        padding: 8px 10px 4px;
    }

    .product-card-footer {
        padding: 0 10px 10px;
    }

    .product-card-img {
        padding: 8px;
    }

    .product-name {
        font-size: 12px;
    }

    .price-current {
        font-size: 14px;
    }

    .price-off {
        font-size: 11px;
    }

    .product-card-footer .btn {
        font-size: 11px;
        padding: 7px 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .trust-items {
        gap: 14px;
    }

    .section {
        padding: 16px 0;
    }

    .hero-content {
        padding: 32px 20px;
    }

        .hero-content h1 {
            font-size: 22px;
        }

    .slider-dots {
        left: 20px;
        bottom: 14px;
    }

    .order-summary {
        position: static;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

    .admin-content {
        padding: 14px;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .cat-slider-wrap {
        padding: 0 14px;
    }

    .cat-card {
        flex: 0 0 96px;
        padding: 14px 8px 10px;
    }

    .cat-card-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .cat-card span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 19px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
            justify-content: center;
        }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .trust-items {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
        gap: 12px;
    }

    .container {
        padding: 0 12px;
    }

    .cat-card {
        flex: 0 0 88px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FLIPKART-STYLE MOBILE OVERRIDES
   All pages — comprehensive mobile fixes
   ═══════════════════════════════════════════════════════════════ */

/* ── Fix old CSS variable references ─────────────────────────── */
:root {
    --navy: var(--dark);
    --copper: var(--blue);
    --steel-lt: var(--border);
    --text-mute: var(--mid);
    --bg-navy: var(--dark);
    --surface: #FFFFFF;
    --steel: var(--muted);
}

/* ── Products page layout ────────────────────────────────────── */
.products-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    align-items: start;
}

/* ── Filter drawer (mobile) ──────────────────────────────────── */
.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1990;
}

    .filter-overlay.open {
        display: block;
    }

.filter-sidebar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #fff;
    z-index: 1991;
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .filter-sidebar-mobile.open {
        transform: translateX(0);
    }

.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

    .filter-drawer-header button {
        background: rgba(255,255,255,.2);
        border: none;
        border-radius: 4px;
        color: #fff;
        width: 30px;
        height: 30px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.filter-drawer-body {
    padding: 0;
    flex: 1;
}

/* ── Mobile filter bar (sort + filter buttons) ───────────────── */
.mobile-filter-bar {
    display: none;
    position: sticky;
    top: 52px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.mobile-filter-bar-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

    .mobile-filter-bar-inner::-webkit-scrollbar {
        display: none;
    }

.mfb-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    flex-shrink: 0;
}

    .mfb-btn.active {
        color: var(--blue);
        border-bottom-color: var(--blue);
    }

.mfb-sep {
    width: 1px;
    background: var(--border);
    margin: 8px 0;
    flex-shrink: 0;
}

/* ── Product detail page ─────────────────────────────────────── */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

/* ── Cart layout ─────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* ── Checkout layout ─────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.3fr 360px;
    gap: 24px;
    align-items: start;
}

/* ── Account / address layout ────────────────────────────────── */
.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ── Order detail layout ─────────────────────────────────────── */
.order-detail-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

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

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 768px
   ─────────────────────────────────────────────────────────────*/
@media (max-width: 768px) {

    /* Products page */
    .products-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        display: none;
    }

    .mobile-filter-bar {
        display: block;
    }

    /* Product detail */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-detail-gallery {
        grid-template-columns: 60px 1fr;
        gap: 8px;
    }

    .gallery-thumb {
        width: 54px;
        height: 54px;
    }

    /* Cart */
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
        margin-top: 0;
    }

    /* Cart table — stack on mobile */
    .cart-table thead {
        display: none;
    }

    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }

        .cart-table tr {
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 12px;
            padding: 12px;
        }

        .cart-table td {
            padding: 4px 0;
            border: none;
        }

    /* Checkout */
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    /* Addresses */
    .address-grid {
        grid-template-columns: 1fr;
    }

    /* Order detail */
    .order-detail-layout {
        grid-template-columns: 1fr;
    }

    /* Admin stats */
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section padding */
    .section {
        padding: 16px 0;
    }

    .section-sm {
        padding: 10px 0;
    }

    .container {
        padding: 0 12px;
    }

    /* Typography */
    h1 {
        font-size: 20px !important;
    }

    h2 {
        font-size: 17px !important;
    }

    /* Cards */
    .card-body {
        padding: 14px;
    }

    .card-header {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* Buttons */
    .btn-lg {
        padding: 11px 20px;
        font-size: 13px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 11px;
        padding: 8px 0;
    }

    /* Trust strip */
    .trust-items {
        gap: 14px;
        padding: 0 8px;
    }

    .trust-strip {
        padding: 14px 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer {
        padding: 32px 0 16px;
    }

    /* Products grid — 2 cols tight */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card-body {
        padding: 8px 8px 4px;
    }

    .product-card-footer {
        padding: 0 8px 10px;
    }

    .product-name {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .price-current {
        font-size: 14px;
    }

    .price-original, .price-off {
        font-size: 11px;
    }

    .rating-pill {
        font-size: 10px;
        padding: 1px 5px;
    }

    .product-card-footer .btn {
        font-size: 11px;
        padding: 7px 6px;
        letter-spacing: 0;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .address-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 10px;
    }

    /* Stack hero buttons */
    .hero-actions {
        flex-direction: column;
        gap: 8px;
    }

        .hero-actions .btn {
            width: 100%;
            justify-content: center;
        }

    /* Compact order summary */
    .order-summary {
        padding: 14px;
    }

        .order-summary h3 {
            font-size: 14px;
            margin-bottom: 12px;
        }

    .order-summary-row {
        font-size: 12px;
        padding: 6px 0;
    }

        .order-summary-row.total {
            font-size: 15px;
        }
}

/* ── Stock status pills (product card) ─────────────────────── */
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin: 4px 0;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.stock-pill.stock-in { background: #E6F4EA; color: #1E7A34; }
.stock-pill.stock-low { background: #FFF4E5; color: #9A6100; }
.stock-pill.stock-limited { background: #FEE4E2; color: #B42318; }
.stock-pill.stock-out { background: #F2F4F7; color: #667085; }

/* Compare button on card */
.product-compare-btn {
    position: absolute;
    top: 48px;
    right: 10px;
    background: rgba(255,255,255,.95);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    color: #475467;
    transition: all .2s;
    z-index: 2;
}
.product-compare-btn:hover { color: var(--blue); transform: scale(1.08); }
.product-compare-btn.active { background: var(--blue); color: #fff; }

/* Compare table */
.compare-table { width:100%; border-collapse:collapse; background:#fff; border-radius:8px; overflow:hidden; box-shadow: var(--shadow-xs); }
.compare-table th, .compare-table td { padding:14px 16px; border-bottom:1px solid var(--border); text-align:left; vertical-align:top; }
.compare-table th { background: var(--blue-softer); width:180px; font-weight:600; color: var(--dark); }
.compare-table img { max-width: 140px; height: auto; object-fit: contain; }

/* Recently viewed strip */
.recent-strip { display:flex; gap:12px; overflow-x:auto; padding:8px 0 16px; }
.recent-strip .recent-item { flex:0 0 160px; background:#fff; border:1px solid var(--border); border-radius:8px; padding:10px; transition: all .2s; }
.recent-strip .recent-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.recent-strip .recent-item img { width:100%; height:100px; object-fit:contain; background:var(--bg); border-radius:4px; margin-bottom:6px; }
.recent-strip .recent-item .name { font-size:12px; font-weight:500; color:var(--dark); height:32px; overflow:hidden; line-height:1.35; }
.recent-strip .recent-item .price { font-size:13px; font-weight:700; color:var(--dark); margin-top:4px; }

/* Utility classes used by new pages */
.text-danger { color: var(--danger); font-size:12px; }
.text-muted { color: var(--mid); }
.page-title { font-size:28px; font-weight:800; color:var(--blue-dk); margin-bottom:8px; }
.empty-state { text-align:center; padding:64px 20px; color:var(--mid); }
.empty-state i { font-size:64px; color:var(--border); margin-bottom:16px; display:block; }

/* ═══════════════════════════════════════════════════════════════
   MODERN v2 — Consumer Panel (auth, account, forms, cards)
   ═══════════════════════════════════════════════════════════════ */
:root {
    --pk-focus-ring: 0 0 0 4px rgba(27,108,168,.12);
    --pk-shadow-xs: 0 1px 2px rgba(15,23,42,.04);
    --pk-shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --pk-shadow-md: 0 6px 18px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
    --pk-shadow-lg: 0 16px 40px rgba(15,23,42,.12), 0 4px 10px rgba(15,23,42,.06);
    --pk-ease: cubic-bezier(.4,0,.2,1);
    --pk-bounce: cubic-bezier(.34,1.56,.64,1);
    --pk-primary-grad: linear-gradient(135deg, #1B6CA8 0%, #2563EB 100%);
    --pk-brand-grad: linear-gradient(135deg, #0F3B5A 0%, #1B6CA8 50%, #2563EB 100%);
    --pk-border-soft: rgba(15,23,42,.06);
    --pk-border-hover: rgba(15,23,42,.1);
    --pk-border-focus: rgba(27,108,168,.45);
}

/* ── Buttons refined ─────────────────────────────────────────── */
.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: all .18s var(--pk-ease);
    border: 1px solid transparent;
    letter-spacing: .005em;
}
.btn:active { transform: scale(.97); }
.btn-primary {
    background: var(--pk-primary-grad);
    border-color: transparent;
    box-shadow: 0 1px 2px rgba(27,108,168,.3), inset 0 1px 1px rgba(255,255,255,.15);
}
.btn-primary:hover { background: var(--pk-primary-grad); filter: brightness(1.08); box-shadow: 0 6px 18px rgba(27,108,168,.28); border-color: transparent; }
.btn-cta {
    background: linear-gradient(135deg, #26A541 0%, #1E8A34 100%);
    box-shadow: 0 1px 2px rgba(38,165,65,.3), inset 0 1px 1px rgba(255,255,255,.15);
    border-color: transparent;
}
.btn-cta:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(38,165,65,.28); border-color: transparent; }
.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid var(--pk-border-hover);
}
.btn-outline:hover {
    background: var(--blue-soft);
    color: var(--blue-dk);
    border-color: var(--pk-border-focus);
    box-shadow: none;
}
.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    border-color: transparent;
    box-shadow: 0 1px 2px rgba(220,38,38,.3);
}
.btn-danger:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(220,38,38,.28); border-color: transparent; }
.btn-ghost { background: transparent; border: none; color: var(--mid); }
.btn-ghost:hover { background: var(--bg); color: var(--dark); }

/* ── Form controls refined ───────────────────────────────────── */
.form-label {
    font-size: 12.5px; font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--dark-mid);
    margin-bottom: 6px;
}
.form-control {
    padding: 11px 14px;
    border: 1px solid var(--pk-border-hover);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border .15s var(--pk-ease), box-shadow .15s var(--pk-ease);
}
.form-control:hover { border-color: rgba(15,23,42,.18); }
.form-control:focus { border-color: var(--pk-border-focus); box-shadow: var(--pk-focus-ring); }
.form-control[disabled] { background: var(--bg); color: var(--mid); cursor: not-allowed; }
textarea.form-control { min-height: 110px; }

/* Modern input with leading icon */
.pk-field { position: relative; }
.pk-field > i {
    position: absolute;
    left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--mid); font-size: 14px;
    pointer-events: none;
    transition: color .15s var(--pk-ease);
}
.pk-field > .form-control { padding-left: 42px; }
.pk-field:focus-within > i { color: var(--blue); }
.pk-field .pk-field-suffix {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: var(--mid); font-size: 13px; padding: 4px;
}
.pk-field .pk-field-suffix:hover { color: var(--blue); }

/* ── Cards refined ───────────────────────────────────────────── */
.card {
    box-shadow: var(--pk-shadow-xs);
    border: 1px solid var(--pk-border-soft);
    transition: box-shadow .2s var(--pk-ease), transform .2s var(--pk-ease);
}
.card.pk-hoverable:hover { box-shadow: var(--pk-shadow-md); transform: translateY(-2px); }
.card-header {
    padding: 16px 20px;
    background: linear-gradient(180deg, #fff, var(--bg));
    font-size: 14px;
    letter-spacing: -.01em;
}
.card-body { padding: 20px; }

/* ── Page headers (consumer) ─────────────────────────────────── */
.pk-page-head {
    margin-bottom: 20px;
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.pk-page-head-text h1 {
    font-family: var(--font-head);
    font-size: 26px; font-weight: 800;
    color: var(--dark);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.pk-page-head-text p {
    font-size: 13.5px;
    color: var(--mid);
    margin-top: 4px;
}
.pk-page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Auth shell (Login/Register/Forgot/Reset) ────────────────── */
.pk-auth {
    min-height: calc(100vh - 70px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 16px;
    background:
        radial-gradient(circle 600px at 10% 10%, rgba(27,108,168,.08), transparent 60%),
        radial-gradient(circle 500px at 90% 90%, rgba(38,165,65,.06), transparent 60%),
        var(--bg);
}
.pk-auth-grid {
    width: 100%; max-width: 960px;
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: stretch;
}
.pk-auth-side {
    padding: 36px 32px;
    border-radius: 16px;
    background: var(--pk-brand-grad);
    color: #fff;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: var(--pk-shadow-md);
}
.pk-auth-side::before, .pk-auth-side::after {
    content: ''; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.08); pointer-events: none;
}
.pk-auth-side::before { width: 260px; height: 260px; top: -80px; right: -80px; }
.pk-auth-side::after  { width: 180px; height: 180px; bottom: -60px; left: -60px; background: rgba(255,255,255,.05); }
.pk-auth-side-brand { font-family: var(--font-head); font-size: 30px; font-weight: 800; letter-spacing: -.02em; z-index: 1; }
.pk-auth-side-brand span { opacity: .75; font-weight: 500; }
.pk-auth-side-hero { z-index: 1; }
.pk-auth-side-hero h2 { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.pk-auth-side-hero p { font-size: 14px; opacity: .85; line-height: 1.5; max-width: 360px; }
.pk-auth-features { display: flex; flex-direction: column; gap: 14px; z-index: 1; }
.pk-auth-feature { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; opacity: .9; }
.pk-auth-feature i { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; }
.pk-auth-feature-title { font-weight: 600; margin-bottom: 2px; opacity: 1; }

.pk-auth-card {
    padding: 36px 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--pk-shadow-md);
    animation: pkCardIn .4s var(--pk-bounce);
    border: 1px solid var(--pk-border-soft);
}
@keyframes pkCardIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.pk-auth-card-head { text-align: left; margin-bottom: 24px; }
.pk-auth-card-head h1 { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.pk-auth-card-head p { font-size: 13.5px; color: var(--mid); margin-top: 4px; }
.pk-auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--mid); font-size: 12px; }
.pk-auth-divider::before, .pk-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--pk-border-soft); }
.pk-auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--mid); }

/* Demo credentials block (Login) */
.pk-demo {
    margin-top: 16px;
    background: linear-gradient(180deg, #0F3B5A 0%, #0A2942 100%);
    border-radius: 12px;
    padding: 16px 18px;
    color: #fff;
}
.pk-demo-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.pk-demo-label i { width: 20px; height: 20px; background: var(--blue); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 9px; }
.pk-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pk-demo-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 12px 14px; }
.pk-demo-card-kind { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.pk-demo-card-val { font-size: 12px; color: rgba(255,255,255,.85); margin-bottom: 3px; word-break: break-all; }
.pk-demo-card-val.muted { color: rgba(255,255,255,.5); font-family: monospace; }
.pk-demo-card button, .pk-demo-card a {
    margin-top: 8px; width: 100%; padding: 6px 0;
    background: var(--blue); border: none; border-radius: 6px;
    color: #fff; font-size: 11px; font-weight: 700;
    cursor: pointer; transition: background .2s; text-decoration: none;
    display: block; text-align: center;
}
.pk-demo-card button:hover { background: var(--blue-dk); }
.pk-demo-card-alt button, .pk-demo-card-alt a {
    background: rgba(100,181,246,.15); border: 1px solid rgba(100,181,246,.3); color: #64B5F6;
}

/* ── Account hub layout (Profile / Addresses / ...) ──────────── */
.pk-hub {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0 56px;
}
.pk-hub-side {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--pk-border-soft);
    padding: 18px 14px;
    position: sticky; top: 96px;
    box-shadow: var(--pk-shadow-xs);
}
.pk-hub-profile {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 4px 14px;
    border-bottom: 1px solid var(--pk-border-soft);
    margin-bottom: 10px;
}
.pk-hub-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--pk-brand-grad); color: #fff;
    font-family: var(--font-head); font-size: 15px; font-weight: 800;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.2);
}
.pk-hub-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--pk-border-soft); }
.pk-hub-who { min-width: 0; }
.pk-hub-who-name { font-size: 14px; font-weight: 700; color: var(--dark); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-hub-who-email { font-size: 11.5px; color: var(--mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pk-hub-nav { display: flex; flex-direction: column; gap: 2px; }
.pk-hub-nav-link {
    position: relative;
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: 8px;
    color: var(--mid); font-size: 13.5px; font-weight: 500;
    text-decoration: none; transition: all .15s var(--pk-ease);
}
.pk-hub-nav-link:hover { background: var(--bg); color: var(--dark); transform: translateX(2px); }
.pk-hub-nav-link.active {
    background: linear-gradient(90deg, rgba(27,108,168,.1), rgba(27,108,168,.02));
    color: var(--blue-dk);
    font-weight: 600;
}
.pk-hub-nav-link.active::before {
    content: ''; position: absolute;
    left: -14px; top: 50%;
    width: 3px; height: 20px;
    background: var(--blue);
    border-radius: 0 3px 3px 0;
    transform: translateY(-50%);
}
.pk-hub-nav-icon {
    width: 28px; height: 28px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12.5px; flex-shrink: 0;
    background: var(--bg); color: var(--mid);
    transition: all .15s var(--pk-ease);
}
.pk-hub-nav-link:hover .pk-hub-nav-icon { background: var(--blue-soft); color: var(--blue); }
.pk-hub-nav-link.active .pk-hub-nav-icon { background: var(--blue-soft); color: var(--blue-dk); }

.pk-hub-main { min-width: 0; }
.pk-hub-section { background: #fff; border-radius: 14px; border: 1px solid var(--pk-border-soft); box-shadow: var(--pk-shadow-xs); overflow: hidden; }
.pk-hub-section + .pk-hub-section { margin-top: 16px; }
.pk-hub-section-head { padding: 18px 22px; border-bottom: 1px solid var(--pk-border-soft); display: flex; justify-content: space-between; align-items: center; }
.pk-hub-section-head h2 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--dark); letter-spacing: -.01em; }
.pk-hub-section-head p { font-size: 13px; color: var(--mid); margin-top: 3px; }
.pk-hub-section-body { padding: 22px; }

/* Profile hero with avatar uploader */
.pk-profile-hero {
    display: flex; align-items: center; gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--pk-border-soft);
    margin-bottom: 22px;
}
.pk-profile-avatar-wrap { position: relative; flex-shrink: 0; }
.pk-profile-avatar {
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--pk-brand-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 32px; font-weight: 800;
    box-shadow: var(--pk-shadow-md), inset 0 2px 2px rgba(255,255,255,.25);
}
.pk-profile-avatar-img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: var(--pk-shadow-md); }
.pk-profile-avatar-edit {
    position: absolute; bottom: 0; right: 0;
    width: 30px; height: 30px; border-radius: 50%;
    background: #fff; border: 2px solid #fff;
    box-shadow: var(--pk-shadow-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); font-size: 12px; cursor: pointer;
    transition: all .15s var(--pk-ease);
}
.pk-profile-avatar-edit:hover { color: var(--blue-dk); transform: scale(1.08); }

/* Address grid */
.pk-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pk-addr-card {
    background: #fff;
    border-radius: 12px; border: 1px solid var(--pk-border-soft);
    padding: 18px 20px;
    position: relative; overflow: hidden;
    box-shadow: var(--pk-shadow-xs);
    transition: all .2s var(--pk-ease);
}
.pk-addr-card:hover { box-shadow: var(--pk-shadow-sm); transform: translateY(-2px); border-color: var(--pk-border-hover); }
.pk-addr-card.is-default { border-color: transparent; box-shadow: 0 0 0 2px var(--blue), var(--pk-shadow-sm); }
.pk-addr-card.is-default::before {
    content: 'DEFAULT';
    position: absolute; top: 12px; right: 12px;
    font-size: 9px; font-weight: 800; letter-spacing: .1em;
    background: var(--blue); color: #fff;
    padding: 3px 8px; border-radius: 999px;
}
.pk-addr-name { font-weight: 700; font-size: 14.5px; color: var(--dark); margin-bottom: 2px; letter-spacing: -.005em; }
.pk-addr-phone { font-size: 12.5px; color: var(--mid); margin-bottom: 10px; }
.pk-addr-body { font-size: 13px; line-height: 1.6; color: var(--dark-mid); }
.pk-addr-actions { margin-top: 14px; display: flex; gap: 8px; }

/* Empty state refined */
.pk-empty {
    text-align: center; padding: 72px 20px;
    color: var(--mid);
}
.pk-empty-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-soft), rgba(27,108,168,.04));
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    font-size: 32px;
}
.pk-empty h3 { font-family: var(--font-head); font-size: 18px; color: var(--dark); margin-bottom: 4px; letter-spacing: -.01em; }
.pk-empty p { font-size: 13.5px; margin-bottom: 14px; }

/* Info alerts (inline notices) */
.pk-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 500;
    border: 1px solid transparent;
    margin-bottom: 16px;
}
.pk-alert i { flex-shrink: 0; margin-top: 2px; }
.pk-alert-info { background: rgba(27,108,168,.08); color: var(--blue-dk); border-color: rgba(27,108,168,.15); }
.pk-alert-success { background: rgba(38,165,65,.1); color: #1E8A34; border-color: rgba(38,165,65,.2); }
.pk-alert-warning { background: rgba(245,124,0,.1); color: #B95900; border-color: rgba(245,124,0,.2); }
.pk-alert-danger { background: rgba(211,47,47,.1); color: #B91C1C; border-color: rgba(211,47,47,.2); }

/* Responsive */
@media (max-width: 860px) {
    .pk-auth-grid { grid-template-columns: 1fr; max-width: 460px; }
    .pk-auth-side { display: none; }
    .pk-hub { grid-template-columns: 1fr; }
    .pk-hub-side { position: static; }
}
@media (max-width: 480px) {
    .pk-auth-card { padding: 28px 24px; }
    .pk-page-head-text h1 { font-size: 22px; }
    .pk-profile-hero { flex-direction: column; text-align: center; }
}


