#collectionsCatalogImages_wrapper button.btn-default-dt-options.buttons-collection {
    display: none;
}
.collections_catalog_data_from_to_visibility {
    display: none;
    margin: 0 -2px;
}

.collections_catalog_act_dropzone {
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.collections_catalog_act_dropzone > .dz-default {
    display: none;
}

.collections_catalog-gpicker {
    height: 25px !important;
    width: 100% !important;
    padding: 5px 0 !important;
}

.collections_catalog_alert_not_accepted {
    border-left: 7px solid red;
    background-color: #fd400030;
}

#collections-catalog-dropbox-add-images > a[href="#"] {
    display: flex !important;
    width: 100%;
    height: 25px !important;
    align-items: center;
    justify-content: center;
    padding: 5px 0 !important;
    margin: 0 -2px;
    font-size: inherit !important;
}

#collections-catalog-dropbox-add-images > a[href="#"] > .dropin-btn-status {
    top: 0px !important;
}

.collections-catalog-external-add-images {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0 .5rem;
}

.collections-catalog-external-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.collections-catalog-external-link a {
    margin: auto;
}

.collections-catalog-external-link > div:first-child {
    width: 90%;
    margin-bottom: 0 !important;
}

.collections-catalog-external-add-images > div {
    width: 30%;
}

#collections-catalog-main-table .dtr-data {
    white-space: inherit;
}

@media (max-width: 1024px) {
    .collections-catalog-external-add-images > div {
        width: 45%;
    }
}

@media (max-width: 520px) {
    .collections-catalog-external-add-images > div {
        width: 100%;
        margin-top: 10px;
    }

    .collections-catalog-external-add-images{
        flex-wrap: wrap;
    }
}

.collections_catalog #wrapper div.dropdown-menu.show:not([class*="dropdown-menu--notification"]) {
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
}

.collections_catalog_preview_middle img {
    max-width: 140px;
}

.collections_catalog_preview_small img {
    max-width: 120px;
    display: block;
}

.scrollable-coins {
    max-height: 550px;
    overflow-y: auto;
    padding-right: 5px;
}

.coin-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}

@media (max-width: 991px) {
    .coin-row {
        flex-direction: column;
        align-items: center;
    }
    .coin-text {
        text-align: center;
    }
}

@media (max-width: 767px) and (min-width: 501px) {
    .coin-info-row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.coin-info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.coin-info-row .coin-col {
    flex: 0 0 auto;
    margin: 0 20px;
    text-align: center;
}

.coin-info-row img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}

.collections_catalog .dt-loader {
    left: 42% !important;
    top: 40% !important;
}

.collections_catalog_img_table_preview_small img {
    max-width: 200px;
}

.collections_catalog_img_table_preview_middle img {
    max-width: 275px;
}

.collections_catalog_img_table_preview_big img {
    max-width: 350px;
}

.catalog .card {
    margin-bottom: 0 !important;
    padding-top: 4px; !important;
}

.catalog .card-coin {
    margin-bottom: 8px !important;
}

.catalog .py-1 {
    padding-top: 0 !important;
}

.card h5 {
    line-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    min-height: unset;
}

.card-country,
.card-category,
.card-sub_category,
.card-sub_category_level_2,
.card-sub_category_level_3,
.card-coin {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.card-country .catalog-image,
.card-category .catalog-image,
.card-sub_category .catalog-image,
.card-sub_category_level_2 .catalog-image,
.card-sub_category_level_3 .catalog-image,
.card-coin .catalog-image,
.card-country .fe-camera-off,
.card-category .fe-camera-off,
.card-sub_category .fe-camera-off,
.card-sub_category_level_2 .fe-camera-off,
.card-sub_category_level_3 .fe-camera-off,
.card-coin .fe-camera-off {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-country .catalog-image:hover,
.card-category .catalog-image:hover,
.card-sub_category .catalog-image:hover,
.card-sub_category_level_2 .catalog-image:hover,
.card-sub_category_level_3 .catalog-image:hover,
.card-country .fe-camera-off:hover,
.card-category .fe-camera-off:hover,
.card-sub_category .fe-camera-off:hover,
.card-sub_category_level_2 .fe-camera-off:hover,
.card-sub_category_level_3 .fe-camera-off:hover,
.card-coin .fe-camera-off:hover{
    transform: scale(1.05);
}

.card-country .fe-camera-off,
.card-category .fe-camera-off,
.card-sub_category .fe-camera-off,
.card-sub_category_level_2 .fe-camera-off,
.card-sub_category_level_3 .fe-camera-off,
.card-coin .fe-camera-off {
    display: inline-block;
}

.coin-thumb {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: auto;
    width:auto;
    display:inline-block;
    object-fit:contain;
    box-sizing: border-box;
}

.coin-thumb:hover {
    transform: scale(1.04);
}

.grid-countries.grid-view {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.grid-countries.grid-view .col-custom {
    flex: 0 0 calc((100% - 4 * 8px) / 5);
}

.grid-countries.list-view {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.grid-countries.list-view .card {
    display: flex;
    align-items: flex-start;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    width: 100%;
}

.grid-countries.list-view .card .d-flex {
    justify-content: flex-start !important;
}

.grid-countries.list-view .card-images {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 10px;
}

.grid-countries.list-view .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    padding-top: 0;
}

.grid-countries.list-view .card-body h5 {
    font-size: 1.3rem;
    margin: 0;
}

.grid-countries.list-view .card-body .issuer {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

.grid-countries.list-view .card-body .years {
    font-size: 1rem;
    color: #777;
    margin: 0;
}

.catalog-image {
    width: 110px;
    height: 80px;
    border: 1px solid #ccc;
}

.grid-countries.grid-view {
    display: grid !important;
    gap: 8px;
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 992px) {
    .grid-countries.grid-view {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .grid-countries.grid-view {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .grid-countries.grid-view {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 400px) {
    .grid-countries.grid-view {
        grid-template-columns: 1fr !important;
    }
}

.grid-countries.grid-view > .col-custom {
    width: 100%;
    display: block;
}

.coin-thumbs-wrapper {
    max-width:200px;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
}

.coin-thumb-img {
    height:100px;
    width:auto;
    display:inline-block;
    object-fit:contain;
    max-width:200px;
    padding:3px;
    border:1px solid #ddd;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .coin-thumb-img {
        height: 120px;
    }
}

@media (max-width: 992px) {
    .coin-thumb-img {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .coin-thumb-img {
        height: 160px;
    }
}

#catalog_modal .tab-content {
    min-height: 400px;
}

@media (max-width: 767px) {
    .grid-countries.grid-view > .col-custom.double-cell {
        grid-column: span 2 !important;
    }
}

#collections-catalog-checkbox-container {
    align-items: flex-start !important;
}

.price-hidden-btn {
    display: inline-block;
    padding: 2px 6px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--white);
    background-color: var(--success);
    border-color: var(--success);
}

.price-hidden-btn:hover {
    color: var(--white);
    background-color: #159a80;
    border-color: #148f77;
}

.price-hidden-btn:focus, .price-hidden-btn.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(60, 198, 171, 0.5);
    box-shadow: 0 0 0 0.15rem rgba(60, 198, 171, 0.5);
}

.client-wrapper, .content-breadcrumb {
    padding: 100px 0 0 0 !important;
}

@media (min-width: 1200px) {
    .container-fluid {
        max-width: 96%;
    }
}