body, p {
    line-height: 1.5;
}
.btn:focus, .btn:active:focus, .form-check-input:focus, .form-control:focus, .form-select:focus, input:focus, select:focus, textarea:focus, button:focus {
    box-shadow: none;
}
input {
    margin: 0;
}
/*
.table tr:last-child td, .table tr:last-child th {
    border: 0;
}
*/
.table {
    font-size: 0.875rem;
    min-width: 100%;
    width: max-content;
}
.table th, .table td {
    padding: 4px 8px;
}
.text-primary {
    color: #000 !important;
}
.progress {
    font-weight: 600;
    font-size: 0.875rem;
    height: 32px;
}
textarea {
    margin: 0;
}
.badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 6px;
}
#logo {
    max-height: 32px;
}
.bg-light {
    background-color: #ebeef0 !important;
}
.btn-sm {
    font-size: 0.875rem !important;
    padding: 3px 8px;
}
.btn, .main-btn {
    font-weight: 600 !important;
    font-size: 16px;
}
.main-btn.btn-active {
    background-color: #333F57;
}
.main-btn.btn-become-seller {
    background-color: #dc3545;
}
.alert {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}
.form-label {
    font-weight: 700;
    font-size: 0.875rem;
}
.form-control, .form-select {
    font-size: 15px;
    border-color: #dee2e6;
}
.form-control:focus, .form-select:focus {
    border-color: var(--main-color);
}
.form-check-input {
    padding: 0;
}
.form-switch .form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.form-switch .form-check-input:focus {
    border-color: var(--main-color);
}
.form-check-input {
    width: 16px;
    height: 16px;
}
.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.form-switch .form-check {
    margin-bottom: 0;
}
.header_navbar {
    background-color: #fff;
    position: relative;
}
.sticky {
    position: fixed;
    z-index: 999999;
    background-color: #fff;
    box-shadow: 0 5px 40px 0 rgba(10, 10, 25, 0.1);
    border-bottom: 1px solid rgba(124, 134, 154, 0.3);
    transition: all 0.3s ease-out 0s;
}
.navbar-nav .nav-item a {
    font-weight: 600;
    color: #000;
}
.navbar-nav .nav-item .sub-menu li a {
    font-weight: 400;
}
.navbar-collapse {
    justify-content: flex-start;
}
.header-btn .main-btn.account-btn {
    padding: 8px 32px 8px 8px;
    margin: 0;
}
.header-btn .main-btn.account-btn::after {
    right: 16px;
    margin-top: -6px;
}
.header-btn .btn-register, .header-btn .btn-login {
    padding: 9px 16px;
}
.navbar-toggler .toggler-icon {
    background-color: #000;
}
.navbar-nav .nav-item a {
    padding: 16px 0;
}
.header-btn li {
    margin: 0 8px 0 0;
}
.header-btn li:last-child {
    margin: 0;
}
.dropdown-nav {
    min-height: auto;
}
.dropdown-nav li {
    margin: 8px 0;
}
.dropdown-nav li:first-child {
    margin-top: 0;
}
.dropdown-nav li:last-child {
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .navbar {
        padding: 8px 0;
    }
    .header-btn {
        margin-right: 56px;
    }
    .header-btn .main-btn.account-btn {
        padding: 8px 32px 8px 8px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 8px 0;
    }
}
.logo {
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
}
.view-color-switcher {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 5px;
}
.view-color-switcher .view-switcher-wrapper, .view-color-switcher .color-switcher-wrapper {
    gap: 4px;
}
.view-color-switcher .view-switcher-1 {
    background-color: #dee2e6;
    width: 32px;
    height: 32px;
    padding: 4px;
}
.view-color-switcher .view-switcher-2 {
    background-color: #dee2e6;
    width: 32px;
    height: 32px;
    padding: 4px;
}
.view-color-switcher .form-switch {
    margin: 0;
}
.view-color-switcher .form-switch .form-check-input {
    width: 68px;
    margin-top: 4px;
}
.view-color-switcher .color-switcher-1 {
    background-color: #000;
    border-color: #000;
    width: 32px;
    height: 26px;
}
.view-color-switcher .color-switcher-1.active {
    background-color: #000 !important;
    border-color: #000 !important;
}
.view-color-switcher .color-switcher-2 {
    background-color: #fff;
    border-color: #000;
    width: 32px;
    height: 26px;
}
.view-color-switcher .view-switcher-wrapper .active {
    color: #fff;
    background-color: var(--main-color);
}
.view-color-switcher .color-switcher-wrapper .active {
    position: relative;
}
.view-color-switcher .color-switcher-wrapper .color-switcher-1.active::before {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    content: '\f00c';
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.view-color-switcher .color-switcher-wrapper .color-switcher-2.active::before {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    -webkit-font-smoothing: antialiased;
    color: #000;
    content: '\f00c';
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.infobar-container {
    font-size: 12px;
    background-color: #333F57;
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 4px;
}
.infobar-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}
.infobar-content .infobar-item {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    margin-right: 4px;
}
.infobar-content .pair {
    font-weight: 700;
    color: #fff;
    margin-right: 8px;
}
.infobar-content .value-up {
    color: #00ff99;
}
.infobar-content .value-down {
    color: #ff7777;
}
.infobar-content .value-neutral {
    color: rgba(255, 255, 255, 0.75);
}
.infobar-content .arrow-up::after {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    content: '\f139';
    color: #00ff99;
    margin-left: 4px;
}
.infobar-content .arrow-down::after {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    content: '\f13a';
    color: #ff7777;
    margin-left: 4px;
}
.infobar-content .arrow-equal::after {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    content: '\3d';
    color: rgba(255, 255, 255, 0.75);
    margin-left: 4px;
}
.btn-infobar {
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 4px 12px;
}
.category-menu > li {
    border-bottom: 2px solid transparent;
}
.category-menu > li:last-child {
    border: 0;
}
.category-menu a {
    font-weight: 600;
    color: #000;
    text-decoration: none;
    background-color: #ebeef0;
    border-radius: 5px;
    display: block;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
}
.category-menu a:hover, .category-menu-toggle.active {
    color: #fff;
    background-color: var(--main-color);
}
.category-menu .active {
    color: #fff;
    background-color: var(--main-color);
}
.category-submenu {
    display: none;
    background-color: #fff;
    position: relative;
    padding: 0 0 0 16px;
    margin: 4px 0 0 0;
}
.category-submenu::before {
    content: '';
    background-color: var(--main-color);
    border-radius: 50rem;
    width: 3px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.category-submenu li {
    padding: 4px 0 0 0;
}
.category-submenu li:last-child {
    padding-bottom: 4px;
}
.top-navbar-left .btn-outline-primary {
    font-weight: 700;
    font-size: 11px;
    color: #333F57;
    border-color: #333F57;
    text-transform: uppercase;
    min-height: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.top-navbar-left .btn-outline-primary:hover, .top-navbar-left .btn-outline-primary:active {
    color: #fff;
    background-color: #333F57;
    border-color: #333F57;
}
.top-navbar-right {
    font-size: 13px;
    color: #000;
    background-color: #ebeef0;
    border-radius: 5px;
    padding: 4px 4px 4px 8px;
}
.top-navbar-right-btn-wrapper {
    gap: 4px;
}
.top-navbar-right-btn-wrapper .btn {
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 4px;
}
.top-navbar-right-btn-wrapper .btn-fb {
    color: #ffffff;
    background-color: #3b5998;
}
.top-navbar-right-btn-wrapper .btn-fb:hover {
    color: #ffffff;
    background-color: #2d4373;
}
.top-navbar-right-btn-wrapper .btn-ig {
    color: #ffffff;
    background-color: #e1306c;
}
.top-navbar-right-btn-wrapper .btn-ig:hover {
    color: #ffffff;
    background-color: #c1275b;
}
.top-navbar-right-btn-wrapper .btn-tw {
    color: #ffffff;
    background-color: #1da1f2;
}
.top-navbar-right-btn-wrapper .btn-tw:hover {
    color: #ffffff;
    background-color: #0d95e8;
}
.simple-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.simple-search .simple-search-wrapper {
    position: relative;
    width: 55%;
}
.simple-search .form-control, .simple-search .form-select {
    border-width: 2px;
    border-radius: 50rem;
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 16px;
}
.simple-search-categories {
    width: 25%;
}
.simple-search .main-btn {
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 32px;
}
.simple-search .simple-search-clear-icon {
    color: #9e9e9e;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}
.simple-search .simple-search-clear-icon:hover {
    color: #000;
}
.advanced-search {
    border: 2px solid #dee2e6;
    border-radius: 16px;
    padding: 12px 16px 16px 16px;
}
.advanced-search .form-label {
    font-weight: 500;
    font-size: 13px;
    color: #000;
}
.advanced-search .form-label-new {
    margin-bottom: 6px;
}
.advanced-search .form-check-input {
    padding: 14.5px 24px;
}
.advanced-search .form-control, .advanced-search .form-select {
    border-color: #dee2e6;
}
.advanced-search .form-control:focus, .advanced-search .form-select:focus {
    border-color: var(--main-color);
}
.advanced-search .main-btn {
    height: 60px;
    padding: 8px;
}
.ai-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.ai-search .ai-search-wrapper {
    position: relative;
    width: 75%;
}
.ai-search .form-control, .ai-search .form-select {
    border-width: 2px;
    border-radius: 50rem;
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
}
.ai-search-categories {
    width: 25%;
}
.ai-search .main-btn {
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 32px;
}
.ai-search .ai-search-clear-icon {
    color: #9e9e9e;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}
.ai-search .ai-search-clear-icon:hover {
    color: #000;
}
.product-list-container {
    max-height: 80vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}
.product-card {
    font-size: 13px;
    color: #000;
    background-color: #ebeef0;
    border-radius: 16px;
    padding: 16px;
}
.product-card:hover {
    cursor: pointer;
}
.product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    cursor: zoom-in;
}
.product-info h6 {
    font-weight: 700;
    font-size: 15px;
    color: #000;
    margin: 0 0 8px 0;
}
.product-card p {
    color: #000;
    font-size: 13px;
}
.product-card .list-group .list-group-item {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.15);
    padding: 4px 8px;
}
.product-card .list-group .list-group-item .svg-inline--fa {
    width: 1.1em;
}
/*
.product-card .bid-progress {
    font-size: 13px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 4px;
}
*/
.product-card .bid-progress .progress {
    font-weight: 600;
    color: #fff;
    text-shadow: 0px 0px 3px #000000;
    background-color: #333F57;
    height: 24px;
    position: relative;
    margin: 8px 0 0 0;
}
.product-card .bid-progress .progress-bar {
    background-color: #43A047;
}
.product-card .bid-progress .progress-bar-text {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
#image-popup {
    position: absolute;
    display: none;
    border: 1px solid #000;
    border-radius: 16px;
    overflow: hidden;
    z-index: 999999;
}
#image-popup img {
    border-radius: 0;
    display: block;
    object-fit: contain;
    max-height: max-content;
}
.custom-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    outline: 0;
}
.custom-modal .custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}
.custom-modal .custom-modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 960px;
    width: calc(100% - 16px);
    max-height: calc(100% - 16px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    z-index: 999999;
}
.custom-modal .custom-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 16px;
    outline: 0;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}
.custom-modal .custom-modal-header,
.custom-modal .custom-modal-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.custom-modal .custom-modal-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 16px;
}
.custom-modal .custom-modal-header .btn {
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 8px 16px;
}
.custom-modal .custom-modal-title {
    margin: 0;
    font-size: 1.25rem;
}
.custom-modal .close-modal-btn {
    margin: 0 0 0 auto;
}
.custom-modal .custom-modal-body {
    flex-grow: 1;
    overflow-x: hidden;
    padding: 0;
    margin: 16px 0 0 0;
}
.custom-modal .info-wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pagination .page-link, .page-link:hover, .page-link:focus {
    color: #000;
    box-shadow: none;
}
.pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.product-details .form-control, .product-details .form-select {
    border-width: 2px;
    border-radius: 50rem;
    min-height: 40px;
    height: 40px;
    line-height: 1.35;
    padding: 8px 16px;
}
.product-details .input-group-text {
    font-size: 15px;
    background-color: #dee2e6;
    border: 0;
    border-radius: 50rem;
    padding: 0.375rem 1rem;
}
.product-details .input-group .btn {
    border-radius: 0 50rem 50rem 0;
}
.product-details-area .product-details-wrapper .info-wrapper .showcase-wrapper .showcase-img img {
    border-radius: 8px;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: auto 4/3;
}
.product-details-area .product-details-wrapper .info-wrapper .showcase-wrapper .thumb-img-wrapper {
    gap: 0.5rem;
}
.product-details-area .product-details-wrapper .info-wrapper .showcase-wrapper .thumb-img-wrapper .thumb-img img {
    border-radius: 8px;
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: auto 4/3;
}
.product-details-info-table .table {
    color: #333F57;
}
.product-details-info-table .table tr td, .product-details-info-table .table tr th {
    padding: 0.5rem 0.75rem;
}
.product-details-info-table .table tr th {
    border-right: 1px solid #dee2e6;
}
.product-details-info-table .table tr th .svg-inline--fa {
    width: 1em;
}
.product-details-description {
    border: 1px solid #dee2e6;
    border-radius: 16px;
    padding: 16px;
}
.product-details-description-title {
    border-radius: 8px;
    padding: 16px;
}
.product-details .countdown {
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
}
.chat-wrapper .message-wrapper .message-list .message-item .image {
    overflow: hidden;
    max-width: 100% !important;
}
.chat-wrapper .chat-list-wrapper .chat-list .chat-item {
    padding: 0;
}
.chat-wrapper .chat-list-wrapper .chat-list .chat-item .chat-link .image img {
    border-radius: 50rem;
}
.accordion-feedback .single-accordion .accordion-btn.collapsed::after, .accordion-feedback .single-accordion .accordion-btn::after {
    display: none;
}
.chat-wrapper {
    background-color: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.chat-list-wrapper {
    background-color: #ffffff !important;
    border-radius: 6px !important;
    padding: 15px !important;
    height: 100% !important;
    max-height: 600px !important;
    overflow-y: auto !important;
    border: 1px solid #e0e0e0 !important;
}
.chat-list-wrapper h5 {
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}
.chat-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.chat-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    padding: 8px !important;
    border-radius: 8px !important;
    transition: background 0.2s !important;
    color: #212529 !important;
}
.chat-link:hover {
    background-color: #f1f3f5 !important;
}
.chat-item .image {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
}
.chat-item .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #e0e0e0 !important;
}
.chat-item .image.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #28a745 !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
}
.chat-item .info h5 {
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}
.chat-item .info span {
    font-size: 0.8rem !important;
}
.message-wrapper {
    background-color: #ffffff !important;
    border-radius: 6px !important;
    padding: 15px !important;
    height: 100% !important;
    max-height: 600px !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #e0e0e0 !important;
}
.message-wrapper h5 {
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}
.message-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-grow: 1 !important;
    overflow-y: auto !important;
}
.message-item {
    display: flex !important;
    margin-bottom: 15px !important;
    align-items: flex-start !important;
}
.message-item.right {
    flex-direction: row-reverse !important;
    text-align: right !important;
}
.message-item .image {
    width: 45px !important;
    height: 45px !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
}
.message-item.right .image {
    margin-left: 12px !important;
    margin-right: 0 !important;
}
.message-item .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}
.message-item .content {
    max-width: 70% !important;
}
.message-item.right .content {
    max-width: 70% !important;
}
.message-item .text {
    background-color: #f1f3f5 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    position: relative !important;
}
.message-item.right .text {
    background-color: #d1e7ff !important;
}
.message-item .text h5 {
    margin: 0 0 4px 0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}
.message-item .text p {
    color: rgba(0, 0, 0, 0.65);
    margin: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
}
.message-item span {
    display: block !important;
    font-size: 0.7rem !important;
    color: #6c757d !important;
    margin-top: 2px !important;
}
.message-list textarea {
    width: 100% !important;
    border-radius: 6px !important;
    border: 1px solid #ced4da !important;
    padding: 16px !important;
    font-size: 0.9rem !important;
    resize: none !important;
    outline: none !important;
    margin-top: 10px !important;
}
footer {
    margin-top: 3rem;
}

#categoryPickerModal .modal-content { border-radius: 14px !important; border: 0 !important; overflow: hidden !important; }
#categoryPickerModal .modal-header { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important; border-bottom: 1px solid #e2e8f0 !important; padding: 14px 18px !important; }
#categoryPickerModal .modal-title { font-weight: 700 !important; color: #0f172a !important; }
#categoryPickerModal .close { opacity: .6 !important; text-shadow: none !important; font-size: 1.4rem !important; }
#categoryPickerModal .close:hover { opacity: 1 !important; }
#categoryPickerModal .modal-body { background: #ffffff !important; }
#categoryPickerModal .modal-footer { background: #f8fafc !important; border-top: 1px solid #e2e8f0 !important; }
#catBreadcrumb { background: #eef2ff !important; border: 1px solid #e5e7eb !important; border-radius: 12px !important; padding: 10px 12px !important; }
#catBreadcrumb .breadcrumb-item a { color: #1d4ed8 !important; text-decoration: none !important; font-weight: 600 !important; }
#catBreadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #94a3b8 !important; }
#catSearch { border-radius: 12px !important; border: 1px solid #e2e8f0 !important; padding: 10px 14px !important; background: #f8fafc !important; }
#catSearch:focus { border-color: #93c5fd !important; box-shadow: 0 0 0 4px rgba(59,130,246,.15) !important; background: #fff !important; }
#catList { display: grid !important; gap: 10px !important; }
.cat-row { display: grid !important; grid-template-columns: 1fr auto !important; align-items: center !important; border: 1px solid #e5e7eb !important; background: #ffffff !important; border-radius: 12px !important; padding: 12px 14px !important; transition: all .15s ease-in-out !important; }
.cat-row:hover { border-color: #c7d2fe !important; box-shadow: 0 4px 14px rgba(2,6,23,.06) !important; transform: translateY(-1px) !important; }
.cat-row.active { background: #eef2ff !important; border-color: #c7d2fe !important; box-shadow: 0 0 0 4px rgba(99,102,241,.15) !important; }
.cat-left { display: grid !important; grid-template-columns: 24px 1fr !important; gap: 10px !important; align-items: start !important; text-align: left !important; }
.cat-bullet { width: 24px !important; height: 24px !important; border-radius: 8px !important; background: #f1f5f9 !important; display: flex !important; align-items: center !important; justify-content: center !important; font-weight: 700 !important; color: #64748b !important; }
.cat-title { font-weight: 700 !important; color: #0f172a !important; line-height: 1.2 !important; }
.cat-meta { margin-top: 2px !important; font-size: .8rem !important; color: #64748b !important; }
.cat-actions { display: inline-flex !important; gap: 8px !important; white-space: nowrap !important; }
.cat-actions .btn { border-radius: 10px !important; padding: 6px 10px !important; font-weight: 600 !important; }
.cat-actions .btn-outline-primary { border-color: #c7d2fe !important; color: #3730a3 !important; }
.cat-actions .btn-outline-primary:hover { background: #eef2ff !important; border-color: #a5b4fc !important; color: #1e1b4b !important; }
.cat-actions .btn-light { border-color: #e5e7eb !important; background: #f8fafc !important; color: #334155 !important; }
.cat-actions .btn-light:hover { background: #eef2ff !important; border-color: #c7d2fe !important; color: #1e1b4b !important; }
#chooseCategoryBtn:disabled { opacity: .6 !important; }
#selectedCategoryBadge { border-radius: 999px !important; padding: 6px 10px !important; background: #f1f5f9 !important; color: #475569 !important; border: 1px solid #e2e8f0 !important; }
#selectedCategoryPath { color: #475569 !important; }

#previewGrid .preview-col { cursor: grab; }
#previewGrid .preview-card { border: 1px solid #dee2e6; border-radius: .75rem; overflow: hidden; position: relative; transition: box-shadow .15s ease-in-out, border-color .15s ease-in-out; background: #fff; }
#previewGrid .preview-card.drag-over { outline: 2px dashed #0d6efd; outline-offset: -6px; }
#previewGrid .preview-card.selected-main { border-color: #0d6efd; box-shadow: 0 0 0 .2rem rgba(13,110,253,.25); }
#previewGrid .preview-card .drag-handle { position: absolute; top: .25rem; right: .25rem; background: rgba(255,255,255,.85); border: 1px solid #dee2e6; border-radius: .5rem; padding: .25rem .5rem; font-size: .875rem; user-select: none; }
#previewGrid .preview-card .thumb { width: 100%; height: 180px; background: #f8f9fa center/cover no-repeat; }
#previewGrid .preview-card .caption { padding: .5rem .75rem; border-top: 1px solid #f1f3f5; font-size: .9rem; }
.uploader-dropzone { border: 2px dashed #dee2e6; border-radius: .75rem; padding: 1rem; text-align: center; background: #fcfcfd; }
.uploader-dropzone.dragover { background: #f0f7ff; border-color: #86b7fe; }

@media (max-width: 767.98px) {
    .simple-search, .ai-search {
        flex-direction: column;
    }
    .simple-search .simple-search-wrapper, .ai-search .ai-search-wrapper {
        width: 100%;
    }
    .simple-search-categories, .ai-search-categories {
        width: 100%;
    }
    .simple-search .main-btn, .ai-search .main-btn {
        width: 100%;
    }
    .dropdown-nav {
        right: initial;
        left: initial;
    }
    .header-btn .main-btn, .header-btn .btn-register, .header-btn .account-btn, .header-btn .btn-login {
        font-size: 13px;
        padding: 6px 12px;
    }
    .header-btn .main-btn.account-btn {
        padding: 6px 32px 6px 6px;
    }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .simple-search .simple-search-wrapper, .ai-search .ai-search-wrapper {
        width: 60%;
    }
    .simple-search-categories, .ai-search-categories {
        width: 30%;
    }
    .simple-search .main-btn, .ai-search .main-btn {
        width: 10%;
    }
}

@media (min-width: 768px) {
    .text-md-start {
        text-align: left !important;
    }
    .text-md-end {
        text-align: right !important;
    }
}

.chat-item.unread .info h5 { font-weight: 700; }
.chat-item.unread .text-muted { font-weight: 500; }

.navbar-brand img {
    max-width: initial !important;
}