/* ============================================
   BUTIK.COM — Glavni CSS
   Font: Playfair Display + DM Sans
   Paleta: Warm Cream + Rose + Charcoal
   ============================================ */

:root {
    --rose:        #C9637B;
    --rose-light:  #F0A8B8;
    --rose-dark:   #9E3D54;
    --cream:       #FDF8F3;
    --cream-dark:  #F5EDE2;
    --charcoal:    #1C1917;
    --charcoal-mid:#3D3835;
    --mid:         #7C6F6A;
    --border:      #E8DDD6;
    --white:       #FFFFFF;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,.10);
    --shadow-lg:   0 20px 60px rgba(0,0,0,.15);
    --radius:      16px;
    --radius-sm:   10px;
    --radius-xs:   6px;
    --transition:  .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    font-size: 15px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -.3px;
}
.nav-logo span { color: var(--rose); }

/* Search wrap */
.nav-search-wrap {
    flex: 1;
    max-width: 560px;
}

.nav-search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: var(--cream);
    overflow: visible;
    position: relative;
    transition: var(--transition);
}
.nav-search-box:focus-within {
    border-color: var(--charcoal);
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Kategorija dropdown dio */
.nav-search-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px 0 18px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--charcoal);
    position: relative;
    user-select: none;
    height: 44px;
    flex-shrink: 0;
}
.nav-search-cat i {
    font-size: 10px;
    color: var(--mid);
    transition: transform .2s;
}
.nav-search-cat.open i { transform: rotate(180deg); }

/* Dropdown lista */
.cat-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -2px;
    min-width: 200px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 200;
}
.cat-dropdown.open { display: block; }
.cat-dropdown-item {
    padding: 10px 16px;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--charcoal-mid);
}
.cat-dropdown-item:hover { background: var(--cream); }
.cat-dropdown-item.active { color: var(--rose); font-weight: 600; background: var(--cream); }

.nav-search-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
    flex-shrink: 0;
}

.nav-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--charcoal);
    height: 44px;
    min-width: 0;
}
.nav-search-box input:focus { outline: none; }
.nav-search-box input::placeholder { color: var(--mid); }

.nav-search-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin: 0 0 0 auto;
    transition: var(--transition);
}
.nav-search-btn:hover { background: var(--rose); }

/* Nav akcije */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.btn-nav-create {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: var(--charcoal);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-nav-create:hover { background: var(--rose); }
.btn-nav-create i { font-size: 12px; }

.btn-nav-login {
    padding: 9px 20px;
    background: var(--rose);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-nav-login:hover { background: var(--rose-dark); }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--charcoal);
    padding: 4px;
}

/* ============================================ */
/* HERO */
/* ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    text-align: center;
    background: linear-gradient(160deg, #FFF5EE 0%, var(--cream) 50%, #FDF0F4 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}
.blob-1 { width: 500px; height: 500px; background: #FBBDCE; top: -200px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: #FDE0C0; top: 50px; right: -100px; }
.blob-3 { width: 300px; height: 300px; background: #E8D5F5; bottom: -50px; left: 40%; }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mid);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--rose);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 20px;
}
.hero-title em {
    font-style: italic;
    color: var(--rose);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--mid);
    max-width: 520px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-hero-primary {
    padding: 14px 32px;
    background: var(--rose);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(201,99,123,.35);
}
.btn-hero-primary:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201,99,123,.45);
}
.btn-hero-primary i { margin-right: 8px; }

.btn-hero-secondary {
    padding: 14px 32px;
    background: var(--white);
    color: var(--charcoal);
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
}
.btn-hero-secondary:hover {
    border-color: var(--rose);
    color: var(--rose);
}
.btn-hero-secondary i { margin-left: 8px; }

/* ============================================ */
/* CATEGORIES BAR */
/* ============================================ */
.categories-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 64px;
    z-index: 90;
}
.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    border: 1.5px solid var(--border);
    color: var(--charcoal-mid);
    transition: var(--transition);
    flex-shrink: 0;
}
.cat-pill:hover, .cat-pill.active {
    border-color: var(--rose);
    background: var(--rose);
    color: var(--white);
}

/* ============================================ */
/* SECTIONS */
/* ============================================ */
.section { padding: 60px 0; }
.section-sale { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.section-articles { background: var(--white); }

.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}
.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 6px;
}
.section-title {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--charcoal);
}

/* ============================================ */
/* FEATURED SHOPS GRID */
/* ============================================ */
.shops-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.shop-card-featured {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.shop-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.shop-card-cover {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: var(--cream-dark);
    position: relative;
}
.shop-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.3));
}
.shop-card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
}
.badge-mini {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    backdrop-filter: blur(4px);
}

.shop-card-info {
    padding: 14px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.shop-card-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--white);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.shop-card-meta h3 { font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif; margin-bottom: 2px; }
.shop-card-sub { font-size: 12px; color: var(--mid); display: block; }
.shop-card-city { font-size: 12px; color: var(--rose); display: block; margin-top: 2px; }
.shop-card-city i { margin-right: 3px; }

/* ============================================ */
/* SHOPS GRID */
/* ============================================ */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.shop-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.shop-card-cover-sm {
    height: 80px;
    background-size: cover;
    background-position: center;
    background-color: var(--cream-dark);
}
.shop-card-body {
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.shop-avatar-sm {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    margin-top: -26px;
    flex-shrink: 0;
}
.shop-info { flex: 1; min-width: 0; }
.shop-name-row { display: flex; align-items: center; gap: 6px; }
.shop-name-row h4 { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-row { display: flex; gap: 2px; }
.badge-xs { font-size: 11px; }
.shop-city-sm { font-size: 11px; color: var(--rose); display: block; }
.shop-city-sm i { font-size: 10px; margin-right: 2px; }
.shop-stats-sm { font-size: 11px; color: var(--mid); }

/* ============================================ */
/* ARTICLES GRID */
/* ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.article-card-img {
    position: relative;
    height: 200px;
    background: var(--cream-dark);
    overflow: hidden;
}
.article-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-no-img {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--border);
    font-size: 32px;
}
.article-sale-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--rose);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .5px;
}

.article-card-info { padding: 12px; }
.article-shop-name { font-size: 11px; color: var(--mid); text-transform: uppercase; letter-spacing: .5px; }
.article-card-info h4 { font-size: 13.5px; margin: 4px 0; font-family: 'DM Sans', sans-serif; }

.article-prices { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.price-main { font-weight: 700; color: var(--charcoal); font-size: 15px; }
.price-sale { font-weight: 700; color: var(--rose); font-size: 15px; }
.price-old { font-size: 12px; color: var(--mid); text-decoration: line-through; }

/* ============================================ */
/* CTA SECTION */
/* ============================================ */
.cta-section { padding: 60px 0; }
.cta-card {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2D1F1A 100%);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
}
.cta-card::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: var(--rose);
    border-radius: 50%;
    opacity: .1;
    right: -100px; top: -150px;
}

.cta-content h2 { font-size: 36px; color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,.6); max-width: 400px; margin-bottom: 28px; }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rose);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.btn-cta:hover { background: var(--rose-dark); transform: translateY(-2px); }

.cta-visual { flex-shrink: 0; }
.cta-mockup { display: flex; flex-direction: column; gap: 12px; }
.mock-badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: floatBadge 3s ease-in-out infinite;
}
.mock-badge:nth-child(2) { animation-delay: .5s; margin-left: 20px; }
.mock-badge:nth-child(3) { animation-delay: 1s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,.7);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-logo span { color: var(--rose); }
.footer-brand p { font-size: 14px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover { border-color: var(--rose); color: var(--rose); }
.footer-links h5 { color: var(--white); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; margin-bottom: 10px; transition: var(--transition); }
.footer-links a:hover { color: var(--rose); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* ============================================ */
/* ALERTS */
/* ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-error { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; }

/* ============================================ */
/* RESPONSIVE                                   */
/* 1024px - tablet landscape                    */
/* 768px  - tablet portrait / large mobile      */
/* 480px  - mobile                              */
/* 360px  - small mobile                        */
/* ============================================ */

/* ---- Tablet landscape ---- */
@media (max-width: 1024px) {
    .nav-container { gap: 16px; }
    .nav-search-wrap { max-width: 400px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-grid .footer-links:last-child { grid-column: 2; }
}

/* ---- Tablet portrait ---- */
@media (max-width: 768px) {

    /* Navbar */
    .nav-search-wrap { display: none; }
    .nav-mobile-toggle { display: flex; }
    .btn-nav-create span,
    .btn-nav-login span { display: none; }

    /* Mobile nav drawer */
    .mobile-nav-open .mobile-drawer {
        transform: translateX(0);
    }

    /* Hero */
    .hero { padding: 50px 20px 40px; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .hero-subtitle { font-size: 16px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-hero-primary,
    .btn-hero-secondary { width: 100%; max-width: 300px; text-align: center; justify-content: center; }

    /* Sections */
    .section { padding: 40px 0; }

    /* Grids */
    .shops-featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shops-grid          { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .articles-grid       { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* CTA */
    .cta-card { flex-direction: column; padding: 36px 24px; text-align: center; }
    .cta-content p { margin: 0 auto 24px; }
    .cta-visual { display: none; }

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

    /* Categories bar */
    .categories-bar { top: 60px; }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {

    /* Navbar */
    .nav-container { padding: 0 14px; height: 58px; }
    .nav-logo { font-size: 18px; }
    .btn-nav-create { padding: 7px 12px; font-size: 13px; }
    .btn-nav-create i { margin-right: 0; }
    .btn-nav-create span { display: none; }
    .btn-nav-login { padding: 7px 14px; font-size: 13px; }

    /* Hero */
    .hero { padding: 40px 16px 36px; }
    .hero-badge { font-size: 12px; padding: 5px 12px; }

    /* Grids - 2 kolone na mobilnom */
    .shops-featured-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .shops-grid          { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .articles-grid       { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Manji kartice na mobilnom */
    .article-card-img { height: 150px; }
    .article-card-info { padding: 10px; }
    .article-card-info h4 { font-size: 12.5px; }
    .shop-card-cover-sm { height: 60px; }

    /* Footer */
    .footer { padding: 40px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand { grid-column: auto; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
    .footer-links h5 { grid-column: 1 / -1; }

    /* Section */
    .section { padding: 30px 0; }
    .container { padding: 0 14px; }
}

/* ---- Mali mobitel ---- */
@media (max-width: 360px) {
    .shops-featured-grid,
    .shops-grid,
    .articles-grid { grid-template-columns: 1fr; }
}

/* ============================================ */
/* USER DROPDOWN */
/* ============================================ */
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 5px 10px 5px 5px;
    cursor: pointer;
    transition: var(--transition);
}
.nav-user-btn:hover { border-color: var(--charcoal); }

.nav-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--rose);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 200;
}
.user-dropdown.open { display: block; }

.user-dropdown-info {
    padding: 14px 16px;
    background: var(--cream);
}
.user-dropdown-info strong { display: block; font-size: 14px; color: var(--charcoal); }
.user-dropdown-info span { font-size: 12px; color: var(--mid); }

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

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--charcoal-mid);
    transition: background .15s;
}
.user-dropdown-item:hover { background: var(--cream); }
.user-dropdown-item i { width: 16px; text-align: center; color: var(--mid); }

/* ============================================ */
/* MOBILE DRAWER                                */
/* ============================================ */
.mobile-drawer {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 999;
    backdrop-filter: blur(2px);
}
.mobile-overlay.open { display: block; }

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.mobile-drawer-close {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--cream);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    color: var(--charcoal);
}

.mobile-drawer-search {
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.mobile-drawer-search i {
    position: absolute;
    left: 28px; top: 50%;
    transform: translateY(-50%);
    color: var(--mid);
    font-size: 13px;
}
.mobile-drawer-search input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    background: var(--cream);
}
.mobile-drawer-search input:focus { outline: none; border-color: var(--rose); }

.mobile-drawer-links {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
}
.mobile-drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    transition: background .15s;
}
.mobile-drawer-links a:hover { background: var(--cream); }
.mobile-drawer-links a i { width: 18px; text-align: center; color: var(--mid); }
.mobile-drawer-links a.mobile-danger { color: #DC2626; }
.mobile-drawer-links a.mobile-danger i { color: #DC2626; }

.mobile-drawer-cats { padding: 10px 8px; }
.mobile-drawer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mid);
    padding: 8px 14px 4px;
}
.mobile-drawer-cats a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--charcoal-mid);
    transition: background .15s;
}
.mobile-drawer-cats a:hover { background: var(--cream); color: var(--rose); }
.mobile-drawer-cats a i { font-style: normal; font-size: 16px; }