/* ==========================================================================
   ⚡ SAVDO.TJ 2026 SAVDO-STYLE MODERN DESIGN SYSTEM
   Tailwind / Radix / React Component Inspired Pure CSS Architecture
   ========================================================================== */

/* 1. TAILWIND DESIGN TOKENS & RESET */
:root {
    --primary: #16a34a;
    --primary-hover: #15803d;
    --primary-light: #f0fdf4;
    --surface: #ffffff;
    --background: #f8fafc;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: var(--background) !important;
    color: var(--text-main) !important;
    line-height: 1.5 !important;
}

/* 2. SAVDO TOP NAVIGATION BAR */
.savdo-header-wrapper {
    width: 100% !important;
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    box-shadow: var(--shadow-sm) !important;
}

.savdo-header-container, .savdo-header-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    height: 64px !important;
}

.savdo-logo {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.savdo-logo img {
    height: 38px !important;
    width: auto !important;
}

    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    flex-shrink: 0 !important;
}

    background: #1e293b !important;
}

.savdo-city-pill {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    padding: 0 12px !important;
    height: 42px !important;
    width: 155px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.savdo-city-pill select {
    border: none !important;
    background: transparent !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    width: 100% !important;
    outline: none !important;
    cursor: pointer !important;
}

.savdo-search-bar {
    display: flex !important;
    align-items: center !important;
    flex-grow: 1 !important;
    background: #f8fafc !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: var(--radius-md) !important;
    padding: 2px 2px 2px 14px !important;
    height: 44px !important;
    transition: all 0.2s ease !important;
}

.savdo-search-bar:focus-within {
    border-color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
}

.savdo-search-bar input {
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: var(--text-main) !important;
    width: 100% !important;
    outline: none !important;
}

.savdo-search-bar button {
    background: var(--primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 0 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    height: 38px !important;
    transition: background 0.2s ease !important;
}

.savdo-search-bar button:hover {
    background: var(--primary-hover) !important;
}

.savdo-nav-actions {
    display: flex !items: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.savdo-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: var(--radius-sm) !important;
    transition: color 0.2s ease !important;
}

.savdo-nav-item i {
    font-size: 18px !important;
    margin-bottom: 2px !important;
}

.savdo-nav-item:hover {
    color: var(--primary) !important;
}

.savdo-post-ad-btn {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
    transition: all 0.2s ease !important;
}

.savdo-post-ad-btn:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px) !important;
}

/* 3. SAVDO 2-ROW CATEGORY GRID */
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 24px !important;
}

    display: grid !important;
    grid-template-columns: repeat(9, 1fr) !important;
    gap: 12px !important;
}

    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 108px !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 12px 14px !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-sm) !important;
}

    background: var(--surface) !important;
    border-color: var(--primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-md) !important;
}

    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    line-height: 1.3 !important;
    z-index: 2 !important;
    max-width: 80% !important;
}

    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

@media (max-width: 1199px) {
}

@media (max-width: 991px) {
    .savdo-header-container, .savdo-header-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    height: 64px !important;
}
}

@media (max-width: 575px) {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}
}

/* 4. SAVDO STORIES CAROUSEL */
.savdo-stories-wrapper {
    width: 100% !important;
    margin-bottom: 28px !important;
}

.savdo-stories-track {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding: 8px 4px 16px 4px !important;
    scroll-behavior: smooth !important;
}

.savdo-story-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 90px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

.savdo-story-item:hover {
    transform: translateY(-3px) !important;
}

.savdo-story-ring {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    padding: 3px !important;
    background: linear-gradient(135deg, #16a34a, #eab308, #22c55e) !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25) !important;
}

.savdo-story-ring.viewed {
    background: #cbd5e1 !important;
    box-shadow: none !important;
}

.savdo-story-ring img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #ffffff !important;
    background: #ffffff !important;
}

.savdo-story-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin-top: 8px !important;
    text-align: center !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 5. SAVDO PRODUCT CARDS GRID (4 COLUMNS DESKTOP) */
.savdo-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
}

@media (max-width: 991px) {
    .savdo-products-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
}

@media (max-width: 575px) {
    .savdo-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}

.savdo-card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    box-shadow: var(--shadow-sm) !important;
    cursor: pointer !important;
}

.savdo-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--border-hover) !important;
}

.savdo-card-img-box {
    width: 100% !important;
    height: 185px !important;
    position: relative !important;
    background: #f1f5f9 !important;
    overflow: hidden !important;
}

.savdo-card-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.savdo-card:hover .savdo-card-img-box img {
    transform: scale(1.05) !important;
}

.savdo-badge-vip {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #ffb700 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

.savdo-badge-top {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

.savdo-fav-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}

.savdo-fav-btn:hover {
    color: #ef4444 !important;
    background: #ffffff !important;
    transform: scale(1.1) !important;
}

.savdo-card-content {
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
}

.savdo-card-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    margin: 0 0 6px 0 !important;
}

.savdo-card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.savdo-card-meta {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
}

/* 6. SAVDO FOOTER */
.savdo-footer {
    background: #0f172a !important;
    color: #94a3b8 !important;
    padding: 40px 0 20px 0 !important;
    margin-top: 50px !important;
}

.savdo-footer-inner {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.savdo-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

.savdo-footer-col h4 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
}

.savdo-footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.savdo-footer-col li {
    margin-bottom: 10px !important;
}

.savdo-footer-col a {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.savdo-footer-col a:hover {
    color: #ffffff !important;
}

.savdo-footer-bottom {
    border-top: 1px solid #1e293b !important;
    padding-top: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
}


/* ⚡ SINGLE-ROW HEADER & ACTION PILLS */
.savdo-header-container, .savdo-header-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    height: 64px !important;
}

.savdo-nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.savdo-nav-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    color: #1e293b !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.savdo-nav-item i {
    font-size: 15px !important;
    margin-bottom: 0 !important;
}

.savdo-nav-item:hover {
    border-color: #16a34a !important;
    color: #16a34a !important;
    background: #f0fdf4 !important;
}


/* 📱 SOCIAL MEDIA BUTTONS & APP STORE / GOOGLE PLAY BADGES */
.savdo-social-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.savdo-social-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #1e293b !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.savdo-social-icon.tg:hover {
    background: #229ED9 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4) !important;
}

.savdo-social-icon.wa:hover {
    background: #25D366 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
}

.savdo-social-icon.insta:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4) !important;
}

/* APP STORE & GOOGLE PLAY BADGE BUTTONS */
.savdo-app-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    width: 170px !important;
    transition: all 0.25s ease !important;
}

.savdo-app-btn:hover {
    background: #334155 !important;
    border-color: #16a34a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.savdo-app-btn-text {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    line-height: 1.15 !important;
}

.savdo-app-btn-text .sub {
    font-size: 10px !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.savdo-app-btn-text .main {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}


/* 📱 OFFICIAL BRAND COLORS FOR SOCIAL BUTTONS */
.savdo-social-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 14px !important;
}

.savdo-social-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.savdo-social-icon.tg {
    background: #229ED9 !important;
}

.savdo-social-icon.wa {
    background: #25D366 !important;
}

.savdo-social-icon.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.savdo-social-icon:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35) !important;
}


/* 📱 REAL OFFICIAL SVG VECTOR LOGOS */
.savdo-social-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 16px !important;
}

.savdo-social-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.savdo-social-icon.tg {
    background: #229ED9 !important;
}

.savdo-social-icon.wa {
    background: #25D366 !important;
}

.savdo-social-icon.insta {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%) !important;
}

.savdo-social-icon:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

.savdo-social-icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
}


/* 🚀 ENHANCED CATEGORY CARD ICONS: +60% SIZE, BOTTOM-RIGHT PINNED, UNCLIPPED ON HOVER */
    position: relative !important;
    background: #f1f5f9 !important;
    border-radius: 16px !important;
    padding: 16px 14px !important;
    min-height: 110px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
    border: 1px solid transparent !important;
}

    background: #ffffff !important;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12), 0 8px 12px -4px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-5px) scale(1.03) !important;
    z-index: 20 !important;
}

    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    z-index: 2 !important;
    max-width: 60% !important;
}

    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* 🌟 SAVDO CATEGORY TABS & BOTTOM-RIGHT PINNED ICONS (REFINED) */
    margin-top: 20px !important;
    margin-bottom: 28px !important;
}

    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px !important;
}

    position: relative !important;
    background: #f2f4f7 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    display: block !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out !important;
    border: 1px solid transparent !important;
}

    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: #e2e8f0 !important;
    transform: translateY(-2px) !important;
    z-index: 20 !important;
}

    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.25 !important;
    position: relative !important;
    z-index: 2 !important;
    max-width: 58% !important;
    word-break: break-word !important;
}

    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* 🚀 EXACT 2-ROW DYNAMIC VARIABLE-WIDTH CATEGORY TABS & LARGE BOTTOM-RIGHT ICONS */
    margin-top: 20px !important;
    margin-bottom: 28px !important;
}

    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    height: 194px !important;
    max-height: 194px !important;
    overflow: hidden !important;
}

    position: relative !important;
    background: #f2f4f7 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    height: 92px !important;
    min-height: 92px !important;
    flex-grow: 1 !important;
    flex-shrink: 0 !important;
    flex-basis: calc(12% - 8px) !important;
    min-width: 125px !important;
    display: block !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, background-color 0.22s ease !important;
    border: 1px solid transparent !important;
}

    background: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-3px) !important;
    z-index: 30 !important;
}

    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    position: relative !important;
    z-index: 2 !important;
    max-width: 62% !important;
    word-break: break-word !important;
}

    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* 🚀 DYNAMIC JS ADAPTIVE CATEGORY TABS (NO CLIPPING, ALL CATEGORIES VISIBLE IN 2 ROWS) */
    margin-top: 20px !important;
    margin-bottom: 30px !important;
}

    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
}

    position: relative !important;
    background: #f2f4f7 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    height: 92px !important;
    min-height: 92px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, background-color 0.22s ease !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
}

    background: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-3px) !important;
    z-index: 30 !important;
}

    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.22 !important;
    position: relative !important;
    z-index: 2 !important;
    max-width: 100% !important;
    word-break: normal !important;
    padding-right: 25px !important; /* leaves space for bottom-right icon */
}

    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* 🚀 PERFECT DYNAMIC JS ADAPTIVE CATEGORY TABS (NO TEXT SQUISIHING, ALL 17 CATS VISIBLE) */
    margin-top: 20px !important;
    margin-bottom: 30px !important;
}

    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
}

    position: relative !important;
    background: #f2f4f7 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    min-height: 92px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, background-color 0.22s ease !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
}

    background: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-3px) !important;
    z-index: 30 !important;
}

    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 35px !important;
    word-break: normal !important;
}

    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* ⚡ CLEAN ARCHITECTURE SAVDO CATEGORY TABS (LARGE 64PX ICONS & DYNAMIC DATA-CAT TABS) */
    margin-top: 20px !important;
    margin-bottom: 26px !important;
}

    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
}

    position: relative !important;
    background: #f2f4f7 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    height: 92px !important;
    min-height: 92px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, background-color 0.22s ease !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
    flex: 1 1 140px !important;
    min-width: 120px !important;
}

    background: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-3px) !important;
    z-index: 30 !important;
}

/* Custom width classes for category cards based on length */
    flex: 2.2 1 230px !important;
    max-width: 290px !important;
}

    flex: 1.4 1 160px !important;
    max-width: 200px !important;
}

    flex: 1 1 110px !important;
    max-width: 135px !important;
}

    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.22 !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding-right: 42px !important;
    word-break: normal !important;
}

/* 🖼️ LARGE 64PX PROMINENT ICONS PINNED TO BOTTOM-RIGHT */
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* 🚀 PERFECT 17-CATEGORY 2-ROW GRID LAYOUT */
    margin-top: 20px !important;
    margin-bottom: 24px !important;
}

    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
}

    position: relative !important;
    background: #f2f4f7 !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    overflow: visible !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, background-color 0.22s ease !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
    flex: 1 1 125px !important;
    min-width: 105px !important;
}

    background: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-3px) !important;
    z-index: 30 !important;
}

/* Width classes based on data-cat */
    flex: 1.8 1 175px !important;
    max-width: 215px !important;
}

    flex: 1.3 1 135px !important;
    max-width: 160px !important;
}

    flex: 1 1 95px !important;
    max-width: 120px !important;
}

    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding-right: 28px !important;
    word-break: normal !important;
}

/* 🖼️ LARGE 56PX PROMINENT ICONS PINNED TO BOTTOM-RIGHT */
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 94px !important;
    height: 94px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}

    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: bottom right !important;
}


/* 🎯 DIRECT CLASS SLUG TARGETING FOR PRECISE TAB WIDTHS */
    flex: 2.6 1 225px !important;
    max-width: 245px !important;
}

    flex: 2.4 1 210px !important;
    max-width: 230px !important;
}

    flex: 2.4 1 210px !important;
    max-width: 230px !important;
}

    flex: 2.1 1 185px !important;
    max-width: 200px !important;
}

    flex: 2.4 1 210px !important;
    max-width: 230px !important;
}

    flex: 1.6 1 165px !important;
    max-width: 180px !important;
}

    flex: 0.9 1 110px !important;
    max-width: 125px !important;
}

    flex: 0.7 1 90px !important;
    max-width: 105px !important;
}

    flex: 0.7 1 90px !important;
    max-width: 105px !important;
}
