.products-page {
    background: #fbf8f3
}

.products-header {
    position: absolute;
    background: transparent
}

.products-header.is-scrolled {
    position: fixed
}

.search-link {
    font-size: 22px;
    line-height: 1;
    color: #6d1d1d
}

.products-hero {
    position: relative;
    min-height: 600px;
    padding-top: 96px;
    overflow: hidden;
    background: #f7f2eb;
    border-bottom: 1px solid #e6d8c7
}

.products-hero-wash {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fbf8f3 0%, #fbf8f3 39%, rgba(251, 248, 243, .9) 48%, rgba(251, 248, 243, .15) 68%, rgba(251, 248, 243, 0) 82%);
    z-index: 2;
    pointer-events: none
}

.products-hero-photo {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 100%;
    overflow: hidden;
    background: #ede3d8
}

.products-hero-photo>img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 52%;
    filter: saturate(.9) brightness(1.04);
    transform: scale(1.03)
}

.products-hero-photo-secondary {
    position: absolute !important;
    width: 31% !important;
    height: 35% !important;
    left: 4%;
    bottom: 6%;
    object-fit: cover !important;
    border-radius: 50% 42% 44% 48%;
    box-shadow: 0 18px 40px rgba(77, 38, 20, .18);
    opacity: .78
}

.products-hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 242, 235, .5), transparent 28%), linear-gradient(180deg, transparent 70%, rgba(247, 242, 235, .13))
}

.products-hero-content {
    position: relative;
    z-index: 3;
    min-height: 504px;
    display: flex;
    align-items: center
}

.products-hero-copy {
    max-width: 560px;
    padding: 56px 0 34px
}

.breadcrumbs {
    font-size: 13px;
    color: #685b52;
    margin-bottom: 24px
}

.breadcrumbs span {
    margin: 0 8px
}

.products-hero h1 {
    font-size: clamp(54px, 5vw, 78px);
    line-height: .98;
    margin: 0 0 20px;
    font-weight: 400;
    letter-spacing: -.025em
}

.products-hero h1 em {
    font-style: normal;
    color: #8b2926
}

.products-hero-copy>p {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.62;
    color: #51453d;
    margin: 0 0 30px
}

.hero-assurances {
    display: flex;
    gap: 0;
    border-top: 1px solid #dacabd;
    padding-top: 22px;
    max-width: 700px
}

.hero-assurances > div {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    border-right: 1px solid #dfd1c1;
}

.hero-assurances > div:first-child {
    padding-left: 0;
}

.hero-assurances > div:last-child {
    border-right: 0;
    padding-right: 0;
}


.assurance-icon {
    font-size: 28px;
    color: #8b2926
}

.hero-assurances strong {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400
}

.category-strip {
    background: #f8f3ed;
    padding: 18px 0 12px;
    border-bottom: 1px solid #eadfd4
}

.category-strip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px
}

.category-card {
    position: relative;
    background: #f2e9df;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: .2s
}

.category-card.is-active,
.category-card:hover {
    border-color: #8b2926
}

.category-card img {
    width: 100%;
    height: 118px;
    object-fit: cover
}

.category-card span {
    display: block;
    padding: 12px 14px 14px;
    font-size: 14px;
    font-weight: 700
}

.category-card b {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: #8b2926;
    font-weight: 400
}

.products-listing {
    padding: 56px 0 18px;
    background: #fbf8f3
}

.listing-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 26px
}

.listing-head h2 {
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 8px
}

.listing-head p {
    max-width: 620px;
    margin: 0;
    color: #685b52;
    font-size: 15px;
    line-height: 1.55
}

.listing-head>a {
    color: #8b2926;
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 1px solid #8b2926;
    padding-bottom: 2px
}

.filter-row {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px
}

.filter-row input,
.filter-row select {
    width: 100%;
    height: 46px;
    border: 1px solid #dfd1c1;
    border-radius: 6px;
    background: #fffdf9;
    padding: 0 14px;
    color: #685b52;
    outline: none
}

.search-field {
    position: relative
}

.search-field span {
    position: absolute;
    right: 15px;
    top: 9px;
    font-size: 22px;
    color: #8b2926
}

.reference-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    padding-bottom: 26px
}

.reference-card {
    background: #f7f0e8;
    border: 1px solid #eadfd4;
    border-radius: 7px;
    overflow: hidden;
    transition: .25s
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(81, 51, 31, .1)
}

.reference-card-image {
    display: block;
    height: 230px;
    background: #eee5dc;
    overflow: hidden
}

.reference-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.reference-card-body {
    padding: 13px 13px 14px
}

.reference-card-body h3 {
    font-size: 15px;
    margin: 0 0 6px
}

.reference-card-body p {
    margin: 0;
    color: #77685e;
    font-size: 12px;
    line-height: 1.45
}

.reference-card-body a {
    display: inline-flex;
    margin-top: 14px;
    border: 1px solid #8b2926;
    border-radius: 999px;
    padding: 8px 16px;
    color: #8b2926;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700
}

.polovin-banner {
    background: #efe4d7
}

.polovin-banner-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr 1.15fr;
    min-height: 248px;
    align-items: center;
    gap: 24px
}

.polovin-banner-copy {
    padding: 34px 0
}

.polovin-banner h2 {
    font-size: 34px;
    line-height: 1.05;
    margin: 0 0 12px;
    font-weight: 400
}

.polovin-banner p {
    max-width: 360px;
    margin: 0 0 18px;
    color: #63564e;
    font-size: 14px
}

.polovin-banner-brand {
    text-align: center
}

.polovin-banner-brand img {
    width: 210px;
    margin: auto;
    max-height: 118px;
    object-fit: contain
}

.polovin-banner-brand span {
    display: block;
    margin-top: 8px;
    font-size: 10px;
    color: #8b2926;
    text-transform: uppercase;
    letter-spacing: .09em
}

.polovin-banner-photo {
    height: 248px;
    overflow: hidden
}

.polovin-banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-links {
    background: linear-gradient(135deg, #5b1715, #83211e);
    color: white
}

.product-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.product-link-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 30px 36px;
    border-right: 1px solid rgba(255, 255, 255, .2)
}

.product-link-card:last-child {
    border-right: 0
}

.link-icon {
    font-size: 35px
}

.product-link-card h3 {
    font-size: 17px;
    line-height: 1.2;
    margin: 0 0 8px
}

.product-link-card p {
    font-size: 12px;
    opacity: .78;
    margin: 0 0 16px
}

.product-link-card b {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .03em
}

.products-footer {
    background: #fbf8f3;
    color: #3b302a;
    padding: 30px 0 18px
}

.products-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(5, 1fr);
    gap: 38px
}

.products-footer-logo {
    width: 130px
}

.products-footer h4 {
    font-size: 12px;
    margin: 0 0 10px;
    color: #7b1d1d
}

.products-footer a {
    display: block;
    font-size: 11px;
    color: #76675d;
    margin: 0 0 5px
}

.socials {
    display: flex;
    gap: 8px
}

.socials span {
    width: 26px;
    height: 26px;
    background: #7b1d1d;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px
}

.products-footer-bottom {
    margin-top: 24px;
    border-top: 1px solid #e2d6c8;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #8a7c72
}

@media(max-width:1100px) {
    .products-hero-photo {
        width: 62%
    }

    .products-hero-copy {
        max-width: 480px
    }

    .category-strip-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .reference-product-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .filter-row {
        grid-template-columns: 1.3fr repeat(2, 1fr)
    }

    .filter-row select:nth-of-type(3),
    .filter-row select:nth-of-type(4) {
        display: none
    }

    .products-footer-grid {
        grid-template-columns: 1fr repeat(3, 1fr)
    }

    .products-footer-grid>div:nth-child(n+5) {
        margin-top: 10px
    }
}

@media(max-width:900px) {
    .products-header {
        position: fixed
    }

    .products-hero {
        padding-top: 76px;
        min-height: 720px
    }

    .products-hero-photo {
        position: absolute;
        inset: 76px 0 auto 0;
        width: 100%;
        height: 330px
    }

    .products-hero-photo>img:first-child {
        object-position: center 48%
    }

    .products-hero-wash {
        background: linear-gradient(180deg, rgba(251, 248, 243, .05) 0%, rgba(251, 248, 243, .08) 36%, #fbf8f3 55%, #fbf8f3 100%)
    }

    .products-hero-content {
        min-height: 644px;
        align-items: flex-end
    }

    .products-hero-copy {
        max-width: none;
        width: 100%;
        padding: 330px 0 32px
    }

    .breadcrumbs {
        margin-bottom: 14px
    }

    .products-hero h1 {
        font-size: 48px
    }

    .products-hero-copy>p {
        font-size: 15px
    }

    .hero-assurances {
        max-width: none
    }

    .category-strip-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .category-card img {
        height: 100px
    }

    .listing-head {
        align-items: flex-start;
        flex-direction: column
    }

    .reference-product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .filter-row {
        grid-template-columns: 1fr 1fr
    }

    .filter-row select:nth-of-type(n+2) {
        display: none
    }

    .polovin-banner-inner {
        grid-template-columns: 1fr 1fr
    }

    .polovin-banner-brand {
        display: none
    }

    .product-links-grid {
        grid-template-columns: 1fr
    }

    .product-link-card {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18)
    }

    .products-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .products-footer-grid>div:first-child {
        grid-column: 1/-1
    }
}

@media(max-width:600px) {
    .products-hero {
        min-height: 680px
    }

    .products-hero-photo {
        height: 270px
    }

    .products-hero-copy {
        padding-top: 275px
    }

    .products-hero h1 {
        font-size: 39px
    }

    .hero-assurances {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px
    }

    .hero-assurances>div {
        border-right: 0;
        margin: 0;
        padding: 0
    }

    .hero-assurances>div:last-child {
        grid-column: 1/-1
    }

    .category-strip {
        overflow: hidden
    }

    .category-strip-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px
    }

    .category-card {
        min-width: 150px
    }

    .category-card img {
        height: 92px
    }

    .products-listing {
        padding-top: 40px
    }

    .listing-head h2 {
        font-size: 36px
    }

    .filter-row {
        grid-template-columns: 1fr
    }

    .filter-row select {
        display: none !important
    }

    .reference-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .reference-card-image {
        height: 160px
    }

    .reference-card-body {
        padding: 10px
    }

    .polovin-banner-inner {
        grid-template-columns: 1fr
    }

    .polovin-banner-copy {
        padding: 34px 0
    }

    .polovin-banner-photo {
        height: 210px
    }

    .products-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }

    .products-footer-bottom {
        flex-direction: column;
        gap: 6px
    }

    .product-link-card {
        padding: 24px 10px
    }
}

/* Product taxonomy: grouped by product type, not by meat species */
.category-strip-grid--types {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1080px;
    margin-inline: auto
}

.category-strip-grid--types .category-card {
    appearance: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0
}

.category-strip-grid--types .category-card img {
    height: 155px
}

.catalog-empty {
    grid-column: 1/-1;
    padding: 34px 0;
    color: #77685e;
    text-align: center
}

@media(max-width:900px) {
    .category-strip-grid--types {
        grid-template-columns: repeat(3, minmax(190px, 1fr));
        overflow-x: auto
    }

    .category-strip-grid--types .category-card img {
        height: 120px
    }
}

@media(max-width:600px) {
    .category-strip-grid--types {
        display: flex;
        max-width: none
    }

    .category-strip-grid--types .category-card {
        min-width: 210px
    }

    .category-strip-grid--types .category-card img {
        height: 115px
    }
}

/* Farm information card beside primary product categories */
.category-strip-grid--types {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1320px
}

.farm-info-card {
    position: relative;
    display: block;
    min-height: 207px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    background: #4c2117;
    text-decoration: none
}

.farm-info-card>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease
}

.farm-info-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(46, 19, 15, .28) 0%, rgba(53, 19, 13, .58) 55%, rgba(48, 17, 12, .82) 100%)
}

.farm-info-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 207px;
    padding: 18px 20px
}

.farm-info-card small {
    font-size: 12px;
    margin-bottom: 5px
}

.farm-info-card strong {
    font-family: 'HS Museo Bg', Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.1
}

.farm-info-card em {
    font-style: normal;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 10px;
    max-width: 190px
}

.farm-info-card b {
    margin-top: auto;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    padding: 9px 14px;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .02em
}

.farm-info-card b i {
    font-style: normal;
    margin-left: 9px
}

.farm-info-card:hover>img {
    transform: scale(1.035)
}

@media(max-width:1100px) {
    .category-strip-grid--types {
        grid-template-columns: repeat(4, minmax(205px, 1fr));
        overflow-x: auto
    }

    .farm-info-card {
        min-width: 205px
    }
}

@media(max-width:600px) {
    .farm-info-card {
        min-width: 210px;
        min-height: 190px
    }

    .farm-info-card-content {
        min-height: 190px
    }
}

/* Product page revision: three product types only; hero uses Polovin selo frankfurter photo. */
.category-strip-grid--types {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px
}

.products-hero-photo>img:first-child {
    object-fit: cover;
    object-position: center center;
    transform: none
}

@media(max-width:1100px) {
    .category-strip-grid--types {
        grid-template-columns: repeat(3, minmax(205px, 1fr));
        max-width: 1080px
    }
}

@media(max-width:900px) {
    .category-strip-grid--types {
        grid-template-columns: repeat(3, minmax(190px, 1fr));
        overflow-x: auto
    }

    .products-hero-photo>img:first-child {
        object-position: center center
    }
}

@media(max-width:600px) {
    .category-strip-grid--types {
        display: flex;
        max-width: none
    }

    .category-strip-grid--types .category-card {
        min-width: 210px
    }
}

/* Premium product-page icons */
.search-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(123, 29, 29, .12);
    background: rgba(255, 255, 255, .52);
    font-size: 15px
}

.assurance-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(123, 29, 29, .055);
    border: 1px solid rgba(123, 29, 29, .10);
    font-size: 17px;
    flex: 0 0 42px
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
    font-size: 20px
}

.socials a {
    width: 28px;
    height: 28px;
    background: #7b1d1d;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    transition: .2s
}

.socials a:hover {
    transform: translateY(-2px);
    background: #5f1515
}
/* Wider hero copy on large screens */
@media (min-width: 1101px) {
    .products-hero-copy {
        width: 62%;
        max-width: 1000px;
    }
}
