/**
 * Theme Name:     Storefront Child
 * Author:         Automattic
 * Template:       storefront
 * Text Domain:	   storefront-child
 * Description:    Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout &amp; color options to personalise your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further!
 */

/* == Auction Category Thumbnail Cards == */

.uap-cat-grid {
    display: grid;
    gap: 32px;
    margin: 0 0 40px;
    align-items: start;
    padding: 0px;
}
.uap-cat-grid--cols-1 { grid-template-columns: repeat(1, 1fr); }
.uap-cat-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.uap-cat-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.uap-cat-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.uap-cat-card {
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.uap-cat-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.uap-cat-card__image-link {
    display: block;
    text-decoration: none;
}
.uap-cat-card__image-wrap {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f5f5;
}
.uap-cat-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.uap-cat-card:hover .uap-cat-card__image {
    transform: scale(1.04);
}

.uap-cat-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.uap-cat-card__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.uap-cat-card__title a {
    color: #333333;
    text-decoration: none !important;
    font-weight: 600;

}
.uap-cat-card__title a:hover {
    color: #c0392b;
}

.uap-cat-card__description {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.65;
    margin-bottom: 16px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
}
.uap-cat-card__description::-webkit-scrollbar { width: 5px; }
.uap-cat-card__description::-webkit-scrollbar-track { background: #f5f5f5; }
.uap-cat-card__description::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.uap-cat-card__description p { margin: 0 0 8px; }
.uap-cat-card__description ul,
.uap-cat-card__description ol { padding-left: 18px; margin: 4px 0 8px; }
.uap-cat-card__description li { margin-bottom: 4px; }
.uap-cat-card__description strong,
.uap-cat-card__description b { color: #c0392b; }

.uap-cat-empty { color: #888; font-style: italic; }

@media (max-width: 900px) {
    .uap-cat-grid--cols-4,
    .uap-cat-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .uap-cat-grid--cols-2,
    .uap-cat-grid--cols-3,
    .uap-cat-grid--cols-4 { grid-template-columns: repeat(1, 1fr); }
}

@media (min-width: 768px) {
    .col-full { max-width: 78.498938em !important; }
}
@media (min-width: 66.4989em) {
    .storefront-align-wide.page-template-template-fullwidth-php .hentry .entry-content .alignwide, .storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
}
a:focus, input:focus, textarea:focus, button:focus {
    outline: 0!important;
}
.storefront-sorting:nth-of-type(2) {
    display: none !important;
}