.hiejb-catalog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0 0 24px;
    padding: 12px 0;
    border-bottom: 1px solid #dfdfdf;
}

.hiejb-catalog-links a {
    color: #806b22;
    text-transform: uppercase;
    font-family: "Crimson Text","Times New Roman",serif;
}

.hiejb-sold .products .price {
    line-height: 1.7;
}

.hiejb-sold .products .sold-out-badge {
    z-index: 2;
}

.hiejb-sold-price-row {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 2px;
}

.hiejb-listed-price,.hiejb-listed-price * {
    text-decoration: line-through !important;
}

.hiejb-sold-status {
    font-weight: 800;
    font-size: 1.3em;
    letter-spacing: .035em;
    color: #806b22;
    text-decoration: none;
    white-space: nowrap;
}

.hiejb-sold .products .hiejb-sold-price-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
}

.hiejb-listed-price {
    min-width: 0;
}

.hiejb-sold-detail .summary p.price {
    margin: 4px 0 12px !important;
}

.hiejb-sold-detail .summary .hiejb-listed-price {
    color: #777;
    font-weight: 400;
    line-height: 1.5;
}

.hiejb-sold-detail .summary .hiejb-sold-price-row {
    column-gap: 18px;
    align-items: center;
}

.single-product.hiejb-sold-detail .summary .hiejb-sold-price-row .hiejb-sold-status {
    font-size: 1.15em !important;
    line-height: 1.25;
    font-weight: 700 !important;
    letter-spacing: .04em;
    color: #806b22 !important;
    margin: 0;
}

.hiejb-sold-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.woocommerce .summary .hiejb-sold-actions a.button {
    min-height: 46px;
    padding-left: 26px;
    padding-right: 26px;
    margin: 0 !important;
    text-transform: uppercase;
}

.hiejb-sold-contact a {
    color: #806b22;
}

.hiejb-sold-contact a:hover {
    text-decoration: underline;
}

.hiejb-sold-contact .hiejb-perks li {
    align-items: flex-start;
}

.hiejb-sold-contact .hiejb-perk-icon {
    margin-top: .15em;
}

.hiejb-sold .products li.product>a.woocommerce-LoopProduct-link {
    position: relative;
    display: block;
}

.hiejb-sold-banner {
    --w: 96px;
    --h: 22px;
    --photo-inset: 0px;
    position: absolute;
    top: calc((var(--w) - var(--h)) * .35355 - var(--h) / 2);
    right: calc((var(--w) - var(--h)) * .35355 - var(--w) / 2 + var(--photo-inset));
    width: var(--w);
    height: var(--h);
    z-index: 4;
    clip-path: polygon(var(--h) 0, calc(100% - var(--h)) 0, 100% 100%, 0 100%);
    transform: rotate(45deg);
    background: #9f862b;
    color: #fff;
    font-family: "Crimson Text", "Times New Roman", serif;
    font-size: 13px;
    font-weight: 700;
    line-height: var(--h);
    letter-spacing: .2em;
    text-indent: .2em;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

/* The Store scales photos to 97% while the filter sidebar is open. */
.hiejb-sold .is-filter-open .hiejb-sold-banner {
    --photo-inset: 1.5%;
}

.hiejb-sold .stw-wishlist-button-container,.hiejb-sold-detail .summary .stw-wishlist-button-container {
    display: none !important;
}

.hiejb-sold a:focus-visible,.hiejb-sold-next-step a:focus-visible,.hiejb-catalog-links a:focus-visible {
    outline: 2px solid #9f862b;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .hiejb-sold-banner {
        --w: 74px;
        --h: 17px;
        font-size: 10px;
    }

}

@media (max-width: 767.98px) {
    .woocommerce .summary .hiejb-sold-actions a.button {
        flex: 1 1 100%;
        min-height: 50px;
        font-size: 1.05em;
        text-align: center;
    }

}

.hiejb-sold-count {
    margin: 0;
}

/* A WordPress page's article image limit must not shrink Woo product photos. */
.hiejb-sold .products li.product img {
    max-width: 100%;
}

.hiejb-sold-page #main {
    width: 100%;
}

@media (max-width: 767.98px) {
    .hiejb-sold-page #page-title {
        padding-top: 50px;
    }

    .hiejb-sold-page .hiejb-contact-modal-button {
        display: none !important;
    }

}

@media (max-width: 767.98px) {
    .hiejb-sold-detail .hiejb-phone-number {
        display: none !important;
    }

}

