.client-template-luxe .market-catalog-page,
.client-template-luxe .market-detail-page {
    min-height: calc(100vh - 80px);
    color: #141a2a;
    background: #f1f4fa;
}

.client-template-luxe .market-breadcrumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    color: #71809b;
    font-size: 12px;
    white-space: nowrap;
}

.client-template-luxe .market-breadcrumb a,
.client-template-luxe .market-breadcrumb span {
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
}

.client-template-luxe .market-breadcrumb a:hover {
    color: #4f46e5;
}

.client-template-luxe .market-breadcrumb i {
    flex: 0 0 auto;
    font-size: 8px;
}

.client-template-luxe .market-catalog-heading {
    padding: 34px 0 28px;
    border-bottom: 1px solid #dfe4ee;
    background: #ffffff;
}

.client-template-luxe .market-catalog-title-row {
    margin-top: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.client-template-luxe .market-catalog-title-row p {
    margin: 0 0 5px;
    color: #5b4ce6;
    font-size: 11px;
    font-weight: 800;
}

.client-template-luxe .market-catalog-title-row h1 {
    margin: 0;
    color: #11182a;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0;
}

.client-template-luxe .market-catalog-description {
    max-width: 760px;
    margin-top: 9px;
    color: #66738d;
    font-size: 13px;
    line-height: 1.65;
}

.client-template-luxe .market-catalog-count {
    padding: 8px 12px;
    flex: 0 0 auto;
    border: 1px solid #dfe4ee;
    border-radius: 7px;
    color: #5f6d86;
    background: #f8f9fc;
    font-size: 12px;
    font-weight: 700;
}

.client-template-luxe .market-catalog-content {
    padding-top: 24px;
    padding-bottom: 70px;
    scroll-margin-top: 86px;
}

.client-template-luxe .market-catalog-filter {
    min-height: 62px;
    padding: 9px;
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(35, 43, 68, .05);
}

.client-template-luxe .market-catalog-filter label {
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64718b;
    font-size: 11px;
    font-weight: 700;
}

.client-template-luxe .market-catalog-filter input {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #dfe4ee;
    border-radius: 7px;
    color: #171d2d;
    background: #f8f9fc;
    font-size: 13px;
}

.client-template-luxe .market-catalog-filter button,
.client-template-luxe .market-catalog-filter > a {
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #5b4ce6;
    border-radius: 7px;
    color: #ffffff;
    background: #5b4ce6;
    font-size: 12px;
    font-weight: 750;
}

.client-template-luxe .market-catalog-filter > a {
    border-color: #dfe4ee;
    color: #20283b;
    background: #ffffff;
}

.client-template-luxe .market-catalog-result-head {
    margin: 30px 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.client-template-luxe .market-catalog-result-head h2 {
    margin: 0;
    color: #11182a;
    font-size: 22px;
    letter-spacing: 0;
}

.client-template-luxe .market-catalog-result-head a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5b4ce6;
    font-size: 12px;
    font-weight: 700;
}

.client-template-luxe .market-product-footer .market-product-open {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    border: 1px solid #5b4ce6;
    border-radius: 7px;
    color: #ffffff;
    background: #5b4ce6;
}

.client-template-luxe .market-product-footer .market-product-open:hover {
    color: #ffffff;
    background: #4338ca;
}

.client-template-luxe .market-product-footer .market-product-open.is-disabled {
    border-color: #cbd1df;
    color: #6d7689;
    background: #e7eaf1;
}

.client-template-luxe .market-detail-page {
    padding: 30px 0 76px;
}

.client-template-luxe .market-detail-breadcrumb {
    margin-bottom: 22px;
}

.client-template-luxe .market-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
    gap: 30px;
    align-items: start;
}

.client-template-luxe .market-detail-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    background: #ffffff;
}

.client-template-luxe .market-detail-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.client-template-luxe .market-detail-main-image > span {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #ffffff;
    background: #e45b3d;
    font-size: 12px;
    font-weight: 800;
}

.client-template-luxe .market-detail-thumbs {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.client-template-luxe .market-detail-thumbs button {
    width: 64px;
    height: 64px;
    padding: 3px;
    flex: 0 0 64px;
    border: 1px solid #dfe4ee;
    border-radius: 7px;
    background: #ffffff;
}

.client-template-luxe .market-detail-thumbs button.active {
    border-color: #5b4ce6;
}

.client-template-luxe .market-detail-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-template-luxe .market-detail-assurances {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.client-template-luxe .market-detail-assurances span {
    min-width: 0;
    min-height: 64px;
    padding: 10px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-items: center;
    border: 1px solid #dfe4ee;
    border-radius: 7px;
    background: #ffffff;
}

.client-template-luxe .market-detail-assurances i {
    grid-row: 1 / 3;
    color: #5b4ce6;
    font-size: 17px;
}

.client-template-luxe .market-detail-assurances b {
    overflow: hidden;
    color: #252d40;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-template-luxe .market-detail-assurances small {
    overflow: hidden;
    color: #7a879f;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-template-luxe .market-detail-info {
    padding: 4px 0;
}

.client-template-luxe .market-detail-category {
    color: #5b4ce6;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.client-template-luxe .market-detail-info h1 {
    margin: 12px 0 9px;
    color: #101729;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.client-template-luxe .market-detail-sales {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #71809b;
    font-size: 11px;
}

.client-template-luxe .market-detail-sales span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.client-template-luxe .market-detail-sales i {
    color: #0b9b72;
}

.client-template-luxe .market-detail-summary {
    margin-top: 20px;
    color: #5d6980;
    font-size: 13px;
    line-height: 1.7;
}

.client-template-luxe .market-purchase-panel {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #a9c9ee;
    border-radius: 8px;
    background: #edf7ff;
}

.client-template-luxe .market-purchase-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-template-luxe .market-purchase-price strong {
    color: #078b67;
    font-size: 30px;
    line-height: 1;
}

.client-template-luxe .market-purchase-price del {
    color: #8995aa;
    font-size: 12px;
}

.client-template-luxe .market-purchase-price span {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
}

.client-template-luxe .market-purchase-price .in-stock {
    color: #087a5d;
    background: #cbf3e4;
}

.client-template-luxe .market-purchase-price .out-stock {
    color: #a43e37;
    background: #f9d8d5;
}

.client-template-luxe .market-inline-purchase {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #c9dced;
}

.client-template-luxe .market-inline-loading,
.client-template-luxe .market-inline-error,
.client-template-luxe .market-inline-sold-out {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #64718a;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.client-template-luxe .market-inline-error {
    color: #ad423b;
}

.client-template-luxe .market-inline-sold-out {
    margin-top: 18px;
    min-height: 96px;
    border-top: 1px solid #ead1cf;
    color: #a43e37;
}

.client-template-luxe #inlinePurchase .product-view,
.client-template-luxe #inlinePurchase .product-view-inline {
    max-width: none;
    border-radius: 0;
    background: transparent;
}

.client-template-luxe #inlinePurchase .product-view > .row {
    margin: 0;
}

.client-template-luxe #inlinePurchase .product-view > .row > [class*="col-"] {
    padding: 0;
}

.client-template-luxe #inlinePurchase .view-details {
    margin: 0;
    padding: 0;
}

.client-template-luxe #inlinePurchase .view-details table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.client-template-luxe #inlinePurchase .view-details table td {
    padding: 11px 0;
    border-color: #dbe7f1;
    color: #637089;
    font-size: 12px;
    vertical-align: middle;
}

.client-template-luxe #inlinePurchase .view-details table td:first-child {
    width: 38%;
    padding-right: 12px;
}

.client-template-luxe #inlinePurchase .view-details table td.text-right,
.client-template-luxe #inlinePurchase .view-details table td strong {
    color: #172033;
}

.client-template-luxe #inlinePurchase .view-details table #into_pay {
    color: #087a5d !important;
    font-size: 18px;
}

.client-template-luxe #inlinePurchase .form-control-view-product,
.client-template-luxe #inlinePurchase .view-details .form-select {
    min-height: 38px;
    border: 1px solid #cad8e6;
    border-radius: 7px;
    color: #172033;
    background: #ffffff;
}

.client-template-luxe #inlinePurchase .product-action {
    display: grid !important;
    grid-template-columns: 36px minmax(62px, 1fr) 36px;
    gap: 6px;
    max-width: 190px;
}

.client-template-luxe #inlinePurchase .product-action button,
.client-template-luxe #inlinePurchase .product-action input {
    height: 38px;
    border: 1px solid #cad8e6;
    border-radius: 7px;
    color: #172033;
    background: #ffffff;
}

.client-template-luxe #inlinePurchase .view-add-group {
    margin: 18px 0 10px;
}

.client-template-luxe #inlinePurchase .btn-buy,
.client-template-luxe #inlinePurchase .lempay-entry {
    min-height: 46px;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
}

.client-template-luxe #inlinePurchase .btn-buy {
    background: #0f766e;
}

.client-template-luxe #inlinePurchase .btn-buy:hover {
    background: #115e59;
}

.client-template-luxe #inlinePurchase .lempay-entry {
    background: #172033;
}

.client-template-luxe #inlinePurchase .lempay-entry:hover:not(:disabled),
.client-template-luxe #inlinePurchase .lempay-entry.is-open {
    background: #27364b;
}

.client-template-luxe #inlinePurchase .lempay-method-panel {
    border-color: #cad8e6;
    background: #ffffff;
}

.client-template-luxe #inlinePurchase .view-action-group {
    margin-top: 10px;
}

.client-template-luxe #inlinePurchase .pv-container-inline {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.client-template-luxe #inlinePurchase .pv-container-inline .pv-header {
    padding: 0 0 14px !important;
}

.client-template-luxe #inlinePurchase .pv-container-inline .pv-body {
    flex-direction: column !important;
    gap: 12px !important;
}

.client-template-luxe #inlinePurchase .pv-container-inline .pv-left,
.client-template-luxe #inlinePurchase .pv-container-inline .pv-right {
    width: 100% !important;
}

.client-template-luxe .market-detail-buy {
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    background: #2948b8;
    font-size: 14px;
    font-weight: 800;
}

.client-template-luxe .market-detail-buy:hover {
    background: #1d3696;
}

.client-template-luxe .market-detail-buy:disabled {
    color: #7b8391;
    background: #d5dae4;
    cursor: not-allowed;
}

.client-template-luxe .market-purchase-panel > small {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64718a;
    font-size: 10px;
    text-align: center;
}

.client-template-luxe .market-detail-description {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    background: #ffffff;
}

.client-template-luxe .market-detail-tabs {
    min-height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dfe4ee;
}

.client-template-luxe .market-detail-tabs button {
    height: 50px;
    border: 0;
    border-bottom: 2px solid #5b4ce6;
    color: #4f46e5;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
}

.client-template-luxe .market-detail-description-body {
    min-height: 100px;
    padding: 22px;
    color: #414b60;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.client-template-luxe .market-detail-description-body img {
    max-width: 100%;
    height: auto;
}

.client-template-luxe .market-related-products {
    margin-top: 34px;
    scroll-margin-top: 86px;
}

@media (min-width: 1200px) {
    .client-template-luxe .market-catalog-page .market-product-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .client-template-luxe .market-related-products .market-product-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .client-template-luxe .market-catalog-page .market-product-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .client-template-luxe .market-catalog-heading {
        padding: 22px 0 20px;
    }

    .client-template-luxe .market-catalog-title-row {
        margin-top: 16px;
        align-items: flex-start;
    }

    .client-template-luxe .market-catalog-title-row h1,
    .client-template-luxe .market-detail-info h1 {
        font-size: 24px;
    }

    .client-template-luxe .market-catalog-description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .client-template-luxe .market-catalog-filter {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .client-template-luxe .market-catalog-filter label {
        display: none;
    }

    .client-template-luxe .market-catalog-filter > a {
        grid-column: 1 / 3;
    }

    .client-template-luxe .market-detail-page {
        padding-top: 20px;
    }

    .client-template-luxe .market-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .client-template-luxe .market-detail-main-image {
        aspect-ratio: 4 / 3;
    }

    .client-template-luxe .market-detail-assurances {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .client-template-luxe .market-detail-assurances span {
        padding: 8px 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

    .client-template-luxe .market-detail-assurances i {
        font-size: 15px;
    }

    .client-template-luxe .market-detail-assurances small {
        display: none;
    }

    .client-template-luxe .market-purchase-panel {
        padding: 16px;
    }

    .client-template-luxe #inlinePurchase .view-details table td:first-child {
        width: 34%;
    }

    .client-template-luxe #inlinePurchase .lempay-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .client-template-luxe .market-purchase-price strong {
        font-size: 25px;
    }
}

@media (max-width: 420px) {
    .client-template-luxe .market-catalog-count {
        display: none;
    }

    .client-template-luxe .market-catalog-result-head h2 {
        font-size: 19px;
    }

    .client-template-luxe .market-detail-description-body {
        padding: 16px;
    }
}
