/* Coin catalog additions stay inside the original shared catalog shell. */
#catalog-shell[data-collection="coins"] #catalog-products {
    margin-top: 14px;
}

#catalog-shell[data-collection="coins"] #catalog-breadcrumb {
    flex-wrap: wrap;
}

#catalog-shell[data-collection="coins"] #product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

#catalog-shell[data-collection="coins"] [data-role="product"] {
    scroll-margin-top: 150px;
}

#catalog-shell[data-collection="coins"] [data-role="product-content"] {
    padding: 18px 16px 0;
}

#catalog-shell[data-collection="coins"] [data-role="product"] h3 {
    font-size: 16px;
    min-height: 52px;
    margin-bottom: 5px;
}

#catalog-shell[data-collection="coins"] [data-role="product-meta"] {
    flex-wrap: wrap;
}

#catalog-shell[data-collection="coins"] [data-role="coin-description"] {
    min-height: 38px;
    color: #90969f;
    font-size: 11px;
    line-height: 1.8;
}

#catalog-shell[data-collection="coins"] [data-role="coin-price-caption"] {
    color: #848e9c;
    font-size: 10px;
}

#catalog-shell[data-collection="coins"] [data-role="product-price"] {
    margin-top: 12px;
}

#catalog-shell[data-collection="coins"] [data-role="product-price"] strong {
    font-size: 20px;
}

#catalog-shell[data-collection="coins"] #coin-comparison {
    margin-top: 44px;
    padding: 28px 24px;
    border: 1px solid rgba(212, 175, 55, .18);
    border-radius: 18px;
    background: rgba(10, 10, 10, .8);
}

#catalog-shell[data-collection="coins"] [data-role="table-scroll"] {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #4e503e transparent;
}

#catalog-shell[data-collection="coins"] table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    text-align: right;
    font-size: 12px;
}

#catalog-shell[data-collection="coins"] caption {
    text-align: right;
    padding-bottom: 16px;
    color: #9199a5;
    font-size: 11px;
}

#catalog-shell[data-collection="coins"] thead th {
    padding: 12px 14px;
    background: rgba(212, 175, 55, .08);
    color: #e4ca88;
    font-weight: 500;
}

#catalog-shell[data-collection="coins"] tbody :is(th, td) {
    padding: 15px 14px;
    border-bottom: 1px solid rgba(212, 175, 55, .12);
    color: #b5bac2;
    font-weight: 400;
    white-space: nowrap;
}

#catalog-shell[data-collection="coins"] tbody th {
    color: #e0d9c9;
}

#catalog-shell[data-collection="coins"] tbody tr:last-child :is(th, td) {
    border-bottom: 0;
}

@media (max-width: 1100px) {
    #catalog-shell[data-collection="coins"] #product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    #catalog-shell[data-collection="coins"] #product-grid {
        gap: 12px;
    }

    #catalog-shell[data-collection="coins"] [data-role="product-content"] {
        padding: 14px 11px 0;
    }

    #catalog-shell[data-collection="coins"] [data-role="product"] h3 {
        font-size: 13px;
        min-height: 46px;
    }

    #catalog-shell[data-collection="coins"] [data-role="product-price"] strong {
        font-size: 16px;
    }

    #catalog-shell[data-collection="coins"] [data-role="coin-price-caption"] {
        font-size: 9px;
    }

    #catalog-shell[data-collection="coins"] [data-role="coin-description"] {
        font-size: 10px;
    }

    #catalog-shell[data-collection="coins"] [data-role="offer-badge"] {
        top: 8px;
        right: 8px;
        padding: 3px 7px;
        font-size: 9px;
    }

    #catalog-shell[data-collection="coins"] #coin-comparison {
        margin-top: 30px;
        padding: 20px 14px;
    }
}