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;
    border-radius: 4px !important;
}
.main-btn.btn-active {
    background-color: #333F57;
}
.main-btn.btn-become-seller {
    background-color: #fd7e14 !important;
    border-color: #fd7e14 !important;
    color: #000 !important;
}
.main-btn.btn-become-seller:hover {
    background-color: #e96f0b !important;
    border-color: #e96f0b !important;
    color: #000 !important;
}

.login-register-callout {
    background: #fff8f2 !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--main-color) 11%, #fff) 0%, #fff8f2 100%) !important;
    border: 2px solid var(--main-color) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--main-color) 18%, transparent);
    overflow: hidden;
    position: relative;
}
.login-register-callout::after {
    background: var(--main-color);
    border-radius: 50%;
    content: '';
    height: 120px;
    opacity: .08;
    pointer-events: none;
    position: absolute;
    right: -42px;
    top: -58px;
    width: 120px;
}
.login-register-callout__content,
.login-register-callout__message {
    align-items: center;
    display: flex;
}
.login-register-callout__content {
    gap: 1rem;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.login-register-callout__message {
    gap: .875rem;
    min-width: 0;
}
.login-register-callout__icon {
    align-items: center;
    background: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 5px 14px color-mix(in srgb, var(--main-color) 30%, transparent);
    color: #fff;
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 1.1rem;
    height: 48px;
    justify-content: center;
    width: 48px;
}
.login-register-callout__eyebrow {
    color: var(--main-color);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.login-register-callout__button {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    padding: 10px 18px;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .login-register-callout__content {
        align-items: stretch;
        flex-direction: column;
    }
    .login-register-callout__message {
        align-items: flex-start;
    }
    .login-register-callout__button {
        width: 100%;
    }
}
.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);
}
.product-form-subscriber-start {
    background: #fff8f2;
    background: linear-gradient(135deg, color-mix(in srgb, var(--main-color) 8%, #fff) 0%, #fff 100%);
    border: 2px solid color-mix(in srgb, var(--main-color) 55%, #dee2e6);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(10, 10, 25, 0.07);
    overflow: hidden;
    padding: 16px;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-form-subscriber-start.is-active {
    border-color: var(--main-color);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--main-color) 18%, transparent);
}
.product-form-subscriber-start__header {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}
.product-form-subscriber-start__icon {
    align-items: center;
    background-color: var(--main-color);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.product-form-subscriber-start__content {
    flex: 1 1 auto;
    min-width: 0;
}
.product-form-subscriber-start__title {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
}
.product-form-subscriber-start__hint {
    color: #5f6670;
    font-size: 0.82rem;
    margin-top: 4px;
}
.product-form-subscriber-start__input {
    border-top: 1px dashed color-mix(in srgb, var(--main-color) 35%, #dee2e6);
    margin-left: 52px;
    margin-top: 14px;
    max-width: 420px;
    padding-top: 14px;
}
@media (max-width: 575.98px) {
    .product-form-subscriber-start {
        padding: 14px;
    }
    .product-form-subscriber-start__input {
        margin-left: 0;
    }
}
.form-switch .form-check {
    margin-bottom: 0;
}
.header_navbar {
    background-color: #fff;
    position: relative;
}

/*
 * Desktop smart header:
 * it stays in the document flow, so showing/hiding it never makes the page jump.
 * The state classes are controlled in main.js based on the scroll direction.
 */
@media (min-width: 992px) {
    .header_area {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #fff;
        transform: translate3d(0, 0, 0);
        transition: transform 0.24s ease, box-shadow 0.24s ease;
        will-change: transform;
    }

    .header_area.is-header-scrolled {
        box-shadow: 0 5px 24px rgba(10, 10, 25, 0.1);
    }

    .header_area.is-header-hidden {
        pointer-events: none;
        transform: translate3d(0, calc(-100% - 1px), 0);
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
    .header_area {
        transition: none;
    }
}

.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;
    min-width: 0;
}
.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;
}
.header-btn .btn-trustap {
    background-color: #0b5ed7;
    color: #fff;
    padding: 9px 16px;
}
.header-btn .btn-trustap:hover {
    background-color: #094db1;
    color: #fff;
}
.header-btn .btn-trustap:focus-visible {
    outline: 3px solid #094db1;
    outline-offset: 3px;
}
.header-btn {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}
.header-btn .header-account-item {
    flex: 0 1 auto;
    min-width: 96px;
    max-width: 220px;
}
.header-btn .main-btn.account-btn {
    display: flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
}
.header-btn .account-btn > i {
    flex: 0 0 auto;
}
.header-account-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-btn .account-btn > .badge {
    top: 0;
    right: 0;
    left: auto;
    transform: translate(35%, -35%);
}
.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;
}
.auction-notifications { position: relative; flex: 0 0 auto; }
.auction-notifications__toggle { position: relative; list-style: none; cursor: pointer; padding: 10px 12px !important; }
.auction-notifications__toggle::-webkit-details-marker { display: none; }
.auction-notifications__badge { position: absolute; top: -6px; right: -5px; min-width: 20px; padding: 2px 5px; border-radius: 12px; background: #b42318; color: #fff; font-size: 11px; line-height: 16px; }
.auction-notifications__panel { position: absolute; top: calc(100% + 10px); right: 0; width: 360px; max-width: calc(100vw - 24px); border: 1px solid #d6dce3; border-radius: 10px; background: #fff; color: #263247; box-shadow: 0 8px 28px #0002; z-index: 1050; white-space: normal; overflow: hidden; }
.auction-notifications__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; padding: 14px; }
.auction-notifications__heading button { border: 0; background: transparent; color: #246f65; font-size: 12px; text-decoration: underline; }
.auction-notifications__list { max-height: min(420px, 65vh); overflow-y: auto; }
.header-btn .auction-notifications__item { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; border-top: 1px solid #e6eaf0; color: inherit; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; white-space: normal; }
.auction-notifications__item.is-unread { background: #edf7f5; border-left: 3px solid #347d71; }
.auction-notifications__item time { font-size: 11px; color: #667085; }
.auction-notifications__item:focus-visible, .auction-notifications__toggle:focus-visible { outline: 2px solid #347d71; outline-offset: -2px; }
@media (max-width: 600px) {
    .auction-notifications__panel { position: fixed; top: 80px; right: 12px; left: 12px; width: auto; max-width: none; }
}
.dropdown-nav li {
    margin: 8px 0;
}
.dropdown-nav li:first-child {
    margin-top: 0;
}
.dropdown-nav li:last-child {
    margin-bottom: 0;
}

/*
 * Compact footer spacing. These are scoped overrides for the generous defaults
 * in style.css; no content is clipped and the columns can still grow naturally.
 */
.footer-area {
    padding-top: 36px;
}

.footer-area .widget-wrapper .about {
    padding-right: 32px;
}

.footer-area .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 32px;
}

.footer-area .footer-grid .footer-widget {
    min-width: 0;
}

.footer-area .footer-introduction {
    line-height: 1.6;
}

.footer-area .widget-wrapper .footer-widget {
    margin-bottom: 24px;
}

.footer-area .widget-wrapper .footer-widget h4 {
    margin-top: 0;
    margin-bottom: 16px;
}

.footer-area .widget-wrapper .footer-widget ul li {
    margin-bottom: 7px;
}

.footer-area .widget-wrapper .footer-widget .mb-30 {
    margin-bottom: 16px !important;
}

.footer-area .widget-wrapper .footer-widget .mb-25 {
    margin-bottom: 12px !important;
}

.footer-area .widget-wrapper .footer-widget ul.social {
    gap: 8px 12px;
}

.footer-area .widget-wrapper .footer-widget ul.social li {
    margin-right: 0;
}

.footer-area .widget-wrapper .footer-widget ul.social li a {
    width: 38px;
    height: 38px;
}

@media (max-width: 1199.98px) {
    .footer-area .widget-wrapper .about {
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .footer-area {
        padding-top: 28px;
    }

    .footer-area .widget-wrapper .footer-widget {
        margin-bottom: 22px;
    }

    .footer-area .widget-wrapper .footer-widget h4 {
        margin-bottom: 12px;
    }
}

@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;
}
.header-utilities {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    margin-left: 12px;
}
.header-utilities form {
    margin: 0;
}
.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: 4px;
    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-list-image-frame {
    background-color: #000;
    display: block;
    overflow: hidden;
}
.product-list-image {
    background-color: #000;
    display: block;
    height: 200px;
    object-fit: contain;
    object-position: center;
    width: 100%;
}
.product-images img {
    background-color: #000;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    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 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    font-weight: 600;
    color: #fff;
    text-shadow: 0px 0px 3px #000000;
    background-color: #333F57;
    height: auto;
    min-height: 28px;
    position: relative;
    margin: 8px 0 0 0;
}
.product-card .bid-progress .progress-bar {
    grid-area: 1 / 1;
    background-color: #43A047;
}
.product-card .bid-progress .progress-bar-text {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 5px 10px;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}
#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);
}
.listing-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 24px 0 36px;
    padding: 16px;
    border: 1px solid #e3eae7;
    border-radius: 16px;
    background: #f7faf9;
}
.listing-pagination--single-page {
    justify-content: flex-end;
}
.listing-pagination__nav,
.listing-pagination__settings {
    min-width: 0;
    max-width: 100%;
}
.listing-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.listing-pagination__link,
.listing-pagination__size,
.listing-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #e0e7e4;
    border-radius: 10px;
    color: #41544e;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.listing-pagination__link:hover,
.listing-pagination__size:hover {
    color: var(--main-color, #347f73);
    border-color: var(--main-color, #347f73);
    background: #edf4f1;
    text-decoration: none;
}
.listing-pagination__link:focus-visible,
.listing-pagination__size:focus-visible {
    outline: 2px solid var(--main-color, #347f73);
    outline-offset: 3px;
}
.listing-pagination .is-active {
    color: #fff;
    border-color: var(--main-color, #347f73);
    background: var(--main-color, #347f73);
}
.listing-pagination .is-disabled {
    color: #adb9b4;
    border-color: transparent;
    background: transparent;
}
.listing-pagination__ellipsis {
    min-width: 24px;
    padding-inline: 0;
    border-color: transparent;
    background: transparent;
    color: #82918b;
}
.listing-pagination__settings {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}
.listing-pagination__label {
    color: #697c74;
    font-size: 13px;
    line-height: 1.4;
    text-align: right;
}
.listing-pagination__sizes {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid #e0e7e4;
    border-radius: 13px;
    background: #fff;
}
.listing-pagination__size {
    border-color: transparent;
    background: transparent;
}
.listing-pagination__mobile-current {
    display: none;
}
@media (max-width: 767.98px) {
    .listing-pagination,
    .listing-pagination--single-page {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding: 14px 12px;
        margin-bottom: 28px;
    }
    .listing-pagination__pages {
        flex-wrap: nowrap;
        gap: 16px;
    }
    .listing-pagination__desktop-page {
        display: none;
    }
    .listing-pagination__mobile-current {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 72px;
        min-height: 44px;
        color: #41544e;
        font-size: 15px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }
    .listing-pagination__separator {
        color: #9aaba3;
        font-weight: 400;
    }
    .listing-pagination__settings {
        gap: 8px;
    }
}
.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-gallery,
.product-details-gallery .row > * {
    max-width: 100%;
    min-width: 0;
}
.product-details-gallery .showcase-img {
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    overflow: visible;
    width: 100%;
}
.product-details-gallery .showcase-img a {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 280px;
    width: 100%;
}
.product-details-gallery .showcase-img img {
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-height: min(72vh, 760px);
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
    width: auto !important;
}
.product-details-gallery .thumb-img-wrapper {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding-bottom: 0.25rem;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
.product-details-gallery .thumb-img {
    align-items: center;
    background: #f8f9fa;
    display: inline-flex;
    flex: 0 0 86px;
    height: 86px;
    justify-content: center;
    min-width: 86px;
    overflow: hidden;
    scroll-snap-align: start;
    width: 86px;
}
.product-details-gallery .thumb-img img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}
.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-description-content {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}
.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;
}

.btn-unread{
    background: transparent !important;
    border: 2px solid #dc3545 !important;
    color: #dc3545 !important;
    padding: 10px 14px !important;
    line-height: 1 !important;
}
.btn-unread i{ color:#dc3545 !important; }

@media (min-width: 992px) and (max-width: 1399.98px) {
    .navbar-brand {
        max-width: 120px;
        margin-right: 8px;
    }
    .navbar-brand img {
        width: 120px;
        max-width: 120px !important;
    }
    .header-btn .main-btn {
        font-size: 13px;
        padding: 8px 10px;
    }
    .header-btn .main-btn.account-btn {
        padding: 7px 28px 7px 8px;
    }
    .header-btn .header-account-item {
        max-width: 160px;
    }
    .header-btn > li {
        margin-right: 6px;
    }
    .header-btn > li:last-child {
        margin-right: 0;
    }
    .header-utilities {
        gap: 6px;
        margin-left: 8px;
    }
    .header-utilities .form-select {
        font-size: 13px;
    }
    .header-utilities #currency,
    .header-utilities #language {
        width: 90px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-btn .header-balance-label {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .navbar-brand {
        flex: 0 1 auto;
        margin-right: auto;
        order: 1;
    }
    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
        order: 2;
        position: static;
    }
    .navbar-collapse {
        flex-basis: 100%;
        order: 5;
        width: 100%;
    }
    .header-btn {
        flex: 0 0 100%;
        flex-wrap: wrap;
        min-width: 0;
        max-width: 100%;
        gap: 8px;
        margin: 12px 0 0;
        order: 3;
    }
    .header-btn li {
        margin: 0;
    }
    .header-btn li:first-child {
        min-width: 0;
    }
    .header-btn .header-account-item {
        max-width: 100%;
    }
    .header-btn .main-btn {
        white-space: nowrap;
    }
    .header-btn .main-btn.account-btn {
        margin: 0;
        max-width: 100%;
    }
    .header-utilities {
        display: grid;
        flex: 0 0 100%;
        gap: 8px;
        grid-template-columns: auto minmax(82px, 100px) minmax(88px, 1fr);
        margin: 8px 0 0;
        order: 4;
        width: 100%;
    }
    .header-utilities .view-color-switcher {
        padding: 3px;
    }
    .header-utilities .color-switcher-wrapper {
        flex-direction: row !important;
    }
    .header-utilities .color-switcher-1,
    .header-utilities .color-switcher-2 {
        height: 28px;
        width: 28px;
    }
    .header-utility-select,
    .header-utility-select form,
    .header-utility-select .form-select {
        min-width: 0;
        width: 100% !important;
    }
    .header-utility-select .form-select {
        height: 36px;
    }
}

@media (max-width: 420px) {
    .header-btn .main-btn,
    .header-btn .btn-register,
    .header-btn .account-btn,
    .header-btn .btn-login {
        font-size: 12px;
        padding: 7px 9px;
    }
    .header-btn .main-btn.account-btn {
        padding: 7px 28px 7px 7px;
    }
    .header-btn .main-btn.account-btn::after {
        right: 14px;
    }
}

.sealed-auction {
    min-width: 0;
    overflow-wrap: anywhere;
}
.sealed-auction .btn {
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
}
.sealed-auction__offer {
    min-width: 0;
    flex: 1 1 10rem;
}
