html,body {
    background-color: #fff;
}


.dm-account-wrap {
    padding: 34px 0 50px;
    background: #fcfcfc !important;
}

.marketplace-compact .section-padding {
    padding: 3rem 0;
}

.marketplace-compact .card,
.marketplace-compact .item-card,
.marketplace-compact .card-pay {
    border-radius: 6px;
}
.btn-list>.btn, .btn-list>.dropdown {
    margin-block-end: 0;
}

img {
    max-width: fit-content;
}

.brdr{
  border-radius: 0 !important;
}
.marketplace-compact .item-card .cardbody {
    padding: 1rem;
}

.marketplace-compact .product-thumb {
    aspect-ratio: 590 / 300;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.marketplace-compact .item-card9-img,
.marketplace-compact .item-card9-imgs {
    background: #f3f6fb;
    overflow: hidden;
}

.marketplace-compact .item-card9-img img.cover-image,
.marketplace-compact .item-card9-imgs img.cover-image {
    aspect-ratio: 590 / 300;
    display: block !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    transform: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    -webkit-transition: none !important;
    width: 100% !important;
}

.marketplace-compact .item-card9-imgs:hover img.cover-image,
.marketplace-compact .item-card9-img:hover img.cover-image,
.marketplace-compact .tab-content.Marketplace #tab-11 .item-card9-imgs:hover img.cover-image,
.marketplace-compact .tab-content.Marketplace #tab-12 .item-card9-imgs:hover img.cover-image {
    transform: none !important;
    -webkit-transform: none !important;
}

.marketplace-compact .tab-content.Marketplace #tab-11 .card-list-item1 > .d-md-flex {
    align-items: flex-start;
}

.marketplace-compact .tab-content.Marketplace #tab-11 .item-card9-img {
    flex: 0 0 40%;
    max-width: 40%;
    width: 40%;
}

.marketplace-compact .tab-content.Marketplace #tab-11 .dm-list-product-info {
    flex: 0 0 60%;
    max-width: 60%;
    min-width: 0;
    width: 60%;
}

.marketplace-compact .tab-content.Marketplace #tab-11 .item-card9-img,
.marketplace-compact .tab-content.Marketplace #tab-12 .item-card9-img,
.marketplace-compact .tab-content.Marketplace #tab-11 .item-card9-imgs,
.marketplace-compact .tab-content.Marketplace #tab-12 .item-card9-imgs {
    aspect-ratio: 590 / 300;
    height: auto !important;
}

.marketplace-compact .tab-content.Marketplace #tab-11 img.cover-image,
.marketplace-compact .tab-content.Marketplace #tab-12 img.cover-image {
    height: 100% !important;
    min-height: 0 !important;
}

@media (max-width: 767.98px) {
    .marketplace-compact .tab-content.Marketplace #tab-11 .item-card9-img,
    .marketplace-compact .tab-content.Marketplace #tab-11 .dm-list-product-info {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

.marketplace-compact .dashboard-stat {
    min-height: 118px;
}

.marketplace-compact .table td,
.marketplace-compact .table th {
    vertical-align: middle;
}

.marketplace-compact .header-search-logo img,
.marketplace-compact .horizontal-logo img {
    max-height: 45px;
}

.header-brand-img {
    height: 3.5rem;
    line-height: 2rem;
    vertical-align: bottom;
    margin-inline-end: 0.5rem;
    width: auto;
}

@media (max-width: 767.98px) {
.horizontal-header {
    width: 100%;
    display: block;
    position: relative;
    top: 0;
    inset-inline-start: 0;
    z-index: 1;
    height: 54px;
    background-color: #262626;
    text-align: center;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.sticky-wrapper {
    height: 0 !important;
    margin-top: -5px;
    z-index: 0 !important;
    background: #262626 !important;
    border: 0 !important;
}


.header-main .top-bar {
    min-height: 42px;
    z-index: 1;
}
}
.marketplace-compact .marketplace-hero {
    min-height: 430px;
}

.marketplace-compact .marketplace-hero .header-text {
    padding: 5rem 0 4rem;
}

.marketplace-compact .dm-home-featured-templates .panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.marketplace-compact .dm-home-featured-templates .panel-body {
    background: transparent;
    border: 0;
    padding: 0;
}

.marketplace-compact .dm-home-featured-templates .tabs-menu {
    background: transparent;
}

.marketplace-compact .dm-home-featured-templates .panel-tabs {
    gap: 8px;
}

.marketplace-compact .dm-home-featured-templates .panel-tabs li a {
    border-radius: 4px;
    min-height: 34px;
}

.marketplace-compact .dm-home-featured-templates .temp-cat {
    align-items: flex-start;
    margin: 0;
    row-gap: 10px;
}

.marketplace-compact .dm-home-featured-templates .temp-thumb {
    margin-bottom: 0;
}

.marketplace-compact .dm-home-featured-templates .dm-home-template-thumb {
    align-items: center;
    background: #fff;
    border-radius: 4px;
    display: inline-flex;
    height: 88px;
    justify-content: center;
    padding: 4px;
    width: 88px;
}

.marketplace-compact .dm-home-featured-templates .dm-home-template-thumb img {
    aspect-ratio: 1 / 1;
    height: 80px !important;
    max-height: 80px;
    max-width: 80px !important;
    object-fit: contain;
    width: 80px !important;
}

.marketplace-compact .marketplace-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}

.marketplace-compact .status-draft {
    background: #f2f4f8;
    color: #4d5875;
}

.marketplace-compact .status-pending_review {
    background: #fff4df;
    color: #9c6500;
}

.marketplace-compact .status-approved {
    background: #e8f7ee;
    color: #1d7a42;
}

.marketplace-compact .status-rejected,
.marketplace-compact .status-needs_changes {
    background: #fdecee;
    color: #b42335;
}

.marketplace-compact .btn-icon-form {
    display: inline;
}

.marketplace-compact .btn-icon-form button {
    border: 0;
}

.marketplace-compact .text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.marketplace-compact .item-card9-icons form {
    display: inline;
    margin: 0;
}

.marketplace-compact .item-card9-icons .item-card9-icons1 {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50px !important;
    line-height: 2rem !important;
    text-align: center;
    color: #6c6c6c;
}

.marketplace-compact .item-card9-icons button.item-card9-icons1 {
    cursor: pointer;
    color: #fff;
}

.marketplace-compact .licence-content {
    display: none;
}

.marketplace-compact .licence-content.active {
    display: block;
}

body.dm-route-browse:not(.dm-route-account) main,
body.dm-route-product:not(.dm-route-account) main {
    padding-top: 0 !important;
}

body.dm-route-browse:not(.dm-route-account) main > .bg-white.border-bottom,
body.dm-route-product:not(.dm-route-account) main > .bg-white.border-bottom,
body.dm-route-browse:not(.dm-route-account) main .bg-white.border-bottom:has(.page-header),
body.dm-route-product:not(.dm-route-account) main .bg-white.border-bottom:has(.page-header) {
    display: block !important;
    height: auto !important;
    min-height: initial !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

body.dm-route-browse:not(.dm-route-account) main .sptb-5:has(.header-text1),
body.dm-route-product:not(.dm-route-account) main .sptb-5:has(.header-text1) {
    display: block !important;
    height: auto !important;
    min-height: initial !important;
    margin: 0 !important;
    padding-block-start: 8.5rem !important;
    padding-block-end: 4.5rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

body.dm-route-browse:not(.dm-route-account) main .page-header,
body.dm-route-product:not(.dm-route-account) main .page-header {
    display: flex !important;
    height: auto !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

body.dm-route-browse:not(.dm-route-account) main .header-text1,
body.dm-route-product:not(.dm-route-account) main .header-text1 {
    display: block !important;
    height: auto !important;
    min-height: initial !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

body.dm-route-browse:not(.dm-route-account) main .cover-image.bg-background,
body.dm-route-product:not(.dm-route-account) main .cover-image.bg-background {
    display: block !important;
    height: auto !important;
    min-height: initial !important;
    overflow: visible !important;
}

body.dm-route-browse:not(.dm-route-account) main .header-text1,
body.dm-route-product:not(.dm-route-account) main .header-text1 {
    margin: 0 !important;
    padding: 0 !important;
}

/* User profile/account improvements */
.dm-avatar {
    border-radius: 50%;
    object-fit: cover;
    background: #f2f4f8;
    border: 1px solid rgba(15, 23, 42, .08);
}

.dm-header-user {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .25rem .55rem;
    border: 1px solid #e7e9ef;
    color: #1f2937;
    background: #fff;
    text-decoration: none;
}

.dm-header-user:hover { color: #0057d8; text-decoration: none; }
.dm-header-user strong { display: block; font-size: .82rem; line-height: 1.1; }
.dm-header-user small { display: block; color: #6b7280; font-size: .72rem; line-height: 1.1; }

.dm-account-wrap {
    padding: 34px 0 50px;
    background: #f7f8fb;
}

.dm-account-breadcrumb {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    color: #7a8190;
    margin-bottom: 18px;
}

.dm-account-breadcrumb a { color: #536078; }
.dm-account-breadcrumb strong { color: #1f2937; font-weight: 600; }

.dm-account-shell {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 22px;
    align-items: flex-start;
}

.dm-account-sidebar,
.dm-account-content,
.dm-profile-card,
.dm-square-card {
    border: 1px solid #e7e9ef;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}

.dm-account-sidebar { padding: 18px; }
.dm-account-user { display: flex; gap: .8rem; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #eef0f5; }
.dm-account-user h5 { margin: 0; font-size: .95rem; font-weight: 700; color: #111827; }
.dm-account-user p { margin: .1rem 0 0; color: #667085; font-size: .78rem; }
.dm-small-link { font-size: .75rem; color: #0057d8; }

.dm-account-menu { display: grid; gap: 4px; margin-top: 14px; }
.dm-account-menu a {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #4b5563;
    padding: 3px 10px;
    font-size: 14px;
    border-radius: 3px;
    text-decoration: none;
}
.dm-account-menu a:hover,
.dm-account-menu a.active { background: #eef4ff; color: #075ee8; }
.dm-account-menu i { width: 16px; text-align: center; }

.dm-account-content { padding: 22px; }
.dm-account-page-head { margin-bottom: 18px; }
.dm-account-page-head h1 { font-size: 1.35rem; margin: 0; color: #101828; }
.dm-account-page-head p { margin: .3rem 0 0; color: #667085; font-size: .9rem; }

.dm-profile-card { padding: 22px; }
.dm-profile-card-header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid #eef0f5; margin-bottom: 18px; }
.dm-profile-card-header h3 { font-size: 1.05rem; margin: 0; color: #101828; }
.dm-profile-card-header p { margin: .25rem 0 0; color: #667085; font-size: .85rem; }
.dm-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dm-upload-box { border: 1px dashed #cdd5e1; background: #fbfcff; padding: 14px; border-radius: 4px; }
.dm-upload-box small { display: block; color: #667085; font-size: .75rem; margin-top: .4rem; }
.dm-avatar-preview { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.dm-avatar-preview strong { display: block; color: #111827; }
.dm-avatar-preview span { color: #667085; font-size: .85rem; }
.dm-cover-preview { height: 112px; background-size: cover; background-position: center; border: 1px solid #e7e9ef; margin-bottom: .8rem; }
.dm-richtext-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; border: 1px solid #dfe4ee; border-bottom: 0; background: #f8fafc; }
.dm-richtext-toolbar button { border: 1px solid #d6dce8; background: #fff; padding: .28rem .55rem; font-size: .78rem; color: #344054; }
.dm-richtext-editor { min-height: 165px; border: 1px solid #dfe4ee; padding: 12px; background: #fff; outline: none; line-height: 1.55; }
.dm-richtext-editor:focus { border-color: #6c86ff; box-shadow: 0 0 0 3px rgba(73, 105, 255, .12); }
.dm-form-actions { display: flex; justify-content: flex-end; border-top: 1px solid #eef0f5; padding-top: 16px; margin-top: 10px; }

.dm-public-profile { padding: 34px 0 56px; background: #f7f8fb; }
.dm-public-cover {
    min-height: 245px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    color: #fff;
    border-radius: 6px 6px 0 0;
    border-left: 1px solid rgb(232 233 239);
    border-right: 1px solid rgb(232 233 239);
    border-top: 1px solid rgb(232 233 239);
    border-bottom: 0 solid rgb(232 233 239);
}
.dm-public-cover-clean { display: block; padding: 0; }
.dm-public-profile-info { display: flex; align-items: center; gap: 1rem; }
.dm-public-avatar { border: 3px solid rgba(255,255,255,.92); }
.dm-public-profile-info h1 { margin: 0; font-size: 1.75rem; color: #fff; }
.dm-public-headline { margin: .28rem 0 .55rem; color: rgba(255,255,255,.88); }
.dm-public-stats { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.92); }
.dm-author-details-profile { align-items: flex-start; border-bottom: 1px solid #eef0f5; display: flex; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; }
.dm-author-details-profile .dm-public-avatar { border-color: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.12); flex: 0 0 auto; }
.dm-author-details-main { min-width: 0; }
.dm-author-details-main h1 { color: #111827; font-size: 1.35rem; line-height: 1.2; margin: 0; }
.dm-author-details-main .dm-public-headline { color: #667085; line-height: 1.45; margin: .3rem 0 .55rem; }
.dm-author-details-main .dm-public-stats { color: #475467; gap: .7rem; }
.dm-author-details-main .dm-public-stats span { align-items: center; display: inline-flex; gap: 5px; }
.dm-profile-description { color: #475467; line-height: 1.7; }
.dm-detail-list { list-style: none; padding: 0; margin: 0; }
.dm-detail-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #eef0f5; }
.dm-detail-list li:last-child { border-bottom: 0; }
.dm-detail-list strong { color: #344054; }
.dm-detail-list span, .dm-detail-list a { color: #667085; text-align: right; }
.dm-review-mini { border-bottom: 1px solid #eef0f5; padding-bottom: 12px; margin-bottom: 12px; }
.dm-review-mini:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.dm-review-mini p { margin: .25rem 0 0; color: #667085; font-size: .85rem; }

@media (max-width: 991px) {
    .dm-account-shell { grid-template-columns: 1fr; }
    .dm-profile-grid { grid-template-columns: 1fr; }
    .dm-public-profile-info { align-items: flex-start; }
}

@media (max-width: 575px) {
    .dm-account-content,
    .dm-profile-card,
    .dm-account-sidebar { padding: 15px; }
    .dm-profile-card-header { flex-direction: column; }
    .dm-public-cover { padding: 18px; }
    .dm-public-profile-info { flex-direction: column; }
    .dm-author-details-profile { flex-direction: column; }
}

/* Author/User account restoration patch */
.dm-author-wrap .container,
.dm-account-wrap .container {
    max-width: 1180px;
}
.dm-author-shell,
.dm-account-shell {
    grid-template-columns: 245px minmax(0, 1fr);
}
.dm-author-sidebar {
    position: sticky;
    top: 18px;
}
.dm-author-content .card,
.dm-account-content .card {
    border-radius: 4px;
    border-color: #e8ebf2;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}
.dm-author-content .card-header,
.dm-account-content .card-header {
    padding: .85rem 1rem;
    background: #fff;
    border-bottom-color: #edf0f6;
}
.dm-author-content .card-body,
.dm-account-content .card-body {
    padding: 1rem;
}
.dm-author-content h2,
.dm-account-content h2 {
    font-size: 1.18rem;
}
.dm-account-breadcrumb {
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .025);
}
.dm-account-breadcrumb a {
    text-decoration: none;
}
.dm-account-breadcrumb span {
    color: #a0a7b5;
}
@media (max-width: 991px) {
    .dm-author-sidebar {
        position: static;
    }
    .dm-author-shell,
    .dm-account-shell {
        grid-template-columns: 1fr;
    }
}

.dm-public-products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 14px;
}
.dm-public-products-head h3 {
    margin: 0;
    font-size: 1.16rem;
    color: #101828;
    font-weight: 700;
}
.dm-public-products-head p {
    margin: .25rem 0 0;
    color: #667085;
    font-size: .84rem;
}
.dm-public-products-grid .item-card,
.dm-public-products-grid .card {
    box-shadow: 0 5px 14px rgba(15, 23, 42, .035);
}
.dm-public-pagination {
    margin-top: 4px;
}
.dm-public-pagination .pagination {
    margin-bottom: 0;
}
.pagination .page-link {
    align-items: center;
    display: inline-flex;
    height: 35px;
    justify-content: center;
    line-height: 1;
    min-height: 35px;
    min-width: 35px;
    padding: 0 10px;
}

.dm-author-wrap .btn,
.dm-author-wrap .btn:hover,
.dm-author-wrap .btn:focus,
.dm-author-wrap .btn:active,
.dm-author-wrap .btn-check:focus + .btn {
    box-shadow: none !important;
}

.dm-upload-form .card,
.dm-upload-form .dm-upload-card {
    border-radius: 4px;
    border: 1px solid #e8ebf2;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .025);
}
.dm-upload-form .card-header {
    background: #fff;
    border-bottom: 1px solid #eef0f5;
    padding: .85rem 1rem;
}
.dm-upload-form .card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}
.dm-upload-form .card-body {
    padding: 1rem;
}
.dm-upload-form .card-footer {
    background: #fff;
    border-top: 1px solid #eef0f5;
    padding: .85rem 1rem;
}
.dm-upload-form .form-label {
    font-size: .84rem;
    font-weight: 600;
    color: #344054;
    margin-bottom: .4rem;
}
.dm-upload-form .form-control,
.dm-upload-form .form-select {
    border-radius: 3px;
    font-size: .86rem;
    min-height: 38px;
}
.dm-upload-form textarea.form-control {
    min-height: auto;
}
.dm-template-file {
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid #d9dee8;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}
.dm-template-file .custom-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.dm-template-file .custom-file-label {
    margin: 0;
    width: 100%;
    height: 100%;
    padding: .54rem .75rem;
    color: #667085;
    font-size: .84rem;
    background: #fbfcff;
}
.dm-template-file .custom-file-label::after {
    content: "Browse";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 .85rem;
    background: #f1f4f9;
    border-left: 1px solid #d9dee8;
    color: #344054;
    font-weight: 600;
}
.dm-upload-subtitle {
    font-size: .95rem;
    font-weight: 700;
    color: #101828;
    padding-top: .2rem;
    margin-bottom: .8rem;
}
.dm-upload-form .widget-spec li {
    font-size: .84rem;
    line-height: 1.55;
    padding-bottom: .55rem;
}
.dm-upload-form .widget-spec li i {
    margin-right: .45rem;
}

/* User request: compact unified account/sidebar and dashboard stats */
.dm-author-shell,
.dm-account-shell {
    grid-template-columns: 290px minmax(0, 1fr) !important;
}
.marketplace-compact .dashboard-stat,
.marketplace-compact .dm-dashboard-stat {
    min-height: 100px !important;
}
.dashboard-stat h3,
.dm-dashboard-stat h3 {
    font-size: 20px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    margin: 10px 0 3px !important;
}
.dm-author-content .modal.fade:not(.show):not(.dm-force-modal),
.dm-account-content .modal.fade:not(.show):not(.dm-force-modal) {
    display: none !important;
}
.dm-force-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 30050 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    overflow: auto !important;
    background: transparent !important;
}
.dm-force-modal .modal-dialog {
    margin: 0 !important;
    width: min(560px, 100%) !important;
    max-width: 100% !important;
}
.dm-force-modal .modal-content {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .25) !important;
}
@media (max-width: 991px) {
    .dm-author-shell,
    .dm-account-shell {
        grid-template-columns: 1fr !important;
    }
}


/* DigiMarket stable account/dashboard overrides - keep these at the end. */
.dm-author-wrap .container,
.dm-account-wrap .container {
    max-width: 1180px !important;
    padding: 0 !important;
}
.dm-author-shell,
.dm-account-shell {
    grid-template-columns: 290px minmax(0, 1fr) !important;
}
.marketplace-compact .dashboard-stat,
.marketplace-compact .dm-dashboard-stat {
    min-height: 100px !important;
}
.dashboard-stat h3,
.dm-dashboard-stat h3 {
    font-size: 20px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    margin: 10px 0 3px !important;
}
.dm-author-badge-icon {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 30% !important;
    font-size: 20px !important;
    color: #fff !important;
    box-shadow: none !important;
}
.dm-public-store-mini.btn.btn-primary.btn-sm,
.dm-author-card-mini .btn.btn-primary.btn-sm.dm-public-store-mini {
    color: #fff !important;
    border-color: #0d6efd !important;
    background: #0d6efd !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    border-radius: 3px !important;
}
@media (max-width: 991px) {
    .dm-author-shell,
    .dm-account-shell {
        grid-template-columns: 1fr !important;
    }
}


/* Final account/dashboard retention rules - do not remove in future patches. */
.dm-author-wrap .container,
.dm-account-wrap .container {
    max-width: 1180px !important;
    padding: 0 !important;
}
.dm-author-shell,
.dm-account-shell {
    grid-template-columns: 290px minmax(0, 1fr) !important;
}
.marketplace-compact .dashboard-stat,
.marketplace-compact .dm-dashboard-stat {
    min-height: 100px !important;
}
.dashboard-stat h3,
.dm-dashboard-stat h3 {
    font-size: 20px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    margin: 10px 0 3px !important;
}
.dm-author-badge-icon {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 30% !important;
    font-size: 20px !important;
    color: #fff !important;
    box-shadow: none !important;
}
.dm-public-store-mini.btn.btn-primary.btn-sm, .dm-author-card-mini .btn.btn-primary.btn-sm.dm-public-store-mini {
    color: #fff !important;
    border-color: #c35a00 !important;
    background: #f1610c !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    border-radius: 3px !important;
}
@media (max-width: 991px) {
    .dm-author-shell,
    .dm-account-shell {
        grid-template-columns: 1fr !important;
    }
}

.add-wishlist i:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 20px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7em;
}

/* Keep account heading compact: title, breadcrumb and shell should stay close. */
body.dm-route-account .dm-account-wrap,
body.dm-route-account .dm-author-wrap {
    padding-top: 76px !important;
}

body.dm-route-account .dm-account-heading-block {
    margin: 0 !important;
    padding: 0 !important;
}

body.dm-route-account .dm-account-page-title {
    margin: 0 0 7px !important;
    padding: 0 !important;
}

body.dm-route-account .dm-account-breadcrumb {
    margin-top: 0 !important;
}

.dm-language-switch,
.dm-language-item {
    align-items: center;
    display: inline-flex !important;
    gap: 7px;
}

.dm-language-switch img,
.dm-language-item img {
    border-radius: 2px;
    height: 14px;
    object-fit: cover;
    width: 20px;
}

html[dir="rtl"] body.marketplace-compact {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .horizontalMenu > .horizontalMenu-list > li,
html[dir="rtl"] .top-bar-left,
html[dir="rtl"] .top-bar-right {
    direction: rtl;
}

html[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .me-1,
html[dir="rtl"] .me-2,
html[dir="rtl"] .me-3 {
    margin-left: .5rem !important;
    margin-right: 0 !important;
}

.dm-docs-shell {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: 280px minmax(0, 1fr);
}

.dm-docs-sidebar,
.dm-docs-content {
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}

.dm-docs-sidebar {
    padding: 18px;
    position: sticky;
    top: 20px;
}

.dm-docs-sidebar h4 {
    color: #101828;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.dm-docs-tree,
.dm-docs-tree-group,
.dm-docs-tree-group div {
    display: grid;
    gap: 4px;
}

.dm-docs-tree a {
    border-radius: 3px;
    color: #4b5563;
    padding: 8px 10px;
    text-decoration: none;
}

.dm-docs-tree-group div {
    border-left: 1px solid #e5e7eb;
    margin-left: 12px;
    padding-left: 10px;
}

.dm-docs-tree a:hover,
.dm-docs-tree a.active {
    background: #eef4ff;
    color: #075ee8;
}

.dm-docs-content {
    padding: 24px;
}

.dm-docs-head {
    border-bottom: 1px solid #eef0f5;
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.dm-docs-head h1,
.dm-docs-article h1 {
    color: #101828;
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.dm-docs-head p,
.dm-docs-card p,
.dm-docs-meta {
    color: #667085;
}

.dm-docs-list {
    display: grid;
    gap: 12px;
}

.dm-docs-card {
    align-items: center;
    border: 1px solid #eef0f5;
    border-radius: 4px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.dm-docs-card h3 {
    font-size: 1.05rem;
    margin: 0 0 6px;
}

.dm-docs-card h3 a {
    color: #101828;
}

.dm-docs-card p {
    margin: 0 0 8px;
}

.dm-docs-card span {
    color: #8a93a3;
    font-size: .8rem;
}

.dm-docs-body {
    color: #344054;
    font-size: .95rem;
    line-height: 1.75;
}

.dm-docs-body pre {
    background: #0f172a;
    border-radius: 4px;
    color: #e5e7eb;
    overflow: auto;
    padding: 16px;
}

.dm-docs-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.dm-author-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 12px;
}

.dm-public-profile-info .dm-author-badges {
    justify-content: flex-start;
}

.dm-author-badge {
    align-items: center;
    background: var(--dm-badge-bg, linear-gradient(135deg, #2563eb, #0891b2));
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    color: #fff;
    display: inline-flex;
    filter: saturate(1.1) brightness(.98);
    font-size: 13px;
    height: 30px;
    justify-content: center;
    box-shadow: 0 7px 14px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255, 255, 255, .32);
    width: 30px;
}

.dm-chat-body {
    max-height: 430px;
    min-height: 320px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

@media (max-width: 991px) {
    .dm-docs-shell {
        grid-template-columns: 1fr;
    }

    .dm-docs-sidebar {
        position: static;
    }
}

/* Merged source: CLEANING/duplicate-css/custom-split/header-icons-template.css */
/* DigiMarket header icon area restored to the original Templist dropdown structure.
   Refinement: keep the icon size, badges and dropdown headers consistent across
   homepage and account pages. */
.dm-template-header-icons,
.header-main .header-right-icons.header-search-icon {
    align-items: center !important;
    gap: 0 !important;
}

/* Make notification/message/cart/user buttons the same compact size everywhere. */
.dm-template-header-icons .nav-link.icon,
.header-main .header-right-icons .nav-link.icon {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #3d4e67 !important;
    padding: 0 !important;
    margin: 0 1px !important;
    line-height: 1 !important;
    position: relative !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

.dm-template-header-icons .nav-link.icon i,
.header-main .header-right-icons .nav-link.icon i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
}

/* Badge fix: prevents numbers from escaping the red badge in account pages. */
.dm-template-header-icons .nav-unread,
.header-main .header-right-icons .nav-unread,
.dm-template-header-icons .badge.bg-danger,
.header-main .header-right-icons .badge.bg-danger {
    position: absolute !important;
    top: 2px !important;
    right: 1px !important;
    min-width: 15px !important;
    width: auto !important;
    height: 15px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    transform: none !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.dm-template-header-icons .pulse,
.header-main .header-right-icons .pulse {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

/* Dropdowns should look like normal Templist cards, not large rounded bubbles. */
.dm-template-header-icons .dropdown-menu,
.header-main .header-right-icons .dropdown-menu {
    border: 1px solid #e4e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10) !important;
    overflow: hidden !important;
}

.dm-template-header-icons .dropdown-menu-arrow:before,
.dm-template-header-icons .dropdown-menu-arrow:after,
.header-main .header-right-icons .dropdown-menu-arrow:before,
.header-main .header-right-icons .dropdown-menu-arrow:after {
    border-radius: 0 !important;
}

/* Override Bootstrap rounded-top-5 used by the original snippet. */
.dm-template-header-icons .rounded-top-5,
.header-main .header-right-icons .rounded-top-5,
.dm-template-header-icons .dropdown-menu > .bg-indigo-lightest,
.header-main .header-right-icons .dropdown-menu > .bg-indigo-lightest {
    border-radius: 4px 4px 0 0 !important;
}

.dm-template-header-icons .dropdown-menu > .p-4,
.header-main .header-right-icons .dropdown-menu > .p-4 {
    padding: 12px 14px !important;
}

.dm-template-header-icons .dropdown-title,
.header-main .header-right-icons .dropdown-title {
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.dm-template-header-icons .tx-12,
.header-main .header-right-icons .tx-12 {
    font-size: 11px !important;
}

.dm-template-header-icons .header-dropdown-list,
.header-main .header-right-icons .header-dropdown-list {
    max-height: 320px !important;
    overflow-y: auto !important;
}

.dm-template-header-icons .notify-icon,
.header-main .header-right-icons .notify-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
}

.dm-template-header-icons .dropdown-item h6,
.dm-template-header-icons .dropdown-item .h4,
.header-main .header-right-icons .dropdown-item h6,
.header-main .header-right-icons .dropdown-item .h4 {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.dm-template-header-icons .dropdown-item,
.header-main .header-right-icons .dropdown-item {
    font-size: 13px !important;
}

.dm-template-header-icons .cart-dropdown,
.header-main .header-right-icons .cart-dropdown {
    width: 360px !important;
}

.dm-template-header-icons .dm-header-cart-img,
.header-main .header-right-icons .dm-header-cart-img {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover !important;
}

.dm-template-header-icons .profile-1 .dropdown-menu,
.header-main .header-right-icons .profile-1 .dropdown-menu {
    min-width: 250px !important;
}

.dm-template-header-icons .drop-heading,
.header-main .header-right-icons .drop-heading {
    padding: 12px 14px !important;
}

.dm-template-header-icons .dropdown-icon,
.header-main .header-right-icons .dropdown-icon,
.header-main .top-bar-right .custom .dropdown-icon {
    width: 22px !important;
    display: inline-block !important;
    color: #526484 !important;
    text-align: center !important;
}

.dm-template-header-icons .dropdown-footer,
.header-main .header-right-icons .dropdown-footer {
    border-radius: 0 0 4px 4px !important;
}

@media (max-width: 767.98px) {
    .dm-template-header-icons .cart-dropdown,
    .dm-template-header-icons .dropdown-menu,
    .header-main .header-right-icons .cart-dropdown,
    .header-main .header-right-icons .dropdown-menu {
        width: min(330px, calc(100vw - 20px)) !important;
    }

    .dm-template-header-icons .nav-link.icon,
    .header-main .header-right-icons .nav-link.icon {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }

    .dm-template-header-icons .nav-link.icon i,
    .header-main .header-right-icons .nav-link.icon i {
        font-size: 15px !important;
    }
}

/* User-requested header refinement: keep header icons and dropdowns consistent everywhere. */
.dm-template-header-icons,
.header-main .header-right-icons.header-search-icon {
    align-items: center !important;
    gap: 0 10px !important;
}

.dm-template-header-icons .dropdown-menu,
.header-main .header-right-icons .dropdown-menu {
    border: 1px solid #e4e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10) !important;
    overflow: hidden !important;
    min-width: 300px !important;
}

.dm-template-header-icons .cart-dropdown,
.header-main .header-right-icons .cart-dropdown {
    min-width: 340px !important;
}

.dm-template-header-icons .profile-1 .dropdown-menu,
.header-main .header-right-icons .profile-1 .dropdown-menu {
    min-width: 300px !important;
}


/* Final requested header values - keep at the end so later template CSS cannot override them. */
.dm-template-header-icons,
.header-main .header-right-icons.header-search-icon {
    align-items: center !important;
    gap: 0 10px !important;
}
.dm-template-header-icons .dropdown-menu,
.header-main .header-right-icons .dropdown-menu {
    border: 1px solid #e4e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10) !important;
    overflow: hidden !important;
    min-width: 300px !important;
}
.dm-template-header-icons .rounded-top-5,
.header-main .header-right-icons .rounded-top-5,
.dm-template-header-icons .dropdown-menu > .bg-indigo-lightest,
.header-main .header-right-icons .dropdown-menu > .bg-indigo-lightest {
    border-radius: 4px 4px 0 0 !important;
}

/* Keep Apply as Author icon visible even when template icon packs are missing. */
.dm-template-header-icons .dropdown-icon.fa,
.header-main .header-right-icons .dropdown-icon.fa,
.dm-template-header-icons .fa.dropdown-icon,
.header-main .header-right-icons .fa.dropdown-icon,
.header-main .top-bar-right .custom .dropdown-icon.fa,
.header-main .top-bar-right .custom .fa.dropdown-icon {
    font-family: FontAwesome !important;
    font-weight: normal !important;
    width: 22px !important;
    display: inline-block !important;
    text-align: center !important;
    color: #526484 !important;
}

.header-main .top-bar-right .custom .dropdown-icon.icon {
    color: #526484 !important;
}

.dm-template-header-icons .dropdown-icon.fe,
.header-main .header-right-icons .dropdown-icon.fe,
.header-main .top-bar-right .custom .dropdown-icon.fe {
    font-family: feather !important;
    font-weight: 400 !important;
    color: #526484 !important;
}

.dm-template-header-icons .dropdown-icon.fe:before,
.header-main .header-right-icons .dropdown-icon.fe:before,
.header-main .top-bar-right .custom .dropdown-icon.fe:before {
    font-family: feather !important;
}

/* Fallback pentru HTML vechi Ä‚Â®ncĂ„Â aflat Ä‚Â®n cache/opcache. EvitĂ„Â conflictul Themify/Tabler pe prefixul ti. */
.dm-template-header-icons .dropdown-icon.ti-palette:before,
.header-main .header-right-icons .dropdown-icon.ti-palette:before,
.header-main .top-bar-right .custom .dropdown-icon.ti-palette:before {
    content: "\e97e" !important;
    font-family: feather !important;
}

.dm-template-header-icons .dropdown-icon.ti-credit-card:before,
.header-main .header-right-icons .dropdown-icon.ti-credit-card:before,
.header-main .top-bar-right .custom .dropdown-icon.ti-credit-card:before {
    content: "\e94d" !important;
    font-family: feather !important;
}

/* Keep header dropdown cards below their trigger buttons. */
.dm-template-header-icons .dropdown,
.header-main .header-right-icons .dropdown,
.header-main .top-bar-right .custom .dropdown {
    position: relative !important;
}

@media (min-width: 768px) {
    .dm-template-header-icons .dropdown > .dropdown-menu.show,
    .header-main .header-right-icons .dropdown > .dropdown-menu.show,
    .header-main .top-bar-right .custom .dropdown > .dropdown-menu.show {
        inset: auto 0 auto auto !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        margin-top: 0 !important;
    }
}

/* Merged source: CLEANING/duplicate-css/custom-split/page-heading.css */
/* DigiMarket compact page heading injected inside the real page content container.
   Public inner pages use the same breadcrumb look as the account area. */
body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading{margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;width:100%!important;display:block!important}
body.dm-route-inner:not(.dm-route-account) .dm-public-page-title{font-size:24px!important;line-height:1.2!important;font-weight:700!important;color:#253247!important;margin:0 0 8px!important;padding:0!important;background:transparent!important}
body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading .dm-account-breadcrumb{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:.45rem!important;background:#fff!important;border:1px solid #e7e9ef!important;border-radius:4px!important;padding:10px 14px!important;margin:0!important;box-shadow:0 6px 18px rgba(15,23,42,.025)!important;color:#7a8190!important;font-size:13px!important;line-height:1.4!important;min-height:42px!important;width:100%!important}
body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading .dm-account-breadcrumb a{color:#536078!important;text-decoration:none!important}
body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading .dm-account-breadcrumb a:hover{color:#4f46e5!important}
body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading .dm-account-breadcrumb span{color:#a0a7b5!important}
body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading .dm-account-breadcrumb strong{color:#1f2937!important;font-weight:600!important}

@media (max-width: 767.98px) {
    body.dm-route-inner:not(.dm-route-account) .dm-public-page-title{font-size:20px!important}
    body.dm-route-inner:not(.dm-route-account) .dm-public-page-heading .dm-account-breadcrumb{white-space:nowrap!important;overflow-x:auto!important;flex-wrap:nowrap!important}
}

/* Hard stop for old Templist blue/purple banner on inner pages. Homepage keeps its own hero. */
body.dm-route-inner > .sptb-2.bg-background.cover-image,
body.dm-route-inner > section.sptb-2.bg-background.cover-image,
body.dm-route-inner .dm-old-blue-breadcrumb-banner,
body.dm-template-inner-page .dm-template-old-heading-hidden,
body.dm-template-inner-page .bannerimg,
body.dm-template-inner-page section.sptb-2.cover-image,
body.dm-template-inner-page section.sptb-2.bg-background,
body.dm-template-inner-page section.sptb-2.bg-background3,
body.dm-template-inner-page .bg-white.border-bottom .page-header,
body.dm-template-inner-page .sptb-5 .header-text1 {
    display: none !important;
}

/* Account/author/admin pages own their breadcrumb inside the account shell.
   Remove any global public breadcrumb accidentally inserted above the shell. */
body.dm-route-account main>.dm-page-heading-wrap,
body.dm-route-account .dm-js-page-heading,
body.dm-route-account .dm-public-page-heading,
body.dm-route-account .dm-global-page-heading,
body.dm-route-account .dm-page-heading-wrap:not(.dm-account-heading-block),
body.dm-route-author main>.dm-page-heading-wrap,
body.dm-route-author .dm-js-page-heading,
body.dm-route-author .dm-public-page-heading,
body.dm-route-author .dm-global-page-heading,
body.dm-route-admin main>.dm-page-heading-wrap,
body.dm-route-admin .dm-js-page-heading,
body.dm-route-admin .dm-public-page-heading,
body.dm-route-admin .dm-global-page-heading{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}

.dm-account-heading-block {
    margin: 0;
    padding: 0;
}
.dm-account-page-title {
    color: #253247;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 6px;
    padding: 24px 0 0;
}
.dm-account-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
    color: #7a8190;
    font-size: 13px;
    margin-top: 0;
}
.dm-account-breadcrumb a {
    color: #536078;
    text-decoration: none;
}
.dm-account-breadcrumb a:hover {
    color: #4f46e5;
}
.dm-account-breadcrumb span {
    color: #a0a7b5;
}
.dm-account-breadcrumb strong {
    color: #1f2937;
    font-weight: 600;
}
@media (max-width: 767.98px) {
    .dm-account-page-title { font-size: 20px; }
}

/* Merged source: CLEANING/duplicate-css/custom-split/app.css */
/* DigiMarket global app layout styles - consolidated from layouts/app.blade.php inline <style> */

/* Avatar */
.dm-avatar{object-fit:cover;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
.dm-avatar-placeholder{background:#eef1f5;color:#8b95a5;border:1px solid #d9dee7}
.dm-avatar-placeholder i{font-size:45%}

/* Header */
.dm-main-header-actions .header-brand-img{max-height:46px}
.dm-mobile-top-icons{display:none}
.dm-header-tools{min-height:40px}
.dm-header-icon-link{width:34px;height:34px;border:1px solid #dde3ee;background:#fff;color:#3f4a5f;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.dm-header-icon-link:hover{background:#f7f9fc;color:#4f46e5}
.dm-header-badge{position:absolute;top:-7px;right:-7px;background:#ef4444;color:#fff;border-radius:20px;font-size:10px;line-height:16px;min-width:16px;text-align:center;padding:0 4px}
.dm-header-user-toggle{height:34px;border:1px solid #dde3ee;background:#fff;display:flex;align-items:center;gap:7px;padding:0 8px;color:#334155;font-size:12px}
.dm-header-menu{font-size:13px;border-radius:4px;border:1px solid #e4e8f0;box-shadow:0 8px 22px rgba(15,23,42,.08)}
.dm-start-selling-btn{height:34px;display:inline-flex;align-items:center;border-radius:3px;box-shadow:none!important}
.dm-header-avatar-link{padding:0;overflow:hidden}
.dm-header-avatar-link .dm-avatar{width:26px!important;height:26px!important}
.dm-sell-btn{border-radius:3px!important;box-shadow:none!important;min-height:40px;display:inline-flex;align-items:center}
.dm-header-sell-list{margin-left:auto!important}

@media (max-width: 991.98px) {
    .header-main .header-logosec.dm-main-header-actions {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    .header-main .top-bar {
        min-height: 42px;
    }

    .header-main .top-bar .row {
        align-items: center;
    }

    .header-main .top-bar-left {
        display: none !important;
    }

    .header-main .top-bar .col-xl-8,
    .header-main .top-bar .col-lg-8,
    .header-main .top-bar .col-sm-4,
    .header-main .top-bar .col-7 {
        display: none !important;
    }

    .header-main .top-bar .col-xl-4,
    .header-main .top-bar .col-lg-4,
    .header-main .top-bar .col-sm-8,
    .header-main .top-bar .col-5 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .header-main .top-bar-right {
        align-items: center;
        display: flex;
        gap: 6px;
        justify-content: flex-end;
        min-width: 0;
        width: 100%;
    }

    .header-main .top-bar-right .custom {
        align-items: center;
        display: flex;
        flex: 1 1 auto;
        gap: 6px;
        justify-content: flex-end;
        margin: 0;
        min-width: 0;
        padding: 0;
    }

    .header-main .top-bar-right .custom > li {
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
    }

    .header-main .top-bar-right .custom > li > a {
        align-items: center;
        display: inline-flex;
        max-width: 132px;
        min-height: 32px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-main .top-bar-right .custom > li > a span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dm-mobile-top-icons {
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        margin-left: 2px;
        min-width: 0;
    }

    .dm-mobile-top-icons .dm-template-header-icons {
        display: flex !important;
        gap: 2px !important;
        margin-left: 0 !important;
    }

    .dm-mobile-top-icons .dm-template-header-icons .nav-link.icon {
        background: transparent !important;
        color: #334155 !important;
        height: 30px !important;
        max-height: 30px !important;
        max-width: 30px !important;
        min-height: 30px !important;
        min-width: 30px !important;
        width: 30px !important;
    }

    .dm-mobile-top-icons .dm-template-header-icons .dropdown-menu {
        position: absolute !important;
        right: 0 !important;
        top: calc(100% + 8px) !important;
        width: min(330px, calc(100vw - 18px)) !important;
        min-width: min(330px, calc(100vw - 18px)) !important;
        z-index: 2500 !important;
    }

    .horizontal-header {
        min-height: 58px;
    }

    .horizontal-header .container {
        align-items: center;
        display: flex !important;
        justify-content: center;
        min-height: 58px;
        position: relative;
    }

    .horizontal-header #horizontal-navtoggle {
        left: 12px;
        margin: 0 !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .horizontal-header .smllogo {
        display: inline-flex !important;
        left: 50%;
        margin: 0 !important;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .horizontal-header .smllogo img {
        display: block;
        max-height: 38px;
        object-fit: contain;
        width: auto !important;
    }
}

@media (max-width: 420px) {
    .header-main .top-bar-right .custom > li > a {
        max-width: 104px;
    }

    .header-main .top-bar-right .custom .dm-top-available-balance span {
        max-width: 78px;
    }

    .dm-mobile-top-icons .dm-template-header-icons .nav-link.icon {
        height: 28px !important;
        max-height: 28px !important;
        max-width: 28px !important;
        min-height: 28px !important;
        min-width: 28px !important;
        width: 28px !important;
    }
}

/* Modal */
.modal{z-index:30050!important}
.modal.show{display:block!important}
.modal-backdrop{z-index:30040!important}
.modal-dialog{position:relative;z-index:30060!important}
.dm-modal-open{overflow:hidden}
.dm-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:30040}
.dm-force-modal{position:fixed;inset:0;z-index:30050;display:flex!important;align-items:center;justify-content:center;padding:20px;overflow:auto}
.dm-force-modal .modal-dialog{margin:0;width:min(560px,100%)}

/* Favorite and collection toggles */
.dm-wishlist-toggle {
    background: #98a2b3 !important;
    border-color: #98a2b3 !important;
    color: #fff !important;
}
.dm-wishlist-toggle:hover {
    background: #7f8a9d !important;
    border-color: #7f8a9d !important;
    color: #fff !important;
}
.dm-wishlist-toggle.is-active {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #fff !important;
}
.dm-wishlist-toggle.is-active:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
}
.dm-collection-toggle.is-active {
    background: #467fcf !important;
    border-color: #467fcf !important;
    color: #fff !important;
}
.dm-like-toggle {
    background: #64748b !important;
    border-color: #64748b !important;
    color: #fff !important;
}
.dm-like-toggle:hover {
    background: #475569 !important;
    border-color: #475569 !important;
    color: #fff !important;
}
.dm-like-toggle.is-active {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
}
.dm-like-toggle.is-active:hover {
    background: #15803d !important;
    border-color: #15803d !important;
}
.dm-like-count {
    font-weight: 700;
    margin-left: 5px;
}
.dm-toggle-form .is-loading,
.dm-anchor-action .is-loading {
    opacity: .72;
    pointer-events: none;
}
.item-card2-icons .dm-anchor-action {
    display: inline-flex;
}

/* Non-modal content states replacing Bootstrap inline alerts. */
.dm-empty-state,
.dm-info-note,
.dm-success-note,
.dm-warning-note {
    border: 1px solid #e4e9f2;
    background: #f8fafd;
    color: #506070;
    border-radius: 6px;
    padding: 14px 16px;
    margin: 12px 0;
}
.dm-empty-state {
    text-align: center;
}
.dm-info-note {
    border-left: 4px solid #467fcf;
}
.dm-success-note {
    border-left: 4px solid #22c55e;
    background: #f0fdf4;
}
.dm-warning-note {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}

/* Checkout billing profile */
.dm-checkout-billing-card .card-header,
.dm-checkout-billing-card .card-footer {
    background: #fff;
}
.dm-checkout-billing-card .form-label {
    font-weight: 600;
    color: #263047;
}
.dm-checkout-billing-card .dm-info-note,
.dm-checkout-billing-card .dm-success-note,
.dm-checkout-billing-card .dm-warning-note {
    margin-top: 0;
    margin-bottom: 16px;
}
.dm-checkout-billing-card .dm-billing-type {
    padding: 12px 14px;
    border: 1px solid #e6ebf3;
    border-radius: 4px;
    background: #f8fafc;
}
.dm-checkout-billing-card .dm-billing-type label {
    cursor: pointer;
}
.dm-checkout-billing-card .dm-vat-group .btn {
    border-radius: 0 3px 3px 0;
}
.dm-checkout-billing-card .btn {
    box-shadow: none !important;
}
.dm-checkout-payment-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.dm-checkout-payment-option:hover,
.dm-checkout-payment-option.is-active {
    border-color: #467fcf;
    box-shadow: 0 6px 18px rgba(70, 127, 207, .12);
    background: #f8fbff;
}
.dm-checkout-payment-logo {
    width: 54px;
    height: 38px;
    border: 1px solid #edf1f7;
    border-radius: 4px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
}
.dm-checkout-payment-logo img {
    max-width: 44px;
    max-height: 28px;
    object-fit: contain;
}
.dm-checkout-payment-copy {
    min-width: 0;
    display: block;
    flex: 1;
}
.dm-checkout-payment-copy strong,
.dm-checkout-payment-copy small,
.dm-checkout-payment-copy em {
    display: block;
}
.dm-checkout-payment-copy small,
.dm-checkout-payment-copy em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
}
.dm-checkout-payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #467fcf;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    flex: 0 0 24px;
}
.dm-checkout-payment-option.is-active .dm-checkout-payment-check {
    opacity: 1;
}

/* Hide old template headings on inner pages */
body.dm-route-inner:not(.dm-route-account) .sptb-2.bg-background.cover-image,
body.dm-route-inner:not(.dm-route-account) section.sptb-2.bg-background,
body.dm-route-inner:not(.dm-route-account) section.sptb-2.bg-background3,
body.dm-route-inner:not(.dm-route-account) section.sptb-2.cover-image,
body.dm-route-inner:not(.dm-route-account) .bannerimg,
body.dm-route-inner:not(.dm-route-account) .sptb-5:has(.header-text1),
body.dm-route-inner:not(.dm-route-account) .header-text1{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}

/* Main content spacing for inner pages: keep page titles below the sticky header. */
body.dm-route-inner:not(.dm-route-account) main{padding-top:45px!important}
body.dm-route-browse:not(.dm-route-account) main,
body.dm-route-product:not(.dm-route-account) main{padding-top:24px!important}
body.dm-route-inner:not(.dm-route-account) main > .bg-white.border-bottom:has(.page-header){margin-top:0!important}
body.dm-route-inner:not(.dm-route-account) main > .bg-white.border-bottom:has(.page-header) .page-header{display:flex!important;height:auto!important;min-height:50px!important;margin:0!important;padding:0!important;overflow:visible!important}
/* Generic plugin placement blocks rendered by the marketplace plugin system. */
.dm-plugin-placement-wrap {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 18px 0;
}

.dm-plugin-placement-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-left: 4px solid #467fcf;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    padding: 16px;
}

.dm-plugin-placement-card span {
    color: #7a8496;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.dm-plugin-placement-card strong {
    color: #1f2937;
    display: block;
    font-size: 17px;
}

.dm-plugin-placement-card p {
    color: #626b7a;
    font-size: 13px;
    line-height: 1.55;
    margin: 7px 0 0;
}

.dm-plugin-placement-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.dm-plugin-placement-link {
    background: #eef4ff;
    border-radius: 999px;
    color: #467fcf !important;
    font-size: 11px !important;
    font-weight: 700;
    padding: 5px 8px;
}

/* Keep only the responsive wrapper as the outer table frame. */
.table-responsive > .table,
.table-responsive > .table-bordered {
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    margin-bottom: 0;
}

.table-responsive > .table > :not(caption) > * > :first-child,
.table-responsive > .table-bordered > :not(caption) > * > :first-child {
    border-left: 0 !important;
}

.table-responsive > .table > :not(caption) > * > :last-child,
.table-responsive > .table-bordered > :not(caption) > * > :last-child {
    border-right: 0 !important;
}

.table-responsive > .table > :last-child > tr:last-child > *,
.table-responsive > .table > tbody:last-child > tr:last-child > *,
.table-responsive > .table > tfoot:last-child > tr:last-child > *,
.table-responsive > .table-bordered > :last-child > tr:last-child > *,
.table-responsive > .table-bordered > tbody:last-child > tr:last-child > *,
.table-responsive > .table-bordered > tfoot:last-child > tr:last-child > * {
    border-bottom: 0 !important;
}

.table-responsive > .table > :not(caption) > * > th,
.table-responsive > .table-bordered > :not(caption) > * > th {
    padding: 6px 10px !important;
}

.table-responsive > .table > :not(caption) > * > td,
.table-responsive > .table-bordered > :not(caption) > * > td {
    padding: 7px 10px !important;
}

.btn-primary {
    color: #fff;
    background-color: #3c3c3c;
    border-color: #363636;
    box-shadow: 0 5px 10px var(--primary-bg-shadow);
}

.btn-primary:hover {
    color: #fff;
    background-color: #202020 !important;
    border-color: #2f3032 !important;
}

.btn-info {
    color: rgb(255, 255, 255);
    box-shadow: rgba(11, 148, 247, 0.3) 0px 5px 10px;
    background-color: #3c3c3c;
    border-color: #363636;
}

.btn-info:hover {
    color: rgb(255, 255, 255);
    box-shadow: rgba(11, 148, 247, 0.3) 0px 5px 10px;
    background-color: #202020;
    border-color: #2f3032;
}

.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #343434;
    border-color: #222222;
}

/* Merged source: CLEANING/duplicate-css/custom-split/author.css */
/* DigiMarket author section styles - consolidated from layouts/author.blade.php and author/*.blade.php */

/* ===== Author sidebar ===== */
.dm-author-card-mini{align-items:flex-start;gap:12px}
.dm-author-mini-body h5{font-size:15px;margin:0 0 7px}
.dm-public-store-mini{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #d7dce5;background:#fff;font-size:11px;line-height:1.4;color:#4f46e5;text-decoration:none}
.dm-public-store-mini:hover{background:#f5f7ff;color:#3730a3}
.dm-author-badges{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-start;margin:11px 0 15px}
.dm-author-sidebar-stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:4px 0 10px;padding:0 0 10px;border-bottom:1px solid #eef0f5}
.dm-author-sidebar-stats span{align-items:center;color:#4b5563;display:inline-flex;font-size:12px;gap:6px;line-height:1.25;white-space:nowrap}
.dm-author-sidebar-stats i{color:#64748b;flex:0 0 14px;text-align:center}
.dm-sidebar-divider{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:12px 0 5px;padding:0 12px}
.dm-author-badge-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:11px;color:#fff;box-shadow:none}
.dm-author-badge-age{background:#64748b}
.dm-author-badge-elite{background:#f59e0b}
.dm-author-badge-verified{background:#10b981}
.dm-author-badge-exclusive{background:#8b5cf6}
.dm-author-badge-country{background:#0ea5e9}

.dm-author-wrap .btn,
.dm-author-wrap button{box-shadow:none!important}
.dm-author-content .btn{box-shadow:none!important}
.dm-author-flash{margin:50px 0 12px;border-radius:4px;padding:10px 14px}

.dm-author-table-card .card-header{display:none}
.dm-table-actions .btn{padding:4px 8px;font-size:12px}

/* ===== Account content tables ===== */
.dm-account-content .card .table{font-size:12px}
.dm-account-content .card .table thead th{padding:6px 10px!important;font-size:11px;letter-spacing:.02em;text-transform:uppercase;border-left:0!important;border-right:0!important;background:#f8fafc}
.dm-account-content .card .table td{padding:7px 10px!important;border-left:0!important;border-right:0!important;vertical-align:middle}
.dm-account-content .table-bordered{border-left:0!important;border-right:0!important}
.dm-avatar{border-radius:50%!important;object-fit:cover;aspect-ratio:1/1}
.dm-avatar-placeholder{border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center;background:#e5e7eb;color:#9ca3af;aspect-ratio:1/1}

/* ===== Author wrap overrides ===== */
.dm-author-wrap .container,
.dm-account-wrap .container{max-width:1180px!important;padding:0!important}
.dm-author-shell,
.dm-account-shell{grid-template-columns:290px minmax(0,1fr)!important}
.marketplace-compact .dashboard-stat,
.marketplace-compact .dm-dashboard-stat{min-height:100px!important}
.dashboard-stat h3,
.dm-dashboard-stat h3{font-size:20px!important;line-height:1.05!important;white-space:nowrap!important;margin:10px 0 3px!important}
.dm-author-badge-icon{width:30px!important;height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:30%!important;font-size:20px!important;color:#fff!important;box-shadow:none!important}
.dm-public-store-mini.btn.btn-primary.btn-sm{color:#fff!important;border-color:#0d6efd!important;background:#0d6efd!important;padding:4px 8px!important;font-size:11px!important;line-height:1.4!important;border-radius:3px!important}

/* ===== Author API keys page ===== */
.dm-api-example{background:#0f172a;color:#e2e8f0;border-radius:4px;padding:12px;font-size:12px;white-space:pre-wrap}
.author-api-keys .card-header{padding:12px 15px}

/* ===== Author settings (My Page) ===== */
.dm-cover-preview{height:170px;border:1px solid #dfe5ee;background-size:cover;background-position:center;background-color:#f8fafc}
.dm-richtext-editor{min-height:180px;border:1px solid #dde3ec;padding:12px;background:#fff}
.dm-richtext-toolbar{display:flex;gap:4px;border:1px solid #dde3ec;border-bottom:0;background:#f8fafc;padding:6px}
.dm-richtext-toolbar button{border:1px solid #d7dce5;background:#fff;padding:4px 8px;font-size:12px}

/* ===== Author earnings page ===== */
.dm-earnings-year{width:auto;min-width:84px;max-width:98px;height:30px!important;min-height:30px!important;font-size:12px!important;line-height:1.2!important;padding:3px 26px 3px 9px!important;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#475569 50%),linear-gradient(135deg,#475569 50%,transparent 50%);background-position:calc(100% - 14px) 50%,calc(100% - 9px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.dm-earnings-year option{font-size:13px}

/* ===== Author payouts page ===== */
.dm-payout-kpi .card-body{padding:14px!important}
.dm-payout-kpi h3{margin:3px 0 0;font-size:22px}
.dm-payout-method{display:flex;align-items:flex-start;gap:12px;border:1px solid #e5e7eb;padding:12px;background:#fff;cursor:pointer}
.dm-payout-method input{margin-top:5px}
.dm-payout-method-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#4f46e5}
.dm-payout-method small{display:block;color:#64748b;font-size:12px}
.dm-payout-method.is-locked{opacity:.7}
.dm-cashout-filters{padding:10px!important}
.dm-cashout-filter-form{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.dm-filter-select,.dm-filter-amount{height:32px!important;min-height:32px!important;font-size:12px!important;padding:4px 28px 4px 8px!important;width:auto!important;max-width:132px}
.dm-filter-amount{max-width:112px;padding-right:8px!important}

/* ===== Author badges - Envato-style hexagons ===== */
.dm-author-badges{align-items:center!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important}
.dm-author-badge,
.dm-author-badge-icon{
    --dm-badge-base:var(--dm-badge-color,#2563eb);
    --dm-badge-bg:linear-gradient(135deg,var(--dm-badge-base) 0%,color-mix(in srgb,var(--dm-badge-base) 84%,#ffffff 16%) 48%,color-mix(in srgb,var(--dm-badge-base) 84%,#0891b2 16%) 100%);
    --dm-badge-glow:color-mix(in srgb,var(--dm-badge-base) 32%,transparent);
    align-items:center!important;
    background:var(--dm-badge-bg)!important;
    border-radius:0!important;
    box-shadow:0 7px 14px rgba(15,23,42,.12),inset 0 -2px 0 rgba(255,255,255,.16),inset 0 1px 0 rgba(255,255,255,.32)!important;
    clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%)!important;
    color:#fff!important;
    display:inline-flex!important;
    flex:0 0 auto!important;
    font-size:13px!important;
    height:30px!important;
    justify-content:center!important;
    line-height:1!important;
    position:relative!important;
    filter:saturate(1.1) brightness(.98)!important;
    text-shadow:0 1px 2px rgba(15,23,42,.24)!important;
    width:30px!important;
}
.dm-author-badge:before,
.dm-author-badge-icon:before{
    background:linear-gradient(145deg,rgba(255,255,255,.55),rgba(255,255,255,.08) 56%)!important;
    clip-path:inherit!important;
    content:""!important;
    inset:2px 3px auto 3px!important;
    height:45%!important;
    position:absolute!important;
    z-index:1!important;
}
.dm-author-badge:after,
.dm-author-badge-icon:after{
    background:var(--dm-badge-glow)!important;
    border-radius:999px!important;
    content:""!important;
    filter:blur(6px)!important;
    height:7px!important;
    opacity:.85!important;
    position:absolute!important;
    top:25px!important;
    width:18px!important;
    z-index:-1!important;
}
.dm-author-badge i,
.dm-author-badge-icon i{font-size:13px!important;position:relative!important;z-index:2!important}
.dm-author-card-mini .dm-author-badge,
.dm-author-card-mini .dm-author-badge-icon,
.dm-author-sidebar .dm-author-badge,
.dm-author-sidebar .dm-author-badge-icon{height:30px!important;width:30px!important}
.dm-author-card-mini .dm-author-badge i,
.dm-author-card-mini .dm-author-badge-icon i,
.dm-author-sidebar .dm-author-badge i,
.dm-author-sidebar .dm-author-badge-icon i{font-size:12px!important}
.dm-author-badge-age{--dm-badge-bg:linear-gradient(135deg,#64748b,#0ea5e9);--dm-badge-glow:rgba(14,165,233,.24)}
.dm-author-badge-elite,
.dm-author-badge-elite-author{--dm-badge-bg:linear-gradient(135deg,#f59e0b,#eab308);--dm-badge-glow:rgba(234,179,8,.28)}
.dm-author-badge-verified,
.dm-author-badge-approved-author{--dm-badge-bg:linear-gradient(135deg,#22c55e,#0ea5e9);--dm-badge-glow:rgba(34,197,94,.26)}
.dm-author-badge-exclusive,
.dm-author-badge-exclusive-author{--dm-badge-bg:linear-gradient(135deg,#8b5cf6,#db2777);--dm-badge-glow:rgba(219,39,119,.28)}
.dm-author-badge-country{--dm-badge-bg:linear-gradient(135deg,#0ea5e9,#0891b2);--dm-badge-glow:rgba(8,145,178,.26)}
.dm-author-badge-power-elite-author{--dm-badge-bg:linear-gradient(135deg,#f59e0b,#db2777 48%,#fde68a);--dm-badge-glow:rgba(245,158,11,.32)}
.dm-author-badge-featured-author,
.dm-author-badge-featured-item{--dm-badge-bg:linear-gradient(135deg,#ec4899,#8b5cf6);--dm-badge-glow:rgba(236,72,153,.28)}
.dm-author-badge-weekly-top-seller,
.dm-author-badge-top-monthly-author,
.dm-author-badge-rising-author{--dm-badge-bg:linear-gradient(135deg,#06b6d4,#2563eb);--dm-badge-glow:rgba(6,182,212,.26)}
.dm-author-badge-veteran-author,
.dm-author-badge-established-author{--dm-badge-bg:linear-gradient(135deg,#64748b,#0ea5e9);--dm-badge-glow:rgba(14,165,233,.24)}
.dm-filter-btn{height:32px!important;line-height:18px!important;display:inline-flex;align-items:center;justify-content:center;font-size:12px!important;padding:5px 10px!important;white-space:nowrap;box-shadow:none!important}
.dm-cashout-bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px!important}
.dm-cashout-total{margin-left:auto;font-size:13px;color:#334155}
.dm-js-pager button{border:1px solid #d7dce5;background:#fff;padding:3px 8px;margin-left:4px;font-size:12px}
.dm-js-pager button.active{background:#4f46e5;color:#fff}

/* ===== Author products index ===== */
.dm-section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.dm-section-title-row h3{font-size:21px;margin:0 0 4px}
.dm-section-title-row p{font-size:13px;color:#64748b;margin:0}
.dm-products-list-toolbar{display:flex;justify-content:flex-end;margin:0 0 10px}
.dm-table-search{max-width:360px;width:100%}
.dm-rejection-trigger{font-size:12px;text-decoration:none}
.dm-delete-product{box-shadow:none!important}
.dm-product-title{color:#3d4e67}

/* ===== Author products form ===== */
.dm-item-post-title{margin-bottom:18px}
.dm-item-post-title h3{font-size:22px;margin-bottom:4px}
.dm-item-post-title p{font-size:13px;color:#667085;margin:0}
.dm-upload-form-body{background:transparent;border:0;padding:0}
.dm-upload-form-body .form-group{margin-bottom:18px}
.dm-help-panel{background:#fff;border:1px solid #e7eaf0;padding:18px}
.dm-help-panel h4{font-size:17px;margin-bottom:10px}
.dm-help-panel p,.dm-help-panel li,.dm-help-content{font-size:13px;line-height:1.58;color:#5f6b7a}
.dm-help-panel ul{padding-left:18px}
.dm-no-shadow,.dm-author-wrap .btn{box-shadow:none!important}
.dm-dynamic-field{display:flex;gap:8px;margin-bottom:8px}
.dm-remove-field{width:38px;border:1px solid #e1e5eb;background:#fff;color:#98a2b3}
.dm-dropzone{border:2px dashed #cfd7e6;background:#f9fbff;padding:24px;text-align:center;cursor:pointer;transition:.2s}
.dm-dropzone.is-dragover{border-color:#6366f1;background:#f1f4ff}
.dm-dropzone i{font-size:28px;color:#e74d00}
.dm-dropzone h5{font-size:16px;margin:8px 0 5px}
.dm-dropzone p{font-size:13px;color:#667085;margin-bottom:10px}
.dm-upload-list{margin-top:10px}
.dm-upload-row{align-items:center;background:#fff;border:1px solid #e7eaf0;display:grid;font-size:13px;gap:10px;grid-template-columns:46px minmax(0,1fr) 34px;margin-bottom:8px;padding:10px}
.dm-upload-preview{align-items:center;background:#f1f5f9;color:#64748b;display:flex;height:38px;justify-content:center;overflow:hidden;width:38px}
.dm-upload-preview img{height:100%;object-fit:cover;width:100%}
.dm-upload-file-main{min-width:0}
.dm-upload-file-head{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-bottom:6px}
.dm-upload-file-head strong{color:#263445;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-upload-file-head span{color:#667085;flex:0 0 auto}
.dm-upload-inline-progress{background:#edf2f7;height:6px;overflow:hidden}
.dm-upload-inline-progress span{background:linear-gradient(90deg,#6366f1,#22c55e);display:block;height:100%;transition:width .18s ease;width:0}
.dm-upload-file-meta{align-items:center;display:flex;justify-content:space-between;margin-top:5px}
.dm-upload-file-meta span{color:#667085;font-size:12px}
.dm-upload-file-meta strong{color:#334155;font-size:12px}
.dm-upload-row[data-status="ready"] .dm-upload-inline-progress span,.dm-upload-row[data-status="done"] .dm-upload-inline-progress span{background:#16a34a}
.dm-upload-row[data-status="error"] .dm-upload-inline-progress span{background:#dc2626}
.dm-upload-row button{background:#fff;border:0;color:#dc3545;height:32px;width:32px}
.dm-upload-progress-open{overflow:hidden}
.dm-upload-progress-modal{align-items:center;background:rgba(15,23,42,.62);display:flex;inset:0;justify-content:center;padding:18px;position:fixed;z-index:9999}
.dm-upload-progress-modal[hidden]{display:none!important}
.dm-upload-progress-dialog{background:#fff;border:1px solid #dbe2ea;box-shadow:0 24px 80px rgba(15,23,42,.25);max-width:560px;padding:22px;width:100%}
.dm-upload-progress-head{align-items:flex-start;display:flex;gap:14px;margin-bottom:18px}
.dm-upload-progress-icon{align-items:center;background:#eef4ff;color:#2563eb;display:inline-flex;flex:0 0 42px;font-size:22px;height:42px;justify-content:center;width:42px}
.dm-upload-progress-head h4{font-size:18px;margin:0 0 4px}
.dm-upload-progress-head p{color:#64748b;font-size:13px;line-height:1.45;margin:0}
.dm-upload-progress-bar{background:#e8edf5;height:10px;margin-bottom:10px;overflow:hidden}
.dm-upload-progress-bar span{background:linear-gradient(90deg,#2563eb,#16a34a);display:block;height:100%;transition:width .2s ease;width:0}
.dm-upload-progress-meta{align-items:center;display:flex;justify-content:space-between;margin-bottom:14px}
.dm-upload-progress-meta strong{color:#0f172a;font-size:20px}
.dm-upload-progress-meta span{color:#475569;font-size:13px;font-weight:700;text-align:right}
.dm-upload-progress-steps{display:grid;gap:8px;list-style:none;margin:0;padding:0}
.dm-upload-progress-steps li{align-items:center;color:#64748b;display:flex;font-size:13px;gap:8px}
.dm-upload-progress-steps li:before{align-items:center;background:#e2e8f0;color:#64748b;content:"";display:inline-flex;flex:0 0 10px;height:10px;justify-content:center;width:10px}
.dm-upload-progress-steps li.active{color:#1d4ed8;font-weight:700}
.dm-upload-progress-steps li.active:before{background:#2563eb}
.dm-upload-progress-steps li.done{color:#15803d}
.dm-upload-progress-steps li.done:before{background:#16a34a}
.dm-existing-files{border:1px solid #edf0f4;background:#fbfcfe;padding:12px}
.dm-existing-files strong{font-size:13px}
.dm-existing-files ul{margin:8px 0 0;padding-left:18px}
.dm-existing-files li{font-size:12px;color:#4b5563}
.dm-existing-files span{color:#98a2b3}
.dm-richtext{border:1px solid #dde3ec;background:#fff}
.dm-richtext.is-invalid{border-color:#f3a4a8}
.dm-richtext-editor{min-height:170px;padding:12px;outline:0;font-size:14px;line-height:1.6}
.dm-richtext-editor:focus{outline:0;border-color:#6c86ff;box-shadow:0 0 0 3px rgba(73,105,255,.12)}
.dm-richtext-source{width:100%;min-height:260px;border:0;border-top:1px solid #dde3ec;border-radius:0;background:#0f172a;color:#e2e8f0;font-family:Consolas,Monaco,'Courier New',monospace;font-size:13px;line-height:1.55;padding:12px;resize:vertical;outline:0}
.dm-richtext-editor[hidden],.dm-richtext-source[hidden]{display:none!important}
.dm-richtext-source:focus{box-shadow:inset 0 0 0 2px rgba(70,127,207,.32)}
.dm-richtext.is-source-mode .dm-richtext-editor{display:none}
.dm-richtext-toolbar .dm-richtext-source-toggle{margin-left:auto;font-weight:700}
.dm-richtext-toolbar .dm-richtext-source-toggle.is-active{background:#1f2937;color:#fff;border-color:#1f2937}
.dm-tags-wrap{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.dm-tag{border:1px solid #e7eaf0;background:#f8fafc;font-size:12px;padding:2px 7px;color:#334155}
.dm-tag button{border:0;background:transparent;color:#94a3b8;margin-left:4px;font-size:14px;padding:0;cursor:pointer}
.dm-price-block{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.dm-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dm-license-row{display:flex;gap:8px;align-items:center;margin-bottom:6px}
.dm-license-row.is-hidden{display:none}
.dm-required-star{color:#dc2626;margin-left:2px}
.dm-form-section-title{font-size:15px;font-weight:700;margin-bottom:12px;color:#111827}
.dm-form-section-title small{display:block;font-weight:400;color:#64748b;font-size:12px}
.dm-form-section{border:1px solid #eef1f6;border-radius:4px;padding:16px;background:#fff}
.dm-form-actions{border-top:1px solid #eef1f6;margin-top:12px;padding-top:12px;display:flex;justify-content:flex-end;gap:8px}
.dm-slug-preview{font-size:12px;color:#64748b}
.dm-slug-preview strong{color:#1e293b}
.dm-multi-upload{margin-top:6px}
.dm-tags-box{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;border:1px solid #dde3ec;background:#fff;padding:6px 8px}
.dm-tags-box:focus-within{border-color:#6c86ff;box-shadow:0 0 0 3px rgba(73,105,255,.12)}
.dm-tag-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.dm-tag-badge{display:inline-flex;align-items:center;gap:5px;background:#eef4ff;border:1px solid #cbdcff;color:#274690;font-size:12px;font-weight:600;padding:4px 8px;border-radius:3px}
.dm-tag-badge button{border:0;background:transparent;color:#5871aa;padding:0;line-height:1;font-size:14px;cursor:pointer}
.dm-tags-box input{border:0;outline:0;min-width:160px;flex:1;font-size:13px;padding:5px 0}
.dm-tags-box.is-invalid{border-color:#f3a4a8}
.dm-price-block{display:block!important}
.dm-price-block[hidden],
#dmUpdatePatchFields[hidden],
#dmExtendedPriceBlock[hidden]{display:none!important}
.dm-price-block .row{width:100%;margin-left:0;margin-right:0}
.dm-price-block .row>[class*="col-"]{padding-left:0;padding-right:10px}
.dm-price-block .form-control{height:44px;font-size:15px;min-width:100%}
.dm-price-block small{display:block;margin-top:5px;line-height:1.35}
.dm-advanced-upload-form select.form-control,
.dm-advanced-upload-form select.form-select{
    -webkit-appearance:none;
    appearance:none;
    background-color:#fff;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-position:right 14px center!important;
    background-size:14px 14px!important;
    padding-right:42px!important;
}
.note-editor.note-frame{border-color:#dde3ec!important;border-radius:3px!important}
.note-editor .note-toolbar{background:#f8fafc!important;border-bottom:1px solid #dde3ec!important}
.note-editor .note-btn{border-radius:3px!important;box-shadow:none!important}
.dm-card-remove-form{position:absolute;top:8px;right:8px;z-index:5}
.dm-card-remove-form .btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:3px;box-shadow:none!important}

/* ===== Author dashboard ===== */
.dashboard-stat{height:100%}
.dashboard-stat .card-body{min-height:104px;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:12px!important}
.dashboard-stat .dm-stat-icon{display:block;margin:0 0 6px;line-height:1;font-size:22px!important}
.dashboard-stat h3{font-size:20px;line-height:1.05;white-space:nowrap;margin:0 0 3px}
.dashboard-stat p{font-size:11px;line-height:1.25;margin:0;color:#64748b}
.dm-attention-card .card-header{padding:10px 12px!important}
.dm-attention-card .table-responsive{border-left:0;border-right:0}
.dm-edge-table{border-left:0!important;border-right:0!important}
.dm-edge-table th,.dm-edge-table td{border-left:0!important;border-right:0!important;border-bottom:1px solid #edf0f4!important;padding:7px 10px!important}
.dm-edge-table thead th{background:#f8fafc;font-size:11px;text-transform:uppercase;letter-spacing:.02em}
.dm-unread-reviews-card .card-body{padding:10px!important}
.dm-review-list{padding:10px!important}
.dm-review-row{padding:10px!important;border-bottom:1px solid #edf0f4}
.dm-review-row:last-child{border-bottom:0}
.dm-review-row strong{display:block;font-size:13px;margin:4px 0}
.dm-review-row p{font-size:12px;color:#667085;margin:0}
.dm-review-stars{font-size:11px}
.dm-author-table-card .card-header{display:flex!important}

/* ===== Public author page tabs ===== */
.dm-public-author-tabs {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgb(232 233 239);
    border-top: 0;
    display: flex;
    justify-content: space-between;
    margin: 0 0 18px;
    position: relative;
    width: 100%;
    border-radius: 0 0 6px 6px;
}
.dm-public-author-tabs-track{align-items:stretch;display:flex;flex:1 1 auto;justify-content:flex-start;min-width:0;overflow:hidden}
.dm-public-author-tabs a, .dm-public-author-tabs-track>button, .dm-public-author-more-button {
    align-items: center;
    background: #fff;
    border: 0;
    border-right: 1px solid #e5eaf2;
    color: #334155;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    min-height: 35px;
    padding: 0 18px;
    text-decoration: none;
    white-space: nowrap;
}

.dm-public-author-tabs a:first-child, 
.dm-public-author-tabs-track>button:first-child, 
.dm-public-author-more-button:first-child {
    align-items: center;
    background: #fff;
    border: 0;
    border-right: 1px solid #e5eaf2;
    color: #334155;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    min-height: 35px;
    padding: 0 18px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0 0 0 6px;
}

.dm-public-author-tabs a:last-child, 
.dm-public-author-tabs-track>button:last-child, 
.dm-public-author-more-button:last-child {
    align-items: center;
    background: #fff;
    border: 0;
    border-right: 1px solid #e5eaf2;
    color: #334155;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    min-height: 35px;
    padding: 0 18px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0 0 6px 0;
}

.dm-public-author-tabs a:hover,.dm-public-author-tabs-track>button:hover,.dm-public-author-more-button:hover{background:#f8fafc;color:#1d4ed8}
.dm-public-author-tabs a.active,.dm-public-author-tabs-track>button.active{background:#212529;color:#fff}
.dm-public-author-tabs small{align-items:center;background:rgba(15,23,42,.08);border-radius:999px;display:inline-flex;font-size:11px;font-weight:700;justify-content:center;min-width:24px;padding:2px 7px}
.dm-public-author-tabs a.active small{background:rgba(255,255,255,.2);color:#fff}
.dm-public-author-more{flex:0 0 auto;position:relative}
.dm-public-author-more[hidden]{display:none!important}
.dm-public-author-more-button{border-left:1px solid #e5eaf2;border-right:0;cursor:pointer;height:100%}
.dm-public-author-more.is-active .dm-public-author-more-button{background:#1d4ed8;color:#fff}
.dm-public-author-more-menu{background:#fff;border:1px solid #dbe2ed;box-shadow:0 12px 30px rgba(15,23,42,.14);display:none;min-width:180px;position:absolute;right:0;top:100%;z-index:30}
.dm-public-author-more.is-open .dm-public-author-more-menu{display:block}
.dm-public-author-more-menu a,.dm-public-author-more-menu button{border:0;border-right:0;display:flex;justify-content:flex-start;min-height:42px;padding:0 14px;width:100%}
.dm-public-author-more-menu a+a,.dm-public-author-more-menu button+button,.dm-public-author-more-menu a+button,.dm-public-author-more-menu button+a{border-top:1px solid #edf1f6}

/* ===== Author product form validation ===== */
.dm-field-error{align-items:flex-start;color:#dc2626;display:flex;font-size:12px;font-weight:600;gap:6px;line-height:1.35;margin-top:6px}
.dm-field-error:before{content:"!";align-items:center;background:#fee2e2;border-radius:50%;color:#b91c1c;display:inline-flex;flex:0 0 16px;font-size:11px;font-weight:800;height:16px;justify-content:center;margin-top:1px;width:16px}
.dm-advanced-upload-form .form-control.is-invalid,
.dm-advanced-upload-form .form-select.is-invalid,
.dm-advanced-upload-form .dm-real-select.is-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important}
.dm-advanced-upload-form .dm-richtext.is-invalid,
.dm-advanced-upload-form .dm-tags-box.is-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important}
.dm-advanced-upload-form label.custom-control.is-invalid .custom-control-label{color:#b91c1c}
.dm-advanced-upload-form label.custom-control.is-invalid .custom-control-label:before{border-color:#dc2626!important}
.dm-advanced-upload-form .has-client-error .form-label{color:#b91c1c!important}
.dm-advanced-upload-form .has-client-error small.text-muted{color:#9f1239!important}
.dm-validation-summary{background:#fff1f2;border:1px solid #fecdd3;border-radius:6px;color:#991b1b;margin-bottom:18px;padding:13px 15px}
.dm-validation-summary strong{display:block;font-size:14px;margin-bottom:6px}
.dm-validation-summary ul{margin:0;padding-left:18px}
.dm-validation-summary li{font-size:12px;line-height:1.55}

/* ===== Author responsive ===== */
@media(max-width:767px){
.dm-account-shell{display:block}
.dm-account-sidebar{margin-bottom:15px}
.dm-account-content .table-responsive{overflow-x:auto}
.dm-section-title-row{flex-direction:column}
.dm-products-list-toolbar{justify-content:flex-start}
.dm-table-search{max-width:100%}
.dm-field-row{grid-template-columns:1fr}
.dm-cashout-filter-form{justify-content:flex-start}
.dm-cashout-bottom{flex-direction:column;align-items:flex-start}
.dm-cashout-total{margin-left:0}
}
@media(max-width:991px){
.dm-author-shell,
.dm-account-shell{grid-template-columns:1fr!important}
}

/* Merged source: CLEANING/duplicate-css/custom-split/dashboard.css */
/* DigiMarket user dashboard page styles - consolidated from dashboards/*.blade.php */

.dm-account-table-section,
.dm-account-detail-section{background:transparent;border:0;box-shadow:none}
.dm-account-section-head{border-bottom:1px solid #e4e8f0;margin-bottom:0;padding:0 0 14px}
.dm-account-section-head h3{color:#101828;font-size:18px;font-weight:700;margin:0}
.dm-account-section-head p{color:#667085;font-size:13px;margin:4px 0 0}
.dm-account-table-section .table-responsive{background:#fff;border:1px solid #e4e8f0;border-radius:6px;margin-top:14px;overflow:auto}
.dm-account-table-section .table{margin-bottom:0}
.dm-account-table-section .table th{background:#f8fafc;color:#344054;font-size:11px;text-transform:uppercase}
.dm-table-pagination{border-top:1px solid #e4e8f0;margin-top:12px;padding-top:12px}
.dm-account-detail-body{background:#fff;border:1px solid #e4e8f0;border-radius:6px;margin-top:14px;padding:16px}
.dm-account-side-panel{background:transparent;border:0;box-shadow:none}
.dm-account-side-panel dl{font-size:13px}
.dm-account-side-panel dt{color:#475569;font-weight:700}
.dm-account-side-panel dd{color:#1f2937;margin-bottom:8px}
.dm-form-actions{border-top:1px solid #e4e8f0;margin-top:14px;padding-top:14px}

/* ===== User billing ===== */
.dm-billing-card .dm-account-detail-body{padding:16px!important}
.dm-billing-type{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.dm-billing-type-label{font-weight:600;color:#0f172a}
.dm-billing-type label{margin:0;display:inline-flex;gap:6px;align-items:center}
.dm-company-fields.is-hidden{display:none}
.dm-billing-card .input-group .btn{height:38px;white-space:nowrap}
.dm-vat-group .form-control{border-top-right-radius:0;border-bottom-right-radius:0}
.dm-address-suggestions{display:none;position:absolute;left:12px;right:12px;top:100%;z-index:5000;background:#fff;border:1px solid #dbe2ea;box-shadow:0 8px 22px rgba(15,23,42,.12);max-height:240px;overflow:auto}
.dm-address-suggestion{padding:8px 10px;font-size:12px;cursor:pointer;border-bottom:1px solid #eef2f6}
.dm-address-suggestion:hover{background:#f8fafc}
.dm-searchable-select{position:relative}
.dm-searchable-input{padding-right:30px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2364748b' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center}
.dm-searchable-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:6000;background:#fff;border:1px solid #dbe2ea;box-shadow:0 10px 24px rgba(15,23,42,.12);max-height:245px;overflow:auto}
.dm-searchable-option{padding:8px 10px;font-size:12px;cursor:pointer;border-bottom:1px solid #eef2f6;display:flex;justify-content:space-between;gap:10px}
.dm-searchable-option:hover,.dm-searchable-option.is-active{background:#f5f7ff;color:#4f46e5}
.dm-searchable-empty{padding:9px 10px;font-size:12px;color:#64748b}
.dm-searchable-code{font-size:10px;color:#94a3b8;text-transform:uppercase}

/* ===== User downloads ===== */
.dm-downloads-card .table-responsive{overflow:visible}
.dm-downloads-card .dropdown{display:inline-block;position:relative}
.dm-downloads-card .dropdown-menu{min-width:275px;border-radius:4px;border:1px solid #e4e8f0;box-shadow:0 8px 22px rgba(15,23,42,.10)}
.dm-downloads-card .dropdown-item{font-size:12px;padding:9px 12px}

/* ===== User messages ===== */
.dm-live-chat-card{overflow:hidden}
.dm-chat-panel{background:transparent;border:0;box-shadow:none}
.dm-chat-panel-header{border-bottom:1px solid #e4e8f0;margin-bottom:0;padding:0 0 14px}
.dm-chat-panel-header h3{color:#101828;font-size:18px;font-weight:700;margin:0}
.dm-chat-panel-footer{border-top:1px solid #e4e8f0;padding:14px 0 0}
.dm-chat-body{background:linear-gradient(180deg,#f8fafc 0%,#eef4fb 100%);max-height:620px;min-height:260px;overflow:auto;padding:18px!important;scroll-behavior:smooth}
.dm-chat-body.is-scroll-limited{overflow-y:auto}
.dm-chat-body::-webkit-scrollbar{width:8px}
.dm-chat-body::-webkit-scrollbar-track{background:#edf2f7}
.dm-chat-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.dm-chat-line{display:flex;margin-bottom:12px}
.dm-chat-line.is-mine{justify-content:flex-end}
.dm-chat-bubble{max-width:min(76%,680px);background:#fff;border:1px solid #e4e8f0;border-radius:14px 14px 14px 4px;box-shadow:0 8px 18px rgba(15,23,42,.06);padding:11px 13px;color:#263447;word-break:break-word}
.dm-chat-line.is-mine .dm-chat-bubble{background:#e8f1ff;border-color:#bfd6ff;border-radius:14px 14px 4px 14px;color:#152238}
.dm-chat-meta{align-items:center;display:flex;flex-wrap:wrap;gap:6px;font-size:11px;color:#64748b;margin-bottom:6px}
.dm-chat-meta strong{color:#1e293b;font-size:12px}
.dm-chat-meta span{background:#eef2f7;border-radius:999px;color:#64748b;font-size:10px;padding:2px 7px}
.dm-chat-meta time{margin-left:auto}
.dm-chat-message-text{font-size:13px;line-height:1.65;white-space:normal}
.dm-chat-message-text a{color:#2563eb;font-weight:600;text-decoration:none;word-break:break-all}
.dm-chat-message-text a:hover{text-decoration:underline}
.dm-chat-code{background:#0f172a;border-radius:8px;color:#dbeafe;font-size:12px;line-height:1.55;margin:8px 0 0;max-width:100%;overflow:auto;padding:10px 12px;white-space:pre}
.dm-chat-code code{color:inherit;font-family:Consolas,Monaco,monospace;font-size:inherit}
.dm-chat-attachments{display:grid;gap:8px;margin-top:9px}
.dm-chat-attachment{align-items:center;background:#f8fafc;border:1px solid #dbe4ef;border-radius:8px;color:#344256;display:flex;gap:9px;max-width:320px;padding:8px 10px;text-decoration:none}
.dm-chat-attachment:hover{background:#eef6ff;border-color:#bdd7ff;color:#1d4ed8;text-decoration:none}
.dm-chat-attachment i{color:#467fcf;font-size:16px;width:18px;text-align:center}
.dm-chat-attachment span{display:grid;min-width:0}
.dm-chat-attachment strong,.dm-chat-attachment>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-chat-attachment small{color:#64748b;font-size:10px}
.dm-chat-attachment.is-image{align-items:flex-start;display:grid;gap:6px;padding:6px;width:180px}
.dm-chat-attachment.is-image img{border-radius:6px;height:120px;object-fit:cover;width:100%}
.dm-chat-attachment.is-image span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-chat-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;padding:18px;text-align:center}
.dm-chat-typing{color:#64748b;font-size:12px;margin-bottom:10px;padding-left:2px}
.dm-chat-typing:before{content:'';display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#467fcf;animation:dm-chat-pulse 1s ease-in-out infinite}
.dm-chat-error{background:#fff1f2;border:1px solid #fecdd3;border-radius:6px;color:#be123c;font-size:12px;margin-bottom:10px;padding:9px 11px}
.dm-chat-composer{border:1px solid #dbe4ef;border-radius:8px;background:#fff;overflow:visible;position:relative}
.dm-chat-composer textarea.form-control{border:0;border-top:1px solid #eef2f7;border-radius:0;box-shadow:none;resize:vertical}
.dm-chat-tools{align-items:center;display:flex;gap:6px;padding:7px 8px;position:relative}
.dm-chat-tool{align-items:center;background:#f8fafc;border:1px solid #dbe4ef;border-radius:6px;color:#344256;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin:0;width:34px}
.dm-chat-tool:hover{background:#eef6ff;border-color:#bdd7ff;color:#1d4ed8}
.dm-chat-tool input{display:none}
.dm-emoji-panel{background:#fff;border:1px solid #dbe4ef;border-radius:10px;box-shadow:0 14px 32px rgba(15,23,42,.16);left:8px;max-width:min(360px,calc(100vw - 42px));overflow:hidden;position:absolute;top:42px;z-index:5000}
.dm-emoji-picker{height:360px;width:350px;--border-radius:10px;--outline-color:#467fcf}
.dm-chat-file-list{background:#f8fafc;border-top:1px solid #eef2f7;padding:8px 10px}
.dm-chat-file-list-head{align-items:center;color:#475569;display:flex;font-size:11px;font-weight:700;justify-content:space-between;margin-bottom:6px;text-transform:uppercase}
.dm-chat-file-list-head button{background:transparent;border:0;color:#467fcf;cursor:pointer;font-size:11px;font-weight:700;padding:0}
.dm-chat-file-item{align-items:center;display:flex;gap:8px;font-size:12px;padding:4px 0}
.dm-chat-file-item i{color:#467fcf;width:16px;text-align:center}
.dm-chat-file-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-chat-file-item small{color:#64748b}
.dm-dispute-summary{background:#f8fafc;border:1px solid #e4e8f0;border-radius:8px;color:#344256;line-height:1.7;padding:14px}
@keyframes dm-chat-pulse{0%,100%{opacity:.35;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}

/* ===== User notifications ===== */
.dm-notification-dot{width:34px;height:34px;border-radius:8px;background:#e0f2fe;color:#0369a1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.dm-notification-dot.is-read{background:#eef2f7;color:#64748b}
.dm-user-notifications-card .btn-sm{height:30px;display:inline-flex;align-items:center;padding:4px 10px}
.dm-notification-history{background:#fff;border:1px solid #e4e8f0;border-radius:6px;margin-top:14px;overflow:hidden}
.dm-notification-body{font-size:14px;line-height:1.7;color:#344256}
.dm-notification-row{min-width:0}
.dm-notification-main{flex:1 1 auto;min-width:0}
.dm-notification-main h5{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.dm-notif-truncate{display:block;max-width:100%}

@media(max-width:575.98px){
.dm-user-notifications-card .dm-account-section-head{align-items:flex-start!important;flex-direction:column}
.dm-user-notifications-card .dm-account-section-head form,.dm-user-notifications-card .dm-account-section-head .btn{justify-content:center;width:100%}
.dm-notification-history .list-group-item{padding:12px}
.dm-notification-row{align-items:flex-start!important;flex-wrap:wrap;gap:10px!important}
.dm-notification-main{flex:1 1 calc(100% - 46px);max-width:calc(100% - 46px)}
.dm-notification-main p{white-space:normal!important}
.dm-notification-action{justify-content:center;margin-left:44px!important;width:calc(100% - 44px)}
}

/* ===== User profile ===== */
.dm-avatar-preview .dm-avatar,.dm-avatar-preview img{border-radius:50%!important;object-fit:cover;width:86px!important;height:86px!important}
.dm-freelancer-card{display:flex;gap:14px;align-items:flex-start}
.dm-freelancer-card>i{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#4f46e5;border-radius:50%}
.dm-freelancer-card p{font-size:12px;color:#64748b;margin:4px 0 10px}
.dm-switch-line{display:flex;gap:8px;align-items:center;font-size:13px}

/* ===== User purchases ===== */
.dm-purchases-card .card-header{padding:12px 15px}
.dm-purchases-card .table-responsive{overflow:visible}
.dm-purchases-card .dropdown{display:inline-block;position:relative}
.dm-purchases-card .dropdown-menu{min-width:285px;border-radius:4px;border:1px solid #e4e8f0;box-shadow:0 8px 22px rgba(15,23,42,.10)}
.dm-purchases-card .dropdown-item{font-size:12px;padding:9px 12px}
.dm-purchases-card .dm-kebab-action{align-items:center;display:inline-flex;height:30px;justify-content:center;padding:0;width:30px}
.dm-purchases-card .dm-kebab-action:after{display:none}
.dm-purchase-code{font-size:11px;white-space:normal;word-break:break-all;background:#f8fafc;border:1px solid #e4e8f0;padding:3px 5px;border-radius:3px;color:#334155}
.dm-order-stat{background:#f8fafc;border:1px solid #e4e8f0;border-radius:6px;height:100%;padding:14px}
.dm-order-stat span{color:#667085;display:block;font-size:12px;margin-bottom:6px}
.dm-order-stat strong{color:#101828;display:block;font-size:16px;line-height:1.25}
.dm-order-items-section .dropdown{position:static}
.dm-order-items-section .dropdown-menu{min-width:275px;border-radius:4px;border:1px solid #e4e8f0;box-shadow:0 8px 22px rgba(15,23,42,.10)}
.dm-order-items-section .dropdown-item{font-size:12px;padding:9px 12px}
.dm-transaction-row{background:#f8fafc;border:1px solid #e4e8f0;border-radius:6px;margin-bottom:10px;padding:12px}
.dm-transaction-row:last-child{margin-bottom:0}
.dm-recent-downloads{display:grid;gap:8px}
.dm-recent-download-row{align-items:center;border-bottom:1px solid #eef2f7;color:#344256;display:flex;gap:10px;padding:8px 0}
.dm-recent-download-row:first-child{padding-top:0}
.dm-recent-download-row:last-child{border-bottom:0;padding-bottom:0}
.dm-recent-download-row span{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== User reviews ===== */
.dm-stars{color:#f59e0b;white-space:nowrap}
.dm-stars span{color:#cbd5e1}
.dm-review-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.45);z-index:30050;padding:20px}
.dm-review-modal.is-open{display:flex}
.dm-review-modal-card{width:min(540px,100%);background:#fff;border-radius:6px;box-shadow:0 18px 45px rgba(15,23,42,.2);overflow:hidden}
.dm-review-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e4e8f0;background:#f8fafc}
.dm-review-modal-head h4{font-size:16px;margin:0}
.dm-review-close{border:0;background:transparent;font-size:24px;line-height:1;color:#64748b}
.dm-review-modal-body{padding:16px}
.dm-rating-edit{display:inline-flex;flex-direction:row-reverse;gap:3px}
.dm-rating-edit input{display:none}
.dm-rating-edit label{font-size:25px;color:#cbd5e1;cursor:pointer;line-height:1}
.dm-rating-edit input:checked~label,.dm-rating-edit label:hover,.dm-rating-edit label:hover~label{color:#f59e0b}
.dm-author-review-toolbar{background:#fff;border:1px solid #e4e8f0;border-radius:6px;margin-bottom:14px;padding:12px}
.dm-author-review-search .input-group{display:flex;flex-wrap:nowrap;gap:8px}
.dm-author-review-search .form-control{height:38px}
.dm-author-review-search .btn{align-items:center;display:inline-flex;height:38px;white-space:nowrap}
.dm-author-review-modal-card{width:min(760px,100%)}
.dm-author-review-modal .dm-review-modal-head p{color:#667085;font-size:12px;margin:4px 0 0}
.dm-review-detail-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}
.dm-review-detail-grid div{background:#f8fafc;border:1px solid #e4e8f0;border-radius:6px;padding:10px}
.dm-review-detail-grid span,.dm-review-detail-text span{color:#667085;display:block;font-size:11px;font-weight:700;margin-bottom:5px;text-transform:uppercase}
.dm-review-detail-grid strong{color:#101828;display:block;font-size:13px;line-height:1.35;word-break:break-word}
.dm-review-detail-text{background:#fff;border:1px solid #e4e8f0;border-radius:6px;padding:12px}
.dm-review-detail-text p{color:#344256;line-height:1.7;margin:0;white-space:pre-wrap}

/* ===== User start selling ===== */
.dm-start-selling-card{max-width:880px}
.dm-author-terms-box{border:1px solid #e4e8f0;background:#f8fafc;border-radius:6px;padding:18px;color:#344256;line-height:1.65;max-height:420px;overflow:auto}
.dm-author-terms-box::-webkit-scrollbar{width:7px}
.dm-author-terms-box::-webkit-scrollbar-track{background:#eef2f7;border-radius:10px}
.dm-author-terms-box::-webkit-scrollbar-thumb{background:#c7d0df;border-radius:10px}
.dm-author-terms-box::-webkit-scrollbar-thumb:hover{background:#94a3b8}
.dm-terms-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#344256}
.dm-terms-check input{margin-top:3px}

/* ===== User wishlist ===== */
.dm-wishlist-page .item-card,.dm-wishlist-page .card{height:100%}
.dm-wishlist-page .item-card9{height:100%}
.dm-wishlist-page .item-card9-img img{width:100%;object-fit:contain;transform:none!important;-webkit-transform:none!important}
.dm-notification-settings-form .dm-account-section-head{margin-bottom:0}
.dm-checkbox-cell{display:inline-flex;align-items:center;justify-content:center;margin:0;min-height:24px;min-width:24px;cursor:pointer}
.dm-checkbox-cell input{width:18px;height:18px;cursor:pointer}

@media(max-width:767px){
.dm-public-author-tabs a,.dm-public-author-tabs-track>button{padding:0 14px}
.dm-public-author-more-button{padding:0 14px}
}

/* ===== User messages table ===== */
.dm-message-truncate{max-width:360px}

/* ===== User notifications truncate ===== */
.dm-notif-truncate{max-width:680px}

/* ===== User billing responsive ===== */
@media(max-width:767px){
.dm-chat-bubble{max-width:88%}
.dm-billing-card .input-group{display:flex}
.dm-billing-card .input-group .btn{font-size:11px;padding-left:8px;padding-right:8px}
.dm-billing-type{display:block}
.dm-billing-type label{display:block;margin:8px 0}
.dm-address-suggestions{left:0;right:0}
.dm-searchable-menu{max-height:200px}
.dm-billing-type{flex-direction:column;gap:10px;align-items:flex-start}
.dm-author-review-search .input-group{flex-wrap:wrap}
.dm-author-review-search .btn{justify-content:center;width:100%}
.dm-review-detail-grid{grid-template-columns:1fr}
}

/* Merged source: CLEANING/duplicate-css/custom-split/modal-fix.css */
/* DigiMarket lightweight modal fix
   The original Templist modal CSS and Bootstrap modal JS can conflict in account pages.
   These classes avoid the Bootstrap .modal class entirely for author/account confirmation dialogs. */
.dm-simple-modal {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.dm-simple-modal.is-visible { display: flex; }
.dm-simple-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
}
.dm-simple-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}
.dm-simple-modal__header,
.dm-simple-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #edf2f7;
}
.dm-simple-modal__footer { border-top: 1px solid #edf2f7; border-bottom: 0; justify-content: flex-end; }
.dm-simple-modal__title { margin: 0; font-size: 16px; font-weight: 700; color: #111827; }
.dm-simple-modal__body { padding: 14px; }
.dm-simple-modal__close {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.dm-simple-modal__close:hover { color: #111827; }
body.dm-simple-modal-open { overflow: hidden; }
@media (max-width: 576px) {
    .dm-simple-modal { padding: 14px; align-items: flex-start; }
    .dm-simple-modal__dialog { margin-top: 40px; }
}

/* Merged source: CLEANING/duplicate-css/custom-split/dm-browse-list.css */
/* DigiMarket browse/listing refinements */
.horizontal-mainwrapper {
    position: relative;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item {
    position: static;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu {
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    width: 100% !important;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .container {
    max-width: 100% !important;
    padding-inline: 0 !important;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .megamenu-content {
    max-height: min(68vh, 620px);
    overflow-y: auto;
    overflow-x: hidden;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .megamenu-content .row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 18px;
    margin-inline: 0 !important;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .link-list {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding-inline: 0 !important;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .link-list li {
    white-space: normal !important;
}
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .link-list li.title a {
    color: #504e70 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    padding: 0 !important;
}

.horizontalMenu>.horizontalMenu-list>li>.horizontal-megamenu .link-list li a {
    line-height: 18px;
    border-inline-end: none;
    text-align: start;
    padding-left: 6px;
    background: #fff;
    background-image: none;
    color: #6c6a8d;
    border-inline-end: 0 none;
    display: block;
    background-color: #fff;
    font-size: 13px;
}

.horizontalMenu>.horizontalMenu-list>li>.horizontal-megamenu .link-list li {
    display: block;
    text-align: center;
    white-space: nowrap;
    text-align: start;
    padding: 0px 10px 5px 10px;
}

.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .link-list li.title a:hover,
.horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .link-list li.title a.active {
    color: #467fcf !important;
}
@media (max-width: 1199.98px) {
    .horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .megamenu-content .row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item {
        position: relative;
    }
    .horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .megamenu-content {
        max-height: none;
        overflow: visible;
    }
    .horizontalMenu > .horizontalMenu-list > li.dm-categories-megamenu-item > .horizontal-megamenu .megamenu-content .row {
        display: block !important;
    }
}

body.dm-route-browse:not(.dm-route-account) main > .cover-image.bg-background,
body.dm-route-browse:not(.dm-route-account) main .sptb-5:has(.header-text1) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading,
body.dm-route-product:not(.dm-route-account) main .dm-browse-heading {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}
body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading .page-header,
body.dm-route-product:not(.dm-route-account) main .dm-browse-heading .page-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    overflow: visible !important;
    background: #fff !important;
    border: 1px solid #e7e9ef !important;
    border-radius: 4px !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .025) !important;
}
.dm-browse-heading-title {
    min-width: 0;
    margin-left: 10px;
}

.item2-gl-nav {
    padding: 10px 10px 5px 10px !important;
    border: 1px solid #dbddf1;
    text-align: end;
    border-radius: 4px;
    background: #efeffb;
}

.dm-browse-heading-title .page-title {
    margin-bottom: 3px !important;
}
.dm-browse-heading-search {
    width: min(380px, 100%);
    margin-left: auto;
}
.dm-browse-heading-search .input-group {
    flex-wrap: nowrap;
}
.dm-browse-heading-search .form-control {
    height: 40px;
    border-radius: 3px 0 0 3px;
    font-size: 13px;
}
.dm-browse-heading-search .btn {
    height: 40px;
    border-radius: 0 3px 3px 0;
    box-shadow: none !important;
}
@media (max-width: 767.98px) {
    body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading .page-header,
    body.dm-route-product:not(.dm-route-account) main .dm-browse-heading .page-header {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .dm-browse-heading-search {
        width: 100%;
        margin-left: 0;
    }
}
.dm-browse-sidebar-col{margin-bottom:24px}
.dm-browse-filter-card .card-header{padding:12px 16px;background:#fff;border-bottom:1px solid #edf0f5}
.dm-browse-filter-card .card-title{font-size:14px;font-weight:700;margin:0;color:#172033}
.dm-browse-filter-card .card-body{padding:14px 16px}
.dm-filter-link-row a{text-decoration:none;display:block}
.dm-filter-link-row a.text-primary span.text-dark{color:#075ee8!important;font-weight:600}
.dm-browse-filter-card .form-control{height:36px;font-size:13px;border-radius:3px}
.dm-price-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:13px}
.dm-price-label-row label{margin:0;font-weight:600;color:#303846}
.dm-price-display{border:0!important;background:transparent!important;box-shadow:none!important;min-width:100px;text-align:right;color:#075ee8;font-weight:700;font-size:13px}
.dm-price-slider{position:relative;height:28px;margin:4px 4px 0}
.dm-price-track,.dm-price-selected{position:absolute;left:0;right:0;top:13px;height:5px;border-radius:6px;background:#e8edf4}
.dm-price-selected{background:#0d6efd;left:0;right:0}
.dm-price-slider input[type=range]{position:absolute;left:0;top:0;width:100%;height:28px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.dm-price-slider input[type=range]::-webkit-slider-thumb{height:16px;width:16px;border-radius:50%;background:#fff;border:4px solid #0d6efd;box-shadow:0 1px 4px rgba(15,23,42,.25);cursor:pointer;pointer-events:auto;-webkit-appearance:none;appearance:none}
.dm-price-slider input[type=range]::-moz-range-thumb{height:16px;width:16px;border-radius:50%;background:#fff;border:4px solid #0d6efd;box-shadow:0 1px 4px rgba(15,23,42,.25);cursor:pointer;pointer-events:auto}
.dm-browse-content-col{position:relative}
.dm-browse-content-col.dm-browse-loading:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.78);z-index:50;border-radius:4px}
.dm-browse-content-col.dm-browse-loading:after{content:"";position:absolute;top:80px;left:50%;width:34px;height:34px;margin-left:-17px;border-radius:50%;border:3px solid #d5dcea;border-top-color:#0d6efd;animation:dmBrowseSpin .75s linear infinite;z-index:51}
@keyframes dmBrowseSpin{to{transform:rotate(360deg)}}
.dm-browse-view-tabs a{height:34px;min-width:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px}
.dm-browse-pagination .pagination{justify-content:center;margin-top:14px}
.dm-browse-pagination a{cursor:pointer}
.dm-list-product-card{position:relative;margin-bottom:16px}
.dm-list-product-card .item-card-btn-hover:hover .item-card-btn,
.dm-list-product-card .item-card-btn{display:none!important}
.dm-list-product-card .dm-list-product-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dm-list-product-card .dm-list-product-actions .btn{box-shadow:none!important;padding:6px 10px;font-size:12px;border-radius:3px;line-height:1.25}
.dm-list-product-card .dm-list-product-info{flex:1;min-width:0}
.dm-list-product-card .card-body{padding:16px!important}
.dm-list-product-card h3{font-size:18px;line-height:1.25;margin-bottom:4px!important}
.dm-list-product-card .fs-25{font-size:20px!important}
#tab-12 .card-footer .btn{box-shadow:none!important;padding:6px 10px;font-size:12px;border-radius:3px}
@media (min-width:992px){.dm-browse-sidebar-col{order:1!important}.dm-browse-content-col{order:2!important}.dm-browse-filter-card{margin-bottom:18px}}
@media (max-width:575px){.dm-browse-showing{width:100%;margin-bottom:8px}.dm-browse-view-tabs{margin-left:0!important}.dm-browse-sort-form{width:100%;margin-top:10px}.dm-list-product-card h3{font-size:16px}.dm-list-product-card .item-card9-img{width:100%}}

.dm-browse-filter-drawer-head,
.dm-mobile-filter-toggle,
.dm-browse-filter-backdrop {
    display: none;
}

@media (max-width: 991.98px) {
    body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading {
        margin-bottom: 12px !important;
    }

    body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading > .page-title,
    body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading-title {
        display: none !important;
    }

    body.dm-route-browse:not(.dm-route-account) main .dm-browse-heading .page-header {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: block !important;
        padding: 0 !important;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-heading-search {
        margin: 0 !important;
        width: 100% !important;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-heading-search .input-group {
        background: #fff;
        border: 1px solid #e7e9ef;
        border-radius: 4px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, .025);
        overflow: hidden;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-content-col {
        order: 1 !important;
        width: 100%;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-sidebar-col {
        background: #f5f7fb;
        bottom: 0;
        box-shadow: 18px 0 42px rgba(15, 23, 42, .22);
        box-sizing: border-box;
        display: block;
        height: 100dvh;
        left: 0;
        margin: 0 !important;
        max-height: 100dvh;
        max-width: min(92vw, 390px);
        overflow-y: auto;
        padding: 12px;
        position: fixed;
        right: auto;
        top: 0;
        transform: translate3d(-105%, 0, 0);
        transition: transform .22s cubic-bezier(.2, 0, 0, 1);
        width: min(92vw, 390px);
        z-index: 3050;
        -webkit-overflow-scrolling: touch;
    }

    body.dm-route-browse:not(.dm-route-account).dm-browse-filters-open .dm-browse-sidebar-col {
        transform: translate3d(0, 0, 0);
    }

    body.dm-route-browse:not(.dm-route-account).dm-browse-filters-open {
        overflow: hidden;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-filter-backdrop {
        background: rgba(15, 23, 42, .46);
        bottom: 0;
        display: block;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 3040;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-filter-backdrop[hidden] {
        display: none;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-filter-drawer-head {
        align-items: center;
        background: #fff;
        border: 1px solid #e7e9ef;
        border-radius: 4px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 10px 12px;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-filter-drawer-head strong {
        color: #172033;
        font-size: 15px;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-browse-filter-close {
        align-items: center;
        background: #f1f3f8;
        border: 1px solid #dfe4ee;
        border-radius: 4px;
        color: #172033;
        display: inline-flex;
        height: 32px;
        justify-content: center;
        padding: 0;
        width: 32px;
    }

    body.dm-route-browse:not(.dm-route-account) .dm-mobile-filter-toggle {
        align-items: center;
        display: inline-flex;
        height: 34px;
        justify-content: center;
        margin-left: 8px;
        min-width: 92px;
        order: 1;
    }

    body.dm-route-browse:not(.dm-route-account) .item2-gl-nav {
        gap: 8px;
        justify-content: flex-start;
    }

    body.dm-route-browse:not(.dm-route-account) .item2-gl-nav .dm-showing {
        display: none !important;
    }

    body.dm-route-browse:not(.dm-route-account) .item2-gl-nav .item2-gl-menu {
        margin-left: 0 !important;
        order: 2;
    }

    body.dm-route-browse:not(.dm-route-account) .item2-gl-nav .select2-sm {
        margin-left: auto;
        order: 3;
        width: auto;
    }
}

@media (max-width: 575.98px) {
    body.dm-route-browse:not(.dm-route-account) .item2-gl-nav .select2-sm {
        width: auto;
    }

    body.dm-route-browse:not(.dm-route-account) .item2-gl-nav .select2-sm {
        margin-left: auto;
    }
}


/* Stability fix: never show list and grid panes together. */
.tab-content.Marketplace .tab-pane:not(.active):not(.show) {
    display: none !important;
}
.tab-content.Marketplace .tab-pane.active,
.tab-content.Marketplace .tab-pane.show {
    display: block !important;
}
.tab-content.Marketplace #tab-12.active,
.tab-content.Marketplace #tab-12.show {
    display: block !important;
}
.tab-content.Marketplace #tab-12:not(.active):not(.show) {
    display: none !important;
}
.tab-content.Marketplace #tab-11:not(.active):not(.show) {
    display: none !important;
}

.dm-list-product-card .item-card-btn,
.dm-list-product-card .item-card-btn-hover,
#tab-12 .item-card-btn,
#tab-12 .item-card-btn-hover {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* Final stability: the saved view decides which pane is visible. This prevents list and grid from showing together after AJAX or refresh. */
html.dm-browse-view-list .tab-content.Marketplace #tab-11,
body.dm-browse-view-list .tab-content.Marketplace #tab-11 {
    display: block !important;
}
html.dm-browse-view-list .tab-content.Marketplace #tab-12,
body.dm-browse-view-list .tab-content.Marketplace #tab-12 {
    display: none !important;
}
html.dm-browse-view-grid .tab-content.Marketplace #tab-11,
body.dm-browse-view-grid .tab-content.Marketplace #tab-11 {
    display: none !important;
}
html.dm-browse-view-grid .tab-content.Marketplace #tab-12,
body.dm-browse-view-grid .tab-content.Marketplace #tab-12 {
    display: block !important;
}

/* Templist page-list.html list layout: image column must stay 40% in list mode. */
.tab-content #tab-11 .item-card9-img,
.tab-content.Marketplace #tab-11 .item-card9-img,
.dm-list-product-card .item-card9-img {
    width: 40% !important;
    max-width: 40% !important;
    flex: 0 0 40% !important;
}
.tab-content #tab-11 .dm-list-product-info,
.tab-content.Marketplace #tab-11 .dm-list-product-info,
.dm-list-product-card .dm-list-product-info {
    width: 60% !important;
    max-width: 60% !important;
    flex: 0 0 60% !important;
}
@media (max-width: 767.98px) {
    .tab-content #tab-11 .item-card9-img,
    .tab-content.Marketplace #tab-11 .item-card9-img,
    .dm-list-product-card .item-card9-img,
    .tab-content #tab-11 .dm-list-product-info,
    .tab-content.Marketplace #tab-11 .dm-list-product-info,
    .dm-list-product-card .dm-list-product-info {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* Browse filter UX: clickable template checkboxes with visible checked state. */
.dm-filter-check-row {
    position: relative;
    display: block;
    cursor: pointer;
    user-select: none;
}
.dm-filter-check-row .custom-control-input {
    pointer-events: none;
}
.dm-filter-check-row .custom-control-label {
    width: 100%;
    cursor: pointer;
}
.dm-filter-check-row .custom-control-label .text-dark {
    display: block;
    padding-right: 2px;
}
.dm-filter-check-row.is-checked .custom-control-label .text-dark,
.dm-filter-check-row .custom-control-input:checked ~ .custom-control-label .text-dark {
    color: #075ee8 !important;
    font-weight: 600;
}
.dm-filter-check-row .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #467fcf !important;
    border-color: #467fcf !important;
}
.dm-filter-check-row .custom-control-input:checked ~ .custom-control-label::after {
    color: #fff !important;
}

/* Show first 5 filters by default; expand with a compact modern scroll area. */
.dm-filter-foldable:not(.is-expanded) .dm-filter-check-row:nth-of-type(n+6) {
    display: none !important;
}
.dm-filter-foldable:not(.is-expanded) .dm-filter-check-row.is-checked {
    display: block !important;
}
.dm-filter-foldable.is-expanded {
    max-height: 245px;
    overflow-y: auto;
    padding-right: 6px;
}
.dm-filter-foldable.is-expanded::-webkit-scrollbar {
    width: 6px;
}
.dm-filter-foldable.is-expanded::-webkit-scrollbar-track {
    background: #f1f4f9;
    border-radius: 10px;
}
.dm-filter-foldable.is-expanded::-webkit-scrollbar-thumb {
    background: #c7d1e2;
    border-radius: 10px;
}
.dm-filter-foldable.is-expanded::-webkit-scrollbar-thumb:hover {
    background: #9eabc0;
}
.dm-filter-foldable.is-expanded {
    scrollbar-width: thin;
    scrollbar-color: #c7d1e2 #f1f4f9;
}
.dm-filter-show-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #467fcf;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 0 0;
    cursor: pointer;
}
.dm-filter-show-toggle:hover {
    color: #075ee8;
    text-decoration: underline;
}
.dm-filter-show-toggle::after {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 12px;
}
.dm-filter-foldable.is-expanded + .dm-filter-show-toggle::after {
    content: "\f106";
}

/* Clear dropdown arrow for browse filters and sort boxes. */
.dm-browse-filter-card select.form-control,
.dm-browse-sort-form select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 8 10 12 14 8'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px 14px !important;
    padding-right: 34px !important;
}
.dm-browse-filter-card select.form-control::-ms-expand,
.dm-browse-sort-form select.form-control::-ms-expand {
    display: none;
}

/* Load more replaces visible pagination when admin selects this mode. */
.dm-browse-pagination:empty {
    display: none !important;
}
.dm-load-more-btn {
    min-width: 132px;
    padding: 8px 14px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-weight: 600;
}
.dm-return-highlight {
    outline: 2px solid rgba(70, 127, 207, .35);
    box-shadow: 0 0 0 6px rgba(70, 127, 207, .08) !important;
    transition: box-shadow .2s ease, outline .2s ease;
}

/* Multi-select filter corrections: no Templist container3 show-more plugin, exactly 5 items collapsed. */
.dm-filter-list-wrap {
    position: relative;
}
.dm-filter-list-wrap .dm-filter-foldable:not(.is-expanded) {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded {
    max-height: 320px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px !important;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded .dm-filter-check-row {
    display: block !important;
}
.dm-filter-list-wrap .dm-filter-check-row.dm-filter-hidden {
    display: none !important;
}
.dm-filter-list-wrap .dm-filter-show-toggle[hidden] {
    display: none !important;
}
.dm-filter-list-wrap .dm-filter-show-toggle {
    margin-top: 2px;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded::-webkit-scrollbar {
    width: 6px;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded::-webkit-scrollbar-track {
    background: #f3f6fb;
    border-radius: 999px;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded::-webkit-scrollbar-thumb {
    background: #c9d3e4;
    border-radius: 999px;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded::-webkit-scrollbar-thumb:hover {
    background: #9facbf;
}
.dm-filter-list-wrap .dm-filter-foldable.is-expanded {
    scrollbar-width: thin;
    scrollbar-color: #c9d3e4 #f3f6fb;
}
.dm-filter-check-row.is-checked .custom-control-input ~ .custom-control-label::before,
.dm-filter-check-row .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #467fcf !important;
    border-color: #467fcf !important;
}
.dm-filter-check-row.is-checked .custom-control-input ~ .custom-control-label::after,
.dm-filter-check-row .custom-control-input:checked ~ .custom-control-label::after {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Pagination/load-more final fix. Original Templist pagination is removed by PHP; this styles only the selected admin mode. */
.item2-gl > .dm-browse-pagination:not(.center-block) {
    display: none !important;
}
.dm-load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}
.dm-browse-pagination:empty,
.dm-browse-pagination .dm-browse-pagination-empty {
    display: none !important;
}

/* Templist exact browse cards requested by the user. */
.dm-anchor-action {
    display: inline;
}
.dm-list-product-card.card-list-item1 .card-body {
    padding: 1.5rem !important;
}
.dm-list-product-card.card-list-item1 .card-body.pt-4.pb-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.dm-list-product-card.card-list-item1 .fs-25,
#tab-12 .item-card7-overlaytext h4 {
    font-size: 16px !important;
}
.tab-content.Marketplace #tab-11 .card-list-item1 > .d-md-flex,
.dm-list-product-card.card-list-item1 > .d-md-flex {
    align-items: flex-start;
}
.tab-content.Marketplace #tab-11 .item-card9-img,
.tab-content.Marketplace #tab-12 .item-card9-img,
.dm-list-product-card .item-card9-img {
    aspect-ratio: 590 / 300;
    background: #f3f6fb;
    height: auto !important;
    overflow: hidden;
}
.tab-content.Marketplace #tab-11 .item-card9-imgs,
.tab-content.Marketplace #tab-12 .item-card9-imgs,
.dm-list-product-card .item-card9-imgs {
    aspect-ratio: 590 / 300;
    height: 100%;
}
.tab-content.Marketplace #tab-11 img.cover-image,
.tab-content.Marketplace #tab-12 img.cover-image,
.dm-list-product-card img.cover-image {
    aspect-ratio: 590 / 300;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-height: 0;
    object-fit: contain;
    transform: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    -webkit-transition: none !important;
}
.tab-content.Marketplace #tab-11 .item-card9-imgs:hover img.cover-image,
.tab-content.Marketplace #tab-12 .item-card9-imgs:hover img.cover-image,
.dm-list-product-card .item-card9-imgs:hover img.cover-image {
    transform: none !important;
    -webkit-transform: none !important;
}
#tab-12 .card-footer .btn-list .btn {
    padding: .5rem 1rem !important;
    font-size: inherit !important;
    border-radius: 3px;
}
.dm-rating-filter-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}
.dm-rating-filter-stars .fa {
    font-size: 13px;
}
.dm-static-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f5b301;
    line-height: 1;
    vertical-align: middle;
}
.dm-static-rating-stars .fa {
    font-size: 13px;
}
.dm-static-rating-stars .text-muted {
    color: #a6b0c3 !important;
}
.item-card9-icons .item-card9-icons1.dm-wishlist-toggle,
.item-card2-icons .dm-wishlist-toggle,
.dm-wishlist-toggle {
    background-color: #98a2b3 !important;
    border-color: #98a2b3 !important;
    color: #fff !important;
}
.item-card9-icons .item-card9-icons1.dm-wishlist-toggle:hover,
.item-card2-icons .dm-wishlist-toggle:hover,
.dm-wishlist-toggle:hover {
    background-color: #7f8a9d !important;
    border-color: #7f8a9d !important;
    color: #fff !important;
}
.item-card9-icons .item-card9-icons1.dm-wishlist-toggle.is-active,
.item-card2-icons .dm-wishlist-toggle.is-active,
.dm-wishlist-toggle.is-active {
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #fff !important;
}
.item-card9-icons .item-card9-icons1.dm-wishlist-toggle.is-active:hover,
.item-card2-icons .dm-wishlist-toggle.is-active:hover,
.dm-wishlist-toggle.is-active:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #fff !important;
}
.dm-wishlist-toggle i {
    color: #fff !important;
}
.dm-list-product-card .item-card9-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.dm-list-product-card .item-card9-icons .dm-anchor-action,
.dm-list-product-card .item-card9-icons .dm-action-form {
    display: block;
    line-height: 1;
}
.dm-list-product-card .item-card9-icons .item-card9-icons1 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px; /* <- nu modifica nimc */
    height: 30px; /* <- nu modifica nimc */
    padding: 0 !important;
    line-height: 1.7em !important;
    text-align: center;
}
.dm-list-product-card .item-card9-icons .item-card9-icons1 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px !important; /* <- nu modifica nimc */
    line-height: 1.7em !important;
}
.dm-list-author-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    border-radius: 50% !important;
    object-fit: cover;
    background: #eef1f5;
}
.dm-list-product-card .avatar-status.dm-avatar-online {
    background: #22c55e !important;
    box-shadow: 0 0 0 2px #fff;
}
.dm-list-product-card .avatar-status.dm-avatar-offline {
    background: #9aa4b2 !important;
    box-shadow: 0 0 0 2px #fff;
}

.src-btn-brs {
    min-height: 30px !important;
    padding: 0 !important;
    height: 30px !important;
}
.src-inp-brs {
    height: 30px !important;
}

.btn-outline-secondary {
    color: var(--secondary-color);
    background-color: transparent;
    background-image: none;
    border-color: var(--secondary-color);
    box-shadow: none !important;
}

.dm-author-badges {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
}
.dm-author-badge,
.dm-author-badge-icon {
    --dm-badge-base: var(--dm-badge-color, #2563eb);
    --dm-badge-bg: linear-gradient(135deg, var(--dm-badge-base) 0%, color-mix(in srgb, var(--dm-badge-base) 84%, #ffffff 16%) 48%, color-mix(in srgb, var(--dm-badge-base) 84%, #0891b2 16%) 100%);
    --dm-badge-glow: color-mix(in srgb, var(--dm-badge-base) 32%, transparent);
    align-items: center !important;
    background: var(--dm-badge-bg) !important;
    border-radius: 0 !important;
    box-shadow: 0 7px 14px rgba(15,23,42,.12), inset 0 -2px 0 rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.32) !important;
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%) !important;
    color: #fff !important;
    cursor: help;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    height: 30px !important;
    justify-content: center !important;
    line-height: 1 !important;
    position: relative !important;
    text-shadow: 0 1px 2px rgba(15,23,42,.24) !important;
    width: 30px !important;
}
.dm-author-badge:before,
.dm-author-badge-icon:before {
    background: linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 56%) !important;
    clip-path: inherit !important;
    content: "" !important;
    height: 45% !important;
    inset: 2px 3px auto 3px !important;
    position: absolute !important;
    z-index: 1 !important;
}
.dm-author-badge:after,
.dm-author-badge-icon:after {
    background: var(--dm-badge-glow) !important;
    border-radius: 999px !important;
    content: "" !important;
    filter: blur(6px) !important;
    height: 7px !important;
    opacity: .85 !important;
    position: absolute !important;
    top: 25px !important;
    width: 18px !important;
    z-index: -1 !important;
}
.dm-author-badge i,
.dm-author-badge-icon i {
    color: #fff !important;
    font-size: 13px !important;
    position: relative !important;
    z-index: 2 !important;
}
.dm-author-badge-age,
.dm-author-badge-veteran-author,
.dm-author-badge-established-author {
    --dm-badge-bg: linear-gradient(135deg, #64748b, #0ea5e9);
    --dm-badge-glow: rgba(14,165,233,.24);
}
.dm-author-badge-elite,
.dm-author-badge-elite-author {
    --dm-badge-bg: linear-gradient(135deg, #f59e0b, #eab308);
    --dm-badge-glow: rgba(234,179,8,.28);
}
.dm-author-badge-verified,
.dm-author-badge-approved-author {
    --dm-badge-bg: linear-gradient(135deg, #22c55e, #0ea5e9);
    --dm-badge-glow: rgba(34,197,94,.26);
}
.dm-author-badge-exclusive,
.dm-author-badge-exclusive-author {
    --dm-badge-bg: linear-gradient(135deg, #8b5cf6, #db2777);
    --dm-badge-glow: rgba(219,39,119,.28);
}
.dm-author-badge-country {
    --dm-badge-bg: linear-gradient(135deg, #0ea5e9, #0891b2);
    --dm-badge-glow: rgba(8,145,178,.26);
}
.dm-author-badge-power-elite-author {
    --dm-badge-bg: linear-gradient(135deg, #f59e0b, #db2777 48%, #fde68a);
    --dm-badge-glow: rgba(245,158,11,.32);
}
.dm-author-badge-featured-author,
.dm-author-badge-featured-item {
    --dm-badge-bg: linear-gradient(135deg, #ec4899, #8b5cf6);
    --dm-badge-glow: rgba(236,72,153,.28);
}
.dm-author-badge-weekly-top-seller,
.dm-author-badge-top-monthly-author,
.dm-author-badge-rising-author {
    --dm-badge-bg: linear-gradient(135deg, #06b6d4, #2563eb);
    --dm-badge-glow: rgba(6,182,212,.26);
}
.dm-route-product .item-user .dm-author-badges {
    justify-content: center !important;
    margin: 12px 0 4px !important;
}
.dm-route-product .item-user .dm-author-badge,
.dm-route-product .item-user .dm-author-badge-icon {
    background: var(--dm-badge-bg, linear-gradient(135deg, #2563eb, #0891b2)) !important;
    color: #fff !important;
}
.dm-route-product .item-user .dm-author-badge i,
.dm-route-product .item-user .dm-author-badge-icon i {
    background: transparent !important;
    border-radius: 0 !important;
    color: #fff !important;
    height: auto !important;
    line-height: 1 !important;
    width: auto !important;
}
body.dm-product-lightbox-open {
    overflow: hidden;
}
.dm-product-lightbox {
    align-items: stretch;
    display: none;
    inset: 0;
    justify-content: stretch;
    position: fixed;
    z-index: 99999;
}
.dm-product-lightbox.is-open {
    display: flex;
}
.dm-product-lightbox-backdrop {
    background: rgba(7, 12, 24, .94);
    inset: 0;
    position: absolute;
}
.dm-product-lightbox-dialog {
    color: #fff;
    display: grid;
    gap: 12px;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
    padding: 18px;
    position: relative;
    width: 100vw;
    z-index: 1;
}
.dm-product-lightbox-header {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    min-height: 38px;
}
.dm-product-lightbox-title {
    display: block;
    font-size: 15px;
    line-height: 1.3;
}
.dm-product-lightbox-counter {
    color: rgba(255,255,255,.7);
    display: block;
    font-size: 12px;
    margin-top: 2px;
}
.dm-product-lightbox-close,
.dm-product-lightbox-nav,
.dm-product-lightbox-thumb {
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    display: inline-flex;
    justify-content: center;
}
.dm-product-lightbox-close {
    border-radius: 50%;
    font-size: 28px;
    height: 38px;
    line-height: 1;
    width: 38px;
}
.dm-product-lightbox-stage {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    position: relative;
}
.dm-product-lightbox-img {
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
    height: auto;
    max-height: calc(100vh - 148px);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}
.dm-product-lightbox-nav {
    border-radius: 50%;
    font-size: 30px;
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    z-index: 2;
}
.dm-product-lightbox-prev {
    left: 18px;
}
.dm-product-lightbox-next {
    right: 18px;
}
.dm-product-lightbox-thumbs {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    min-height: 54px;
    overflow-x: auto;
    padding: 4px 0;
}
.dm-product-lightbox-thumb {
    border-radius: 4px;
    height: 44px;
    opacity: .65;
    overflow: hidden;
    padding: 0;
    width: 76px;
}
.dm-product-lightbox-thumb.is-active {
    border-color: #fff;
    opacity: 1;
}
.dm-product-lightbox-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
@media (max-width: 767px) {
    .dm-product-lightbox-dialog {
        gap: 8px;
        padding: 12px;
    }
    .dm-product-lightbox-img {
        max-height: calc(100vh - 128px);
    }
    .dm-product-lightbox-nav {
        height: 40px;
        width: 40px;
    }
    .dm-product-lightbox-prev {
        left: 10px;
    }
    .dm-product-lightbox-next {
        right: 10px;
    }
    .dm-product-lightbox-thumb {
        height: 38px;
        width: 64px;
    }
}

.dm-author-badges {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.dm-author-badges .dm-author-badge,
.dm-author-badges .dm-author-badge-icon {
    align-items: center !important;
    background: var(--dm-badge-bg, linear-gradient(135deg, #2563eb 0%, #0891b2 100%)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 7px 14px rgba(15,23,42,.12), inset 0 -2px 0 rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.32) !important;
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%) !important;
    color: #fff !important;
    cursor: help !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    height: 30px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: relative !important;
    text-align: center !important;
    text-shadow: 0 1px 2px rgba(15,23,42,.24) !important;
    width: 30px !important;
}
.dm-author-badges .dm-author-badge:before,
.dm-author-badges .dm-author-badge-icon:before {
    background: linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 56%) !important;
    clip-path: inherit !important;
    content: "" !important;
    height: 45% !important;
    inset: 2px 3px auto 3px !important;
    position: absolute !important;
    z-index: 1 !important;
}
.dm-author-badges .dm-author-badge:after,
.dm-author-badges .dm-author-badge-icon:after {
    background: var(--dm-badge-glow, rgba(37,99,235,.28)) !important;
    border-radius: 999px !important;
    content: "" !important;
    filter: blur(6px) !important;
    height: 7px !important;
    opacity: .85 !important;
    position: absolute !important;
    top: 25px !important;
    width: 18px !important;
    z-index: -1 !important;
}
.dm-author-badges .dm-author-badge i,
.dm-author-badges .dm-author-badge-icon i {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    display: block !important;
    font-size: 13px !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    text-align: center !important;
    width: auto !important;
    z-index: 2 !important;
}
.dm-route-product .item-user .dm-author-badges {
    justify-content: center !important;
    margin: 12px 0 4px !important;
}
.dm-more-items-grid .card {
    overflow: hidden;
}
.details-tab-content .card-footer .dm-toggle-form {
    vertical-align: middle;
}
.dm-product-cover-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.dm-product-cover-actions.btn-list .btn {
    margin: 0 !important;
}
.dm-product-cover-actions .dm-toggle-form {
    display: inline-flex;
}
.dm-product-cover-actions .dm-product-action-icon {
    align-items: center !important;
    display: inline-flex !important;
    height: 40px !important;
    justify-content: center !important;
    min-width: 40px !important;
    padding: 0 !important;
    width: 40px !important;
}
.dm-product-cover-actions .dm-product-action-icon i {
    margin: 0 !important;
}
.dm-product-cover-actions .dm-collection-toggle:not(.is-active) {
    background: #f8f9fa !important;
    border-color: #dbe2ed !important;
    color: #4b5563 !important;
}
.dm-product-cover-actions .dm-collection-toggle:not(.is-active) i {
    color: #4b5563 !important;
}
.dm-route-product #report {
    opacity: 1 !important;
    z-index: 50060 !important;
}
.dm-route-product #report.show,
.dm-route-product #report.dm-report-force-modal {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 16px !important;
    position: fixed !important;
    inset: 0 !important;
}
.dm-route-product #report .modal-dialog {
    margin: auto !important;
    max-width: 500px !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    width: min(500px, calc(100vw - 32px)) !important;
    z-index: 50070 !important;
}
.dm-route-product .modal-backdrop.show {
    z-index: 50050 !important;
}
.dm-route-product .dm-report-modal-backdrop {
    background: rgba(15, 23, 42, .62) !important;
    opacity: 1 !important;
    z-index: 50050 !important;
}
.dm-route-product #report.dm-report-force-modal .modal-content {
    box-shadow: 0 24px 60px rgba(15, 23, 42, .34) !important;
}
.dm-moderation-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dm-moderation-actions .btn,
.dm-moderation-actions button {
    font-size: 11px;
    line-height: 1.2;
    padding: 4px 8px;
}
.dm-top-available-balance a {
    align-items: center;
    display: inline-flex;
    font-weight: 600;
    gap: 3px;
    white-space: nowrap;
}
.dm-top-available-balance span {
    color: #1f2937;
}

/* Generic plugin checkbox lists rendered by plugin configuration screens. */
.dm-plugin-checkbox-list {
    background: #f8fafc;
    border: 1px solid #e6e9f0;
    border-radius: 6px;
    display: grid;
    gap: 8px;
    padding: 10px 12px;
}
.dm-plugin-checkbox-list .form-check {
    margin: 0;
}
.dm-plugin-select-wrap {
    position: relative;
}
.dm-plugin-select-wrap .form-select {
    appearance: none;
    padding-right: 38px;
}
.dm-plugin-select-wrap > i {
    color: #667085;
    font-size: 16px;
    pointer-events: none;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.dm-author-comment-controls {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: min(100%, 520px);
}
.dm-author-comment-search,
.dm-author-comment-select-wrap {
    position: relative;
}
.dm-author-comment-search {
    flex: 1 1 230px;
}
.dm-author-comment-select-wrap {
    flex: 0 1 210px;
}
.dm-author-comment-search .form-control,
.dm-author-comment-select-wrap .form-select {
    height: 35px;
    min-height: 35px;
}
.dm-author-comment-search .form-control {
    padding-left: 34px;
}
.dm-author-comment-search > i,
.dm-author-comment-select-wrap > i {
    color: #667085;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.dm-author-comment-search > i {
    left: 12px;
}
.dm-author-comment-select-wrap .form-select {
    appearance: none;
    padding: 4px 32px 4px 10px;
}
.dm-author-comment-select-wrap > i {
    font-size: 16px;
    right: 12px;
}
@media (max-width: 767.98px) {
    .dm-author-comment-controls {
        width: 100%;
    }
    .dm-author-comment-search,
    .dm-author-comment-select-wrap {
        flex-basis: 100%;
    }
}

.dm-author-support-alert {
    align-items: flex-start;
    background: #f5f5f6;
    border-left: 5px solid #e2ad21;
    border-radius: 4px;
    color: #344054;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px 20px;
}
.dm-author-support-alert i {
    color: #d49a12;
    flex: 0 0 auto;
    margin-top: 2px;
}
.dm-author-support-alert p {
    font-weight: 500;
    margin: 0 0 4px;
}
.dm-author-support-alert span {
    color: #536078;
    font-size: 13px;
}
.dm-author-support-card .card-body > p {
    color: #475467;
    line-height: 1.55;
    margin-bottom: 18px;
}
.dm-author-support-title {
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 12px;
}
.dm-author-support-options {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}
.dm-author-support-options label {
    align-items: flex-start;
    color: #344054;
    cursor: pointer;
    display: flex;
    gap: 8px;
    line-height: 1.35;
    margin: 0;
}
.dm-author-support-options input {
    flex: 0 0 auto;
    margin-top: 3px;
}
.dm-author-support-note {
    color: #536078 !important;
    font-size: 13px;
}

.btn-outline-primary {
    color: #ff6104;
    background-color: transparent;
    background-image: none;
    box-shadow: 0 5px 10px var(--primary-bg-shadow);
    border-color: #ff6001 !important;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #3c3c3c;
    border-color: #212529 !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #3c3c3c;
    border-color: #212529 !important;
}

.bg-primary {
    background-color: #212529 !important;
}

.dm-like-toggle.is-active {
    background: #ff5f00 !important;
    border-color: #ff5700 !important;
    color: #fff !important;
}

.bg-secondary {
    color: #fff;
    background-color: var(--secondary-color);
    box-shadow: none;
}

.dm-js-pager button.active {
    background: #3c3c3c;
    color: #fff;
}

.page-item.active .page-link {
    background-color: #3c3c3c;
    border-color: #212529;
}

.dm-like-toggle {
    background: #e4e8f0 !important;
    border-color: #d1d1d1 !important;
    color: #636d8c !important;
}

.bg-dark-purple {
    background-color: #202020 !important;
}

.bg-dark {
    background-color: #0c0c0c !important;
}

.text-primary {
    color: #fb6612 !important;
}

.bg-background2:before, .bg-background-color:before {
    background: linear-gradient(-225deg, var(--primary-bg-color) 45%, #000000 100%) !important;
    opacity: 0.5;
}

.banner-1 .header-text h1 {
    margin-block-end: 0.3rem;
    font-weight: 800;
    font-family: "Quicksand", sans-serif;
    text-shadow: 0 0 11px #000;
}

.banner-1 .header-text p {
    margin-block-end: 1.5rem;
    font-size: 20px;
    margin-block-start: 0.4rem;
    font-weight: 400;
    text-shadow: 0 0 10px #000;
}

.btn{
  box-shadow: none; 
}

.widget-spec1 li {
    margin-block-end: 0.5rem;
    font-size: 13px;
    display: flex;
    color: #636d8c;
    font-size: 12px;
}

.item2-gl-nav .item2-gl-menu li .active {
    color: var(--secondary-color) !important;
}

.bg-purple {
    background-color: rgb(135, 87, 255) !important;
    color: #d7d7d7 !important;
}

.dm-popular-categories-row {
    align-items: stretch;
}

.dm-popular-category-card {
    display: flex;
    height: calc(100% - 1.5rem);
    min-height: 146px;
    width: 100%;
}

.dm-popular-category-body {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 146px;
    width: 100%;
}

.dm-popular-category-body h6 {
    line-height: 1.3;
    min-height: 34px;
}

.dm-newsletter-form .form-control {
    min-width: 0;
}

/* Custom Header */
.horizontal-main {
    background: #f5f5f5;
    border-bottom: 1px solid #e1e8ed;
}

.headerstyle1 .header-search {
    background: #262626;
    position: relative;
    border-block-end: 1px solid #262626;
}

.headerstyle1 .top-bar {
    background: #262626;
    position: relative;
    border-block-end: 1px solid #262626;
}

.top-bar .top-bar-left .socials li {
    display: inline-block;
    float: var(--float-right);
    font-size: 15px;
    padding: 9px 15px 8px 15px;
    margin: 0;
    border-inline-start: 1px solid #262626;
    cursor: pointer;
    margin: 0 !important;
}

.top-bar .top-bar-left .contact li {
    display: table-cell;
    color: #2e384d;
    border-inline-start: 1px solid #262626;
    padding: 9px 15px 8px 15px;
    margin: 0;
}

.top-bar .top-bar-left .contact li:last-child {
    border-inline-end: 1px solid #262626;
}

.header-main i {
    color: #bfbfbf;
}

.headerstyle1 .top-bar-right span, .headerstyle1 .top-bar-left span {
    color: #bfbfbf;
}

.top-bar .top-bar-left .socials li {
    display: inline-block;
    float: var(--float-right);
    font-size: 15px;
    padding: 9px 15px 8px 0px;
    margin: 0;
    border-inline-start: 1px solid #262626;
    cursor: pointer;
    margin: 0 !important;
}

.head_currency {
    top: -3px;
    position: relative;
}

.header-main .top-bar-right .custom li {
    padding: 10px;
    border-inline-start: 1px solid #262626;
}

.header-main .top-bar-right .custom li:last-child {
    margin-inline-end: 0;
    border-inline-end: 1px solid #262626;
}

.header-icons .nav-link.icon i {
    color: #bfbfbf;
}

.header-icons .nav-link.icon {
    margin: 2px 7px;
    border-radius: 50%;
    padding: 9px;
    width: 2.2rem;
    text-align: center;
    height: 2.2rem;
    font-size: 15px;
    position: relative;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #262626;
    box-shadow: 0 5px 10px rgba(245, 246, 253, 0.5);
}

.bg-light {
    background-color: #ededed !important;
    box-shadow: 0 5px 10px rgba(231, 233, 243, 0.1);
}

/* Mobile account/header refinements */
.dm-account-sidebar-toggle,
.dm-account-sidebar-backdrop,
.dm-account-sidebar-mobile-head {
    display: none;
}

@media (max-width: 991.98px) {
    .header-main .top-bar-right {
        align-items: stretch !important;
        justify-content: flex-end !important;
        min-height: 42px;
    }

    .header-main .top-bar-right .custom {
        align-items: stretch !important;
        flex: 0 1 auto !important;
        height: 42px;
        width: auto !important;
    }

    .header-main .top-bar-right .custom > li {
        align-items: center !important;
        display: inline-flex !important;
        min-height: 42px;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .header-main .top-bar-right .custom > li > a {
        align-items: center !important;
        color: #bfbfbf !important;
        display: inline-flex !important;
        min-height: 42px !important;
    }

    .header-main .top-bar-right .custom > li > a i,
    .header-main .top-bar-right .custom > li > a span,
    .dm-mobile-top-icons .dm-template-header-icons .nav-link.icon,
    .dm-mobile-top-icons .dm-template-header-icons .nav-link.icon i {
        color: #bfbfbf !important;
    }

    .dm-mobile-top-icons {
        align-items: center !important;
        align-self: stretch;
        display: flex !important;
        flex: 0 0 auto !important;
        height: 42px;
        margin-left: 4px !important;
    }

    .dm-mobile-top-icons .dm-template-header-icons {
        align-items: center !important;
        height: 42px;
    }

    .dm-mobile-top-icons .dm-template-header-icons .dropdown {
        align-items: center !important;
        display: inline-flex !important;
        height: 42px;
    }

    .dm-mobile-top-icons .dm-template-header-icons .nav-link.icon {
        align-items: center !important;
        background: transparent !important;
        border-color: #262626 !important;
        display: inline-flex !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .dm-account-wrap .dm-account-page-title,
    .dm-account-wrap .dm-account-page-head h1 {
        padding-left: 5px !important;
    }

    .dm-account-wrap .dm-account-sidebar-toggle {
        align-items: center;
        display: inline-flex;
        gap: 4px;
        margin: 8px 0 12px 5px;
    }

    .dm-account-wrap .dm-account-sidebar-backdrop {
        background: rgba(15, 23, 42, .48);
        bottom: 0;
        display: none;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 3040;
    }

    body.dm-account-sidebar-open .dm-account-wrap .dm-account-sidebar-backdrop {
        display: block;
    }

    body.dm-account-sidebar-open {
        overflow: hidden;
    }

    .dm-account-wrap .dm-account-sidebar {
        border-radius: 0 !important;
        bottom: 0;
        height: 100dvh;
        left: 0;
        margin: 0 !important;
        max-height: 100dvh;
        max-width: 320px;
        overflow-y: auto;
        padding: 14px !important;
        position: fixed !important;
        top: 0 !important;
        transform: translateX(-105%);
        transition: transform .22s ease;
        width: min(86vw, 320px);
        z-index: 3050;
    }

    body.dm-account-sidebar-open .dm-account-wrap .dm-account-sidebar {
        transform: translateX(0);
    }

    .dm-account-wrap .dm-account-sidebar-mobile-head {
        align-items: center;
        border-bottom: 1px solid #eef0f5;
        display: flex;
        justify-content: space-between;
        margin: -2px 0 14px;
        padding-bottom: 10px;
    }

    .dm-account-wrap .dm-account-sidebar-mobile-head strong {
        color: #101828;
        font-size: 14px;
    }

    .dm-account-wrap .dm-account-content {
        min-width: 0;
        overflow: hidden;
    }

    .dm-account-wrap .dm-account-table-section .table-responsive,
    .dm-account-wrap .dm-author-table-card .table-responsive,
    .dm-account-wrap .dm-order-items-section .table-responsive,
    .dm-account-wrap .dm-downloads-card .table-responsive,
    .dm-account-wrap .dm-purchases-card .table-responsive {
        display: block;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .dm-account-wrap .dm-account-table-section .table,
    .dm-account-wrap .dm-author-table-card .table,
    .dm-account-wrap .dm-order-items-section .table {
        min-width: 680px;
        width: max-content;
    }
}

@media (max-width: 420px) {
    .header-main .top-bar-right .custom > li {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .dm-mobile-top-icons .dm-template-header-icons {
        gap: 1px !important;
    }
}

html[dir="rtl"] .dm-account-wrap .dm-account-sidebar {
    left: auto;
    right: 0;
    transform: translateX(105%);
}

html[dir="rtl"] body.dm-account-sidebar-open .dm-account-wrap .dm-account-sidebar {
    transform: translateX(0);
}

@media (max-width: 991.98px) {
    .dm-account-breadcrumb,
    .breadcrumb,
    .page-header .breadcrumb,
    .dm-public-page-heading .dm-account-breadcrumb,
    .dm-browse-heading .dm-account-breadcrumb {
        display: none !important;
    }
}

.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #ccc;
    background-color: transparent;
}

/* Frontend maintenance page */
.dm-maintenance-body {
    --dm-maintenance-primary: var(--dm-site-primary, #467fcf);
    --dm-maintenance-accent: var(--dm-site-accent, #f5334f);
    --dm-maintenance-ink: #182033;
    --dm-maintenance-muted: #68738d;
    --dm-maintenance-line: #dbe4f2;
    --dm-maintenance-page: #f4f7fb;
    --dm-maintenance-panel-soft: #f8fafd;
    margin: 0;
    min-height: 100vh;
    color: var(--dm-maintenance-ink);
    background:
        linear-gradient(120deg, rgba(70, 127, 207, .10), rgba(245, 51, 79, .06) 48%, rgba(255, 255, 255, .92)),
        linear-gradient(90deg, rgba(24, 32, 51, .05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(24, 32, 51, .05) 1px, transparent 1px),
        var(--dm-maintenance-page);
    background-size: auto, 48px 48px, 48px 48px, auto;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

.dm-maintenance-body *,
.dm-maintenance-body *::before,
.dm-maintenance-body *::after {
    box-sizing: border-box;
}

.dm-maintenance-body a {
    color: inherit;
}

.dm-maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px;
    position: relative;
    overflow: hidden;
}

.dm-maintenance-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 58%, rgba(70, 127, 207, .08) 58% 70%, transparent 70%),
        linear-gradient(315deg, transparent 0 62%, rgba(245, 51, 79, .07) 62% 76%, transparent 76%);
    pointer-events: none;
}

.dm-maintenance-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.dm-maintenance-copy,
.dm-maintenance-status {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(219, 228, 242, .92);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(24, 32, 51, .12);
}

.dm-maintenance-copy {
    min-height: 560px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dm-maintenance-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 52px;
}

.dm-maintenance-brand img {
    display: block;
    max-width: 184px;
    max-height: 54px;
    object-fit: contain;
}

.dm-maintenance-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(70, 127, 207, .20);
    border-radius: 999px;
    background: rgba(70, 127, 207, .08);
    color: #2f5f9f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.dm-maintenance-tag span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dm-maintenance-accent);
    box-shadow: 0 0 0 5px rgba(245, 51, 79, .12);
}

.dm-maintenance-content {
    max-width: 720px;
}

.dm-maintenance-content h1 {
    margin: 0 0 20px;
    max-width: 720px;
    font-size: 52px;
    line-height: 1.06;
    letter-spacing: 0;
}

.dm-maintenance-message {
    margin: 0;
    max-width: 680px;
    color: var(--dm-maintenance-muted);
    font-size: 18px;
    line-height: 1.75;
}

.dm-maintenance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.dm-maintenance-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 7px;
    border: 1px solid var(--dm-maintenance-line);
    color: var(--dm-maintenance-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dm-maintenance-action.primary {
    background: var(--dm-maintenance-primary);
    border-color: var(--dm-maintenance-primary);
    color: #ffffff;
}

.dm-maintenance-foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 46px;
}

.dm-maintenance-info {
    min-height: 82px;
    padding: 17px;
    border: 1px solid var(--dm-maintenance-line);
    border-radius: 8px;
    background: var(--dm-maintenance-panel-soft);
}

.dm-maintenance-info small {
    display: block;
    margin-bottom: 7px;
    color: var(--dm-maintenance-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dm-maintenance-info strong,
.dm-maintenance-info a {
    color: var(--dm-maintenance-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.dm-maintenance-status {
    min-height: 560px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(24, 32, 51, .98), rgba(35, 45, 69, .98)),
        #182033;
    border-color: rgba(24, 32, 51, .80);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.dm-maintenance-status::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent);
    pointer-events: none;
}

.dm-maintenance-status > * {
    position: relative;
    z-index: 1;
}

.dm-maintenance-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.dm-maintenance-status-head strong {
    font-size: 15px;
}

.dm-maintenance-badge {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 700;
}

.dm-maintenance-metric {
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.dm-maintenance-metric span {
    display: block;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    margin-bottom: 10px;
}

.dm-maintenance-metric strong {
    display: block;
    font-size: 42px;
    line-height: 1;
    letter-spacing: 0;
}

.dm-maintenance-progress {
    height: 9px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}

.dm-maintenance-progress span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffffff, var(--dm-maintenance-accent));
}

.dm-maintenance-checklist {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.dm-maintenance-check {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.dm-maintenance-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.dm-maintenance-check strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}

.dm-maintenance-check span {
    display: block;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.55;
}

.dm-maintenance-status-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.dm-maintenance-dot-row {
    display: inline-flex;
    gap: 6px;
}

.dm-maintenance-dot-row span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .34);
}

.dm-maintenance-dot-row span:first-child {
    background: #ffffff;
}

@media (max-width: 940px) {
    .dm-maintenance-shell {
        grid-template-columns: 1fr;
    }

    .dm-maintenance-copy,
    .dm-maintenance-status {
        min-height: auto;
    }

    .dm-maintenance-status {
        gap: 24px;
    }
}

@media (max-width: 620px) {
    .dm-maintenance-page {
        align-items: flex-start;
        padding: 14px;
    }

    .dm-maintenance-copy,
    .dm-maintenance-status {
        padding: 22px;
    }

    .dm-maintenance-brand {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 36px;
    }

    .dm-maintenance-content h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .dm-maintenance-message {
        font-size: 16px;
    }

    .dm-maintenance-foot {
        grid-template-columns: 1fr;
    }

    .dm-maintenance-status-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Browse grid cards: ensure footer stays visible, body shrinks on small screens */
.dm-browse-grid-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.dm-browse-grid-card > .card-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.dm-browse-grid-card > .card-body .item-card9 {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.dm-browse-grid-card > .card-body .item-card9 .widget-spec1 {
    flex: 0 0 auto;
    margin-bottom: auto !important;
}
.dm-browse-grid-card > .card-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

/* Browse list cards: ensure footer stays visible */
.dm-browse-list-card .dm-list-product-info {
    display: flex;
    flex-direction: column;
}
.dm-browse-list-card .dm-list-product-info > .d-md-flex:first-child {
    flex: 1 1 auto;
    min-height: 0;
}
.dm-browse-list-card .dm-list-product-info > .card-footer {
    flex: 0 0 auto;
    background: #fff;
    z-index: 9;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 0;
    padding: 1.5rem 1.5rem !important;
    position: relative;
    height: auto;
}

.licence-price {
    position: absolute;
    top: 15px;
    inset-inline-end: 18px;
    font-weight: 800;
    font-size: 25px;
}

.item-card9-img {
    position: relative;
    height: auto;
}

@media (max-width: 1280px) {
    .licence-price {
        position: absolute;
        top: 15px;
        inset-inline-end: 18px;
        font-weight: 800;
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .dm-browse-list-card .dm-list-product-info > .d-md-flex:first-child {
        flex-direction: column;
    }
    .dm-browse-list-card .dm-list-product-info > .d-md-flex:first-child > .w-65 {
        width: 100% !important;
    }
    .dm-browse-list-card .dm-list-product-info > .d-md-flex:first-child > .w-35 {
        width: 100% !important;
        border-left: 0 !important;
        border-top: 1px solid #e9edf4;
        padding-top: 10px;
        margin-top: 10px;
    }
}

/* Reset flex on dm-tag-list inside filter checkboxes (conflicts with a global .dm-tag-list rule) */
.filter-product-checkboxs.dm-tag-list {
    display: block !important;
}

/* --- Browse category list: collapsed / expanded with scroll --- */
.dm-category-list {
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.dm-category-list.dm-category-expanded {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
.dm-category-list.dm-category-expanded::-webkit-scrollbar {
    width: 5px;
}
.dm-category-list.dm-category-expanded::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.dm-category-list.dm-category-expanded::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.dm-load-all-categories {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 500;
    color: #5a6a85;
    text-decoration: none;
    transition: color 0.2s;
}
.dm-load-all-categories:hover {
    color: #3366ff;
    text-decoration: none;
}
.dm-category-row .custom-control-label,
.dm-tag-row .custom-control-label {
    display: flex !important;
    width: 100%;
}
.dm-category-row .custom-control-label .text-dark,
.dm-tag-row .custom-control-label .text-dark {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* --- Browse tag list: collapsed / expanded with scroll --- */
.dm-tag-list.dm-tag-expanded {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
.dm-tag-list.dm-tag-expanded::-webkit-scrollbar {
    width: 5px;
}
.dm-tag-list.dm-tag-expanded::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.dm-tag-list.dm-tag-expanded::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.dm-load-all-tags {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 500;
    color: #5a6a85;
    text-decoration: none;
    transition: color 0.2s;
}
.dm-load-all-tags:hover {
    color: #3366ff;
    text-decoration: none;
}


/* Generic product pricing mode cards (works with or without pricing plugins) */
.lm-mode-option{display:grid!important;grid-template-columns:1.15rem minmax(0,1fr);align-items:start!important;gap:.7rem;padding:.9rem 1rem;border:1px solid #d9e0e8;border-radius:.65rem;background:#fff;cursor:pointer;margin-bottom:.75rem;width:100%}
.lm-mode-option>input[type=checkbox]{position:static!important;opacity:1!important;visibility:visible!important;float:none!important;width:1rem!important;height:1rem!important;margin:.22rem 0 0!important;appearance:auto!important;-webkit-appearance:checkbox!important}
.lm-mode-option span{display:flex;flex-direction:column;min-width:0}.lm-mode-option small{color:#6c757d;font-weight:400}.lm-mode-option:has(input:checked){border-color:#206bc4;box-shadow:0 0 0 2px rgba(32,107,196,.1)}
.dm-browse-starting-from{display:block;font-size:13px;line-height:1.2;margin-bottom:2px}


/* Shared platform confirmation modal fallback */
.dm-math-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10950;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .54);
    backdrop-filter: blur(2px);
}

.dm-math-confirm-dialog {
    width: min(420px, 100%);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .25);
    padding: 24px;
    text-align: center;
}

.dm-math-confirm-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff4e5;
    color: #f59f00;
    font-size: 26px;
    font-weight: 700;
}

.dm-math-confirm-dialog h3 {
    margin: 0 0 8px;
    color: #182433;
    font-size: 20px;
    font-weight: 700;
}

.dm-math-confirm-dialog p {
    margin: 0 0 18px;
    color: #667085;
}

.dm-math-confirm-dialog label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-weight: 600;
}

.dm-math-confirm-dialog .form-control {
    text-align: center;
}

.dm-math-confirm-error {
    margin-top: 8px;
    color: #d92d20;
    font-size: 13px;
}

.dm-math-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Author plugin navigation and catalog */
.dm-author-plugin-nav {
    margin-top: 4px;
}

.dm-author-plugin-nav-toggle,
.dm-author-plugin-group-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 3px;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    gap: .65rem;
    padding: 5px 10px;
    text-align: left;
    width: 100%;
}

.dm-author-plugin-nav-toggle:hover,
.dm-author-plugin-nav-toggle.active,
.dm-author-plugin-group-toggle:hover,
.dm-author-plugin-group-toggle.active {
    background: #eef4ff;
    color: #075ee8;
}

.dm-author-plugin-nav-toggle > i:first-child,
.dm-author-plugin-group-toggle > i:first-child {
    text-align: center;
    width: 16px;
}

.dm-author-plugin-nav-toggle > span,
.dm-author-plugin-group-toggle > span {
    flex: 1;
    min-width: 0;
}

.dm-author-plugin-chevron {
    margin-left: auto;
    transition: transform .18s ease;
    width: auto !important;
}

.dm-author-plugin-nav.is-open > .dm-author-plugin-nav-toggle .dm-author-plugin-chevron,
.dm-author-plugin-group.is-open > .dm-author-plugin-group-toggle .dm-author-plugin-chevron {
    transform: rotate(180deg);
}

.dm-author-plugin-nav-panel {
    border-left: 1px solid #e2e8f0;
    display: grid;
    gap: 3px;
    margin: 4px 0 5px 16px;
    padding-left: 8px;
}

.dm-author-plugin-nav-panel[hidden],
.dm-author-plugin-group-panel[hidden] {
    display: none !important;
}

.dm-author-plugin-nav-panel > a,
.dm-author-plugin-group-panel > a {
    font-size: 13px;
    padding: 4px 8px;
}

.dm-author-plugin-group {
    display: grid;
    gap: 2px;
}

.dm-author-plugin-group-toggle {
    font-size: 13px;
    padding: 4px 8px;
}

.dm-author-plugin-group-toggle small {
    background: #eef2f7;
    border-radius: 3px;
    color: #667085;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 4px;
    text-transform: uppercase;
}

.dm-author-plugin-group-toggle small.is-active {
    background: #dcfce7;
    color: #15803d;
}

.dm-author-plugin-group-panel {
    border-left: 1px dashed #d6dce8;
    display: grid;
    gap: 2px;
    margin-left: 15px;
    padding-left: 7px;
}

.dm-author-plugin-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dm-author-plugin-tabs .badge {
    background: rgba(255, 255, 255, .2);
    color: inherit;
}

.dm-author-plugin-card {
    border-radius: 5px;
}

.dm-author-plugin-card-head {
    align-items: center;
    display: flex;
    gap: 11px;
    margin-bottom: 13px;
}

.dm-author-plugin-card-head h3 {
    font-size: 16px;
    margin: 0 0 2px;
}

.dm-author-plugin-card-head small {
    color: #667085;
}

.dm-author-plugin-icon {
    align-items: center;
    background: #eef4ff;
    border-radius: 5px;
    color: #075ee8;
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
}

.dm-author-plugin-card p {
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    min-height: 61px;
}

.dm-author-plugin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dm-author-plugin-meta span {
    background: #f1f5f9;
    border-radius: 3px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    text-transform: uppercase;
}

.dm-author-plugin-meta span.is-active {
    background: #dcfce7;
    color: #15803d;
}

/* Header mini-cart: keep image, product information and remove action separated. */
.dm-template-header-icons .cart-dropdown,
.header-main .header-right-icons .cart-dropdown {
    width: 390px !important;
    max-width: calc(100vw - 20px) !important;
}

.dm-template-header-icons .dm-header-cart-item,
.header-main .header-right-icons .dm-header-cart-item {
    background: #fff;
}

.dm-template-header-icons .dm-header-cart-row,
.header-main .header-right-icons .dm-header-cart-row {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 32px !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 12px 14px !important;
}

.dm-template-header-icons .dm-header-cart-thumb-link,
.header-main .header-right-icons .dm-header-cart-thumb-link {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    border: 1px solid #e5e9f2 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #f7f9fc !important;
}

.dm-template-header-icons .dm-header-cart-img,
.header-main .header-right-icons .dm-header-cart-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.dm-template-header-icons .dm-header-cart-content,
.header-main .header-right-icons .dm-header-cart-content {
    min-width: 0 !important;
    padding-top: 1px !important;
}

.dm-template-header-icons .dm-header-cart-title,
.header-main .header-right-icons .dm-header-cart-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #172b4d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.dm-template-header-icons .dm-header-cart-title:hover,
.header-main .header-right-icons .dm-header-cart-title:hover {
    color: var(--primary-bg-color, #6259ca) !important;
}

.dm-template-header-icons .dm-header-cart-meta,
.header-main .header-right-icons .dm-header-cart-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 5px !important;
    color: #7b8794 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.dm-template-header-icons .dm-header-cart-meta-separator,
.header-main .header-right-icons .dm-header-cart-meta-separator {
    color: #c4cbd6 !important;
}

.dm-template-header-icons .dm-header-cart-price,
.header-main .header-right-icons .dm-header-cart-price {
    margin-top: 6px !important;
    color: #172b4d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.dm-template-header-icons .dm-header-cart-remove-form,
.header-main .header-right-icons .dm-header-cart-remove-form {
    width: 32px !important;
    margin: 0 !important;
}

.dm-template-header-icons .dm-header-cart-remove,
.header-main .header-right-icons .dm-header-cart-remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid #e3e8ef !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #7b8794 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.dm-template-header-icons .dm-header-cart-remove:hover,
.dm-template-header-icons .dm-header-cart-remove:focus,
.header-main .header-right-icons .dm-header-cart-remove:hover,
.header-main .header-right-icons .dm-header-cart-remove:focus {
    border-color: #f3c5c9 !important;
    background: #fff4f5 !important;
    color: #dc3545 !important;
}

.dm-template-header-icons .dm-header-cart-remove i,
.header-main .header-right-icons .dm-header-cart-remove i {
    font-size: 14px !important;
}

@media (max-width: 420px) {
    .dm-template-header-icons .cart-dropdown,
    .header-main .header-right-icons .cart-dropdown {
        width: calc(100vw - 20px) !important;
        min-width: 0 !important;
    }

    .dm-template-header-icons .dm-header-cart-row,
    .header-main .header-right-icons .dm-header-cart-row {
        grid-template-columns: 50px minmax(0, 1fr) 30px !important;
        gap: 9px !important;
        padding: 11px 12px !important;
    }

    .dm-template-header-icons .dm-header-cart-thumb-link,
    .header-main .header-right-icons .dm-header-cart-thumb-link {
        width: 50px !important;
        height: 50px !important;
    }
}

