.products-hero {
    position: relative;
    display: grid;
    min-height: 275px;
    padding-top: 70px;
    overflow: hidden;
    color: #fff;
    background-position: center;
    background-size: cover;
    place-items: center;
}

.products-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(24, 23, 21, .48), rgba(24, 23, 21, .66));
}

.products-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.products-hero__line {
    display: block;
    width: 42px;
    height: 3px;
    margin: 0 auto 22px;
    background: #c4baa4;
}

.products-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
    font-family: 'bold', Arial, sans-serif;
    line-height: 1;
    letter-spacing: .04em;
}

.products-gallery-section {
    padding: 82px 0 95px;
    color: #5f5b53;
    background-color: #faf9f6;
    background-image: url('../img/made-in-turkiye.png');
    background-repeat: no-repeat;
    background-position: calc(50% - 470px) -7px;
    background-size: 150px auto;
}

.products-gallery-section--references {
    padding-top: 105px;
}

.references-intro {
    max-width: 880px;
    margin: 0 auto 52px;
    color: #5f5b53;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

.references-intro p {
    margin: 0;
}

.products-gallery-heading {
    position: relative;
    max-width: none;
    margin: 0 auto 48px;
    text-align: center;
}

.products-gallery-heading h2 {
    margin: 0 0 16px;
    color: #34322e;
    font-size: clamp(30px, 4vw, 46px);
    font-family: 'bold', Arial, sans-serif;
    line-height: 1.15;
    text-transform: uppercase;
}

.products-category-intro {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.products-category-intro p {
    margin: 0 0 18px;
}

.products-category-intro p:last-child {
    margin-bottom: 0;
}

.products-category-intro--long {
    margin-top: 34px;
    text-align: left;
}

.product-content-block + .product-content-block {
    margin-top: 56px;
    padding-top: 50px;
    border-top: 1px solid #e1ddd4;
}

.product-section-heading {
    max-width: 760px;
    margin: 0 auto 10px;
    text-align: center;
}

.product-section-heading h3 {
    position: relative;
    margin: 0;
    padding: 18px 0 20px;
    color: #34322e;
    font: 30px/1.2 'bold', Arial, sans-serif;
    text-transform: uppercase;
}

.product-section-heading h3::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 34px;
    height: 3px;
    content: "";
    background: #8d826d;
    transform: translateX(-50%);
}

.product-section-heading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}
.product-section-heading .product-section-intro p{margin:0 0 18px;line-height:1.45}
.product-section-intro p:last-child{margin-bottom:0}

.catalog-grid {
    row-gap: 24px;
}

.catalog-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ded9cf;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(52, 50, 46, .09);
    transition: transform .28s ease, box-shadow .28s ease;
}

.catalog-card--pdf {
    color: inherit;
    text-decoration: none;
}

.catalog-card--pdf:hover,
.catalog-card--pdf:focus {
    color: inherit;
    text-decoration: none;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(52, 50, 46, .14);
}

.catalog-card__cover {
    display: block;
    overflow: hidden;
    background: #ecebe8;
}

.catalog-card__cover img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    transition: transform .35s ease;
}

.catalog-card:hover .catalog-card__cover img {
    transform: scale(1.025);
}

.catalog-card__body {
    display: flex;
    padding: 24px;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.catalog-card__body h4 {
    margin: 0 0 9px;
    color: #34322e;
    font: 20px/1.3 'bold', Arial, sans-serif;
}

.catalog-card__body p {
    min-height: 48px;
    margin: 0 0 20px;
    line-height: 1.55;
}

.catalog-card__button {
    display: inline-flex;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 18px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .04em;
    background: #716754;
    border-radius: 22px;
    align-items: center;
    gap: 9px;
    transition: color .25s ease, background-color .25s ease;
}

.catalog-card__button:hover,
.catalog-card__button:focus {
    color: #fff;
    background: #4f493d;
}

.product-sections-layout {
    --product-card-width: calc((100% - 40px) / 3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-sections-layout--four {
    --product-card-width: calc((100% - 60px) / 4);
}

.product-sections-layout > .product-content-block:not(.product-content-block--subcategory):not(.product-content-block--catalog) {
    width: 100%;
    flex: 0 0 100%;
}

.product-sections-layout > .product-content-block--subcategory,
.product-content-block--subcategory + .product-content-block--subcategory {
    width: var(--product-card-width);
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    flex: 0 0 var(--product-card-width);
}

.product-content-block--catalog,
.catalog-section-content,
.product-content-block--catalog .catalog-grid {
    display: contents;
}

.product-content-block--catalog .product-section-heading {
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
}

.product-content-block--catalog .catalog-grid > [class*="col-"] {
    width: var(--product-card-width);
    max-width: none;
    padding: 0;
    flex: 0 0 var(--product-card-width);
}

.product-content-block--subcategory .gallery-section-content {
    height: 100%;
}

.product-sections-layout--mixed .gallery-group-separator {
    width: 100%;
    height: 1px;
    margin: 32px 0 14px;
    background: #e1ddd4;
    flex: 0 0 100%;
}

.subcategory-card {
    display: block;
    min-width: 0;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.subcategory-card:hover,
.subcategory-card:focus {
    color: inherit;
    text-decoration: none;
}

.subcategory-card .catalog-card__cover,
.product-content-block--catalog .catalog-card__cover,
.subcategory-card__empty {
    min-height: 175px;
}

.subcategory-card .catalog-card__cover img,
.product-content-block--catalog .catalog-card__cover img {
    height: 175px;
    aspect-ratio: auto;
    object-fit: cover;
}

.subcategory-card .catalog-card__body,
.product-content-block--catalog .catalog-card__body {
    min-height: 170px;
    padding: 16px 18px;
    justify-content: flex-start;
}

.subcategory-card .catalog-card__body {
    min-height: 0;
    padding-bottom: 22px;
}

.subcategory-card .catalog-card__body p {
    min-height: 0;
    margin-bottom: 0;
}

.subcategory-card .catalog-card__body h4,
.product-content-block--catalog .catalog-card__body h4 {
    display: flex;
    min-height: 46px;
    margin-bottom: 6px;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

.product-content-block--catalog .catalog-card__body p {
    min-height: 40px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.product-content-block--catalog .catalog-card__button {
    min-height: 36px;
    padding: 7px 14px;
}

.product-content-block--catalog .catalog-card__button i {
    font-size: 18px;
}

.subcategory-card__empty {
    display: flex;
    color: #8a8375;
    background: linear-gradient(145deg, #f0ede6, #e5e0d5);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.subcategory-card__empty img {
    width: 82px;
    max-height: 52px;
    opacity: .52;
}

.subcategory-card__empty span {
    font-size: 14px;
    letter-spacing: .02em;
}

.subcategory-card:focus-visible {
    outline: 2px solid #716754;
    outline-offset: 4px;
}

.subcategory-card__description {
    width: 100%;
    color: #716d65;
    font-size: 14px;
    line-height: 1.45;
}

.subcategory-card__description p {
    margin: 0;
}

.subcategory-gallery-items {
    display: none;
}

.products-breadcrumb {
    display: flex;
    margin: 0 0 12px;
    color: #8b8374;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.products-breadcrumb a {
    display: inline;
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #5d574c;
    border: 0 !important;
    line-height: 1.4;
    text-decoration: none !important;
}

.products-breadcrumb a:hover,
.products-breadcrumb a:focus {
    color: #302f2c !important;
    border: 0 !important;
    text-decoration: none !important;
}

.products-breadcrumb a::before,
.products-breadcrumb a::after {
    display: none !important;
    content: none !important;
}

.products-breadcrumb i {
    margin-right: 5px;
}

.products-gallery-grid {
    row-gap: 24px;
}

.product-gallery-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    transition: transform .35s ease, opacity .35s ease;
}

.product-gallery-card::after {
    position: absolute;
    inset: 0;
    display: grid;
    color: #fff;
    font: var(--fa-font-solid);
    font-size: 24px;
    content: "\f00e";
    background: rgba(52, 50, 46, 0);
    border-radius: 0;
    opacity: 0;
    transition: opacity .25s ease, background-color .25s ease;
    place-items: center;
}

.product-gallery-card:hover img {
    transform: scale(1.035);
}

.product-gallery-card:hover::after {
    background: rgba(52, 50, 46, .34);
    opacity: 1;
}

@media (max-width: 767px) {
    .products-hero {
        min-height: 220px;
        padding-top: 65px;
    }

    .products-gallery-section {
        padding: 58px 0 70px;
        background-position: 12px -5px;
        background-size: 104px auto;
    }

    .products-gallery-section--references {
        padding-top: 88px;
    }

    .references-intro {
        margin-bottom: 36px;
        padding: 0 12px;
        font-size: 15px;
    }

    .products-gallery-heading {
        margin-bottom: 22px;
        padding: 0 12px;
    }

    .products-category-intro {
        font-size: 15px;
    }

    .products-category-intro--long {
        margin-top: 26px;
        padding-left: 0;
        text-align: left;
    }

    .products-gallery-grid {
        row-gap: 14px;
    }

    .product-sections-layout {
        gap: 18px;
    }

    .product-sections-layout > .product-content-block--subcategory,
    .product-content-block--subcategory + .product-content-block--subcategory {
        width: 100%;
        flex-basis: 100%;
    }

    .product-content-block--catalog .catalog-grid > [class*="col-"] {
        width: 100%;
        flex-basis: 100%;
    }

    .product-content-block + .product-content-block {
        margin-top: 42px;
        padding-top: 38px;
    }

    .product-sections-layout > .product-content-block--subcategory,
    .product-sections-layout > .product-content-block--subcategory + .product-content-block--subcategory {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .product-section-heading {
        margin-bottom: 8px;
        padding: 0 12px;
    }

    .product-section-heading h3 {
        font-size: 25px;
    }

    .catalog-grid {
        row-gap: 16px;
    }

    .catalog-grid,
    .products-gallery-grid {
        margin-right: 0;
        margin-left: 0;
    }

    .catalog-card__body {
        padding: 20px;
    }

    .product-gallery-card {
        padding: 0;
        border-radius: 0;
    }

    .product-gallery-card::after {
        inset: 0;
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .product-sections-layout > .product-content-block--subcategory,
    .product-content-block--subcategory + .product-content-block--subcategory {
        width: calc((100% - 20px) / 2);
        flex-basis: calc((100% - 20px) / 2);
    }

    .product-content-block--catalog .catalog-grid > [class*="col-"] {
        width: calc((100% - 20px) / 2);
        flex-basis: calc((100% - 20px) / 2);
    }

    .products-gallery-section {
        background-position: 24px 22px;
        background-size: 145px auto;
    }

    .products-category-intro--long {
        padding-left: 0;
    }
}
