/* ==========================================================================
   Homelli v2.0 - Category & Catalog Vitrini Stylesheet
   High-performance modular stylesheet
   ========================================================================== */

/* ==========================================================================
   TÜM ÜRÜNLER KOLEKSİYON SAYFASI (AGENTS.md STANDARTLARI)
   ========================================================================== */
.hml-all-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    box-sizing: border-box;
}

.hml-all-breadcrumb {
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hml-all-breadcrumb a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hml-all-breadcrumb a:hover {
    color: #111111;
}

.hml-all-breadcrumb span {
    color: #111111;
    font-weight: 600;
}

/* Header & Başlık */
.hml-all-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eeeeee;
}

.hml-all-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777777;
    margin-bottom: 8px;
}

.hml-all-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.hml-all-desc {
    max-width: 720px;
    margin: 0 auto;
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

/* Kategori Filtre Butonları (Pills) */
.hml-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hml-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    background: #f4f4f4;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hml-filter-pill:hover,
.hml-filter-pill.active {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.hml-filter-pill span.count {
    font-size: 11px;
    opacity: 0.75;
    font-weight: 500;
}

/* Ürün Sayacı */
.hml-results-count {
    font-size: 13px;
    color: #777777;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ürün Izgarası (Grid) */
.hml-all-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.hml-all-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hml-all-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border-color: #111111;
}

.hml-all-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f8f8f8;
    overflow: hidden;
    position: relative;
}

.hml-all-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hml-all-card:hover .hml-all-thumb img {
    transform: scale(1.04);
}

.hml-all-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111111;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
}

.hml-all-info {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hml-all-card-cat {
    font-size: 11.5px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.hml-all-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.hml-all-card-features {
    font-size: 12px;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.hml-all-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: auto;
}

.hml-all-price-tag {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

.hml-all-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.hml-all-card:hover .hml-all-btn-link {
    text-decoration: underline;
}

/* CTA Bölümü */
.hml-all-cta {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 44px 30px;
    text-align: center;
    margin-bottom: 60px;
}

.hml-all-cta h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px 0;
}

.hml-all-cta p {
    font-size: 15px;
    color: #555555;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.hml-all-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hml-cta-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111111;
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hml-cta-btn-dark:hover {
    opacity: 0.9;
}

.hml-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hml-cta-btn-wa:hover {
    opacity: 0.92;
}

/* RESPONSIVE MOBİL STANDARDI */
@media (max-width: 992px) {
    .hml-all-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hml-all-wrapper {
        padding: 16px 12px 60px;
    }

    .hml-all-title {
        font-size: 22px;
    }

    .hml-all-header {
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    /* Mobilde Kompakt 2'li Izgara */
    .hml-all-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 40px !important;
    }

    .hml-all-info {
        padding: 12px 10px !important;
    }

    .hml-all-card-title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
    }

    .hml-all-card-features {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }

    .hml-all-card-footer {
        padding-top: 10px !important;
    }

    .hml-all-btn-link {
        font-size: 11px !important;
    }
}

/* --------------------------------------------------------------------------
   PAGE MODULE: CATEGORY
   -------------------------------------------------------------------------- */
/* ==========================================================================
   HOMELLI KATEGORİ VİTRİNİ - APPLE / LÜKS İTALYAN STANDARDI (AGENTS.md)
   ========================================================================== */
.hml-cat-page-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    box-sizing: border-box;
}

/* Breadcrumb */
.hml-cat-breadcrumb {
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hml-cat-breadcrumb a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hml-cat-breadcrumb a:hover {
    color: #111111;
}

.hml-cat-breadcrumb span {
    color: #111111;
    font-weight: 600;
}

/* Kategori Başlık Bölümü */
.hml-cat-header-block {
    margin-bottom: 32px;
}

.hml-cat-main-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0 !important;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.hml-cat-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #111111;
}

.hml-cat-desc {
    font-size: 15.5px;
    color: #555555;
    max-width: 820px;
    line-height: 1.65;
    margin: 12px 0 0 0;
}

/* Ürün Izgarası: Masaüstü 3'lü, Mobil 2'li (AGENTS.md) */
.hml-cat-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.hml-cat-products-grid.hml-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .hml-cat-products-grid.hml-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hml-cat-products-grid.hml-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

.hml-cat-product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    position: relative;
}

.hml-cat-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #111111;
}

.hml-cat-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f7f7;
    position: relative;
}

.hml-cat-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hml-cat-product-card:hover .hml-cat-card-thumb img {
    transform: scale(1.05);
}



.hml-cat-card-info {
    padding: 16px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hml-cat-card-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4 !important;
}

.hml-cat-card-type {
    font-size: 12.5px;
    color: #666666;
    margin-bottom: 14px;
    font-weight: 400;
}

.hml-cat-card-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: auto;
}

.hml-cat-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hml-cat-product-card:hover .hml-cat-card-action {
    transform: translateX(3px);
}

/* ==========================================================================
   SAYFA ALTI ZENGİN AI SEO BLOĞU (mevcut-kategori-sayfasi.png BİREBİR)
   ========================================================================== */
.hml-cat-seo-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 70px;
    margin-bottom: 75px;
}

.hml-cat-seo-divider {
    text-align: center;
    font-size: 18px;
    color: #888888;
    margin-bottom: 24px;
}

.hml-cat-seo-custom-content {
    max-width: 960px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: #444444;
}

.hml-cat-seo-custom-content h1,
.hml-cat-seo-custom-content h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #111111 !important;
    padding-bottom: 12px;
}

.hml-cat-seo-custom-content h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 28px 0 10px 0 !important;
    line-height: 1.4;
}

.hml-cat-seo-custom-content p {
    margin: 0 0 16px 0 !important;
    color: #444444;
    text-align: justify;
}

.hml-cat-seo-custom-content a {
    color: #111111;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.hml-cat-seo-custom-content a:hover {
    color: #555555;
}

.hml-cat-wp-caption {
    margin: 24px auto;
    text-align: center;
    max-width: 100%;
}

.hml-cat-wp-caption img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 0 auto 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hml-cat-seo-head {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 50px;
}

.hml-cat-seo-head h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 16px 0 !important;
    line-height: 1.35;
}

.hml-cat-seo-head p {
    font-size: 15.5px;
    color: #444444;
    line-height: 1.75;
    margin: 0;
}

.hml-cat-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 45px;
}

.hml-cat-seo-card {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 28px 24px;
    transition: border-color 0.25s ease;
}

.hml-cat-seo-card:hover {
    border-color: #111111;
}

.hml-cat-seo-card h3 {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.4;
}

.hml-cat-seo-card p {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* Callout Kutusu */
.hml-cat-callout {
    background: #fbfbfb;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #111111;
    border-radius: 6px;
    padding: 22px 28px;
    font-size: 14.5px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 60px;
}

.hml-cat-callout a {
    color: #111111;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.hml-cat-callout a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   GOOGLE & TRUSTINDEX MÜŞTERİ DEĞERLENDİRMELERİ
   ========================================================================== */
.hml-cat-reviews-block {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 35px 30px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hml-reviews-score-card {
    text-align: center;
    border-right: 1px solid #eeeeee;
    padding-right: 30px;
}

.hml-reviews-logo-badge {
    font-size: 34px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.hml-reviews-stars {
    color: #fbbc04;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.hml-reviews-count {
    font-size: 13px;
    color: #666666;
    margin-bottom: 14px;
}

.hml-reviews-btn {
    display: inline-block;
    background: #fafafa;
    border: 1px solid #d5d5d5;
    color: #111111;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hml-reviews-btn:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.hml-reviews-cards-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hml-review-card {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 18px;
    font-size: 13px;
    line-height: 1.55;
    color: #444444;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hml-review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hml-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.hml-review-name {
    font-weight: 700;
    color: #111111;
    font-size: 13px;
}

.hml-review-stars-mini {
    color: #fbbc04;
    font-size: 12px;
    margin-bottom: 8px;
}

.hml-google-badge {
    text-align: right;
    margin-top: 10px;
    font-size: 11px;
    color: #1a73e8;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

/* ==========================================================================
   RESPONSIVE (MOBİLDE 2'Lİ GRID STANDARDI - AGENTS.MD)
   ========================================================================== */
@media (max-width: 992px) {
    .hml-cat-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hml-cat-seo-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hml-cat-reviews-block {
        grid-template-columns: 1fr;
        padding: 24px 18px;
    }
    .hml-reviews-score-card {
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .hml-reviews-cards-slider {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .hml-cat-page-wrapper {
        padding: 16px 12px 60px;
    }
    
    .hml-cat-main-title {
        font-size: 24px !important;
    }

    /* MOBİL 2'Lİ KOMPAKT GRID */
    .hml-cat-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 50px !important;
    }

    .hml-cat-card-info {
        padding: 12px 10px 14px !important;
    }

    .hml-cat-card-title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
    }

    .hml-cat-card-type {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }

    .hml-cat-card-bottom {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding-top: 10px !important;
    }

    .hml-cat-card-action {
        font-size: 11px !important;
    }

    .hml-cat-seo-head h2 {
        font-size: 20px !important;
    }
}

/* --------------------------------------------------------------------------
   PAGE MODULE: PAGE
   -------------------------------------------------------------------------- */
.hml-page-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    box-sizing: border-box;
}

.hml-page-breadcrumb {
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hml-page-breadcrumb a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hml-page-breadcrumb a:hover {
    color: #111111;
}

.hml-page-breadcrumb span {
    color: #111111;
    font-weight: 600;
}

.hml-page-header {
    margin-bottom: 36px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

.hml-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}

.hml-page-content {
    font-size: 15.5px;
    line-height: 1.8;
    color: #333333;
}

.hml-page-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin: 36px 0 16px 0;
    letter-spacing: -0.2px;
}

.hml-page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin: 28px 0 12px 0;
}

.hml-page-content p {
    margin: 0 0 18px 0;
}

.hml-page-content ul,
.hml-page-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.hml-page-content li {
    margin-bottom: 8px;
}

.hml-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.hml-page-content a {
    color: #111111;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hml-page-title {
        font-size: 24px;
    }
    .hml-page-wrapper {
        padding-top: 20px;
    }
}
