
/* Stage 1: one quiet, readable catalogue system across every product type. */
body:not(.single-product) ul.products.products,
body.single-product .related ul.products.products,
body.single-product .upsells ul.products.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Unified 3-column auction grid across Homepage (.sh-home-auctions) and /licytacje/ matching /pakiety/ card width */
body.home main .sh-home-auctions > .wpb_column,
body.home main .sh-home-auctions > .wpb_column > .vc_column-inner > .wpb_wrapper,
.home .home_3:not(.vc_row-has-fill) > .wpb_column > .vc_column-inner > .wpb_wrapper {
    width: 100% !important;
    max-width: 1140px !important;
    margin-inline: auto !important;
}
body.home main .sh-home-auctions .woocommerce ul.products,
body.home main .sh-home-auctions .woocommerce.columns-3 ul.products,
body.home main .sh-home-auctions .woocommerce.columns-4 ul.products.columns-4,
body:not(.single-product) .sh-auctions-catalog-grid ul.products.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px 22px !important;
    max-width: 100% !important;
}
body.home main .sh-home-auctions .woocommerce ul.products > li.product,
body:not(.single-product) .sh-auctions-catalog-grid ul.products.products > li.product {
    border-radius: 16px !important;
    border: 1px solid #e5e5e3 !important;
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.05) !important;
}
body.home main .sh-home-auctions .stockhurt-catalog-thumbnail,
body:not(.single-product) .sh-auctions-catalog-grid .stockhurt-catalog-thumbnail {
    aspect-ratio: 3 / 4 !important;
    border-bottom: 1px solid #e5e5e3 !important;
}
.sh-auction-no-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 6;
    background: rgba(17, 22, 21, 0.84);
    color: #fff;
    padding: 4px 9px;
    border-radius: 6px;
    font-family: Archivo, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}
.sh-auction-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 18px 10px !important;
    padding: 10px 12px !important;
    background: #f7f7f6;
    border: 1px solid #e5e5e3;
    border-radius: 10px;
}
.sh-auction-card-spec {
    margin: 0;
}
.sh-auction-card-spec dt {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6e6e6a;
    margin: 0 0 2px;
    line-height: 1.2;
}
.sh-auction-card-spec dd {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #171b1a;
    line-height: 1.3;
}
.sh-auction-card-grade-pill {
    display: inline-block;
    background: #ecece9;
    border: 1px solid #d6d6d3;
    color: #171b1a;
    padding: 1px 8px;
    border-radius: 6px;
    font-weight: 800;
}
.sh-auction-card-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    margin: 0 18px 12px !important;
    background: #f7f7f6;
    border: 1px solid #e5e5e3;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #171b1a;
}
body.home main .sh-home-auctions .woocommerce-loop-product__title,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.uwa_auction_status_expired .woocommerce-loop-product__title,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.uwa_auction_status_future .woocommerce-loop-product__title,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-expired .woocommerce-loop-product__title,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-planned .woocommerce-loop-product__title,
body:not(.single-product) .sh-auctions-catalog-grid ul.products.products li.product .woocommerce-loop-product__title {
    min-height: 0 !important;
    padding: 18px 18px 12px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    color: #171b1a !important;
}
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-expired .woocommerce-loop-product__title,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-planned .woocommerce-loop-product__title {
    padding: 18px 18px 4px !important;
}
body.home main .sh-home-auctions .woocommerce ul.products > li.product .sh-auction-card-date {
    padding: 0 18px 12px !important;
}
body.home main .sh-home-auctions .woocommerce ul.products .price,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-expired .price,
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-planned .price {
    margin: auto 18px 14px !important;
}
body.home main .sh-home-auctions .woocommerce ul.products .price .woocommerce-Price-amount,
body ul.products li.product .sh-auction-card-price {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #171b1a !important;
}
body.home main .sh-home-auctions .sh-auction-status-badge,
body ul.products li.product .sh-auction-status-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}
body.home main .sh-home-auctions .woocommerce ul.products > li.product .add-to-cart-container a,
body:not(.single-product) .sh-auctions-catalog-grid ul.products.products li.product .add-to-cart-container a,
body:not(.single-product) .sh-auctions-catalog-grid ul.products.products li.product .button {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.015em !important;
    text-transform: none !important;
}
body.home main .sh-home-auctions .woocommerce ul.products > li.product.stockhurt-auction-state-live .add-to-cart-container {
    padding: 0 18px 18px !important;
}

body ul.products.products li.product .woo-ua-auction-price .woocommerce-Price-amount {
    margin-left: 5px;
}

body:not(.single-product) ul.products.products::before,
body:not(.single-product) ul.products.products::after,
body.single-product .related ul.products.products::before,
body.single-product .related ul.products.products::after,
body.single-product .upsells ul.products.products::before,
body.single-product .upsells ul.products.products::after {
    display: none !important;
    content: none !important;
}

body ul.products.products li.product,
body.single-product .related ul.products.products li.product,
body.single-product .upsells ul.products.products li.product {
    position: relative;
    display: flex !important;
    width: auto !important;
    min-width: 0;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 0 18px !important;
    flex-direction: column;
    float: none !important;
    overflow: hidden;
    border: 1px solid var(--sh-line, #dfe5e2);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 42, 38, .08);
    list-style: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body ul.products.products li.product:hover,
body.single-product .related ul.products.products li.product:hover,
body.single-product .upsells ul.products.products li.product:hover {
    border-color: rgba(29, 81, 75, .28);
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(17, 42, 38, .14);
}

body ul.products.products li.product > a.woocommerce-LoopProduct-link,
body ul.products.products li.product > a.woocommerce-loop-product__link,
body.single-product .related ul.products.products li.product > a,
body.single-product .upsells ul.products.products li.product > a {
    display: flex !important;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    color: var(--sh-ink, #171b1a);
    text-decoration: none !important;
}

/* A filled portrait 3:4 crop without altering or stretching media-library files. */
body ul.products.products li.product img,
body.single-product .related ul.products.products li.product img,
body.single-product .upsells ul.products.products li.product img,
.sh-home-product-card__image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    margin: 0 0 18px !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #eef1ef;
}

.sh-home-product-card__image {
    aspect-ratio: 3 / 4 !important;
    background: #eef1ef;
    container-type: inline-size;
}

.sh-home-product-card__image img {
    height: 100% !important;
    margin: 0 !important;
}

body ul.products.products li.product .stockhurt-catalog-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 0 18px;
    overflow: hidden;
    background: #eef1ef;
}

body ul.products.products li.product .stockhurt-catalog-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

body ul.products.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 2.75em;
    margin: 0 !important;
    padding: 0 18px !important;
    overflow: hidden;
    color: var(--sh-ink, #171b1a) !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    line-height: 1.38 !important;
    letter-spacing: -.01em;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body ul.products.products li.product .price {
    display: flex !important;
    min-height: 38px;
    margin: 14px 0 0 !important;
    padding: 0 18px !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 9px;
    color: var(--sh-green-dark, #123a36) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

body ul.products.products li.product .price del {
    color: #7c8582 !important;
    font-size: 13px;
    font-weight: 600;
    opacity: 1;
}

body ul.products.products li.product .price ins {
    color: var(--sh-sale, #c91f2b) !important;
    font-size: 18px;
    font-weight: 850;
    text-decoration: none !important;
}

body ul.products.products li.product .add-to-cart-container,
body ul.products.products li.product > .button,
body ul.products.products li.product > a.button {
    margin-top: auto !important;
}

body ul.products.products li.product .add-to-cart-container {
    padding: 17px 18px 0 !important;
}

body ul.products.products li.product.stockhurt-loop-package .add-to-cart-container {
    display: block !important;
}

body ul.products.products li.product .button,
body ul.products.products li.product .add_to_cart_button {
    display: inline-flex !important;
    width: calc(100% - 36px);
    min-height: 50px;
    margin: 17px 18px 0 !important;
    padding: 13px 16px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sh-green, #1d514b) !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: var(--sh-green, #1d514b) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .045em;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

body ul.products.products li.product .add-to-cart-container .button,
body ul.products.products li.product .add-to-cart-container .add_to_cart_button {
    width: 100%;
    margin: 0 !important;
}

body ul.products.products li.product .button:hover,
body ul.products.products li.product .button:focus-visible,
body ul.products.products li.product .add_to_cart_button:hover,
body ul.products.products li.product .add_to_cart_button:focus-visible {
    border-color: var(--sh-green-dark, #123a36) !important;
    background: var(--sh-green-dark, #123a36) !important;
    transform: translateY(-1px);
}

body ul.products.products li.product span.onsale {
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 9px 13px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: var(--sh-sale, #c91f2b) !important;
    box-shadow: 0 8px 20px rgba(153, 28, 28, .24);
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: .02em;
    line-height: 1 !important;
    z-index: 12;
}

/* Prominent full-width countdown bar directly below the product image and above the title — never covers image or text */
body ul.products.products li.product.product-type-auction .stockhurt-catalog-thumbnail,
body ul.products.products li.product.stockhurt-loop-auction .stockhurt-catalog-thumbnail,
body.home main .sh-home-auctions .stockhurt-catalog-thumbnail,
body:not(.single-product) .sh-auctions-catalog-grid .stockhurt-catalog-thumbnail {
    margin: 0 !important;
    border-bottom: 1px solid #e5e5e3 !important;
}

body ul.products.products li.product .uwa_auction_product_countdown {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    background: linear-gradient(90deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-bottom: 2px solid #7f1d1d !important;
    border-radius: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 12px rgba(185, 28, 28, 0.18) !important;
    filter: none !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}
body ul.products.products li.product .uwa_auction_product_countdown::before {
    display: inline-flex !important;
    align-items: center !important;
    content: attr(data-countdown-label) !important;
    font-family: Archivo, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
body ul.products.products li.product .uwa_auction_product_countdown:not([data-countdown-label])::before {
    content: "⏱ Do końca:" !important;
}
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    width: auto !important;
}
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section {
    display: inline-flex !important;
    align-items: baseline !important;
    width: auto !important;
    font-size: 0 !important;
    line-height: 1 !important;
    color: transparent !important;
    padding: 5px 8px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(127, 29, 29, 0.18) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16) !important;
    border-radius: 7px !important;
}
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section br {
    display: none !important;
}
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section span.countdown_amount {
    font-family: Archivo, sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1 !important;
    color: #b91c1c !important;
}
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section:nth-child(1) span.countdown_amount::after { content: "d"; font-size: 12px; font-weight: 800; color: #dc2626; margin-left: 1.5px; }
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section:nth-child(2) span.countdown_amount::after { content: "g"; font-size: 12px; font-weight: 800; color: #dc2626; margin-left: 1.5px; }
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section:nth-child(3) span.countdown_amount::after { content: "m"; font-size: 12px; font-weight: 800; color: #dc2626; margin-left: 1.5px; }
body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section:nth-child(4) span.countdown_amount::after { content: "s"; font-size: 12px; font-weight: 800; color: #dc2626; margin-left: 1.5px; }

/* Top-left auction status badge & natural editorial ended/planned auction cards */
body ul.products li.product .sh-auction-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: Archivo, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
body ul.products li.product .sh-auction-status-badge--live {
    background: #0f332e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 51, 46, 0.35);
}
body ul.products li.product .sh-auction-status-badge--live::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}
body ul.products li.product .sh-auction-status-badge--expired {
    background: rgba(20, 24, 23, 0.78);
    color: #ffffff;
    backdrop-filter: blur(6px);
}
body ul.products li.product .sh-auction-status-badge--planned {
    background: linear-gradient(135deg, #174b45 0%, #1e5e56 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(15, 51, 46, 0.28);
}

/* Ended & Planned auction cards: natural title ("Licytacja nr ..."), calm date subtitle, and open price */
body ul.products li.product.stockhurt-auction-state-expired .uwa_auction_product_countdown,
body ul.products li.product.stockhurt-auction-state-planned .uwa_auction_product_countdown,
body ul.products li.product.uwa_auction_status_expired .uwa_auction_product_countdown,
body ul.products li.product.stockhurt-auction-state-expired .add-to-cart-container,
body ul.products li.product.stockhurt-auction-state-planned .add-to-cart-container,
body ul.products li.product.uwa_auction_status_expired .add-to-cart-container,
body ul.products li.product.uwa_auction_status_future .add-to-cart-container,
body ul.products li.product.stockhurt-auction-state-expired > a.button,
body ul.products li.product.stockhurt-auction-state-planned > a.button,
body ul.products li.product.uwa_auction_status_expired > a.button,
body ul.products li.product.uwa_auction_status_future > a.button {
    display: none !important;
}

body ul.products li.product.stockhurt-auction-state-expired .woocommerce-loop-product__title,
body ul.products li.product.stockhurt-auction-state-planned .woocommerce-loop-product__title {
    display: block !important;
    min-height: 0 !important;
    padding: 4px 18px 4px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #141817 !important;
}

body ul.products li.product .sh-auction-card-date {
    padding: 0 18px 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #5c6461 !important;
    line-height: 1.4 !important;
}

body ul.products li.product .sh-auction-card-date--planned {
    color: #0f332e !important;
    font-weight: 600 !important;
}

body ul.products li.product.stockhurt-auction-state-expired .price,
body ul.products li.product.stockhurt-auction-state-planned .price {
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid #eceee9 !important;
    border-radius: 0 !important;
    margin: auto 18px 4px !important;
    padding: 14px 0 0 !important;
    min-height: 0 !important;
}

body ul.products li.product .sh-auction-card-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

body ul.products li.product .sh-auction-card-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #5c6461 !important;
    line-height: 1.25 !important;
}

body ul.products li.product .sh-auction-card-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #141817 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.2 !important;
}

body ul.products li.product .sh-auction-card-price--emerald {
    color: #0f332e !important;
}

@media (max-width: 1199px) {
    body:not(.single-product) ul.products.products,
    body.single-product .related ul.products.products,
    body.single-product .upsells ul.products.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 899px) {
    body:not(.single-product) ul.products.products,
    body.home main .sh-home-auctions .woocommerce ul.products,
    body.home main .sh-home-auctions .woocommerce.columns-3 ul.products,
    body.home main .sh-home-auctions .woocommerce.columns-4 ul.products.columns-4,
    body:not(.single-product) .sh-auctions-catalog-grid ul.products.products,
    body.single-product .related ul.products.products,
    body.single-product .upsells ul.products.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 16px !important;
    }
}

@media (max-width: 639px) {
    body:not(.single-product) ul.products.products,
    body.home main .sh-home-auctions .woocommerce ul.products,
    body.home main .sh-home-auctions .woocommerce.columns-3 ul.products,
    body.home main .sh-home-auctions .woocommerce.columns-4 ul.products.columns-4,
    body:not(.single-product) .sh-auctions-catalog-grid ul.products.products,
    body.single-product .related ul.products.products,
    body.single-product .upsells ul.products.products {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }
    body ul.products.products li.product .uwa_auction_product_countdown {
        padding: 8px 12px !important;
        gap: 6px !important;
    }
    body ul.products.products li.product .uwa_auction_product_countdown::before {
        font-size: 11px !important;
    }
    body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section {
        padding: 4px 6px !important;
    }
    body ul.products.products li.product .uwa_auction_product_countdown .countdown_row span.countdown_section span.countdown_amount {
        font-size: 13.5px !important;
    }
}
/*# sourceURL=stockhurt-catalog-modernization-inline-css */
