.site-main {
    padding: 0;
}

.site-main .main-inner {
    max-width: 100%;
}

.shop-filters__inner,
.shop__title h1,
.shop-category__title,
.products {
    max-width: 1800px;
    margin: 0 auto;
}

.shop__title,
.product-wrapper {
    padding: 0 50px;
}

.shop__title h1 {
    font-size: 80px;
    font-weight: 500;
}

.product-card,
.product-card__footer,
.product-card__actions,
.shop-filter {
    display: flex;
    display: -webkit-flex;
}

.product-card {
    flex-direction: column;
    -webkit-flex-direction: column;
}

.product-card__footer {
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

.shop-filter {
    justify-content: center;
    -webkit-justify-content: center;
}

.product-card__footer,
.product-card__actions,
.shop-filter {
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}

/* ── Shop filters ─────────────────────────────────────────── */
.shop-filters {
    padding: 80px 50px 130px;
}

.shop-filters__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.shop-filter {
    color: #000;
    font-size: 15px;
    font-weight: 300;
    font-family: inherit;
    letter-spacing: -0.285px;
    text-align: center;
    border: 1px solid #E8E8E8;
    height: 46px;
    background-color: #fff;
    cursor: pointer;
    text-decoration: unset;
}

.shop-filter:first-child {
    border-radius: 4px 0 0 4px;

}

.shop-filter:last-child {
    border-radius: 0 4px 4px 0;

}

.shop-filter:hover,
.shop-filter.active {
    background: #EFEFEF;
    border: 1px solid #868686;
}

.shop-filter__icon img {
    height: 40px;
}

/* ── Category section ─────────────────────────────────────── */
.shop-category {
    margin-bottom: 260px;
}

/* Banner with image */
.shop-category__banner {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    overflow: hidden;
}

.shop-category__image {
    width: 100%;
    height: 100dvh;
    min-height: 700px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.shop-category__title__wrapper {
    margin: 0 auto;
    padding: 0 50px 15px;
}

.shop-category__title {
    color: #000;
    font-size: 64px;
    font-weight: 400;
    line-height: 130%;
}

/* ── Products grid ────────────────────────────────────────── */
ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

/* 1 product: full width */
ul.products:has(> :only-child) {
    grid-template-columns: 1fr;
}

/* 3 products: third one spans full row */
ul.products:has(> :nth-child(3):last-child)> :last-child {
    grid-column: 1 / -1;
}

ul.products:has(> :nth-child(3):last-child)> :last-child img,
ul.products:has(> :only-child) li.product a img {
    height: 60vh;
    min-height: 500px;
    object-fit: contain;

}

/* ── Product card ─────────────────────────────────────────── */
.product-card {
    position: relative;
    background: #F8F8F8;
    overflow: hidden;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.shop-category[data-category="planters"] .product-card:hover,
.shop-category[data-category="cvetlicna-korita"] .product-card:hover,
.shop-category[data-category="pflanzkubel"] .product-card:hover {
    background: #FFFBE0;
}

.shop-category[data-category="raised-beds"] .product-card:hover,
.shop-category[data-category="hochbeete"] .product-card:hover,
.shop-category[data-category="visoke-grede"] .product-card:hover {
    background: #F7E2CD;
}

.shop-category[data-category="storage-box"] .product-card:hover,
.shop-category[data-category="vrtni-zaboj"] .product-card:hover,
.shop-category[data-category="gartenbox"] .product-card:hover{
    background: #D6C7CE;
}

.shop-category[data-category="landscape-edging"] .product-card:hover,
.shop-category[data-category="vrtni-robniki"] .product-card:hover,
.shop-category[data-category="beeteinfassung"] .product-card:hover {
    background: #DFF6F4;
}

.product-card:hover .product-card__badge {
    color: #000 !important;
}

ul.products li.product a img {
    border-radius: 0 !important;
    aspect-ratio: unset !important;
    border: unset;
}

ul.products li.product a:hover img {
    opacity: 1 !important;
}

/* Badge — top left */
.product-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    color: #D2BE3D;
    z-index: 1;
    pointer-events: none;
    padding: 30px 45px 0;
    transition: color 0.3s ease;
}

.shop-category[data-category="raised-beds"] .product-card__badge,
.shop-category[data-category="hochbeete"] .product-card__badge,
.shop-category[data-category="visoke-grede"] .product-card__badge {
    color: #EBAA69;

}

/* Image */
.product-card__image-link {
    display: block;
}

.product-card__image-link img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Footer */
.product-card__footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    gap: 12px;
    padding: 0 45px 35px;
}

.product-card__title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: #000;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

/* Actions */
.product-card__actions {
    gap: 30px;
    flex-shrink: 0;
}

.product-card__learn-more {
    font-size: 15px;
    font-weight: 400;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-card__learn-more:hover {
    opacity: .9;
    text-decoration: underline !important;

}

.shop-custom .btn-wrapper {
    border: 1px solid #868686;
    color: #000;
    background-color: #fff;
}

.shop-custom .btn-wrapper:hover {
    background-color: #000;
    color: #fff;
}

.shop-custom .btn-wrapper .btn-icon {
    background-color: #000;
}

.shop-custom .btn-wrapper:hover .btn-icon {
    background-color: #fff;
}

.shop-custom .btn-wrapper .btn-icon path {
    stroke: #fff;
}

.shop-custom .btn-wrapper:hover .btn-icon path {
    stroke: #000;
}

.product-card__buy-now {
    width: 125px;
}

.product-card__quote {
    width: 150px;
}



/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1279px) {

    .shop__title,
    .product-wrapper {
        padding: 0 30px;
    }

    .shop-category__banner {
        margin-bottom: 30px;
    }

    .shop-category__title__wrapper {
        padding: 0 30px 15px;
    }

    .shop-filters {
        padding: 60px 30px 100px;
    }

    .shop-filters__wrappper {
        overflow-x: auto;
        padding: 0 0 15px;

    }

    .product-card__badge {
        padding: 20px 30px 0;
    }

    .shop-category {
        margin-bottom: 150px;
    }

    .shop__title h1 {
        font-size: 64px;
    }

    .shop-category__title {
        font-size: 48px;
    }

    .product-card__footer {
        position: relative;
        padding: 0 30px 30px;
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .shop-filters__inner {
        width: max-content;
        display: flex;
    }

    .shop-filter {
        padding: 0 17px;
    }

}


@media (max-width: 767px) {

    .shop__title,
    .product-wrapper {
        padding: 0 20px;
    }

    .shop-category__banner {
        margin-bottom: 20px;
    }

    .shop-category__title__wrapper {
        padding: 0 20px 15px;
    }

    .shop-filters {
        padding: 40px 20px 50px;
    }

    .product-card__badge {
        padding: 20px 20px 0;
    }

    .product-card__footer {
        padding: 0 20px 40px;
        gap: 10px;
    }

    .shop-category {
        margin-bottom: 100px;
    }

    ul.products,
    .shop-filters__inner {
        grid-template-columns: 1fr;
    }

    ul.products li.product {
        justify-content: space-between;
    }

    .shop__title h1 {
        font-size: 48px;
    }

    .shop-category__title {
        font-size: 32px;
    }

    .product-card__title {
        font-size: 20px;
    }

    .product-card__badge {
        font-size: 12px;
        position: relative;
    }

    .product-card__actions {
        flex-direction: row-reverse;
        gap: 20px;
    }

    .shop-category__image {
        height: 70vh;
        min-height: 300px;
    }

    .shop-category[data-category="landscape-edging"] ul.products li.product a img {
        aspect-ratio: 1 / 1 !important;
        object-fit: contain;
    }

    .shop-category[data-category="storage-box"] ul.products li.product .shop-category__image img {
        object-position: right;
    }
}