@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #1c2128;
    --bg-hover: #21262d;
    --bg-input: #0d1117;
    --text-primary: #f0f6fc;
    --text-secondary: #9da5ae;
    --text-muted: #8b949e;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-orange: #f97316;
    --accent-green: #22c55e;
    --accent-yellow: #fbbf24;
    --border-color: #30363d;
    --border-light: #21262d;
    --container-width: 1280px;
    --header-height: 60px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast)
}

a:hover {
    color: var(--accent-blue)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

ul,
ol {
    list-style: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px
}

.top-bar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1200
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.top-bar-links {
    display: flex;
    gap: 20px
}

.top-bar-links a {
    color: var(--text-secondary)
}

.top-bar-links a:hover {
    color: var(--text-primary)
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px
}

.selector-dropdown {
    position: relative
}

.selector-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.selector-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--text-muted)
}

.selector-btn .separator {
    color: var(--text-muted)
}

.selector-menu {
    position: absolute;
    top: calc(100%+8px);
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 16px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg)
}

.selector-dropdown.open .selector-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.selector-columns {
    display: flex;
    gap: 30px
}

.selector-column h4 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500
}

.selector-column a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    transition: all var(--transition-fast)
}

.selector-column a:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.selector-column a.active {
    color: var(--text-primary)
}

.selector-column a .fa-check {
    margin-left: auto;
    opacity: 0;
    color: var(--accent-green)
}

.selector-column a.active .fa-check {
    opacity: 1
}

.selector-column .symbol {
    width: 20px;
    text-align: center;
    font-weight: 600
}

.selector-column .flag {
    font-size: 16px
}

.main-header {
    background-color: var(--bg-secondary);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1100
}

.main-header>.container {
    max-width: var(--container-width);
    padding: 0 20px
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.logo:hover {
    color: inherit
}

.logo-img {
    max-width: 180px;
    object-fit: contain
}

.logo-light {
    display: none
}

body.light-mode .logo-dark {
    display: none
}

body.light-mode .logo-light {
    display: inline-block
}

.logo-text {
    display: flex;
    align-items: center;
    line-height: 1
}

.logo-svg {
    height: 36px;
    width: auto;
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease
}

.logo:hover .logo-svg {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.3))
}

.logo-icon {
    color: var(--accent-orange);
    margin: 0 -1px;
    font-size: 22px;
    vertical-align: middle;
    position: relative;
    top: -1px
}

.catalog-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--accent-orange);
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    white-space: nowrap
}

.catalog-btn:hover {
    background-color: #ea580c;
    color: white
}

.catalog-btn.catalog-active {
    background-color: #dc2626
}

.catalog-btn.catalog-active:hover {
    background-color: #b91c1c
}

.catalog-wrapper {
    position: relative;
    flex-shrink: 0
}

.catalog-btn {
    border: none;
    cursor: pointer
}

.catalog-mega {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    z-index: 1000;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--header-height));
    overflow: hidden
}

.catalog-mega.open {
    display: block;
    animation: catalogSlideDown 0.25s ease
}

@keyframes catalogSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.catalog-mega>.container {
    display: flex;
    max-height: calc(100vh - var(--header-height))
}

.catalog-mega-inner {
    display: flex;
    width: 100%;
    min-height: 420px;
    max-height: calc(100vh - var(--header-height))
}

.catalog-mega-sidebar {
    width: 240px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    overflow-y: auto;
    background: var(--bg-primary)
}

.catalog-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
    border-left: 3px solid transparent
}

.catalog-mega-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-primary)
}

.catalog-mega-item.active {
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--text-primary);
    border-left-color: var(--accent-blue)
}

.catalog-mega-item .catalog-mega-icon {
    width: 22px;
    text-align: center;
    font-size: 16px;
    color: var(--accent-blue);
    flex-shrink: 0
}

.catalog-mega-item.active .catalog-mega-icon {
    color: var(--accent-blue)
}

.catalog-mega-name {
    flex: 1
}

.catalog-mega-arrow {
    font-size: 10px;
    color: var(--text-muted);
    transition: all 0.15s ease;
    opacity: 0.5
}

.catalog-mega-item:hover .catalog-mega-arrow,
.catalog-mega-item.active .catalog-mega-arrow {
    color: var(--accent-blue);
    opacity: 1
}

.catalog-mega-content {
    flex: 1;
    padding: 24px 28px;
    min-width: 0;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height))
}

.catalog-mega-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color)
}

.catalog-mega-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px
}

.catalog-mega-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 20px
}

.catalog-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 20px
}

.catalog-mega-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative
}

.catalog-mega-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3)
}

.catalog-mega-card-img {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px
}

.catalog-mega-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px
}

.catalog-mega-card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.catalog-mega-card-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.catalog-mega-card:hover .catalog-mega-card-title {
    color: var(--accent-blue)
}

.catalog-mega-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px
}

.catalog-mega-card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-orange)
}

.catalog-mega-card-sold {
    font-size: 11px;
    color: var(--text-muted)
}

.catalog-mega-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    transition: all 0.2s ease;
    margin-top: 4px
}

.catalog-mega-viewall:hover {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    transform: translateX(4px)
}

.catalog-mega-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
    gap: 14px;
    font-size: 14px
}

.catalog-mega-placeholder i {
    font-size: 40px;
    opacity: 0.4
}

.catalog-mega-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
    font-size: 28px
}

.catalog-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px)
}

.catalog-overlay.active {
    display: block
}

.search-wrapper {
    flex: 1;
    position: relative
}

.search-form {
    display: flex;
    width: 100%;
    border-radius: var(--border-radius);
    transition: box-shadow 0.2s
}

.search-wrapper:focus-within .search-form {
    box-shadow: 0 0 0 2px var(--accent-orange), 0 4px 16px rgba(249, 115, 22, 0.15)
}

.search-input {
    flex: 1;
    padding: 12px 18px;
    padding-right: 36px;
    background-color: #fff;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    color: #1a1a2e;
    font-size: 14px;
    outline: none;
    transition: all var(--transition-fast)
}

.search-input::placeholder {
    color: #999
}

.search-input:focus {
    background-color: #fff
}

.search-clear {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 15px;
    padding: 6px 8px;
    z-index: 2;
    transition: all 0.2s;
    border-radius: 50%
}

.search-clear:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.06)
}

.search-btn {
    padding: 12px 20px;
    background-color: var(--accent-orange);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: #fff;
    font-size: 16px;
    transition: all var(--transition-fast)
}

.search-btn:hover {
    background-color: #ea580c;
    color: #fff
}

.live-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100%+4px);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    max-height: 520px;
    overflow-y: auto;
    z-index: 200;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent
}

.live-search-dropdown::-webkit-scrollbar {
    width: 6px
}

.live-search-dropdown::-webkit-scrollbar-track {
    background: transparent
}

.live-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px
}

.live-search-dropdown.show {
    display: block;
    animation: searchDropIn 0.2s ease-out
}

@keyframes searchDropIn {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.live-search-section-title {
    padding: 16px 20px 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border-left: 3px solid transparent;
    margin: 0 4px;
    border-radius: 8px
}

.live-search-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-left-color: var(--accent-orange)
}

.live-search-item:hover .live-search-item-arrow {
    color: var(--accent-orange);
    transform: translateX(3px)
}

.live-search-item:hover .live-search-item-img {
    border-color: var(--accent-orange)
}

.live-search-item-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s
}

.live-search-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px
}

.live-search-item-img .placeholder-icon {
    font-size: 20px;
    color: var(--text-muted);
    opacity: 0.5
}

.live-search-item-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4
}

.live-search-item-text .category-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 6px;
    opacity: 0.7
}

.live-search-item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-right: 6px
}

.live-search-item-arrow {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease
}

.live-search-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 20px
}

.live-search-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 14px;
    margin: 8px;
    background: var(--accent-orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer
}

.live-search-show-all:hover {
    background: #ea580c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4)
}

.live-search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px
}

.live-search-no-results i {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.3
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 14px;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 11px;
    position: relative;
    transition: all var(--transition-fast);
    white-space: nowrap
}

.header-action:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.header-action i {
    font-size: 20px
}

.header-action .badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background-color: var(--accent-blue);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1
}

.action-icon-wrap {
    position: relative;
    display: inline-flex
}

.action-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: var(--accent-blue);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    line-height: 16px;
    text-align: center;
    display: none;
    pointer-events: none
}

.action-badge.has-items {
    display: flex;
    align-items: center;
    justify-content: center
}

.purchases-badge {
    background-color: #22c55e !important
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-muted)
}

.breadcrumbs a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    transition: color var(--transition-fast)
}

.breadcrumbs a:hover {
    color: var(--accent-blue)
}

.breadcrumbs i.fa-chevron-right {
    font-size: 10px;
    color: var(--text-muted)
}

.breadcrumbs span {
    color: var(--text-primary);
    font-weight: 500
}

@media (max-width:768px) {
    .breadcrumbs {
        padding: 10px 15px;
        font-size: 12px;
        gap: 6px;
        background: var(--bg-secondary);
        margin: 0 -15px;
        width: calc(100%+30px)
    }

    .breadcrumbs span {
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }
}

.category-nav {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto
}

.category-list {
    display: flex;
    gap: 5px;
    padding: 8px 0
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    color: #fbfbfb;
    font-size: 14px;
    white-space: nowrap;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.category-list li a:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.category-list li a i {
    font-size: 14px;
    color: var(--text-muted)
}

.category-list li.active a {
    color: #f97316
}

.category-list li.active a i {
    color: #f97316
}

.main-content {
    padding: 30px 0;
    min-height: calc(100vh - 300px)
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary)
}

.products-section {
    padding: 0 0 20px
}

.products-section:first-of-type {
    padding-top: 0
}

.all-products-section {
    padding-top: 10px
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal)
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--bg-secondary);
    display: block
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal)
}

.product-card:hover .product-card-image img {
    transform: scale(1.02)
}

.product-card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card)
}

.product-card-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px
}

.product-card-title {
    font-size: 13px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
    font-weight: bold;
}

.product-card-sold {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px
}

.product-card-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background-color: var(--accent-blue);
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    border-radius: 8px;
    transition: all var(--transition-fast)
}

.product-card-btn:hover {
    background-color: var(--accent-blue-hover);
    color: white
}

@media (max-width:1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr)
    }
}

@media (max-width:1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media (max-width:992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.product-carousel-section {
    margin: 32px 0;
    overflow: hidden
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

.carousel-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary)
}

.carousel-nav {
    display: flex;
    gap: 8px
}

.carousel-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s
}

.carousel-arrow:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--text-muted)
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px
}

.carousel-track::-webkit-scrollbar {
    display: none
}

.carousel-card {
    min-width: 195px;
    max-width: 195px;
    flex-shrink: 0
}

@media (max-width:768px) {
    .carousel-card {
        min-width: 160px;
        max-width: 160px
    }

    .carousel-section-title {
        font-size: 17px
    }

    .product-carousel-section {
        margin: 24px 0
    }
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px
}

.product-main {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden
}

.product-header {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-bottom: 1px solid var(--border-color)
}

.product-image {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--bg-secondary);
    flex-shrink: 0
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-info {
    flex: 1
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary)
}

.product-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary)
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 6px
}

.product-meta a {
    color: var(--accent-blue)
}

.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-top: 1px solid var(--border-color)
}

.share-label {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)
}

.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff
}

.share-telegram:hover {
    background: #08c;
    border-color: #08c;
    color: #fff
}

.share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff
}

.share-twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff
}

.share-linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #fff
}

.share-copy:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff
}

@media (max-width:768px) {
    .product-share {
        padding: 10px 16px;
        gap: 10px
    }

    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 13px
    }
}

.product-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color)
}

.product-tab {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast)
}

.product-tab:hover,
.product-tab.active {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.product-tab.active {
    background-color: var(--accent-blue);
    color: white
}

.product-tab .count {
    background-color: var(--bg-hover);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 8px
}

.product-description {
    padding: 24px
}

.product-description h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary)
}

.product-description-content {
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-line
}

.product-description-content p {
    margin-bottom: 12px
}

.product-description-content ul {
    margin-left: 20px;
    margin-bottom: 12px
}

.product-description-content li {
    margin-bottom: 6px;
    position: relative
}

.product-description-content li::before {
    content: "✓";
    color: var(--accent-green);
    margin-right: 8px
}

.product-additional-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color)
}

.product-additional-info h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.product-additional-info h3 i {
    color: var(--accent-blue)
}

.product-additional-info-content {
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-line
}

.product-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content
}

.product-buy-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 16px
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px
}

.promo-code-link {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px
}

.buy-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px
}

.cart-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 18px;
    transition: all var(--transition-fast)
}

.cart-btn:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.buy-now-btn {
    flex: 1;
    padding: 14px 24px;
    background-color: var(--accent-blue);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-fast)
}

.buy-now-btn:hover {
    background-color: var(--accent-blue-hover);
    color: white
}

.buy-terms {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5
}

.buy-terms a {
    color: var(--accent-blue);
    text-decoration: underline
}

.product-features {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 16px
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color)
}

.product-feature:last-child {
    border-bottom: none
}

.product-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    color: var(--accent-green);
    font-size: 14px
}

.product-feature-text {
    font-size: 13px;
    color: var(--text-secondary)
}

.product-feature-text strong {
    color: var(--text-primary)
}

.seller-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 20px
}

.seller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.seller-name {
    font-weight: 600;
    color: var(--text-primary)
}

.seller-sales {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary)
}

.seller-sales i {
    color: var(--accent-green)
}

.seller-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast)
}

.seller-contact-btn:hover {
    background-color: var(--bg-hover)
}

.seller-status {
    font-size: 12px;
    color: var(--accent-green)
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-muted)
}

.breadcrumbs a {
    color: var(--text-secondary)
}

.breadcrumbs a:hover {
    color: var(--text-primary)
}

.breadcrumbs i {
    font-size: 10px
}

.search-header {
    margin-bottom: 24px
}

.search-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px
}

.search-header p {
    color: var(--text-secondary)
}

.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 0;
    margin-top: auto
}

.footer-desktop {
    padding: 0
}

.footer-top-row {
    display: flex;
    gap: 60px;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border-color)
}

.footer-brand {
    flex: 0 0 280px
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px
}

.footer-logo .logo-text {
    font-size: 28px
}

.footer-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px
}

.footer-social-row {
    display: flex;
    gap: 8px
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease
}

.footer-social-icon:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 50, 0.3)
}

.footer-nav-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px
}

.footer-section h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 12px
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-section ul li {
    margin-bottom: 10px
}

.footer-section ul a {
    color: var(--text-muted);
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 0
}

.footer-section ul a:hover {
    color: var(--text-primary);
    padding-left: 6px
}

.footer-section ul a:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-orange)
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 12.5px;
    color: var(--text-muted)
}

.footer-bottom-links {
    display: flex;
    gap: 20px
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s
}

.footer-bottom-links a:hover {
    color: var(--text-primary)
}

.footer-payment {
    padding: 24px 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 20px
}

.footer-payment h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.payment-icon-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.2s, box-shadow 0.2s
}

.payment-icon-img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3)
}

.footer-section-payment .payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.footer-section-payment .payment-icon-img {
    width: 38px;
    height: 38px
}

@media (max-width:1024px) {
    .product-detail {
        grid-template-columns: 1fr
    }

    .product-sidebar {
        position: static
    }

    .footer-top-row {
        flex-direction: column;
        gap: 36px
    }

    .footer-brand {
        flex: none
    }

    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px
    }
}

@media (max-width:768px) {
    .top-bar {
        display: none
    }

    .header-content {
        flex-wrap: nowrap
    }

    .header-actions {
        display: none
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-nav-columns {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center
    }
}

@media (max-width:480px) {
    .catalog-btn span {
        display: none
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .product-card-content {
        padding: 10px
    }

    .product-card-price {
        font-size: 14px
    }

    .product-header {
        flex-direction: column
    }

    .product-image {
        width: 100%;
        height: 200px
    }
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

.text-muted {
    color: var(--text-muted)
}

.text-secondary {
    color: var(--text-secondary)
}

.text-accent {
    color: var(--accent-blue)
}

.text-success {
    color: var(--accent-green)
}

.mt-1 {
    margin-top: 8px
}

.mt-2 {
    margin-top: 16px
}

.mt-3 {
    margin-top: 24px
}

.mb-1 {
    margin-bottom: 8px
}

.mb-2 {
    margin-bottom: 16px
}

.mb-3 {
    margin-bottom: 24px
}

.hidden {
    display: none
}

.visible {
    display: block
}

.theme-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.theme-toggle:hover {
    background-color: var(--bg-hover);
    color: var(--accent-yellow);
    border-color: var(--accent-yellow)
}

.page-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px 60px
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #f0f6fc;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #21262d
}

.page-body {
    color: #c9d1d9;
    font-size: 16px;
    line-height: 1.85
}

.page-body h2 {
    font-size: 22px;
    color: #f0f6fc;
    margin: 28px 0 12px
}

.page-body h3 {
    font-size: 18px;
    color: #f0f6fc;
    margin: 24px 0 10px
}

.page-body p {
    margin: 12px 0
}

.page-body a {
    color: #3b82f6;
    text-decoration: underline
}

.page-body a:hover {
    color: #60a5fa
}

.page-body ul,
.page-body ol {
    padding-left: 24px;
    margin: 12px 0
}

.page-body li {
    margin: 6px 0
}

.page-body strong {
    color: #f0f6fc
}

.page-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0
}

body.light-mode .page-title {
    color: #1a1a2e;
    border-color: #e5e7eb
}

body.light-mode .page-body {
    color: #374151
}

body.light-mode .page-body h2,
body.light-mode .page-body h3,
body.light-mode .page-body strong {
    color: #1a1a2e
}

body.light-mode {
    --bg-primary: #f5f5f5;
    --bg-secondary: #fff;
    --bg-card: #fff;
    --bg-hover: #f0f0f0;
    --bg-input: #fff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #888;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0
}

body.light-mode .top-bar {
    background-color: #fff
}

body.light-mode .main-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

body.light-mode .category-nav {
    background-color: #fff
}

body.light-mode .category-list li a {
    color: #000;
    font-size: 14px;
    font-weight: bold
}

body.light-mode .category-list li a i {
    color: #000
}

body.light-mode .product-card-title {
    color: #000;
    font-weight: bold
}

body.light-mode .product-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08)
}

body.light-mode .product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15)
}

body.light-mode .theme-toggle {
    background-color: #f5f5f5
}

body.light-mode .theme-toggle:hover {
    background-color: #e0e0e0
}

body.light-mode .footer {
    background-color: #fff
}

.product-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px
}

.reviews-header h3 {
    margin: 0
}

.reviews-stats {
    display: flex;
    gap: 16px
}

.reviews-stats .positive {
    color: #22c55e
}

.reviews-stats .negative {
    color: var(--text-muted)
}

.reviews-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.reviews-tabs {
    display: flex;
    gap: 8px
}

.reviews-tab {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.reviews-tab:hover,
.reviews-tab.active {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.reviews-sort {
    color: var(--text-secondary);
    font-size: 13px
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color)
}

.review-item:last-child {
    border-bottom: none
}

.hidden-review {
    display: none
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px
}

.review-thumb {
    font-size: 16px
}

.review-thumb.positive {
    color: #22c55e
}

.review-thumb.negative {
    color: #ef4444
}

.review-date {
    color: var(--text-muted);
    font-size: 13px
}

.review-text {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0
}

.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.show-more-btn:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.product-gallery {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 48px;
    flex-shrink: 0
}

.gallery-thumbnails .thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    background: var(--bg-tertiary)
}

.gallery-thumbnails .thumb:hover {
    border-color: var(--text-muted)
}

.gallery-thumbnails .thumb.active {
    border-color: var(--accent-blue)
}

.gallery-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gallery-thumbnails .more-images {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px
}

.gallery-main {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    flex-shrink: 0
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center
}

.lightbox-overlay.active {
    display: flex
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    opacity: 0.7;
    transition: opacity 0.2s
}

.lightbox-close:hover {
    opacity: 1
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.lightbox-counter {
    position: absolute;
    top: -30px;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px
}

#lightbox-image {
    max-width: 80vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2)
}

.lightbox-nav.prev {
    left: -80px
}

.lightbox-nav.next {
    right: -80px
}

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    overflow-x: auto;
    max-width: 80vw;
    padding: 10px 0
}

.lightbox-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    border: 2px solid transparent
}

.lightbox-thumbs img:hover {
    opacity: 0.8
}

.lightbox-thumbs img.active {
    opacity: 1;
    border-color: var(--accent-blue)
}

@media (max-width:992px) {
    .container {
        padding: 0 15px
    }

    .product-detail {
        flex-direction: column
    }

    .product-sidebar {
        position: static;
        width: 100%
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {
    .top-bar {
        display: none
    }

    .main-header {
        padding: 10px 0
    }

    .nav-bar {
        overflow-x: auto;
        padding: 8px 0
    }

    .nav-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 5px;
        padding-bottom: 5px
    }

    .nav-link {
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .category-card {
        padding: 15px
    }

    .category-icon {
        font-size: 24px
    }

    .category-card h3 {
        font-size: 14px
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: relative
    }

    .product-gallery {
        width: 100%;
        flex-direction: row;
        align-items: flex-start
    }

    .gallery-thumbnails {
        flex-direction: column;
        width: 40px
    }

    .gallery-thumbnails .thumb {
        width: 40px;
        height: 40px
    }

    .gallery-main {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 1
    }

    .product-info {
        width: 100%
    }

    .product-title {
        font-size: 18px
    }

    .product-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px
    }

    .favorite-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 5;
        background: rgba(0, 0, 0, 0.5);
        border-color: transparent;
        color: white;
        border-radius: 50%
    }

    .product-sidebar {
        margin-top: 20px
    }

    .buy-box {
        padding: 15px
    }

    .price-large {
        font-size: 28px
    }

    .product-tabs {
        overflow-x: auto;
        margin-bottom: 15px
    }

    .product-tab {
        white-space: nowrap;
        padding: 10px 15px;
        font-size: 14px
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .reviews-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .review-item {
        padding: 12px 0
    }

    .lightbox-nav.prev {
        left: 10px
    }

    .lightbox-nav.next {
        right: 10px
    }

    .lightbox-close {
        top: 10px;
        right: 10px
    }

    #lightbox-image {
        max-width: 95vw;
        max-height: 60vh
    }

    .lightbox-thumbs {
        max-width: 95vw
    }

    .lightbox-thumbs img {
        width: 50px;
        height: 50px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }

    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap
    }

    .section-header h2 {
        font-size: 20px
    }
}

@media (max-width:480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }

    .category-card {
        padding: 12px
    }

    .gallery-main {
        max-width: 150px
    }

    .price-large {
        font-size: 24px
    }

    .btn-buy {
        padding: 12px 20px;
        font-size: 14px
    }

    .product-description-content {
        font-size: 14px
    }
}

@media (max-width:768px) {
    .mobile-buy-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 12px 15px;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        align-items: center;
        justify-content: space-between;
        gap: 15px
    }

    .mobile-buy-bar .mobile-price {
        font-size: 22px;
        font-weight: 700;
        color: var(--text-primary)
    }

    .mobile-buy-bar .btn-buy {
        flex: 1;
        max-width: 200px
    }

    body.has-mobile-buy {
        padding-bottom: 70px
    }
}

@media (min-width:769px) {
    .mobile-buy-bar {
        display: none
    }
}

.mobile-menu-btn {
    display: none;
    background: var(--accent-orange);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px
}

@media (max-width:768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center
    }
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000
}

.mobile-menu-overlay.active {
    display: block
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease
}

@keyframes slideIn {
    from {
        transform: translateX(-100%)
    }

    to {
        transform: translateX(0)
    }
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color)
}

.mobile-menu-close {
    background: var(--accent-orange);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center
}

.mobile-search-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s
}

.mobile-menu-item:hover {
    background: var(--bg-hover)
}

.mobile-menu-item i:first-child {
    width: 24px;
    color: var(--text-secondary)
}

.mobile-menu-item span {
    flex: 1;
    font-size: 15px
}

.mobile-menu-item i.fa-chevron-right {
    color: var(--text-muted);
    font-size: 12px
}

.mobile-price-filter-section:empty {
    display: none
}

.mobile-price-filter-section {
    border-top: 1px solid var(--border-color)
}

.mobile-price-filter-section .catalog-price-filter {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 20px;
    margin: 0
}

.mobile-price-filter-section .price-filter-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default
}

.mobile-price-filter-section .price-filter-title::before {
    content: '\f0d6';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text-secondary);
    width: 24px;
    text-align: center;
    font-size: 14px
}

.mobile-price-filter-section .price-filter-title::after {
    display: none !important
}

.mobile-price-filter-section .price-filter-inputs {
    display: flex !important;
    gap: 10px;
    margin-bottom: 14px
}

.mobile-price-filter-section .price-filter-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 8px 10px
}

.mobile-price-filter-section .price-slider-wrap {
    display: block !important;
    position: relative;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin: 8px 2px 0
}

.mobile-price-filter-section .price-slider-track {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--accent-blue);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1
}

.mobile-price-filter-section .price-slider {
    position: absolute;
    top: -7px;
    left: 0;
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
    margin: 0
}

.mobile-price-filter-section .price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-blue);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3)
}

.mobile-price-filter-section .price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-blue);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3)
}

.mobile-menu-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.mobile-settings {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--bg-secondary);
    padding: 8px 15px;
    border-radius: 20px
}

.mobile-settings .dot {
    color: var(--text-muted)
}

.mobile-settings i {
    margin-left: 5px
}

.mobile-theme-btn {
    background: var(--bg-secondary);
    border: none;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px
}

@media (max-width:768px) {
    .product-detail {
        flex-direction: column
    }

    .product-main {
        order: 1
    }

    .product-sidebar {
        order: 2;
        position: static;
        width: 100%
    }

    .product-header {
        flex-direction: column;
        gap: 0;
        position: relative
    }

    .product-gallery {
        width: 100%;
        margin: 0 -15px;
        width: calc(100%+30px);
        flex-direction: column;
        gap: 0
    }

    .gallery-thumbnails {
        display: none
    }

    .gallery-main {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 0;
        border: none;
        position: relative;
        background: var(--bg-card)
    }

    .product-info {
        width: 100%;
        padding: 15px 0
    }

    .product-title {
        font-size: 16px;
        margin-bottom: 8px
    }

    .product-meta {
        gap: 12px;
        font-size: 13px
    }

    .product-meta .divider {
        display: none
    }

    .buy-box {
        background: var(--bg-secondary);
        border-radius: 12px;
        padding: 15px;
        margin-top: 15px
    }

    .price-large {
        font-size: 24px
    }

    .btn-buy {
        width: 100%;
        padding: 14px;
        font-size: 15px
    }

    .product-buy-card {
        position: fixed;
        bottom: 56px;
        left: 0;
        right: 0;
        z-index: 1000;
        border-radius: 0;
        border-top: 1px solid var(--border-color);
        background: var(--bg-card);
        padding: 10px 15px;
        margin-bottom: 0
    }

    .product-buy-card .product-price,
    .product-buy-card .promo-code-link,
    .product-buy-card .buy-terms {
        display: none
    }

    .product-buy-card .buy-actions {
        margin-bottom: 0
    }

    body {
        padding-bottom: 120px
    }
}

.gallery-favorite-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10
}

.gallery-favorite-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1)
}

.gallery-favorite-btn.active i {
    font-weight: 900;
    color: #ff6b6b
}

.gallery-main {
    position: relative
}

.gallery-dots {
    display: none
}

@media (max-width:768px) {
    .gallery-dots {
        display: flex;
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
        z-index: 10
    }

    .gallery-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.2s
    }

    .gallery-dots .dot.active {
        background: white;
        width: 20px;
        border-radius: 4px
    }

    .gallery-dots .dot:hover {
        background: rgba(255, 255, 255, 0.8)
    }
}

.mobile-slider-nav {
    display: none
}

@media (max-width:768px) {
    .mobile-slider-nav {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        padding: 0 10px;
        pointer-events: none;
        z-index: 5
    }

    .mobile-nav-btn {
        pointer-events: auto;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.4);
        border: none;
        color: white;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s
    }

    .mobile-nav-btn:hover {
        background: rgba(0, 0, 0, 0.6)
    }

    .product-gallery {
        position: relative
    }
}

.mobile-header-search {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px
}

@media (max-width:768px) {
    .mobile-header-search {
        display: flex;
        align-items: center;
        justify-content: center
    }
}

.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 10001
}

.mobile-search-overlay.active {
    display: flex;
    flex-direction: column
}

.mobile-search-box {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color)
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 5px
}

.mobile-search-back {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

.mobile-search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    padding: 10px 5px;
    outline: none
}

.mobile-search-input::placeholder {
    color: var(--text-muted)
}

.mobile-search-submit {
    background: var(--accent-blue);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px
}

.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 0
}

.mobile-search-section-title {
    padding: 14px 16px 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.mobile-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s
}

.mobile-search-item:active {
    background: var(--bg-hover)
}

.mobile-search-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0
}

.mobile-search-item-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.mobile-search-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.mobile-search-item-img i {
    font-size: 18px;
    color: var(--text-muted)
}

.mobile-search-item-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0
}

.mobile-search-item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-green);
    flex-shrink: 0
}

.mobile-search-item-arrow {
    color: var(--text-muted);
    font-size: 12px;
    flex-shrink: 0;
    opacity: 0.4
}

.mobile-search-show-all {
    display: block;
    text-align: center;
    padding: 14px;
    margin: 12px;
    background: var(--accent-orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none
}

.mobile-search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted)
}

.mobile-search-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.3;
    display: block
}

.mobile-search-empty p {
    font-size: 14px
}

.mobile-selector-section {
    padding: 0;
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease
}

.mobile-selector-section.active {
    padding: 20px;
    max-height: 500px;
    overflow: visible
}

.mobile-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.mobile-selector-col h4 {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 400
}

.mobile-selector-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500
}

.mobile-selector-item .symbol {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-radius: 50%
}

.mobile-selector-item .flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    background-size: cover;
    background-position: center;
    flex-shrink: 0
}

.mobile-selector-item i.fa-check {
    margin-left: auto;
    color: var(--accent-blue);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s
}

.mobile-selector-item.active i.fa-check {
    opacity: 1
}

.mobile-selector-item.active {
    color: var(--text-primary)
}

.mobile-selector-item:hover {
    opacity: 0.8
}

.flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    background-size: cover;
    background-position: center;
    flex-shrink: 0
}

.selector-column a .flag {
    width: 20px;
    height: 20px
}

@media (max-width:768px) {
    .container {
        padding: 0 4px
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 0
    }

    .product-card {
        background: transparent;
        border-radius: 0;
        overflow: visible;
        border: none;
        width: 100%;
        margin-bottom: 8px
    }

    .product-card:hover {
        transform: none;
        box-shadow: none
    }

    .product-card-image {
        aspect-ratio: 1;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        background: var(--bg-card);
        margin-bottom: 8px
    }

    .product-card-image img {
        border-radius: 12px
    }

    .product-card-content {
        padding: 0;
        background: transparent
    }

    .product-card-price {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 4px;
        line-height: 1.2
    }

    .product-card-title {
        font-size: 12px;
        line-height: 1.3;
        color: var(--text-primary);
        font-weight: 400;
        margin-bottom: 4px;
        min-height: 32px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .product-card-sold {
        font-size: 11px;
        color: var(--text-muted);
        margin-bottom: 8px
    }

    .product-card-btn {
        display: block;
        width: 100%;
        padding: 7px 0;
        background: var(--accent-blue);
        color: white;
        font-weight: 600;
        font-size: 12px;
        text-align: center;
        border-radius: 8px;
        border: none
    }

    .product-card-btn:hover {
        background: var(--accent-blue);
        color: white
    }

    .section-title {
        font-size: 20px;
        font-weight: 700;
        padding: 0 12px;
        margin-bottom: 16px
    }

    .products-section {
        padding: 16px 0
    }
}

.product-card-image-wrapper {
    position: relative
}

.product-card-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation
}

.product-card-favorite i {
    color: white
}

.product-card-favorite:hover {
    background: rgba(30, 41, 59, 0.9)
}

.product-card-favorite.active i {
    color: #ff6b6b
}

.favorites-icon-wrap {
    position: relative;
    display: inline-flex
}

.favorites-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    pointer-events: none
}

.mobile-bottom-nav {
    display: none
}

@media (max-width:768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        z-index: 9999;
        padding: 6px 0 env(safe-area-inset-bottom, 4px);
        justify-content: space-around;
        align-items: center
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 4px 8px;
        color: var(--text-muted);
        font-size: 10px;
        text-decoration: none;
        transition: color 0.2s;
        position: relative;
        min-width: 50px
    }

    .mobile-nav-item.active {
        color: var(--accent-orange)
    }

    .mobile-nav-item i {
        font-size: 20px
    }

    .mobile-nav-icon-wrap {
        position: relative;
        display: inline-flex
    }

    .mobile-nav-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        min-width: 16px;
        height: 16px;
        background: var(--accent-blue);
        color: white;
        font-size: 9px;
        font-weight: 700;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1
    }

    .mobile-nav-badge.purchases-bg {
        background: #22c55e
    }

    .mobile-nav-badge.favorites-bg {
        background: #ef4444
    }

    .top-bar {
        display: none !important
    }

    .main-header {
        padding: 8px 0
    }

    .main-header>.container {
        padding: 0 12px
    }

    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0
    }

    .search-wrapper,
    .header-actions,
    .catalog-btn,
    .catalog-wrapper {
        display: none !important
    }

    .category-nav,
    .catalog-mega,
    .catalog-overlay {
        display: none !important
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--accent-orange);
        border: none;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        order: -1
    }

    .logo {
        flex: 1;
        justify-content: center
    }

    .logo-text {
        font-size: 24px
    }

    .logo-svg {
        height: 28px;
        width: 160px
    }

    .mobile-header-search {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        width: 36px;
        height: 36px
    }

    .main-content {
        padding: 16px 0;
        padding-bottom: 80px
    }

    .container {
        padding: 0 12px
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
        font-weight: 700
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px
    }

    .product-card {
        border-radius: 12px;
        overflow: hidden;
        background: var(--bg-card)
    }

    .product-card:hover {
        transform: none;
        box-shadow: none
    }

    .product-card-image-wrapper {
        position: relative
    }

    .product-card-image {
        aspect-ratio: 1;
        display: block
    }

    .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .product-card-favorite {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.4);
        border: none;
        color: white;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2
    }

    .product-card-content {
        padding: 10px
    }

    .product-card-price {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 3px
    }

    .product-card-title {
        font-size: 15px;
        line-height: 1.3;
        font-weight: 400;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 3px;
        min-height: 28px;
        font-weight: bold
    }

    .product-card-sold {
        font-size: 10px;
        color: var(--text-muted);
        margin-bottom: 6px
    }

    .product-card-btn {
        display: block;
        width: 100%;
        padding: 8px;
        background: var(--accent-blue);
        color: white;
        font-weight: 600;
        font-size: 12px;
        text-align: center;
        border-radius: 8px;
        border: none
    }

    .main-footer {
        padding: 0;
        padding-bottom: 70px;
        border-top: none
    }

    .footer-desktop {
        display: none !important
    }

    .footer-mobile {
        display: block
    }

    .mobile-buy-bar {
        bottom: 56px
    }

    .chat-widget-btn {
        bottom: 70px !important
    }
}

.footer-mobile {
    display: none
}

@media (max-width:768px) {
    .footer-mobile {
        display: block !important
    }

    .footer-mobile-logo {
        text-align: center;
        padding: 28px 0 20px;
        border-bottom: 1px solid var(--border-color)
    }

    .footer-mobile-logo .logo-text {
        font-size: 28px
    }

    .footer-mobile-tagline {
        color: var(--text-muted);
        font-size: 13px;
        margin-top: 6px
    }

    .footer-mobile-links {
        border-bottom: 1px solid var(--border-color)
    }

    .footer-mobile-group {
        border-bottom: 1px solid var(--border-color)
    }

    .footer-mobile-group:last-child {
        border-bottom: none
    }

    .footer-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 16px;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s
    }

    .footer-mobile-toggle:active {
        background: var(--bg-hover)
    }

    .footer-mobile-toggle i {
        font-size: 12px;
        color: var(--text-muted);
        transition: transform 0.3s ease
    }

    .footer-mobile-group.open .footer-mobile-toggle i {
        transform: rotate(180deg)
    }

    .footer-mobile-group-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease
    }

    .footer-mobile-group.open .footer-mobile-group-content {
        max-height: 200px;
        padding-bottom: 12px
    }

    .footer-mobile-group-content a {
        display: block;
        padding: 10px 16px 10px 28px;
        color: var(--text-secondary);
        font-size: 14px;
        text-decoration: none;
        transition: color 0.15s
    }

    .footer-mobile-group-content a:active {
        color: var(--text-primary);
        background: var(--bg-hover)
    }

    .footer-mobile-social {
        display: flex;
        justify-content: center;
        gap: 14px;
        padding: 24px 0
    }

    .footer-social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-secondary);
        font-size: 20px;
        text-decoration: none;
        transition: all 0.2s;
        border: 1px solid rgba(255, 255, 255, 0.08)
    }

    .footer-social-btn:active {
        background: var(--accent-orange);
        color: white;
        border-color: var(--accent-orange)
    }

    .footer-mobile-bottom {
        text-align: center;
        padding: 16px;
        border-top: 1px solid var(--border-color);
        font-size: 12px;
        color: var(--text-muted)
    }

    .footer-payment {
        padding: 20px 16px 0;
        border-top: 1px solid var(--border-color);
        margin-top: 0
    }

    .footer-payment h4 {
        text-align: center
    }

    .footer-payment .payment-icons {
        justify-content: center
    }

    .footer-payment .payment-icon-img {
        width: 40px;
        height: 40px
    }
}

.catalog-page {
    display: flex;
    gap: 0;
    padding: 24px 0;
    min-height: 60vh
}

.catalog-sidebar {
    width: 220px;
    flex-shrink: 0;
    margin-right: 24px
}

.catalog-nav {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.catalog-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer
}

.catalog-nav-item:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.catalog-nav-item.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600
}

.catalog-nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--accent-blue);
    flex-shrink: 0
}

.catalog-nav-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.catalog-nav-arrow {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: auto;
    transition: transform var(--transition-fast)
}

.catalog-nav-item.active .catalog-nav-arrow,
.catalog-nav-item:hover .catalog-nav-arrow {
    color: var(--text-primary)
}

.catalog-main {
    flex: 1;
    min-width: 0
}

.catalog-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px
}

.catalog-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary)
}

.catalog-count {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400
}

.catalog-product-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px
}

.catalog-product-icons::-webkit-scrollbar {
    height: 4px
}

.catalog-product-icons::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px
}

.catalog-product-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast)
}

.catalog-product-icon:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.catalog-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.catalog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px
}

.catalog-category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid transparent
}

.catalog-category-card:hover {
    border-color: var(--border-color);
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.catalog-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    font-size: 20px;
    color: var(--accent-blue);
    flex-shrink: 0
}

.catalog-category-info {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.catalog-category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary)
}

.catalog-category-count {
    font-size: 12px;
    color: var(--text-muted)
}

.catalog-main .products-grid {
    grid-template-columns: repeat(4, 1fr)
}

@media (max-width:1200px) {
    .catalog-main .products-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:900px) {
    .catalog-sidebar {
        width: 180px;
        margin-right: 16px
    }

    .catalog-main .products-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .catalog-title {
        font-size: 22px
    }
}

@media (max-width:768px) {
    .catalog-page {
        flex-direction: column;
        padding: 12px 12px;
        gap: 8px
    }

    .catalog-sidebar {
        display: none !important
    }

    .catalog-price-filter {
        padding: 12px;
        margin-top: 0
    }

    .catalog-price-filter .price-filter-title {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0
    }

    .catalog-price-filter .price-filter-title::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 10px;
        color: var(--text-muted);
        transition: transform 0.2s ease
    }

    .catalog-price-filter.open .price-filter-title::after {
        transform: rotate(180deg)
    }

    .catalog-price-filter .price-filter-inputs,
    .catalog-price-filter .price-slider-wrap {
        display: none
    }

    .catalog-price-filter.open .price-filter-inputs,
    .catalog-price-filter.open .price-slider-wrap {
        display: flex
    }

    .catalog-price-filter.open .price-filter-title {
        margin-bottom: 12px
    }

    .catalog-nav-arrow {
        display: none
    }

    .catalog-main .products-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .catalog-product-icon {
        width: 56px;
        height: 56px
    }

    .catalog-title {
        font-size: 20px
    }

    .catalog-categories-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px
}

.catalog-sort {
    position: relative
}

.catalog-sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap
}

.catalog-sort-btn:hover {
    border-color: var(--text-muted);
    background: var(--bg-hover)
}

.catalog-sort-btn i:first-child {
    color: var(--accent-blue);
    font-size: 14px
}

.catalog-sort-chevron {
    font-size: 10px !important;
    color: var(--text-muted) !important;
    transition: transform 0.2s ease;
    margin-left: 2px
}

.catalog-sort-dropdown.open~.catalog-sort-btn .catalog-sort-chevron,
.catalog-sort-btn:has(+.catalog-sort-dropdown.open) .catalog-sort-chevron {
    transform: rotate(180deg)
}

.catalog-sort-dropdown {
    position: absolute;
    top: calc(100%+6px);
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 6px;
    z-index: 100;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease
}

.catalog-sort-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.catalog-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left
}

.catalog-sort-option:hover {
    background: var(--bg-hover);
    color: var(--text-primary)
}

.catalog-sort-option .fa-check {
    color: var(--accent-blue);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.15s ease
}

.catalog-sort-option.active {
    color: var(--text-primary);
    font-weight: 600
}

.catalog-sort-option.active .fa-check {
    opacity: 1
}

.catalog-view-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden
}

.catalog-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 36px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 14px
}

.catalog-view-btn:first-child {
    border-right: 1px solid var(--border-color)
}

.catalog-view-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover)
}

.catalog-view-btn.active {
    color: var(--text-primary);
    background: var(--bg-hover)
}

#productsGrid {
    transition: opacity 0.15s ease
}

.product-card-actions {
    display: contents
}

.products-list-view .product-card {
    grid-template-columns: 70px 1fr auto
}

.products-list-view .product-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0
}

.products-list-view.products-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important
}

.products-list-view .product-card {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    border-radius: 0;
    overflow: visible;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom: none;
    padding: 14px 18px;
    gap: 16px
}

.products-list-view .product-card:first-child {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0
}

.products-list-view .product-card:last-child {
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    border-bottom: 1px solid var(--border-color)
}

.products-list-view .product-card:only-child {
    border-radius: var(--border-radius-lg);
    border-bottom: 1px solid var(--border-color)
}

.products-list-view .product-card:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-hover)
}

.products-list-view .product-card-image-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative
}

.products-list-view .product-card-image {
    aspect-ratio: 1;
    width: 100%;
    height: 100%
}

.products-list-view .product-card-image img {
    border-radius: 10px
}

.products-list-view .product-card-favorite {
    width: 24px;
    height: 24px;
    font-size: 11px;
    top: 3px;
    right: 3px
}

.products-list-view .product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    gap: 2px;
    min-width: 0
}

.products-list-view .product-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    min-height: unset;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    margin-bottom: 2px
}

.products-list-view .product-card-sold {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0
}

.products-list-view .product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    margin-bottom: 8px
}

.products-list-view .product-card-btn {
    width: auto;
    min-width: 120px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    margin-top: 0
}

@media (max-width:768px) {
    .catalog-toolbar {
        gap: 8px
    }

    .catalog-sort-btn {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px
    }

    .catalog-sort-dropdown {
        min-width: 200px
    }

    .catalog-sort-option {
        padding: 10px 12px;
        font-size: 13px
    }

    .catalog-view-btn {
        width: 34px;
        height: 32px;
        font-size: 13px
    }

    .products-list-view .product-card {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
        padding: 12px 14px;
        gap: 10px 12px
    }

    .products-list-view .product-card-image-wrapper {
        width: 64px;
        height: 64px;
        grid-row: 1 / 3;
        align-self: center
    }

    .products-list-view .product-card-content {
        padding: 0;
        grid-column: 2;
        grid-row: 1
    }

    .products-list-view .product-card-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2
    }

    .products-list-view .product-card-sold {
        font-size: 12px
    }

    .products-list-view .product-card-actions {
        grid-column: 2;
        grid-row: 2;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px
    }

    .products-list-view .product-card-price {
        font-size: 16px;
        margin-bottom: 0;
        text-align: left
    }

    .products-list-view .product-card-btn {
        min-width: 70px;
        padding: 7px 18px;
        font-size: 12px
    }

    .products-list-view .product-card-favorite {
        display: none
    }
}

.catalog-price-filter {
    margin-top: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 18px 16px 20px
}

.price-filter-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px
}

.price-filter-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px
}

.price-filter-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 8px 10px;
    transition: border-color var(--transition-fast)
}

.price-filter-input-wrap:focus-within {
    border-color: var(--accent-blue)
}

.price-filter-label {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
    font-weight: 500
}

.price-filter-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    -moz-appearance: textfield
}

.price-filter-input::-webkit-outer-spin-button,
.price-filter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.price-filter-currency {
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    font-weight: 600
}

.price-slider-wrap {
    position: relative;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin: 8px 2px 0
}

.price-slider-track {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--accent-blue);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1
}

.price-slider {
    position: absolute;
    top: -7px;
    left: 0;
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
    margin: 0
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-blue);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4)
}

.price-slider::-webkit-slider-thumb:active {
    transform: scale(1.2)
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-blue);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3)
}

@media (max-width:768px) {
    .catalog-price-filter {
        margin-top: 12px;
        padding: 14px 12px 16px
    }

    .price-filter-title {
        font-size: 14px;
        margin-bottom: 10px
    }

    .price-filter-input-wrap {
        padding: 6px 8px
    }

    .price-filter-input {
        font-size: 13px
    }
}

.catalog-sidebar {
    width: 240px;
    flex-shrink: 0;
    margin-right: 28px
}

.catalog-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 8px;
    border: 1px solid var(--border-color)
}

.catalog-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    position: relative
}

.catalog-nav-item:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary)
}

.catalog-nav-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0, rgba(59, 130, 246, 0.05) 100%);
    color: var(--text-primary);
    font-weight: 600
}

.catalog-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--accent-blue);
    border-radius: 0 4px 4px 0
}

.catalog-nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--accent-blue);
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    transition: all var(--transition-fast)
}

.catalog-nav-item.active .catalog-nav-icon {
    background: rgba(59, 130, 246, 0.18);
    color: var(--accent-blue)
}

.catalog-nav-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.catalog-nav-arrow {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: auto;
    transition: all var(--transition-fast);
    opacity: 0.5
}

.catalog-nav-item.active .catalog-nav-arrow,
.catalog-nav-item:hover .catalog-nav-arrow {
    color: var(--text-primary);
    opacity: 1
}

.catalog-subnav {
    display: flex;
    flex-direction: column;
    padding: 2px 0 6px 0;
    margin: 0 6px 4px 18px;
    border-left: 2px solid rgba(59, 130, 246, 0.25);
    gap: 1px
}

.catalog-subnav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 8px 14px;
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: 6px;
    margin: 0;
    position: relative
}

.catalog-subnav-item:hover {
    color: var(--text-primary);
    background-color: var(--bg-hover)
}

.catalog-subnav-item.active {
    color: var(--accent-blue);
    font-weight: 600;
    background-color: rgba(59, 130, 246, 0.08)
}

.catalog-subnav-item.active::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    margin-left: -14px
}

.catalog-subnav-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.catalog-subnav-count {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 8px;
    flex-shrink: 0;
    font-weight: 500;
    min-width: 22px;
    text-align: center
}

.catalog-subnav-item.active .catalog-subnav-count {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue)
}

.catalog-subcategories {
    margin-bottom: 24px
}

.catalog-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px
}

.catalog-subcat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary)
}

.catalog-subcat-card:hover {
    border-color: var(--accent-blue);
    background-color: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.catalog-subcat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border-radius: 10px;
    font-size: 16px;
    color: var(--accent-blue);
    flex-shrink: 0
}

.catalog-subcat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0
}

.catalog-subcat-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.catalog-subcat-count {
    font-size: 12px;
    color: var(--text-muted)
}

.catalog-subcat-arrow {
    font-size: 10px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition-fast)
}

.catalog-subcat-card:hover .catalog-subcat-arrow {
    color: var(--accent-blue);
    transform: translateX(3px)
}

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted)
}

.catalog-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px
}

.catalog-breadcrumb a:hover {
    color: var(--accent-blue)
}

.catalog-breadcrumb>i {
    font-size: 10px;
    color: var(--text-muted)
}

.catalog-breadcrumb>span {
    color: var(--text-primary);
    font-weight: 500
}

.catalog-category-subs {
    font-size: 11px;
    color: var(--accent-blue);
    font-weight: 500
}

.catalog-mega-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color)
}

.catalog-mega-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    white-space: nowrap
}

.catalog-mega-subcat-chip:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue)
}

.catalog-mega-subcat-chip i {
    font-size: 11px
}

@media (max-width:768px) {
    .catalog-sidebar {
        display: none !important
    }

    .catalog-nav-item {
        flex-shrink: 0;
        padding: 8px 14px;
        border-radius: 20px;
        font-size: 13px
    }

    .catalog-nav-item.active::before {
        display: none
    }

    .catalog-nav-icon {
        width: 22px;
        height: 22px;
        font-size: 12px;
        border-radius: 6px
    }

    .catalog-nav-arrow {
        display: none
    }

    .catalog-subnav {
        margin: 0;
        border-left: none;
        flex-direction: row;
        overflow-x: auto;
        gap: 6px;
        padding: 6px 0 8px
    }

    .catalog-subnav-item {
        flex-shrink: 0;
        padding: 6px 12px;
        background-color: var(--bg-card);
        border-radius: 16px;
        font-size: 12px;
        border: 1px solid var(--border-color)
    }

    .catalog-subnav-item.active::before {
        display: none
    }

    .catalog-subnav-count {
        display: none
    }

    .catalog-subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }

    .catalog-subcat-card {
        padding: 10px 12px;
        gap: 8px
    }

    .catalog-subcat-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px
    }

    .catalog-subcat-name {
        font-size: 12px
    }

    .catalog-subcat-count {
        font-size: 11px
    }

    .catalog-subcat-arrow {
        display: none
    }

    .catalog-breadcrumb {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 12px
    }

    .catalog-mega-subcats {
        gap: 6px;
        margin-bottom: 12px;
        padding-bottom: 10px
    }

    .catalog-mega-subcat-chip {
        padding: 4px 10px;
        font-size: 11px
    }
}

@media (min-width:769px) and (max-width:900px) {
    .catalog-sidebar {
        width: 200px;
        margin-right: 16px
    }
}