:root {
    --primary-color: #FF656B;
    --primary-color-dark: #FF656B;
    --primary-color-light: #ffe5e5;
    --primary-color-lighter: #fff5f5;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    position: relative;
    flex: 0 0 auto;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.btn-new-ad-header-mobile {
    display: none;
}

.btn-new-ad-header {
    background: #FFF7ED;
    color: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    flex: 0 0 auto;
}

.btn-new-ad-header i {
    font-size: 16px;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 15px;
}

@media (min-width: 1200px) {
    .header-actions {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        margin-left: 20px !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        bottom: auto !important;
    }

    .header-actions .header-actions-item:first-child {
        display: flex !important;
    }

    .header-actions .header-actions-item:nth-child(2) {
        display: flex !important;
    }

    .header-actions .search-box {
        display: block !important;
    }

    .header-actions .header-actions-item.header-icons {
        display: flex !important;
        width: auto !important;
        margin-left: auto !important;
    }
}

@media (max-width: 1200px) {
    body {

        padding-bottom: 0;
    }

    .wrapper {

        padding-bottom: 60px;
    }

    .header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 18px;
        background: rgba(255, 255, 255, 0.96);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
        margin-left: 0 !important;
        backdrop-filter: blur(18px);
    }

    .header-actions .header-actions-item:first-child {
        display: none;
    }

    .header-actions .search-box {
        display: none !important;
    }

    .header-actions .header-actions-item:nth-child(2) {
        display: none;
    }

    .header-actions .header-actions-item.header-icons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto;
        gap: 10px;
    }

    .header-actions .btn-new-ad-header {
        display: none !important;
    }

    .header-actions .btn-login.desktop-login {
        display: none !important;
    }

    .header-actions .icon-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 10px 0;
        margin: 0 4px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.03);
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
        transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    }

    .header-actions .header-actions-item.header-icons .icon-link.icon-login {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-actions .icon-link img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }

    .header-actions .icon-link:hover {
        background: rgba(15, 23, 42, 0.06);
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    }
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .sidebar-menu-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        background: white;
        position: sticky;
        top: 0;
        z-index: 10;
        flex-shrink: 0;
    }

    .sidebar-close-btn {
        display: flex !important;
    }
}

.sidebar-menu.active {
    left: 0;
}

@media (min-width: 769px) {
    .header {
        position: relative;
    }

    .sidebar-menu {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-width: auto;
        max-width: 100%;
        height: auto;
        max-height: none;
        border-radius: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        overflow: visible;
        z-index: 1001;
    }

    .sidebar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .sidebar-menu-header {
        display: none !important;
    }

    .sidebar-close-btn {
        display: none !important;
    }

    .sidebar-menu-nav {
        padding: 0;
        display: block !important;
    }

    .sidebar-menu-columns {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    .sidebar-menu-column {
        display: flex !important;
        flex-direction: column;
        padding: 0 40px;
    }

    .sidebar-menu-column:not(:last-child) {
        border-right: 1px solid #e0e0e0;
    }

    .sidebar-menu-column .sidebar-menu-item {
        display: flex !important;
        padding: 12px 0;
        border-left: none;
        justify-content: flex-start;
        font-size: 15px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sidebar-menu-column .sidebar-menu-item:hover {
        background: transparent;
        color: var(--primary-color);
        padding-left: 0;
    }

    .sidebar-menu-column .sidebar-menu-item i {
        margin-right: 10px;
        width: 20px;
        display: inline-block !important;
    }

    .sidebar-menu-column .sidebar-menu-item span {
        display: inline-block !important;
    }
}

.sidebar-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-logo img {
    max-width: 120px;
    height: auto;
}

.sidebar-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: background 0.3s;
}

.sidebar-close-btn:hover {
    background: #f5f5f5;
}

.sidebar-menu-nav {
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.sidebar-menu-nav::-webkit-scrollbar {
    display: none; 
}

.sidebar-menu-columns {
    display: none !important;
}

.sidebar-menu.active .sidebar-menu-columns {
    display: grid !important;
}

@media (max-width: 768px) {
    .sidebar-menu-columns {
        display: block;
    }

    .sidebar-menu-column {
        display: block;
        padding: 0;
        border: none;
    }

    .sidebar-menu-column:not(:last-child) {
        border-right: none;
    }
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-menu-item:hover {
    background: #f5f5f5;
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.sidebar-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: #666;
    transition: color 0.3s;
}

.sidebar-menu-item:hover i {
    color: var(--primary-color);
}

.sidebar-menu-item span:not(.sidebar-menu-badge) {
    flex: 1;
}

.sidebar-menu-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.sidebar-menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 10px 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

@media (min-width: 1201px) {
    .header-actions .icon-link.icon-login {
        display: none !important;
    }

    .header-actions .btn-login.desktop-login {
        display: flex !important;
    }
}

.header-actions .header-actions-item {
    display: flex;
    align-items: center;
}

.header-actions .header-icons {
    margin-left: auto;
    gap: 5px;
}

.catalog-wrapper {
    position: relative;
    z-index: 1001;
}

.btn-catalog {
    position: relative;
    z-index: 1;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    height: 40px;
}

.btn-catalog .catalog-icon {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: opacity 0.3s;
}

.btn-catalog .catalog-close-icon {
    display: none;
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: opacity 0.3s;
}

.btn-catalog.active .catalog-icon {
    display: none !important;
}

.btn-catalog.active .catalog-close-icon {
    display: block !important;
}

.btn-catalog:not(.active) .catalog-icon {
    display: block !important;
}

.btn-catalog:not(.active) .catalog-close-icon {
    display: none !important;
}

.catalog-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 800px;
    max-height: 600px;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

.catalog-menu.active {
    display: block;
}

.catalog-menu-content {
    display: flex;
    height: 100%;
    max-height: 600px;
}

.catalog-button-large {
    display: none;
}

.catalog-categories-grid {
    display: none;
}

.catalog-main-categories {
    width: 280px;
    background: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    padding: 15px 0;
}

@media (min-width: 769px) {
    .catalog-button-large {
        display: none;
    }

    .catalog-categories-grid {
        display: flex !important;
        flex-direction: column;
        width: 280px;
        background: #f9f9f9;
        border-right: 1px solid #e0e0e0;
        overflow-y: auto;
        padding: 0;
        gap: 0;
        flex-shrink: 0;
    }

    .catalog-categories-grid .catalog-main-item {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        padding: 12px 5px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s;
        border-left: 3px solid transparent;
        border-radius: 0;
        border: none;
        border-left: 3px solid transparent;
        width: 100%;
        text-align: left;
    }

    .catalog-categories-grid .catalog-main-item:hover,
    .catalog-categories-grid .catalog-main-item.active {
        background: white;
        border-left-color: var(--primary-color);
        color: var(--primary-color);
        transform: none;
        box-shadow: none;
    }

    .catalog-categories-grid .catalog-main-item img {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain;
        flex-shrink: 0;
    }

    .catalog-categories-grid .catalog-main-item span {
        font-size: 14px !important;
        font-weight: 500;
        text-align: left;
    }

    .catalog-main-categories {
        display: block;
        width: 280px;
        background: #f9f9f9;
        border-right: 1px solid #e0e0e0;
        overflow-y: auto;
        padding: 15px 0;
        flex-shrink: 0;
    }

    .catalog-subcategories {
        display: block !important;
        flex: 1;
        padding: 10px;
        overflow-y: auto;
        min-height: 400px;
    }
}

.catalog-main-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.catalog-main-item:hover,
.catalog-main-item.active {
    background: white;
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.catalog-main-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.catalog-main-item span {
    font-size: 14px;
    font-weight: 500;
}

.catalog-subcategories {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    min-height: 400px;
    display: none; 
}

.catalog-subcategories.has-active {
    display: block; 
}

.catalog-subcategory-content {
    display: none;
}

.catalog-subcategory-content.active {
    display: block;
}

.subcategory-columns {
    display: flex;
    gap: 10px;
    height: 100%;
}

.subcategory-column {
    flex: 0 0 250px;
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
}

.subcategory-column h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.subcategory-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-column ul li {
    margin: 0 0 5px 0;
}

.subcategory-column ul li a {
    display: block;
    padding: 10px 0px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s;
    cursor: pointer;
}

.subcategory-column ul li a:hover,
.subcategory-column ul li a.active {
    background: var(--primary-color-lighter);
    color: var(--primary-color);
    padding-left: 10px;
}

.sub-subcategory-column {
    flex: 1;
    min-width: 0;
    display: none; 
}

.sub-subcategory-column.has-active {
    display: block; 
}

.sub-subcategory-content {
    display: none;
}

.sub-subcategory-content.active {
    display: block; 
}

.sub-subcategory-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.sub-subcategory-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-subcategory-content ul li {
    margin: 0;
}

.sub-subcategory-content ul li a {
    display: block;
    padding: 8px 0px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s;
}

.sub-subcategory-content ul li a:hover {
    background: var(--primary-color-lighter);
    color: var(--primary-color);
    padding-left: 10px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 350px;
    margin-left: -70px;
}

.search-box .search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: #f5f5f5;
    height: 40px;
    padding-left: 80px;
}

.search-box .search-input:focus {
    border-color: var(--primary-color);
    background: white;
}

.search-icon-right {
    position: absolute;
    right: 15px;
    top: 40%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    object-fit: contain;
    border: none;
    background-color: transparent;
}

.city-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0 15px;
    height: 40px;
    min-width: 200px;
}

.city-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 8px;
    pointer-events: none;
    z-index: 2;
}

.city-dropdown {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.city-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    height: 100%;
}

.city-selected-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.city-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #999;
    margin-left: 8px;
    transition: transform 0.3s;
}

.city-dropdown.active .city-arrow {
    transform: rotate(180deg);
}

.city-dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.city-dropdown.active .city-dropdown-list {
    display: block;
}

.city-dropdown-list li {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.city-dropdown-list li:hover {
    background: #f5f5f5;
}

.city-select-wrapper:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
}

.language-select-wrapper {
    position: relative;
    cursor: pointer;
}

.language-select-wrapper i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.language-dropdown {
    position: relative;
    flex: 1;
}

.language-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.language-selected-text {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.language-arrow {
    font-size: 12px;
    color: #666;
    margin-left: 8px;
    transition: transform 0.3s;
}

.language-dropdown.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    min-width: 150px;
    overflow-y: auto;
    display: none;
}

.language-dropdown.active .language-dropdown-list {
    display: block;
}

.language-dropdown-list li {
    padding: 0;
    margin: 0;
}

.language-dropdown-list li a {
    display: block;
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.language-dropdown-list li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.btn-search {
    position: relative;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
    white-space: nowrap;
    height: 40px;
    margin-left: -60px;
}

.btn-search:hover {
    background-color: var(--primary-color-dark);
}

.icon-link {
    margin: 0 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-login {
    background: #DDDDDD;
    border: none;
    color: #333;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    height: 40px;
    text-decoration: none;
}

.mobile-search-wrapper {
    display: none;
}

@media (max-width: 1200px) {
    .mobile-search-wrapper {
        display: block;
        padding-top: 15px;
    }

    .mobile-search-box {
        width: 100%;
        margin: 0;
    }

    .mobile-search-box .search-input {
        width: 100%;
        padding: 12px 45px 12px 15px;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.3s;
        background: #f5f5f5;
        height: 40px;
    }

    .mobile-search-box .search-input:focus {
        border-color: var(--primary-color);
        background: white;
    }
}

@media (min-width: 1201px) {
    .mobile-search-wrapper {
        display: none !important;
    }
}

.categories-section {
    padding: 30px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 50px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item img {
    width: 100px;
    height: 100px;
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.category-name {
    font-size: 14px;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.catalog-wrapper-categories {
    position: relative;
    z-index: 1001;
    display: none;
}

@media (max-width: 768px) {
    .catalog-wrapper-categories {
        display: block;
    }
}

.catalog-menu-categories {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 800px;
    max-height: 600px;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

.catalog-menu-categories.active {
    display: block;
}

@media (max-width: 992px) {
    .catalog-menu-categories {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .catalog-button-large {
        display: none;
    }

    .catalog-categories-grid {
        display: none;
    }

    .catalog-main-categories {
        display: block;
    }

    .catalog-menu-categories {
        min-width: 100%;
        left: 0;
        right: 0;
    }
}

.filter-section {
    padding: 20px 0;
    border-top: 1px solid #FF656B;
}

.filter-bar {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    padding: 10px 0;
}

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

.filter-bar ul {
    display: flex;
    width: 100%;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-bar li {
    position: relative;
    background-color: #FFF2F2;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.filter-bar li:after {
    content: "";
    display: block;
    width: 15px;
    height: 10px;
    background: #fff2f2;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    position: absolute;
    right: -10px;
    top: 40%;
}

.filter-bar li:last-child:after {
    display: none;
}

.filter-bar li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 20px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.3s;
}

.filter-bar li a.active {
    background-color: var(--primary-color);
    color: white;
}

.products-section {
    margin-bottom: 50px;
    text-align: right;
}

.products-section .sort-filter-form {
    margin-bottom: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    background-color: #F9F9F9;
    padding: 40px;
    border-radius: 15px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card-link:hover {
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .product-image {
    flex: 0 0 auto;
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 15px;
}

.product-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav-paginations {
    display: flex;
    list-style: none;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-paginations__item {
    display: inline-block;
}

.nav-paginations__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-paginations__link:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-paginations__item--active .nav-paginations__link {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.nav-paginations__item--active .nav-paginations__link:hover {
    background: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: white;
}

.nav-paginations__item--first .nav-paginations__link,
.nav-paginations__item--last .nav-paginations__link {
    font-weight: 600;
}

.nav-paginations__item--prev .nav-paginations__link,
.nav-paginations__item--next .nav-paginations__link {
    font-weight: 600;
}

.nav-paginations__item--prev .nav-paginations__link::before {
    content: '← ';
    margin-right: 4px;
}

.nav-paginations__item--next .nav-paginations__link::after {
    content: ' →';
    margin-left: 4px;
}

.nav-paginations__item--first .nav-paginations__link::before {
    content: '« ';
    margin-right: 4px;
}

.nav-paginations__item--last .nav-paginations__link::after {
    content: ' »';
    margin-left: 4px;
}

.empty-bookmark-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

.empty-bookmark-section p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.product-bookmark {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.product-bookmark:hover {
    transform: scale(1.1);
}

.product-badge {
    background: transparent;
    border: none;
    float: right;
}

.product-badge:after {
    content: "";
    display: block;
    clear: both;
}

.product-info {
    padding: 5px 15px;
    position: relative;
    background-color: #EFEFEF;
    border-radius: 15px;
    margin-top: 0;
    flex: 0 0 auto;
}

.product-info-footer {
    margin-top: 0;
    border-radius: 0 0 15px 15px;
    padding-top: 0;
}

.product-card .product-card-link .product-info {
    border-radius: 15px 15px 0 0;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #3A3A3A;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #7D7D7D;
}

.product-location-time {
    font-size: 12px;
    color: #7D7D7D;
    margin-top: 2px;
}

.product-location-time .product-meta-link {
    color: inherit;
    text-decoration: none;
}

.product-location-time .product-meta-link:hover,
.product-meta .product-meta-link:hover {
    color: var(--primary-color, #333);
    text-decoration: underline;
}

.product-meta {
    font-size: 12px;
    color: #7D7D7D;
    margin-top: 2px;
}

.product-meta .product-meta-link {
    color: inherit;
    text-decoration: none;
}

.empty-item-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

.empty-item-section p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.empty-store-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

.empty-store-section p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.footer {
    background: var(--primary-color);
    color: white;
    padding-top: 50px;
    margin-top: auto;
}

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

.footer-content .footer-column-2 {
    margin-left: 75px;
}

.footer-content .footer-column-4 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-disclaimer {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.footer-copyright {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

 -voen {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-title a {
    color: white;
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p a{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
}

.contact-info i {
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.footer-bottom {
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
    opacity: 0.9;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom p a {
    color: white;
    transition: opacity 0.3s;
}

.search-icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.search-city {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    cursor: pointer;
    z-index: 1;
}

.breadcrumb-nav {
    padding: 30px 0 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    border-bottom: 1px solid #BDBDBD;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb-separator {
    color: #999;
}

.product-title-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    margin-bottom: 20px;
    gap: 40px;
}

.product-title-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-title-main {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.product-count {
    font-size: 14px;
    font-weight: 400;
    color: #7D7D7D;
}

.product-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-filter-select {
    padding: 8px 20px;
    border: none;
    background: #F5F5F5;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #8C8C8C;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238C8C8C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.sort-filter-select:hover {
    background-color: #E4E4E4;
}

.price-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #F5F5F5;
    border-radius: 20px;
}

.price-filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #8C8C8C;
    padding: 8px 20px;
    flex: 1;
}

.price-filter-input {
    padding: 8px;
    border: none;
    background: #E4E4E4;
    border-radius: 20px;
    font-size: 14px;
    color: #8C8C8C;
    width: 80px;
    outline: none;
}

.price-filter-input::placeholder {
    color: #999;
}

.price-filter-btn {
    padding: 8px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.price-filter-btn:hover {
    background: var(--primary-color-dark);
}

.product-actions-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 10px;
    background: #F5F5F5;
    border-color: #F5F5F5;
    border-radius: 20px;
}

.action-btn-top {
    background: transparent;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.action-btn-top i {
    font-size: 16px;
}

.product-detail-section {
    padding: 30px 0;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-images-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: start;
}

.product-detail-gallery-main {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.main-product-image-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

.main-product-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.product-image-placeholder.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slide-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.slide-btn-prev {
    left: 15px;
}

.slide-btn-next {
    right: 15px;
}

.image-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sunglasses-display {
    width: 200px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.sunglasses-display::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.product-thumbnails {
    scrollbar-width: none;
}

.product-thumbnails:hover::-webkit-scrollbar {
    display: block;
    width: 4px;
}

.product-thumbnails:hover::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.product-thumbnails:hover::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    transition: background 0.3s;
}

.product-thumbnails:hover::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.2);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
}

.product-info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-date-box {
    background: #f5f5f5;
    padding: 10px 30px;
    border-radius: 15px;
    margin-bottom: 0;
}

.product-price-large {
    font-size: 32px;
    font-weight: 700;
    color: #3A3A3A;
}

.product-meta {
    margin-bottom: 0;
}

.location-time {
    color: #666;
    font-size: 14px;
}

.seller-info-box {
    background: #f5f5f5;
    padding: 10px 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
}

.seller-info-box .seller-info-content-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.seller-info-box .seller-logo {
    flex-shrink: 0;
}

.seller-info-box .seller-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.seller-info-box .seller-info-content {
    flex: 1;
}

.seller-info-box .seller-info-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.seller-info-box .seller-name {
    font-size: 16px;
    font-weight: 700;
    color: #767676;
    margin-bottom: 5px;
}

.seller-listings {
    font-size: 13px;
    color: #767676;
}

.seller-since {
    font-size: 13px;
    color: #999;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.seller-contact {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.seller-phone {
    background: #FF383C;
    color: white;
}

.seller-message {
    background: var(--primary-color);
    color: white;
}

.store-description {
    padding: 15px 0;
    background: transparent;
    border-radius: 8px;
    margin-bottom: 0;
}

.store-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-go-to-store {
    width: 100%;
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    text-align: center;
}

.store-details-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-info-box {
    background: #f5f5f5;
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.user-info-content-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    flex-shrink: 0;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info-content {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.user-listings {
    font-size: 14px;
    color: #666;
}

.view-more-items-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.3s;
}

.view-more-items-link:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.user-info-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-contact {
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.user-phone {
    background: #FF383C;
    color: white;
}

.user-phone:hover {
    background: #e02e32;
}

.user-message {
    background: var(--primary-color);
    color: white;
}

.user-message:hover {
    background: var(--primary-color-dark);
}

.store-info-box {
    background: #f5f5f5;
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
}

.store-info-content-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.store-logo {
    flex-shrink: 0;
}

.store-logo img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.store-info-content {
    flex: 1;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.store-info-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-contact {
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.store-phone {
    background: #FF383C;
    color: white;
}

.store-phone:hover {
    background: #e02e32;
}

.store-message {
    background: var(--primary-color);
    color: white;
}

.store-message:hover {
    background: var(--primary-color-dark);
}

.store-info-box .store-details-box {
    margin-top: 10px;
    margin-bottom: 0;
}

.store-hours,
.store-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #767676;
    font-weight: bold;
}

.store-hours i,
.store-address i {
    color: var(--primary-color);
    width: 20px;
}

.store-hero-section {
    margin-bottom: 40px;
    position: relative;
}

.store-hero-background {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.store-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.store-hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.store-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.store-hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 800px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.store-hero-description p {
    margin: 0;
}

.store-hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.store-hero-item-count {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.store-detail-section {
    margin-bottom: 40px;
}

.store-info-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.store-detail-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
}

.store-info-sidebar {
    position: sticky;
    top: 100px;
}

.store-info-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-info-card .store-info-content-top {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.store-info-card .store-info-content-bottom {
    margin-top: 5px;
}

.store-info-card .store-details-box {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.store-info-card .product-description-left {
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.store-info-card .product-description-left p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.store-items-content {
    min-width: 0;
}

.store-items-content .product-title-header {
    margin-bottom: 25px;
}

.store-items-content .section-title {
    margin-bottom: 0;
}

.store-items-content .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .store-detail-layout {
        grid-template-columns: 300px 1fr;
        gap: 20px;
    }

    .store-items-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .store-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .store-info-sidebar {
        position: static;
    }

    .store-items-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .store-items-content .products-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .store-hero-background {
        min-height: 300px;
        border-radius: 12px;
    }

    .store-hero-content {
        padding: 40px 15px;
        gap: 15px;
    }

    .store-hero-logo {
        width: 100px;
        height: 100px;
    }

    .store-hero-title {
        font-size: 28px;
    }

    .store-hero-description {
        font-size: 16px;
    }

    .store-hero-item-count {
        font-size: 14px;
        padding: 6px 15px;
    }
}

.product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
}

.product-description-left p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.attribute-pill {
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.attribute-pill:hover {
    background: #e0e0e0;
}

.attr-label {
    color: #666;
}

.attr-value {
    color: #333;
    font-weight: 600;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.product-location-time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.vip-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.btn-new-ad {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-new-ad:hover {
    background: var(--primary-color-dark);
    color: white;
}

.new-ad-page {
    padding: 30px 0 60px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.new-ad-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.new-ad-left,
.new-ad-right {
    display: flex;
    flex-direction: column;
}

.form-card {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.required-asterisk {
    color: #ff0000;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.category-dropdown {
    position: relative;
    width: 100%;
}

.category-dropdown-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.category-dropdown-selected:hover {
    border-color: var(--primary-color);
}

.category-dropdown.active .category-dropdown-selected {
    border-color: var(--primary-color);
}

.category-selected-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.category-selected-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.category-arrow {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s;
}

.category-dropdown.active .category-arrow {
    transform: rotate(180deg);
}

.category-dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 8px;
    margin: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.category-dropdown.active .category-dropdown-list {
    display: block;
}

.category-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 6px;
}

.category-dropdown-item:hover {
    background: #f5f5f5;
}

.category-dropdown-item .category-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0;
    flex-shrink: 0;
}

.category-dropdown-item .category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
    flex: 1;
}

.category-dropdown-parent {
    position: relative;
}

.category-parent-item {
    position: relative;
}

.category-arrow-right {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    transition: transform 0.2s;
}

.category-dropdown-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 4px;
    padding-left: 52px;
}

.category-dropdown-submenu.active {
    display: block;
}

.category-child-item {
    padding: 8px 12px;
}

.category-child-item .category-name {
    font-weight: 500;
    font-size: 13px;
    color: #666;
}

.category-child-item:hover {
    background: #f5f5f5;
}

.category-child-item:hover .category-name {
    color: var(--primary-color);
}

.custom-select {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.form-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #7D7D7D;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-input {
    flex: 1;
}

.currency-buttons {
    display: flex;
    gap: 5px;
}

.currency-btn {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.currency-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.currency-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.image-upload-area {
    margin-bottom: 15px;
}

.main-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    background: var(--primary-color-lighter);
    cursor: pointer;
    transition: all 0.3s;
    padding: 30px;
}

.main-upload-box:hover {
    background: var(--primary-color-light);
    border-color: var(--primary-color-dark);
}

.main-upload-box i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.main-upload-box span {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.additional-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.image-item {
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f5f5f5;
    cursor: move;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.image-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.image-item-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
    z-index: 10;
    opacity: 0;
}

.image-item:hover .image-remove-btn {
    opacity: 1;
}

.image-remove-btn:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.image-drag-handle {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
    z-index: 10;
    opacity: 0;
}

.image-item:hover .image-drag-handle {
    opacity: 1;
}

.image-item:active .image-drag-handle {
    cursor: grabbing;
}

.image-placeholder {
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    background: var(--primary-color-lighter);
}

.image-placeholder i {
    color: #999;
    font-size: 24px;
}

.image-instructions {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.image-instructions p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    resize: vertical;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.char-counter {
    text-align: right;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

.char-remaining {
    font-weight: 600;
    color: var(--primary-color);
}

.form-disclaimer {
    color: #828282;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-disclaimer p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.form-submit .btn-submit-ad {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit .btn-submit-ad:hover {
    background: var(--primary-color-dark);
}

.category-grid-section {
    margin-top: 30px;
    padding: 20px;
    background: #F9F9F9;
    border-radius: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-grid-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 10px;
    background: #D9D9D9;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.category-grid-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #717171;
}

.category-grid-count {
    padding: 5px 20px;
    background: #A7A7A7;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    margin-left: 10px;
    height: 45px;
    align-items: center;
    display: flex;
}

@media (max-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }

    .search-box {
        min-width: 300px;
    }

    .catalog-menu {
        min-width: 700px;
    }

    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 30px;
    }

    .products-grid {
        padding: 30px 40px;
    }

    .category-item{
        align-items: center;
    }

    .btn-new-ad-header-mobile {
        display: flex;
    }

    .categories-section {
        padding: 15px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }

    .categories-section::-webkit-scrollbar {
        display: none; 
    }
}

@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
    }

    .header-actions {
        flex: 1;
        min-width: 0;
    }

    .btn-search {
        margin-left: -50px;
    }

    .catalog-menu {
        min-width: 600px;
    }

    .catalog-main-categories {
        width: 240px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .category-item img {
        width: 80px;
        height: 80px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px 30px;
        gap: 20px;
    }

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

    .footer-content .footer-column-4 {
        align-items: flex-start;
    }
}

@media (max-width: 992px) {
    .catalog-menu {
        min-width: 500px;
    }

    .catalog-main-categories {
        width: 200px;
    }

    .subcategory-column {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo img {
        max-width: 100px;
        height: auto;
    }

    .header-actions {
        flex: 1;
    }

    .header-actions-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-catalog {
        padding: 10px 15px;
        font-size: 13px;
    }

    .catalog-menu {
        min-width: calc(100vw - 30px);
        left: 0;
        right: 0;
        max-height: 70vh;
    }

    .catalog-menu-content {
        flex-direction: column;
        max-height: 70vh;
    }

    .catalog-main-categories {
        width: 100%;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 10px;
    }

    .catalog-main-item {
        padding: 8px 10px;
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .catalog-main-item:hover,
    .catalog-main-item.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }

    .catalog-main-item img {
        width: 35px;
        height: 35px;
    }

    .catalog-main-item span {
        font-size: 12px;
    }

    .catalog-subcategories {
        min-height: auto;
        padding: 8px;
    }

    .categories-section {
        padding: 0;
    }   

    .subcategory-columns {
        flex-direction: column;
        gap: 5px;
    }

    .subcategory-column {
        flex: 1;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 15px;
    }

    .sub-subcategory-column {
        width: 100%;
    }

    .search-box {
        width: 100%;
        min-width: 100%;
        margin-left: 0;
    }

    .search-box .search-input {
        padding-left: 15px;
        padding-right: 45px;
        width: 100%;
    }

    .city-select-wrapper {
        width: 100%;
        min-width: 100%;
    }

    .btn-search {
        width: 100%;
        margin-left: 0;
        padding: 12px 20px;
    }

    .header-icons {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 8px;
        border-top: 1px solid rgba(148, 163, 184, 0.25);
    }

    .icon-link {
        margin: 0 2px;
        flex: 1;
        justify-content: center;
        padding: 8px 0;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.03);
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
        transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    }

    .icon-link:hover {
        background: rgba(15, 23, 42, 0.06);
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    }

    .btn-new-ad-header {
        width: 100%;
        justify-content: center;
        margin: 0;
    }

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

    .categories-grid {
        display: flex;
        gap: 15px;
        min-width: max-content;
        padding: 10px 0;
    }

    .category-item {
        padding: 8px 5px;
        flex-shrink: 0;
        min-width: 70px;
        max-width: 80px;
        width: 80px;
    }

    .category-item img {
        width: 60px;
        height: 60px;
    }

    .btn-catalog-mobile .catalog-icon-mobile,
    .btn-catalog-mobile .catalog-close-icon-mobile {
        width: 60px;
        height: 60px;
    }

    .category-name {
        font-size: 11px;
        margin-top: 5px;
        text-align: center;
    }

    .filter-section {
        padding: 15px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        padding-bottom: 5px;
    }

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

    .filter-bar ul {
        flex-wrap: nowrap;
        gap: 8px;
        min-width: max-content;
    }

    .filter-bar li {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .filter-bar li a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .products-section {
        margin-bottom: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 15px;
    }

    .product-card {
        border-radius: 10px;
        overflow: hidden;
    }

    .product-image {
        border-radius: 10px;
    }

    .product-info {
        padding: 5px 8px;
    }

    .product-price {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .product-title {
        font-size: 13px;
        line-height: 1.25;
        margin-bottom: 0;
    }

    .product-location-time {
        font-size: 11px;
    }

    .product-bookmark {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    .product-bookmark img {
        width: 18px;
    }

    .footer {
        padding-top: 40px;
        padding-bottom: 30px;
    }

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

    .footer-content .footer-column-2 {
        margin-left: 0;
    }

    .footer-content .footer-column-4 {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .social-icons {
        gap: 15px;
    }

    .sidebar-menu {
        width: 300px;
        max-width: 90%;
    }

    .sidebar-menu-header {
        padding: 15px;
    }

    .sidebar-logo img {
        max-width: 100px;
    }

    .sidebar-menu-item {
        padding: 12px 15px;
        font-size: 15px;
    }

    .sidebar-menu-item i {
        font-size: 16px;
    }

    .breadcrumb-nav {
        padding: 20px 0 10px;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .product-title-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .product-title-header form {
        width: 100%;
        margin-top: 10px;
    }

    .price-filter-group {
        width: 100%;
        margin-top: 0;
    }

    .product-filters {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .product-actions-top {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-images-main {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-detail-gallery-main {
        flex-direction: column;
        gap: 12px;
    }

    .main-product-image-wrapper {
        width: 100%;
    }

    .main-product-image {
        width: 100%;
        aspect-ratio: 1;
        border-radius: 10px;
    }

    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 8px;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        border-radius: 8px;
        cursor: pointer;
    }

    .slide-btn {
        width: 35px;
        height: 35px;
    }

    .slide-btn img {
        width: 16px;
        height: 16px;
    }

    .product-price-large {
        font-size: 28px;
    }

    .price-date-box,
    .seller-info-box {
        padding: 15px 20px;
    }

    .contact-buttons {
        gap: 10px;
    }

    .seller-contact {
        padding: 12px 15px;
        font-size: 14px;
    }

    .new-ad-page {
        padding: 20px 0 40px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .new-ad-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-card {
        padding: 20px;
    }

    .form-card-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .category-dropdown-selected {
        padding: 10px 12px;
    }

    .category-selected-image {
        width: 35px;
        height: 35px;
    }

    .price-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .additional-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .new-ad-left,
    .new-ad-right {
        width: 100%;
    }

    .toggle-group {
        gap: 15px;
    }

    .toggle-item {
        gap: 10px;
    }

    .toggle-label {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .form-input,
    .form-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-textarea {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 120px;
    }

    .char-counter {
        font-size: 12px;
        margin-top: 6px;
    }

    .category-dropdown-list {
        max-height: 250px;
        overflow-y: auto;
    }

    .category-dropdown-item {
        padding: 10px;
    }

    .category-dropdown-item .category-image {
        width: 35px;
        height: 35px;
    }

    .category-dropdown-item .category-name {
        font-size: 13px;
    }

    .image-upload-area {
        margin-bottom: 12px;
    }

    .main-upload-box {
        min-height: 150px;
        padding: 20px;
    }

    .main-upload-box i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .main-upload-box span {
        font-size: 14px;
    }

    .image-instructions {
        padding: 12px;
    }

    .image-instructions p {
        font-size: 12px;
        line-height: 1.5;
    }

    .form-disclaimer {
        padding: 12px;
        margin-bottom: 15px;
    }

    .form-disclaimer p {
        font-size: 12px;
        line-height: 1.5;
    }

    .form-submit {
        margin-top: 15px;
        justify-content: center;
    }

    .btn-submit-ad {
        padding: 10px 20px;
        font-size: 16px;
        width: 100%;
    }

    .product-title-left {
        margin-bottom: 5px;
    }

    .product-title-main {
        font-size: 22px;
    }

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

    .price-filter-group {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px;
        flex-wrap: nowrap;
        width: auto;
        margin: 0 auto;
    }

    .price-filter-label {
        padding: 6px 12px;
        font-size: 12px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .price-filter-input {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 80px;
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 12px;
        width: 70px;
    }

    .price-filter-btn {
        flex: 0 0 auto;
        padding: 6px 16px;
        font-size: 12px;
        border-radius: 12px;
        white-space: nowrap;
    }

    .category-grid-section {
        padding: 15px;
        margin-top: 20px;
    }

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

    .category-grid-item {
        padding: 8px 0 8px 8px;
    }

    .category-grid-name {
        font-size: 12px;
    }

    .category-grid-count {
        padding: 4px 15px;
        font-size: 12px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 8px 0;
    }

    .logo img {
        max-width: 100px;
    }

    .btn-catalog {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-catalog .catalog-icon,
    .btn-catalog .catalog-close-icon {
        width: 16px;
        height: 16px;
    }

    .catalog-menu {
        min-width: calc(100vw - 24px);
        max-height: 60vh;
    }

    .catalog-main-categories {
        grid-template-columns: repeat(2, 1fr);
        max-height: 150px;
        padding: 8px;
    }

    .catalog-main-item {
        padding: 6px 8px;
    }

    .catalog-main-item img {
        width: 30px;
        height: 30px;
    }

    .catalog-main-item span {
        font-size: 11px;
    }

    .catalog-subcategories {
        padding: 5px;
    }

    .categories-grid {
        display: flex;
        gap: 15px;
        min-width: max-content;
    }

    .category-item {
        flex-shrink: 0;
        min-width: 70px;
        max-width: 80px;
        width: 80px;
        padding: 8px 5px;
    }

    .category-item img {
        width: 60px;
        height: 60px;
    }

    .btn-catalog-mobile .catalog-icon-mobile,
    .btn-catalog-mobile .catalog-close-icon-mobile {
        width: 60px;
        height: 60px;
    }

    .category-name {
        font-size: 11px;
    }

    .sidebar-menu {
        width: 280px;
        max-width: 85%;
    }

    .sidebar-menu-header {
        padding: 12px;
    }

    .sidebar-logo img {
        max-width: 90px;
    }

    .sidebar-menu-item {
        padding: 10px 12px;
        font-size: 14px;
    }

    .sidebar-menu-item i {
        font-size: 15px;
        width: 18px;
    }

    .breadcrumb-nav {
        padding: 15px 0 8px;
        font-size: 11px;
    }

    .product-title-main {
        font-size: 20px;
    }

    .product-actions-top {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .action-btn-top {
        padding: 8px 20px;
        font-size: 13px;
    }

    .product-detail-content {
        gap: 20px;
    }

    .product-price-large {
        font-size: 24px;
    }

    .price-date-box,
    .seller-info-box {
        padding: 12px 15px;
    }

    .seller-info-box .seller-logo img {
        width: 40px;
        height: 40px;
    }

    .seller-name {
        font-size: 14px;
    }

    .seller-listings {
        font-size: 12px;
    }

    .seller-contact {
        padding: 10px 12px;
        font-size: 13px;
    }

    .product-attributes {
        gap: 8px;
    }

    .attribute-pill {
        padding: 8px 15px;
        font-size: 12px;
    }

    .new-ad-page {
        padding: 15px 0 30px;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .form-card {
        padding: 15px;
    }

    .form-card-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-select {
        padding-right: 35px;
    }

    .select-arrow {
        right: 12px;
        font-size: 12px;
    }

    .category-dropdown-selected {
        padding: 8px 10px;
    }

    .category-selected-image {
        width: 30px;
        height: 30px;
    }

    .category-selected-text {
        font-size: 13px;
    }

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

    .toggle-group {
        gap: 12px;
    }

    .toggle-label {
        font-size: 12px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .category-dropdown-list {
        max-height: 200px;
    }

    .category-dropdown-item {
        padding: 8px;
    }

    .category-dropdown-item .category-image {
        width: 30px;
        height: 30px;
    }

    .category-dropdown-item .category-name {
        font-size: 12px;
    }

    .main-upload-box {
        min-height: 150px;
        padding: 20px;
    }

    .main-upload-box i {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .main-upload-box span {
        font-size: 14px;
    }

    .image-instructions {
        padding: 10px;
    }

    .image-instructions p {
        font-size: 11px;
    }

    .form-disclaimer {
        padding: 10px;
        margin-bottom: 12px;
    }

    .form-disclaimer p {
        font-size: 11px;
    }

    .form-submit {
        margin-top: 12px;
        justify-content: center;
    }

    .btn-submit-ad {
        padding: 8px 20px;
        font-size: 16px;
        width: 100%;
    }

    .product-title-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .product-title-header form {
        width: 100%;
        margin-top: 8px;
    }

    .product-title-main {
        font-size: 18px;
    }

    .product-count {
        font-size: 11px;
    }

    .sort-filter-select {
        width: 100%;
    }

    .price-filter-group {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 6px;
        gap: 4px;
        flex-wrap: nowrap;
        width: auto;
        margin: 0 auto;
    }

    .price-filter-label {
        padding: 5px 10px;
        font-size: 11px;
        flex: 0 0 auto;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .price-filter-input {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 70px;
        padding: 5px 6px;
        font-size: 11px;
        border-radius: 10px;
        width: 60px;
    }

    .price-filter-btn {
        flex: 0 0 auto;
        padding: 5px 12px;
        font-size: 11px;
        border-radius: 10px;
        white-space: nowrap;
        margin-top: 0;
    }

    .category-grid-section {
        padding: 12px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .category-grid-item {
        padding: 10px;
    }

    .category-grid-name {
        font-size: 13px;
    }

    .category-grid-count {
        padding: 5px 15px;
        font-size: 13px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 8px 0;
    }

    .logo img {
        max-width: 90px;
    }

    .header-content {
        gap: 10px;
    }

    .header-actions {
        flex: 1;
    }

    .header-actions-item {
        gap: 8px;
    }

    .btn-catalog {
        padding: 10px 12px;
        font-size: 12px;
    }

    .search-box {
        min-width: 200px;
    }

    .search-box .search-input {
        padding: 10px 35px 10px 12px;
        font-size: 13px;
    }

    .city-select-wrapper {
        min-width: 150px;
    }

    .btn-search {
        padding: 10px 15px;
        font-size: 12px;
    }

    .header-icons {
        gap: 5px;
    }

    .icon-link {
        padding: 5px;
    }

    .icon-link img {
        width: 20px;
        height: 20px;
    }

    .btn-new-ad-header {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-new-ad-header span {
        display: none;
    }

    .btn-login {
        padding: 8px 12px;
        font-size: 12px;
    }

    .catalog-menu {
        min-width: calc(100vw - 20px);
        max-height: 55vh;
    }

    .catalog-main-categories {
        grid-template-columns: repeat(2, 1fr);
        max-height: 120px;
        padding: 6px;
    }

    .catalog-main-item {
        padding: 5px;
    }

    .catalog-main-item img {
        width: 28px;
        height: 28px;
    }

    .catalog-main-item span {
        font-size: 10px;
    }

    .categories-grid {
        display: flex;
        gap: 12px;
        min-width: max-content;
    }

    .category-item {
        flex-shrink: 0;
        min-width: 70px;
        max-width: 80px;
        width: 80px;
        padding: 8px 5px;
    }

    .category-item img {
        width: 55px;
        height: 55px;
    }

    .btn-catalog-mobile .catalog-icon-mobile,
    .btn-catalog-mobile .catalog-close-icon-mobile {
        width: 55px;
        height: 55px;
    }

    .category-name {
        font-size: 10px;
    }

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

    .filter-bar {
        padding: 5px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }

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

    .filter-bar ul {
        gap: 3px;
    }

    .filter-bar li {
        padding: 6px 8px;
    }

    .filter-bar li a {
        padding: 4px 10px;
        font-size: 11px;
    }

    .products-section {
        margin-bottom: 20px;
    }

    .products-grid {
        padding: 15px 10px;
    }

    .nav-paginations {
        margin-top: 30px;
        padding: 15px 0;
        gap: 6px;
    }

    .nav-paginations__link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }

    .nav-paginations__item--first .nav-paginations__link,
    .nav-paginations__item--last .nav-paginations__link {
        display: none;
    }

    .product-price {
        font-size: 16px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-location-time {
        font-size: 11px;
    }

    .product-bookmark {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .product-bookmark img {
        width: 16px;
    }

    .footer {
        padding-top: 30px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

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

    .footer-links a {
        font-size: 13px;
    }

    .contact-info p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .social-icons {
        gap: 12px;
    }

    .footer-bottom {
        padding-top: 15px;
        padding-bottom: 0;
        text-align: center;
    }

    .sidebar-menu {
        width: 260px;
        max-width: 80%;
    }

    .sidebar-menu-header {
        padding: 10px;
    }

    .sidebar-logo img {
        max-width: 80px;
    }

    .sidebar-close-btn {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    .sidebar-menu-item {
        padding: 10px;
        font-size: 13px;
        gap: 12px;
    }

    .sidebar-menu-item i {
        font-size: 14px;
        width: 16px;
    }

    .sidebar-menu-badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .sidebar-menu-divider {
        margin: 8px 10px;
    }

    .breadcrumb-nav {
        padding: 12px 0 6px;
        font-size: 10px;
    }

    .product-title-main {
        font-size: 18px;
    }

    .action-btn-top {
        padding: 6px 15px;
        font-size: 12px;
    }

    .action-btn-top img {
        width: 16px;
        height: 16px;
    }

    .product-detail-content {
        gap: 15px;
    }

    .product-images-main {
        gap: 10px;
    }

    .product-detail-gallery-main {
        gap: 10px;
    }

    .main-product-image {
        border-radius: 8px;
    }

    .product-thumbnails {
        gap: 6px;
        padding-bottom: 6px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 6px;
    }

    .slide-btn {
        width: 30px;
        height: 30px;
    }

    .slide-btn img {
        width: 14px;
        height: 14px;
    }

    .product-price-large {
        font-size: 22px;
    }

    .price-date-box,
    .seller-info-box {
        padding: 10px 12px;
    }

    .seller-info-box .seller-logo img {
        width: 35px;
        height: 35px;
    }

    .seller-name {
        font-size: 13px;
    }

    .seller-contact {
        padding: 8px 10px;
        font-size: 12px;
    }

    .store-details-box {
        padding: 12px;
    }

    .store-hours,
    .store-address {
        font-size: 13px;
    }

    .product-attributes {
        gap: 6px;
    }

    .attribute-pill {
        padding: 6px 12px;
        font-size: 11px;
    }

    .new-ad-page {
        padding: 12px 0 25px;
    }

    .page-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .form-card {
        padding: 12px;
    }

    .form-card-title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .form-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .form-input,
    .form-select {
        padding: 8px 10px;
        font-size: 12px;
    }

    .form-textarea {
        padding: 8px 10px;
        font-size: 12px;
        min-height: 100px;
    }

    .form-select {
        padding-right: 30px;
    }

    .select-arrow {
        right: 10px;
        font-size: 11px;
    }

    .category-dropdown-selected {
        padding: 6px 8px;
    }

    .category-selected-image {
        width: 28px;
        height: 28px;
    }

    .category-selected-text {
        font-size: 12px;
    }

    .additional-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .main-upload-box {
        min-height: 120px;
        padding: 15px;
    }

    .main-upload-box i {
        font-size: 32px;
    }

    .main-upload-box span {
        font-size: 13px;
    }

    .toggle-group {
        gap: 10px;
    }

    .toggle-label {
        font-size: 11px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .category-dropdown-list {
        max-height: 180px;
    }

    .category-dropdown-item {
        padding: 6px;
    }

    .category-dropdown-item .category-image {
        width: 28px;
        height: 28px;
    }

    .category-dropdown-item .category-name {
        font-size: 11px;
    }

    .main-upload-box i {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .image-instructions {
        padding: 8px;
    }

    .image-instructions p {
        font-size: 10px;
    }

    .form-disclaimer {
        padding: 8px;
        margin-bottom: 10px;
    }

    .form-disclaimer p {
        font-size: 10px;
    }

    .form-submit {
        margin-top: 10px;
        justify-content: center;
    }

    .btn-submit-ad {
        padding: 8px 18px;
        font-size: 14px;
        width: 100%;
    }

    .product-title-main {
        font-size: 16px;
    }

    .product-count {
        font-size: 10px;
    }

    .category-grid-section {
        padding: 10px;
    }

    .category-grid-item {
        padding: 8px;
    }

    .category-grid-name {
        font-size: 12px;
    }

    .category-grid-count {
        padding: 4px 12px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 8px 0;
    }

    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-toggle span {
        height: 2.5px;
    }

    .logo img {
        max-width: 85px;
    }

    .btn-catalog {
        padding: 10px 12px;
        font-size: 12px;
    }

    .btn-catalog .catalog-icon,
    .btn-catalog .catalog-close-icon {
        width: 16px;
        height: 16px;
    }

    .search-box .search-input {
        padding: 10px 35px 10px 12px;
        font-size: 13px;
    }

    .btn-search {
        padding: 10px 15px;
        font-size: 12px;
    }

    .catalog-menu {
        min-width: calc(100vw - 20px);
        max-height: 50vh;
    }

    .catalog-main-categories {
        max-height: 100px;
        padding: 5px;
        gap: 3px;
    }

    .catalog-main-item {
        padding: 4px;
    }

    .catalog-main-item img {
        width: 24px;
        height: 24px;
    }

    .catalog-main-item span {
        font-size: 9px;
    }

    .categories-grid {
        display: flex;
        gap: 12px;
        min-width: max-content;
    }

    .category-item {
        padding: 8px 5px;
        flex-shrink: 0;
        min-width: 70px;
        max-width: 80px;
        width: 80px;
    }

    .category-item img {
        width: 50px;
        height: 50px;
    }

    .btn-catalog-mobile .catalog-icon-mobile,
    .btn-catalog-mobile .catalog-close-icon-mobile {
        width: 50px;
        height: 50px;
    }

    .category-name {
        font-size: 10px;
    }

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

    .filter-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }

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

    .filter-bar ul {
        gap: 5px;
    }

    .filter-bar li a {
        padding: 5px 10px;
        font-size: 11px;
    }

    .products-grid {
        gap: 10px;
        padding: 10px 6px;
    }

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

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

    .product-location-time {
        font-size: 10px;
    }

    .product-bookmark {
        width: 26px;
        height: 26px;
        top: 5px;
        right: 5px;
    }

    .product-bookmark img {
        width: 14px;
    }

    .sidebar-menu {
        width: 240px;
        max-width: 75%;
    }

    .sidebar-menu-header {
        padding: 8px;
    }

    .sidebar-logo img {
        max-width: 70px;
    }

    .sidebar-close-btn {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .sidebar-menu-item {
        padding: 8px;
        font-size: 12px;
        gap: 10px;
    }

    .sidebar-menu-item i {
        font-size: 13px;
        width: 15px;
    }

    .sidebar-menu-badge {
        padding: 2px 6px;
        font-size: 9px;
    }

    .sidebar-menu-divider {
        margin: 6px 8px;
    }

    .breadcrumb-nav {
        padding: 10px 0 5px;
        font-size: 9px;
    }

    .product-title-main {
        font-size: 16px;
    }

    .action-btn-top {
        padding: 5px 12px;
        font-size: 11px;
    }

    .action-btn-top img {
        width: 14px;
        height: 14px;
    }

    .product-detail-content {
        gap: 12px;
    }

    .product-price-large {
        font-size: 20px;
    }

    .price-date-box,
    .seller-info-box {
        padding: 8px 10px;
    }

    .seller-info-box .seller-logo img {
        width: 30px;
        height: 30px;
    }

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

    .seller-contact {
        padding: 6px 8px;
        font-size: 11px;
    }

    .store-details-box {
        padding: 10px;
    }

    .store-hours,
    .store-address {
        font-size: 12px;
    }

    .product-attributes {
        gap: 5px;
    }

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

    .new-ad-page {
        padding: 10px 0 20px;
    }

    .page-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .form-card {
        padding: 10px;
    }

    .form-card-title {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .form-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .form-input,
    .form-select {
        padding: 6px 8px;
        font-size: 11px;
    }

    .form-textarea {
        padding: 6px 8px;
        font-size: 11px;
        min-height: 80px;
    }

    .form-select {
        padding-right: 25px;
    }

    .select-arrow {
        right: 8px;
        font-size: 10px;
    }

    .category-dropdown-selected {
        padding: 5px 6px;
    }

    .category-selected-image {
        width: 25px;
        height: 25px;
    }

    .category-selected-text {
        font-size: 11px;
    }

    .additional-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .toggle-group {
        gap: 8px;
    }

    .toggle-label {
        font-size: 10px;
    }

    .toggle-switch {
        width: 45px;
        height: 24px;
    }

    .toggle-slider:before {
        height: 18px;
        width: 18px;
    }

    .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(21px);
    }

    .form-group {
        margin-bottom: 8px;
    }

    .category-dropdown-list {
        max-height: 150px;
    }

    .category-dropdown-item {
        padding: 5px;
    }

    .category-dropdown-item .category-image {
        width: 25px;
        height: 25px;
    }

    .category-dropdown-item .category-name {
        font-size: 10px;
    }

    .main-upload-box {
        min-height: 100px;
        padding: 12px;
    }

    .main-upload-box i {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .main-upload-box span {
        font-size: 12px;
    }

    .image-instructions {
        padding: 6px;
    }

    .image-instructions p {
        font-size: 9px;
    }

    .form-disclaimer {
        padding: 6px;
        margin-bottom: 8px;
    }

    .form-disclaimer p {
        font-size: 9px;
    }

    .form-submit {
        margin-top: 8px;
        justify-content: center;
    }

    .btn-submit-ad {
        padding: 6px 15px;
        font-size: 13px;
        width: 100%;
    }

    .product-title-main {
        font-size: 14px;
    }

    .product-count {
        font-size: 9px;
    }

    .category-grid-section {
        padding: 8px;
    }

    .category-grid-item {
        padding: 6px;
    }

    .category-grid-name {
        font-size: 11px;
    }

    .category-grid-count {
        padding: 3px 10px;
        font-size: 11px;
    }
}

.mobile-catalog-wrapper {
    display: none;
}

@media (max-width: 1200px) {
    .mobile-catalog-wrapper {
        display: block;
        margin-bottom: 15px;
    }

    .btn-catalog-mobile {
        position: relative;
    }

    .btn-catalog-mobile .catalog-icon-mobile {
        display: block;
        object-fit: contain;
    }

    .btn-catalog-mobile .catalog-close-icon-mobile {
        display: none;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 0;
    }

    .btn-catalog-mobile.active .catalog-icon-mobile {
        display: none !important;
    }

    .btn-catalog-mobile.active .catalog-close-icon-mobile {
        display: block !important;
    }

    .btn-catalog-mobile .category-name {
        margin-top: 5px;
    }

    .catalog-menu-mobile {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 15px rgba(0,0,0,0.15);
        z-index: 1003;
        transition: left 0.3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .catalog-menu-mobile.active {
        left: 0;
    }

    .catalog-menu-header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        background: white;
        position: sticky;
        top: 0;
        z-index: 20;
        flex-shrink: 0;
    }

    .catalog-menu-logo img {
        max-width: 120px;
        height: auto;
    }

    .catalog-menu-close-btn {
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--primary-color);
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        transition: background 0.3s;
    }

    .catalog-menu-close-btn:hover {
        background: #f5f5f5;
    }

    .catalog-menu-content-mobile {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
        position: relative;
        flex: 1;
    }

    .catalog-categories-grid-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: white;
        overflow-y: auto;
        padding: 15px 0;
        flex: 1;
        transition: transform 0.3s ease;
    }

    .catalog-categories-grid-mobile.hidden {
        transform: translateX(-100%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .catalog-main-item-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 20px;
        border-left: 3px solid transparent;
        text-decoration: none;
        color: #333;
        transition: all 0.3s;
        background: white;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .catalog-main-item-mobile:hover,
    .catalog-main-item-mobile.active {
        background: #f9f9f9;
        border-left-color: var(--primary-color);
        color: var(--primary-color);
    }

    .catalog-main-item-mobile img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .catalog-main-item-mobile span:not(.catalog-arrow-mobile) {
        font-size: 15px;
        font-weight: 500;
        flex: 1;
    }

    .catalog-main-item-mobile .catalog-arrow-mobile {
        font-size: 30px;
        color: #999;
        padding: 0 10px;
        cursor: pointer;
        pointer-events: auto;
        flex-shrink: 0;
        margin-left: auto;
    }

    .catalog-subcategories-mobile {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        padding: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 2;
    }

    .catalog-subcategories-mobile.active {
        transform: translateX(0);
    }

    .catalog-subcategory-content-mobile {
        display: none;
        height: 100%;
    }

    .catalog-subcategory-content-mobile.active {
        display: flex;
        flex-direction: column;
    }

    .catalog-subcategory-content-mobile .subcategory-columns {
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 0;
        position: relative;
    }

    .catalog-subcategory-content-mobile .subcategory-column {
        flex: 1;
        border-right: none;
        border-bottom: none;
        padding: 0;
        overflow-y: auto;
        position: relative;
    }

    .catalog-subcategory-content-mobile .subcategory-column h3 {
        display: none;
    }

    .catalog-subcategory-content-mobile .subcategory-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .catalog-subcategory-content-mobile .subcategory-column ul li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .catalog-subcategory-content-mobile .subcategory-column ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.3s;
        cursor: pointer;
        background: white;
        width: 100%;
    }

    .catalog-subcategory-content-mobile .subcategory-column ul li a .subcategory-link-text {
        flex: 1;
    }

    .catalog-subcategory-content-mobile .subcategory-column ul li a .catalog-arrow-mobile {
        font-size: 30px;
        color: #999;
        padding: 0 10px;
        cursor: pointer;
        pointer-events: auto;
        flex-shrink: 0;
        margin-left: auto;
    }

    .catalog-subcategory-content-mobile .subcategory-column ul li a:hover,
    .catalog-subcategory-content-mobile .subcategory-column ul li a.active {
        background: #f9f9f9;
        color: var(--primary-color);
    }

    .catalog-subcategory-content-mobile .sub-subcategory-column {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        padding: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 2;
        pointer-events: none;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-column.has-active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content {
        display: none;
        height: 100%;
        flex-direction: column;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content.active {
        display: flex;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content h4 {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #e0e0e0;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content h4::before {
        content: '‹';
        font-size: 30px;
        color: var(--primary-color);
        cursor: pointer;
        padding: 5px 10px;
        margin-right: 5px;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content ul {
        list-style: none;
        padding: 10px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        flex: 1;
        overflow-y: auto;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content ul li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content ul li a {
        display: block;
        padding: 15px 20px;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s;
    }

    .catalog-subcategory-content-mobile .sub-subcategory-content ul li a:hover {
        color: var(--primary-color);
        background: #f9f9f9;
    }

    .catalog-subcategory-header-mobile {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        background: white;
        border-bottom: 1px solid #e0e0e0;
        position: sticky;
        top: 0;
        z-index: 20;
        flex-shrink: 0;
    }

    .catalog-subcategory-back-btn {
        background: transparent;
        border: none;
        font-size: 30px;
        color: var(--primary-color);
        cursor: pointer;
        padding: 5px 10px;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 21;
        position: relative;
        min-width: 40px;
        min-height: 40px;
    }

    .catalog-subcategory-back-btn:hover {
        background: #f5f5f5;
        border-radius: 50%;
    }

    .catalog-subcategory-title-mobile {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        flex: 1;
    }

    .catalog-subcategory-list-mobile {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

    .catalog-subcategory-item-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: #333;
        transition: all 0.3s;
    }

    .catalog-subcategory-item-mobile:hover,
    .catalog-subcategory-item-mobile.active {
        background: #f9f9f9;
        color: var(--primary-color);
    }

    .catalog-subcategory-item-mobile::after {
        content: '›';
        font-size: 20px;
        color: #999;
    }

    .catalog-sub-subcategory-list-mobile {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        padding: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 3;
        pointer-events: none;
    }

    .catalog-sub-subcategory-list-mobile.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .catalog-sub-subcategory-header-mobile {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        background: white;
        border-bottom: 1px solid #e0e0e0;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .catalog-sub-subcategory-back-btn {
        background: transparent;
        border: none;
        font-size: 30px;
        color: var(--primary-color);
        cursor: pointer;
        padding: 5px 10px;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .catalog-sub-subcategory-title-mobile {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        flex: 1;
    }

    .catalog-sub-subcategory-item-mobile {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: #666;
        transition: all 0.3s;
    }

    .catalog-sub-subcategory-item-mobile:hover {
        background: #f9f9f9;
        color: var(--primary-color);
    }

}

.mobile-catalog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-catalog-overlay.active {
    display: block;
    opacity: 1;
}

@media (min-width: 1201px) {
    .mobile-catalog-wrapper {
        display: none !important;
    }

    .mobile-catalog-overlay {
        display: none !important;
    }
}

.about-page-wrapper {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.about-sidebar {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 8px;
}

.about-sidebar-nav {
    position: sticky;
    top: 20px;
}

.about-sidebar-menu {
    background-color: #f5f5f5;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-sidebar-menu li {
    margin: 0;
    padding: 0;
}

.about-sidebar-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-decoration: underline;
}

.about-sidebar-link:hover {
    color: var(--primary-color);
    background-color: #f5f5f5;
}

.about-sidebar-link.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    border-bottom-color: var(--primary-color);
}

.about-sidebar-link.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #fff;
}

.about-content {
    flex: 1;
    background: #fff;
    padding: 0;
}

.about-title {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.about-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.about-text p {
    margin: 0 0 20px 0;
}

.about-text h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.about-text h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 12px 0;
    line-height: 1.4;
}

.about-text ul,
.about-text ol {
    margin: 15px 0;
    padding-left: 30px;
}

.about-text li {
    margin: 8px 0;
}

@media (max-width: 768px) {
    .about-page-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 20px 0;
    }

    .about-sidebar {
        flex: 1;
        width: 100%;
    }

    .about-sidebar-nav {
        position: relative;
        top: 0;
    }

    .about-sidebar-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .about-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-text h2 {
        font-size: 20px;
        margin: 25px 0 12px 0;
    }
}

@media (max-width: 480px) {
    .about-page-wrapper {
        padding: 15px 0;
        gap: 20px;
    }

    .about-sidebar-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .about-title {
        font-size: 22px;
    }

    .about-text {
        font-size: 14px;
    }
}

.faq-accordion {
    margin-top: 20px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.faq-question:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.faq-question span {
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    background: #fff;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease 0.2s;
}

.faq-answer-content {
    padding: 10px 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transform: translateY(-10px);
    transition: transform 0.5s ease-out 0.2s, opacity 0.5s ease-out 0.2s;
    opacity: 0;
}

.faq-item.active .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-content p {
    margin: 0 0 10px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 10px 0;
    padding-left: 25px;
}

.faq-answer-content li {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .faq-category-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .faq-question {
        padding: 15px;
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 15px 15px 15px;
        font-size: 14px;
    }

    .faq-items {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .faq-category-title {
        font-size: 18px;
    }

    .faq-question {
        padding: 12px;
        font-size: 14px;
    }

    .faq-answer-content {
        padding: 0 12px 12px 12px;
        font-size: 13px;
    }
}

.advertisement-form-wrapper {
    margin-top: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.advertisement-form-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 25px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.advertisement-form {
    margin-top: 20px;
}

.advertisement-form .form-group {
    margin-bottom: 25px;
}

.advertisement-form .form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.advertisement-form .required-asterisk {
    color: var(--primary-color);
    margin-left: 3px;
}

.advertisement-form .form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.advertisement-form .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 107, 0.1);
}

.advertisement-form .form-input.is-invalid {
    border-color: #dc3545;
}

.advertisement-form .form-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.advertisement-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.advertisement-form .form-submit {
    margin-top: 10px;
}

.btn-advertisement-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-advertisement-submit:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 101, 107, 0.3);
}

.btn-advertisement-submit:active {
    transform: translateY(0);
}

.btn-advertisement-submit i {
    font-size: 18px;
}

.advertisement-form-wrapper .alert {
    margin-bottom: 25px;
    border-radius: 8px;
    padding: 15px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.advertisement-form-wrapper .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.advertisement-form-wrapper .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.advertisement-form-wrapper .alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

@media (max-width: 768px) {
    .advertisement-form-wrapper {
        padding: 20px;
        margin-top: 30px;
    }

    .advertisement-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .advertisement-form .form-input {
        padding: 12px 15px;
        font-size: 15px;
    }

    .btn-advertisement-submit {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .advertisement-form-wrapper {
        padding: 15px;
        margin-top: 25px;
    }

    .advertisement-form-title {
        font-size: 18px;
    }

    .advertisement-form .form-label {
        font-size: 14px;
    }

    .advertisement-form .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }
}

.error404-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error404-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error404-icon {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error404-number {
    font-size: 150px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 10px 30px rgba(255, 101, 107, 0.3);
    position: relative;
    z-index: 2;
}

.error404-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    opacity: 0.1;
    z-index: 1;
}

.error404-illustration svg {
    width: 100%;
    height: 100%;
    animation: rotate404 20s linear infinite;
}

@keyframes rotate404 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.error404-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.error404-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.error404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-error404 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-error404 i {
    font-size: 18px;
}

.btn-error404-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 101, 107, 0.3);
}

.btn-error404-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 101, 107, 0.4);
}

.btn-error404-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-error404-secondary:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-2px);
}

.error404-search {
    margin-top: 40px;
}

.error404-search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.error404-search-form:focus-within {
    box-shadow: 0 6px 25px rgba(255, 101, 107, 0.2);
}

.error404-search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.error404-search-input::placeholder {
    color: #999;
}

.error404-search-btn {
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error404-search-btn:hover {
    background-color: var(--primary-color-dark);
}

.error404-search-btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .error404-wrapper {
        padding: 40px 15px;
        min-height: 60vh;
    }

    .error404-number {
        font-size: 120px;
    }

    .error404-illustration {
        width: 150px;
        height: 150px;
    }

    .error404-title {
        font-size: 28px;
    }

    .error404-description {
        font-size: 16px;
    }

    .error404-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .error404-search-form {
        flex-direction: column;
        border-radius: 15px;
    }

    .error404-search-input {
        border-radius: 15px 15px 0 0;
    }

    .error404-search-btn {
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .error404-number {
        font-size: 100px;
    }

    .error404-illustration {
        width: 120px;
        height: 120px;
    }

    .error404-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .error404-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .error404-actions {
        margin-bottom: 30px;
    }

    .btn-error404 {
        padding: 12px 24px;
        font-size: 15px;
    }
}

.business-page-wrapper {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.business-header {
    margin-bottom: 50px;
}

.business-header-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.business-image {
    flex: 0 0 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.business-header-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.business-header-content {
    flex: 1;
    text-align: left;
}

.business-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-description p {
    margin: 0 0 15px 0;
}

.business-description p:last-child {
    margin-bottom: 0;
}

.business-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.business-form-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 30px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.business-form .form-group {
    margin-bottom: 0;
}

.business-form .form-group-full {
    grid-column: 1 / -1;
}

.business-form .form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-form .required-asterisk {
    color: var(--primary-color);
    margin-left: 3px;
}

.business-form .form-input,
.business-form .form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
}

.business-form .form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.business-form .form-input:focus,
.business-form .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 107, 0.1);
}

.business-form .form-input.is-invalid,
.business-form .form-select.is-invalid {
    border-color: #dc3545;
}

.business-form .form-input.is-invalid:focus,
.business-form .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.business-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-form .form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-business-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-business-submit:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 101, 107, 0.3);
}

.btn-business-submit:active {
    transform: translateY(0);
}

.btn-business-submit i {
    font-size: 20px;
}

.business-form .select2-container {
    width: 100% !important;
}

.business-form .select2-container--bootstrap4 .select2-selection {
    min-height: 56px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    background-color: #fff;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-form .select2-container--bootstrap4 .select2-selection--single {
    height: 56px;
}

.business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding-left: 18px;
    padding-right: 35px;
    color: #333;
    font-size: 16px;
}

.business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    right: 15px;
}

.business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-color: #333 transparent transparent transparent;
    border-width: 6px 6px 0 6px;
    margin-top: -3px;
}

.business-form .select2-container--bootstrap4.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #333 transparent;
    border-width: 0 6px 6px 6px;
    margin-top: -3px;
}

.business-form .select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 107, 0.1);
}

.business-form .select2-container--bootstrap4.select2-container--open .select2-selection {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 107, 0.1);
}

.business-form .select2-dropdown {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-form .select2-results__option {
    padding: 12px 18px;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
}

.business-form .select2-results__option--highlighted {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.business-form .select2-results__option[aria-selected="true"] {
    background-color: var(--primary-color);
    color: #fff;
}

.business-form .select2-search--dropdown .select2-search__field {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.business-form .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 107, 0.1);
}

.business-form .select2-container--bootstrap4.select2-container--invalid .select2-selection {
    border-color: #dc3545;
}

.business-form .select2-container--bootstrap4.select2-container--invalid.select2-container--focus .select2-selection {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

@media (max-width: 992px) {
    .business-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-form .form-group-full {
        grid-column: 1;
    }
}

@media (max-width: 992px) {
    .business-header-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .business-image {
        flex: 1;
        width: 100%;
    }

    .business-header-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .business-page-wrapper {
        padding: 30px 0;
    }

    .business-header {
        margin-bottom: 40px;
    }

    .business-header-wrapper {
        gap: 25px;
    }

    .business-title {
        font-size: 28px;
    }

    .business-description {
        font-size: 16px;
    }

    .business-form-wrapper {
        padding: 30px 20px;
    }

    .business-form-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .business-form-grid {
        gap: 18px;
    }

    .business-form .form-input,
    .business-form .form-select {
        padding: 12px 15px;
        font-size: 15px;
    }

    .business-form .select2-container--bootstrap4 .select2-selection--single {
        height: 44px;
    }

    .business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
        line-height: 44px;
        padding-left: 15px;
        padding-right: 30px;
        font-size: 15px;
    }

    .business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
        right: 12px;
    }

    .business-form .select2-results__option {
        padding: 10px 15px;
        font-size: 15px;
    }

    .btn-business-submit {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .business-page-wrapper {
        padding: 20px 0;
    }

    .business-header {
        margin-bottom: 30px;
    }

    .business-header-wrapper {
        gap: 20px;
    }

    .business-image {
        flex: 1;
    }

    .business-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .business-description {
        font-size: 15px;
    }

    .business-form-wrapper {
        padding: 20px 15px;
    }

    .business-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .business-form .form-label {
        font-size: 14px;
    }

    .business-form .form-input,
    .business-form .form-select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .business-form .select2-container--bootstrap4 .select2-selection--single {
        height: 42px;
    }

    .business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
        line-height: 42px;
        padding-left: 12px;
        padding-right: 28px;
        font-size: 14px;
    }

    .business-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
        right: 10px;
    }

    .business-form .select2-results__option {
        padding: 8px 12px;
        font-size: 14px;
    }

    .btn-business-submit {
        padding: 12px 24px;
        font-size: 15px;
    }
}

.help-page-wrapper {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.help-sidebar {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.help-sidebar-nav {
    padding: 0 20px;
}

.help-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.help-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-sidebar-menu li {
    margin: 0;
    padding: 0;
}

.help-sidebar-link {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 8px;
}

.help-sidebar-link:hover {
    color: var(--primary-color);
    background-color: #f5f5f5;
}

.help-sidebar-link.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

.help-content {
    flex: 1;
    background: #fff;
    padding: 0;
    min-width: 0;
}

.help-category-section {
    margin-bottom: 50px;
    scroll-margin-top: 20px;
    display: none;
}

.help-category-section.active {
    display: block;
}

.help-category-section:last-child {
    margin-bottom: 0;
}

.help-category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.help-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help-faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.help-faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.help-faq-question {
    width: 100%;
    padding: 18px 20px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.help-faq-question:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.help-faq-question span {
    flex: 1;
    line-height: 1.5;
}

.help-faq-icon {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.help-faq-item.active .help-faq-icon {
    transform: rotate(180deg);
}

.help-faq-item.active .help-faq-question {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.help-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    background: #fff;
    opacity: 0;
}

.help-faq-item.active .help-faq-answer {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease 0.2s;
}

.help-faq-answer-content {
    padding: 10px 20px 20px 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transform: translateY(-10px);
    transition: transform 0.5s ease-out 0.2s, opacity 0.5s ease-out 0.2s;
    opacity: 0;
}

.help-faq-item.active .help-faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}

.help-faq-answer-content p {
    margin: 0 0 10px 0;
}

.help-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.help-faq-answer-content ul,
.help-faq-answer-content ol {
    margin: 10px 0;
    padding-left: 25px;
}

.help-faq-answer-content li {
    margin: 5px 0;
}

.help-no-faq {
    color: #999;
    font-style: italic;
    padding: 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 992px) {
    .help-page-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
    }

    .help-sidebar {
        flex: 1;
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }

    .help-sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .help-sidebar-link {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .help-page-wrapper {
        padding: 20px 0;
        gap: 25px;
    }

    .help-sidebar-nav {
        padding: 0 15px;
    }

    .help-sidebar-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .help-sidebar-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .help-category-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .help-faq-question {
        padding: 15px;
        font-size: 15px;
    }

    .help-faq-answer-content {
        padding: 0 15px 15px 15px;
        font-size: 14px;
    }

    .help-faq-list {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .help-sidebar-title {
        font-size: 16px;
    }

    .help-sidebar-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .help-category-title {
        font-size: 20px;
    }

    .help-faq-question {
        padding: 12px;
        font-size: 14px;
    }

    .help-faq-answer-content {
        padding: 0 12px 12px 12px;
        font-size: 13px;
    }
}

.auth-page-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.auth-form-wrapper {
    width: 100%;
}

.auth-form-wrapper .alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-form-wrapper .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-form-wrapper .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-form-wrapper .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.auth-form .required-asterisk {
    color: var(--primary-color);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.phone-prefix {
    padding: 12px 15px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    border-right: 1px solid #e0e0e0;
    white-space: nowrap;
}

.phone-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 0;
}

.phone-input:focus {
    outline: none;
    border: none;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.auth-form .form-submit {
    margin-top: 30px;
}

.btn-auth-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-submit:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 101, 107, 0.3);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.btn-auth-submit i {
    font-size: 14px;
}

.auth-info {
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.auth-info-text {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-info-text i {
    color: var(--primary-color);
    font-size: 14px;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 30px 20px;
        box-shadow: none;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 13px;
    }

    .btn-auth-submit {
        padding: 12px 20px;
        font-size: 15px;
    }
}

.code-input-wrapper {
    position: relative;
}

.code-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s;
}

.code-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 101, 107, 0.1);
    outline: none;
}

.code-input::placeholder {
    letter-spacing: 4px;
    color: #ccc;
    font-weight: 400;
}

.auth-resend {
    margin-top: 20px;
    text-align: center;
}

.auth-resend-form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.btn-auth-resend-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-auth-resend-submit:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 101, 107, 0.3);
}

.btn-auth-resend-submit:active {
    transform: translateY(0);
}

.btn-auth-resend-submit i {
    font-size: 12px;
    transition: transform 0.3s;
}

.btn-auth-resend-submit:hover i {
    transform: rotate(180deg);
}

.auth-resend-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.auth-resend-link:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.auth-resend-link i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .code-input {
        font-size: 20px;
        letter-spacing: 6px;
        padding: 12px 15px;
    }
}

.complain-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.complain-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.complain-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.complain-modal.active .complain-modal-content {
    transform: scale(1);
}

.complain-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.complain-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.complain-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.complain-modal-close:hover {
    color: #333;
}

.complain-modal-body {
    padding: 25px;
}

.complain-form-group {
    margin-bottom: 20px;
}

.complain-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.complain-reasons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.complain-reason-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.complain-reason-item:hover {
    border-color: var(--primary-color);
    background-color: #fff5f7;
}

.complain-reason-item input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.complain-reason-item input[type="radio"]:checked {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.complain-reason-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.complain-reason-item input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.complain-reason-item:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: #fff5f7;
}

.complain-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.complain-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.complain-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.complain-btn-cancel,
.complain-btn-submit {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.complain-btn-cancel {
    background-color: #f5f5f5;
    color: #333;
}

.complain-btn-cancel:hover {
    background-color: #e0e0e0;
}

.complain-btn-submit {
    background-color: var(--primary-color);
    color: white;
}

.complain-btn-submit:hover {
    background-color: var(--primary-color-dark);
}

@media (max-width: 768px) {
    .complain-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .complain-modal-header,
    .complain-modal-body {
        padding: 15px;
    }
}

.panel-page {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    min-height: 60vh;
}

.panel-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.panel-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #F9F9F9;
    border-radius: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.panel-user-info:hover {
    background: #f0f0f0;
}

.panel-user-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.panel-user-detail {
    overflow: hidden;
}

.panel-user-name {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-user-phone {
    font-size: 13px;
    color: #777;
    margin-top: 2px;
    margin-bottom: 0;
}

.panel-nav {
    background: #F9F9F9;
    border-radius: 12px;
    overflow: hidden;
}

.panel-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.panel-nav-item:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

.panel-nav-item.active {
    background: var(--primary-color-lighter);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.panel-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.panel-nav-logout {
    border-top: 1px solid #e8e8e8;
    color: #999;
}

.panel-nav-logout:hover {
    color: #e74c3c;
}

.panel-content {
    flex: 1;
    min-width: 0;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.panel-header .panel-btn {
    font-size: 13px;
    padding: 8px 16px;
}

.panel-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.panel-count {
    font-size: 14px;
    color: #999;
    font-weight: 600;
}

.panel-alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.panel-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.panel-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.panel-alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.panel-filter {
    margin-bottom: 20px;
}

.panel-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.panel-filter-group {
    flex: 1 1 0;
    min-width: 0;
}

.panel-filter-select,
.panel-filter-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Nunito', sans-serif;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.panel-filter-select:focus,
.panel-filter-input:focus {
    border-color: var(--primary-color);
}

.panel-filter-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.panel-filter-btn:hover {
    background: var(--primary-color-dark);
}

.panel-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-item-card {
    display: flex;
    gap: 16px;
    background: #F9F9F9;
    border-radius: 12px;
    padding: 16px;
    transition: box-shadow 0.2s;
}

.panel-item-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.panel-item-disabled {
    opacity: 0.85;
    pointer-events: none;
}

.panel-item-disabled .panel-item-title {
    cursor: default;
    color: inherit;
}

.panel-item-disabled .panel-item-title:hover {
    color: inherit;
}

.panel-item-image {
    width: 140px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.panel-item-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

.panel-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.panel-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.panel-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-item-title:hover {
    color: var(--primary-color);
}

.panel-item-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.panel-item-status-0 {
    background: #fff3cd;
    color: #856404;
}

.panel-item-status-1 {
    background: #f8d7da;
    color: #721c24;
}

.panel-item-status-2 {
    background: #d4edda;
    color: #155724;
}

.panel-item-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
}

.panel-item-edit-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
    transition: color 0.2s;
}

.panel-item-edit-btn:hover {
    color: var(--primary-color);
}

.panel-item-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
}

.panel-item-meta i {
    margin-right: 4px;
}

.panel-item-description {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.panel-item-description p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.panel-item-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.panel-item-delete-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8d7da;
    color: #e74c3c;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.panel-item-delete-btn:hover {
    background: #e74c3c;
    color: white;
}

.panel-item-edit-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.panel-item-edit-link:hover {
    background: var(--primary-color);
    color: white;
}

.panel-upload-file {
    display: none;
}

.panel-upload-area {
    position: relative;
    width: 100%;
    min-height: 180px;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    background: #f9f9f9;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.panel-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-color-lighter);
}

.panel-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    cursor: pointer;
}

.panel-upload-placeholder i {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.panel-upload-area:hover .panel-upload-placeholder i {
    color: var(--primary-color);
}

.panel-upload-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    transition: color 0.3s;
}

.panel-upload-area:hover .panel-upload-placeholder span {
    color: var(--primary-color);
}

.panel-upload-preview {
    position: relative;
    width: 100%;
    min-height: 180px;
}

.panel-upload-preview img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.panel-upload-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.panel-upload-remove:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.panel-tabs {
    margin-bottom: 20px;
}

.panel-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.panel-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}

.panel-tab-btn:hover {
    color: #333;
}

.panel-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.panel-tab-content {
    display: none;
}

.panel-tab-content.active {
    display: block;
}

.panel-empty {
    text-align: center;
    padding: 60px 20px;
    background: #F9F9F9;
    border-radius: 12px;
}

.panel-empty i {
    font-size: 14px;
    color: #ddd;
}

.panel-empty p {
    font-size: 15px;
    color: #999;
    margin-bottom: 20px;
}

.panel-empty-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.panel-empty-btn:hover {
    background: var(--primary-color-dark);
}

.panel-form-card {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 25px;
}

.panel-form .form-group {
    margin-bottom: 18px;
}

.panel-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.panel-form .form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    background: white;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.panel-form .form-input:focus {
    border-color: var(--primary-color);
}

.panel-form .form-input:disabled {
    background: #f0f0f0;
    color: #999;
}

.panel-form .form-text {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.panel-form-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 25px 0;
}

.panel-form-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 18px;
}

.panel-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.panel-form-actions {
    margin-top: 25px;
}

.panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.panel-btn {
    background: #f0f0f0;
    color: #333;
}

.panel-btn:hover {
    background: #e0e0e0;
}

.panel-btn-primary {
    background: var(--primary-color);
    color: white;
}

.panel-btn-primary:hover {
    background: var(--primary-color-dark);
}

.panel-settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-setting-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #F9F9F9;
    border-radius: 12px;
    padding: 18px 20px;
}

.panel-setting-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.panel-setting-info h3 {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-setting-info p {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-top: 2px;
}

.panel-setting-actions {
    margin-top: 20px;
}

.panel-overview {
    margin-bottom: 25px;
}

.panel-overview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    border-radius: 12px;
    padding: 25px;
    color: white;
}

.panel-overview-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.panel-overview-info h3 {
    font-size: 18px;
    font-weight: 700;
}

.panel-overview-info p {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 2px;
}

.panel-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.panel-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F9F9F9;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.panel-quick-link:hover {
    background: var(--primary-color-lighter);
    color: var(--primary-color);
}

.panel-quick-link i {
    font-size: 20px;
    color: var(--primary-color);
}

.panel-quick-link-count {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 600;
    margin-top: 2px;
}

.panel-quick-link-full {
    grid-column: 1 / -1;
}

.panel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.panel-modal.active {
    display: flex;
}

.panel-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.panel-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e0e0e0;
}

.panel-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.panel-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.panel-modal-close:hover {
    color: #333;
}

.panel-modal-body {
    padding: 22px;
}

.panel-modal-body .form-group {
    margin-bottom: 0;
}

.panel-modal-body .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.panel-modal-body .form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.panel-modal-body .form-input:focus {
    border-color: var(--primary-color);
}

.panel-modal-body textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.panel-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 22px;
    border-top: 1px solid #e0e0e0;
}

.panel-modal-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.panel-modal-btn-cancel {
    background: #f5f5f5;
    color: #555;
}

.panel-modal-btn-cancel:hover {
    background: #e8e8e8;
}

.panel-modal-btn-save {
    background: var(--primary-color);
    color: white;
}

.panel-modal-btn-save:hover {
    background: var(--primary-color-dark);
}

@media (max-width: 992px) {
    .panel-page {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .panel-sidebar {
        width: 100%;
    }

    .panel-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .panel-nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
    }

    .panel-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }

    .panel-nav-logout {
        border-top: none;
        border-left: 1px solid #e8e8e8;
    }
}

@media (max-width: 768px) {
    .panel-item-card {
        flex-direction: column;
    }

    .panel-item-image {
        width: 100%;
        height: 180px;
    }

    .panel-item-actions {
        flex-direction: row;
        justify-content: flex-end;
    }

    .panel-filter-form {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .panel-filter-group {
        flex: 1 1 auto;
        min-width: 0;
    }

    .panel-filter-select,
    .panel-filter-input {
        width: 100%;
        padding: 8px 12px;
        font-size: 12px;
    }

    .panel-filter-btn {
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    .panel-quick-links {
        grid-template-columns: 1fr;
    }

    .panel-form-grid {
        grid-template-columns: 1fr;
    }

    .panel-user-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .panel-filter-form {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .panel-filter-group {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }

    .panel-filter-group:nth-child(5),
    .panel-filter-btn {
        flex: 1 1 100%;
    }

    .panel-filter-select,
    .panel-filter-input {
        width: 100%;
        padding: 8px 10px;
        font-size: 11px;
    }

    .panel-filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

.message-list { display: flex; flex-direction: column; gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid #eee; }
.message-list-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #eee; text-decoration: none; color: #333; font-size: 15px; transition: background 0.2s; }
.message-list-item:last-child { border-bottom: none; }
.message-list-item:hover { background: #f9f9f9; }
.message-list-item-unread { background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%); border-left: 4px solid var(--primary-color); font-weight: 600; }
.message-list-item-unread:hover { background: linear-gradient(135deg, #e8efff 0%, #dde5ff 100%); }
.message-list-item-unread .message-list-name { font-weight: 600; }
.message-list-name { font-weight: 500; }
.message-list-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; background: var(--primary-color); color: #fff; font-size: 12px; font-weight: 700; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }

.panel-nav-item { position: relative; }
.message-nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: auto; background: #e74c3c; color: #fff; font-size: 12px; font-weight: 700; border-radius: 11px; box-shadow: 0 2px 6px rgba(231,76,60,0.4); }

.message-chat-header { display: flex; align-items: center; gap: 15px; padding: 15px; border-bottom: 1px solid #eee; }
.message-chat-back { color: #666; font-size: 20px; padding: 5px; }
.message-chat-back:hover { color: var(--primary-color); }
.message-chat-user { display: flex; align-items: center; gap: 12px; flex: 1; }
.message-chat-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-color-lighter); display: flex; align-items: center; justify-content: center; color: var(--primary-color); }
.message-chat-name { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.message-chat-item-link { font-size: 13px; color: var(--primary-color); }
.message-chat-messages { padding: 20px; min-height: 300px; max-height: 500px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.message-bubble { display: flex; }
.message-bubble.mine { justify-content: flex-end; }
.message-bubble.theirs { justify-content: flex-start; }
.message-bubble-inner { max-width: 70%; padding: 10px 14px; border-radius: 12px; }
.message-bubble.mine .message-bubble-inner { background: var(--primary-color); color: #fff; border-bottom-right-radius: 4px; }
.message-bubble.theirs .message-bubble-inner { background: #f0f0f0; color: #333; border-bottom-left-radius: 4px; }
.message-bubble-inner p { margin: 0 0 4px; }
.message-bubble-time { font-size: 11px; opacity: 0.8; }
.message-bubble-read { display: block; font-size: 11px; opacity: 0.9; margin-top: 2px; }
.message-chat-form { display: flex; gap: 10px; padding: 15px; border-top: 1px solid #eee; align-items: flex-end; }
.message-chat-form textarea { flex: 1; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; resize: none; font-family: inherit; }
.message-chat-send { width: 44px; height: 44px; border: none; background: var(--primary-color); color: #fff; border-radius: 8px; cursor: pointer; }