.blacksmith-card .box {
    width: 100%;
    background: rgba(96, 65, 44, 0.94);
    border: 1px solid rgba(215, 155, 66, 0.52);
    border-radius: 8px;
    color: #f7ead5;
    margin-bottom: 2px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 3px 8px rgba(0, 0, 0, 0.28);
    transition: none;
}

#cards > .blacksmith-card {
    padding: 4px 5px;
}

.blacksmith-card .box-content {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    color: #f7ead5;
    overflow: hidden;
}

.blacksmith-title {
    margin-bottom: 0;
    padding: 4px 6px !important;
    border-bottom: 1px solid rgba(215, 155, 66, 0.52);
    color: var(--gf-gold-strong);
    min-height: 30px;
    font-size: 18px !important;
    line-height: 1.2;
    text-shadow: none;
}

.blacksmith-card .box-content hr {
    width: 100%;
    height: 1px;
    border: 0 !important;
    background: rgba(215, 155, 66, 0.34);
    opacity: 1 !important;
    margin: 0;
}

.blacksmith-table {
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex: 1 1 auto;
}

.blacksmith-table .border-end {
    border-right: 0 !important;
    box-shadow: inset -1px 0 0 rgba(215, 155, 66, 0.34);
}

.blacksmith-table > .row {
    flex: 1 1 auto;
    width: 100%;
}

.blacksmith-table > .row > .card-cell {
    display: flex;
}

.blacksmith-table > .row > .col-8 {
    flex-direction: column;
}

.blacksmith-table > .row > .col-8 > .row {
    flex: 1 1 0;
}

.blacksmith-table > .row > .col-8 > .row > .card-cell {
    flex: 1 1 auto;
}

.blacksmith-image-cell {
    min-height: 122px;
}

.blacksmith-image-cell .image-wrapper {
    min-height: 94px;
    width: 100%;
}

.blacksmith-image-cell .card-image {
    max-height: 94px;
    max-width: 81%;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.32));
}

.blacksmith-image-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.blacksmith-reward-trigger,
.blacksmith-reward-trigger .card-image {
    cursor: pointer;
}

.blacksmith-image-cell .currency-image,
.cost-image {
    image-rendering: auto;
}

.blacksmith-stat-cell {
    min-height: 61px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    color: #f7ead5;
    line-height: 1.25;
    padding: 3px 5px;
    overflow-wrap: anywhere;
}

.blacksmith-stat-cell strong {
    font-size: 14px;
    font-weight: 800;
    color: rgba(247, 234, 213, 0.74);
}

.blacksmith-stat-cell span {
    color: #fff3dc;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cost-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cost-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
}

.blacksmith-empty {
    color: #f3c24a;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .blacksmith-image-cell {
        min-height: 104px;
    }

    .blacksmith-image-cell .card-image {
        max-height: 73px;
    }

    .blacksmith-stat-cell {
        min-height: 52px;
        padding: 3px 4px;
    }
}
