/* Avgränsat till den nya produktlistan. Ge prisförklaringar plats även på mobil. */
.pz-product-list {
    display: flex;
    flex-wrap: wrap;
}

.pz-product-list::before,
.pz-product-list::after {
    display: none;
}

.pz-product-list > .col-md-3.col-sm-4 {
    display: flex;
}

.pz-product-list .shop-item-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
}

.pz-product-list .shop-item-list > form {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    margin: 0;
}

.pz-product-list .product-price {
    margin-top: auto;
}

.pz-product-list .product-price-meta {
    height: auto;
    gap: 4px 8px;
}

.pz-product-list .product-price-meta .price-current {
    line-height: 1.3;
    white-space: normal;
}

.pz-product-list .pz-products-price-reference {
    display: block;
    flex-basis: 100%;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.pz-products-price-heading {
    font-size: 14px;
    color: #444;
}

/* Prisblock och knapp följer innehållets höjd, inte mallens fasta mått. */
.pz-product-list .shop-item-list .product-price {
    display: flex;
    flex-direction: column;
    height: auto !important;
    gap: 12px;
    margin-top: auto;
}

.pz-product-list .shop-item-list .product-price-meta {
    flex: 0 0 auto;
    height: auto !important;
    min-height: 0;
    margin-bottom: 0 !important;
}

.pz-product-list .shop-item-list .product-price .add-to-cart-btn {
    position: static !important;
    float: none !important;
    flex: 0 0 auto;
    margin: 0;
}

.pz-product-list .pz-products-price-amount {
    white-space: nowrap;
}

.pz-product-list .pz-products-variant-reference {
    display: block;
}

/* Långa produktnamn ska inte överlappa raden om varianter. */
.pz-product-list .shop-item-list .product-info {
    height: auto !important;
    flex-shrink: 0;
}

/* Sidindelningen är avgränsad till products-3.asp. */
.pz-products-pagination {
    clear: both;
    margin: 24px 0;
    text-align: center;
}

.pz-products-page-summary {
    margin: 0 0 12px;
    font-size: 14px;
    color: #444;
}

.pz-products-page-directions,
.pz-products-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0 0 10px;
    list-style: none;
}

.pz-products-pages > li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pz-products-page-directions > a,
.pz-products-page-directions > span,
.pz-products-pages > li > a,
.pz-products-pages > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #222;
    text-decoration: none;
}

.pz-products-pagination a:hover {
    border-color: #e73132;
    color: #b92324;
}

.pz-products-pagination a:focus-visible {
    outline: 2px solid #222;
    outline-offset: 2px;
}

.pz-products-pages > li > [aria-current="page"] {
    border-color: #e73132;
    background: #e73132;
    color: #fff;
    font-weight: 700;
}

.pz-products-page-directions > [aria-disabled="true"] {
    background: #f5f5f5;
    color: #777;
}

.pz-products-pages > .pz-products-page-gap > span {
    min-width: 20px;
    padding: 8px 2px;
    border-color: transparent;
}
