/* Web Ajansı public catalogue: airy product-first cards and a single-flow detail page. */
.catalog-showcase {
    --catalog-green: #258247;
    --catalog-green-dark: #1b6837;
    --catalog-ink: #1d2922;
    --catalog-muted: #69766e;
    --catalog-line: #e4eae6;
    position: relative;
    isolation: isolate;
    padding-block: clamp(48px, 6vw, 82px);
    background: #f7f9f7;
}
.catalog-showcase .container { max-width: 1280px; }
.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}
.catalog-heading__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--catalog-green-dark);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.catalog-heading h2 {
    margin: 0;
    color: var(--catalog-ink);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.12;
}
.catalog-heading > p {
    max-width: 490px;
    margin: 0 0 3px;
    color: var(--catalog-muted);
    font-size: 14px;
    line-height: 1.75;
}
.catalog-showcase .catalog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 27px;
}
.catalog-showcase .catalog-filters .btn-filter {
    min-height: 39px;
    padding: 8px 15px;
    border: 1px solid #dce5df !important;
    border-radius: 999px;
    color: #46574c !important;
    background: #fff !important;
    box-shadow: none;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.catalog-showcase .catalog-filters .btn-filter:hover,
.catalog-showcase .catalog-filters .btn-filter.active {
    transform: translateY(-1px);
    border-color: var(--catalog-green) !important;
    color: #fff !important;
    background: var(--catalog-green) !important;
}
.catalog-grid { margin-inline: -12px; }
.catalog-grid .filter-item { margin-bottom: 25px; padding-inline: 12px; }
.catalog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--catalog-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(26, 46, 34, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.catalog-card:hover {
    transform: translateY(-4px);
    border-color: #c7d9cd;
    box-shadow: 0 16px 34px rgba(26, 46, 34, .105);
}
.catalog-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.42 / 1;
    padding: 12px;
    background: #f1f4f2;
}
.catalog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .28s ease;
}
.catalog-card:hover .catalog-card__image img { transform: scale(1.035); }
.catalog-card__body {
    min-height: 178px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px 17px 15px;
}
.catalog-card__category {
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    padding: 5px 8px;
    border: 1px solid #e1ebe4;
    border-radius: 5px;
    color: #39734c;
    background: #f5f9f6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.catalog-card__title {
    display: -webkit-box;
    min-height: 2.65em;
    margin: 10px 0 12px;
    overflow: hidden;
    color: var(--catalog-ink);
    font-size: 15px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.catalog-card__title a { color: inherit; text-decoration: none; }
.catalog-card__title a:hover { color: var(--catalog-green-dark); }
.catalog-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 13px;
    margin: -3px 0 11px;
}
.catalog-card__links a {
    color: #68776d;
    font-size: 11px;
    font-weight: 620;
    text-decoration: none;
}
.catalog-card__links a:hover { color: var(--catalog-green-dark); text-decoration: underline; }
.catalog-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf1ee;
}
.catalog-card__price { display: flex; flex-direction: column; gap: 2px; }
.catalog-card__price span { color: #87918a; font-size: 10px; line-height: 1.2; }
.catalog-card__price strong {
    color: var(--catalog-green-dark);
    font-size: 17px;
    font-weight: 760;
    letter-spacing: -.025em;
    white-space: nowrap;
}
.catalog-card__detail {
    min-width: 81px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #dce7df;
    border-radius: 7px;
    color: #315d3d;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.catalog-card__detail:hover {
    border-color: var(--catalog-green);
    color: #fff;
    background: var(--catalog-green);
}
.catalog-showcase--category { min-height: 60vh; }

/* Product detail deliberately flows vertically: gallery, purchase information, then full description. */
.catalog-product-header {
    padding: 26px 0 17px;
    background: #f7f9f7;
}
.catalog-product-header .container,
.catalog-product-detail > .container,
.catalog-product-description > .container { max-width: 1120px; }
.catalog-product-header__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 13px;
    color: #829087;
    font-size: 13px;
}
.catalog-product-header__breadcrumb a { color: #567260; text-decoration: none; }
.catalog-product-header__breadcrumb a:hover { color: var(--catalog-green-dark); text-decoration: underline; }
.catalog-product-header__breadcrumb svg { width: 7px; height: 11px; }
.catalog-product-header h1 {
    margin: 0;
    color: #1d2922;
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.16;
}
.product-details.catalog-product-detail { padding: 18px 0 54px; background: #f7f9f7; }
.catalog-product-detail__flow { display: flex; flex-direction: column; gap: 26px; }
.catalog-product-detail .section-hero-5 {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e4eae6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 46, 34, .055);
}
.catalog-product-detail .swiper { position: relative; }
.catalog-product-detail .swiper-slide { padding: clamp(12px, 2vw, 22px); }
.catalog-product-gallery__frame {
    height: clamp(300px, 51vw, 590px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f6f4;
}
.catalog-product-gallery__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.catalog-product-detail .swiper-button-prev,
.catalog-product-detail .swiper-button-next {
    width: 42px;
    height: 42px;
    border: 1px solid #e4eae6;
    border-radius: 50%;
    color: #344b3b;
    background: #fff;
    box-shadow: 0 4px 14px rgba(24, 45, 32, .09);
}
.catalog-product-detail .swiper-button-prev::after,
.catalog-product-detail .swiper-button-next::after { font-size: 15px; font-weight: 700; }
.catalog-product-detail .swiper-pagination { bottom: 12px !important; }
.catalog-product-detail .swiper-pagination-bullet-active { background: #258247; }
.catalog-product-detail .product-info {
    width: 100%;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #e4eae6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(26, 46, 34, .04);
}
.product-details__title { margin: 0 0 12px; color: #1d2922; font-size: clamp(25px, 3.1vw, 34px); font-weight: 740; letter-spacing: -.04em; line-height: 1.2; }
.catalog-product-detail .product-details__content { padding: 17px 0; border-top: 1px solid #e9eeeb; border-bottom: 1px solid #e9eeeb; }
.catalog-product-detail .product-details__content-text1 { margin: 0 0 12px; color: #66746b; font-size: 15px; line-height: 1.75; }
.catalog-product-detail .product-details__content h5 { margin: 14px 0 4px; color: #87918a !important; font-size: 14px; font-weight: 550; }
.catalog-product-detail .product-details__content h4 { margin: 0; color: #1b6837 !important; font-size: clamp(28px, 4vw, 36px); font-weight: 780; letter-spacing: -.04em; }
.catalog-product-detail .product-info form > div:first-child { margin-top: 19px; }
.catalog-product-detail .product-info form > div:first-child h6 { margin-bottom: 10px; color: #28392e; font-weight: 700; }
.catalog-product-detail .form-check { margin-bottom: 8px; padding: 12px 14px 12px 38px; border: 1px solid #e4eae6; border-radius: 9px; }
.catalog-product-detail .form-check:has(.form-check-input:checked) { border-color: rgba(37,130,71,.4); background: #f1f8f3; }
.catalog-product-detail .form-check-input:checked { border-color: #258247; background-color: #258247; }
.catalog-product-detail .form-check-label { display: block; margin: 0; color: #425248; font-size: 14px; font-weight: 550; }
.catalog-product-detail .linkler { display: flex; gap: 10px; margin-top: 17px; }
.catalog-product-detail .linkler a {
    flex: 1 1 0;
    padding: 10px 12px;
    border: 1px solid #dfe8e2;
    border-radius: 8px;
    color: #315d3d;
    background: #f9fbf9;
    font-size: 13px !important;
    font-weight: 680;
    text-align: center;
    text-decoration: none;
}
.catalog-product-detail .linkler a:hover { border-color: #258247; color: #1b6837; background: #f1f8f3; }
.catalog-product-detail .urun-butonlari { display: flex; gap: 10px; margin-top: 16px; }
.catalog-product-detail .urun-butonlari > * { min-height: 50px; flex: 1 1 0; justify-content: center; border-radius: 9px; }
.catalog-product-detail .urun-butonlari .btn-warning { border-color: #258247 !important; color: #fff !important; background: #258247 !important; }
.catalog-product-detail .urun-butonlari .btn-warning:hover { border-color: #1b6837 !important; background: #1b6837 !important; }
.catalog-product-detail .urun-butonlari .btn-outline-secondary { border-color: #dfe8e2 !important; color: #33493a !important; background: #fff !important; }
.catalog-product-description { padding: 0 0 72px; background: #f7f9f7; }
.catalog-product-description__content {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e4eae6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(26, 46, 34, .04);
}
.catalog-product-description__content h1,
.catalog-product-description__content h2,
.catalog-product-description__content h3,
.catalog-product-description__content h4,
.catalog-product-description__content h5 { margin-top: 1.3em; margin-bottom: .6em; color: #22342a; }
.catalog-product-description__content > :first-child { margin-top: 0; }
.catalog-product-description__content p,
.catalog-product-description__content li { color: #506057; font-size: 15px; line-height: 1.85; }
.catalog-product-description__content img { max-width: 100%; height: auto; border-radius: 10px; }
.catalog-product-description__content table { max-width: 100%; border-collapse: collapse; }
.catalog-product-description__content th,
.catalog-product-description__content td { padding: 9px 11px; border: 1px solid #e4eae6; }

@media (max-width: 767.98px) {
    .catalog-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 21px; }
    .catalog-heading > p { max-width: 620px; font-size: 13px; }
    .catalog-showcase .catalog-filters { flex-wrap: nowrap; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: thin; }
    .catalog-showcase .catalog-filters .btn-filter { flex: 0 0 auto; }
    .catalog-grid { margin-inline: -7px; }
    .catalog-grid .filter-item { margin-bottom: 15px; padding-inline: 7px; }
    .catalog-card__body { min-height: 165px; padding: 13px 12px; }
    .catalog-card__title { font-size: 13px; }
    .catalog-card__price strong { font-size: 15px; }
    .catalog-card__detail { min-width: 67px; padding-inline: 8px; }
    .catalog-product-header { padding-top: 20px; }
    .product-details.catalog-product-detail { padding-top: 12px; }
    .catalog-product-detail__flow { gap: 17px; }
    .catalog-product-gallery__frame { height: clamp(270px, 82vw, 430px); }
    .catalog-product-detail .product-info { padding: 21px 18px; }
    .catalog-product-detail .urun-butonlari { flex-direction: column; }
    .catalog-product-detail .urun-butonlari > * { width: 100% !important; }
    .catalog-product-detail .linkler { flex-direction: column; }
    .catalog-product-description { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-card,
    .catalog-card__image img,
    .catalog-card__detail,
    .catalog-showcase .catalog-filters .btn-filter { transition: none; }
}
