/* ================================================
   Ha Animal Cards — HanTema v1.0.0
   Prefix: haac-  (çakışma önlemi)
   ================================================ */

.haac-wrap {
    --haac-bg:          #F5F0E8;
    --haac-card-bg:     #ffffff;
    --haac-img-bg:      #EDE8DF;
    --haac-text:        #1A1A1A;
    --haac-sub:         #888880;
    --haac-muted:       #6B7280;
    --haac-border:      #E8E2D8;
    --haac-badge-bg:    #D6CFC4;
    --haac-badge-text:  #2C2620;
    --haac-btn-bg:      #1A1A1A;
    --haac-btn-text:    #ffffff;
    --haac-label:       #9B9690;
    --haac-divider:     #EDE8DF;
    --haac-radius:      16px;
    --haac-radius-img:  16px;
    box-sizing: border-box;
}
.haac-wrap *, .haac-wrap *::before, .haac-wrap *::after {
    box-sizing: inherit;
}

/* ── GRID ── */
.haac-grid {
    display: grid;
    gap: 20px;
}

/* ══════════════════════════════
   CARD
══════════════════════════════ */
.haac-card {
    background: var(--haac-card-bg);
    border-radius: var(--haac-radius);
    overflow: hidden;
    border: 1px solid var(--haac-border);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.haac-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

/* ── GÖRSEL ALAN ── */
.haac-img-area {
    position: relative;
    background: var(--haac-img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    /* yükseklik JS/CSS responsive ile ayarlanır */
    min-height: 180px;
}

/* Yüklenen fotoğraf */
.haac-img-area img.haac-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
}

/* SVG / PNG ikon — ortada, transparan arka plan */
.haac-img-area .haac-icon-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
}
.haac-img-area .haac-icon-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Elementor ikon (FA vb.) */
.haac-img-area .haac-icon-inner .haac-el-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.haac-img-area .haac-icon-inner i,
.haac-img-area .haac-icon-inner svg {
    display: block !important;
    line-height: 1 !important;
}
.haac-img-area .haac-icon-inner .elementor-icon,
.haac-img-area .haac-icon-inner span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* ── ROZET (üst sağ) ── */
.haac-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--haac-badge-bg);
    color: var(--haac-badge-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    white-space: nowrap;
    z-index: 2;
    line-height: 1.4;
}

/* ── BODY ── */
.haac-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Başlık */
.haac-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--haac-text);
    margin: 0 0 4px;
    line-height: 1.25;
}

/* Alt başlık */
.haac-subtitle {
    font-size: 13px;
    color: var(--haac-sub);
    margin: 0 0 18px;
    line-height: 1.4;
}

/* ── SPECS ── */
.haac-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.haac-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--haac-divider);
}
.haac-spec-row:last-child {
    border-bottom: none;
}
.haac-spec-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--haac-muted);
    flex-shrink: 0;
}
.haac-spec-label i,
.haac-spec-label svg {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    opacity: .65;
    flex-shrink: 0;
    display: block !important;
    line-height: 1 !important;
}
.haac-spec-label .elementor-icon,
.haac-spec-label span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    line-height: 1 !important;
}
.haac-spec-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--haac-text);
    text-align: right;
}

/* ── FİYAT + BUTON FOOTER ── */
.haac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--haac-divider);
}
.haac-price-wrap {}
.haac-price-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--haac-label);
    margin-bottom: 4px;
    line-height: 1;
}
.haac-price {
    font-size: 26px;
    font-weight: 900;
    color: var(--haac-text);
    line-height: 1;
    white-space: nowrap;
}

/* Buton */
.haac-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--haac-btn-bg);
    color: var(--haac-btn-text);
    font-size: 14px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .22s, transform .18s;
    line-height: 1;
}
.haac-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}
.haac-btn i,
.haac-btn svg {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
    display: block !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.haac-btn .elementor-icon,
.haac-btn span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    width: 14px !important;
    height: 14px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .haac-title    { font-size: 19px !important; }
    .haac-price    { font-size: 22px !important; }
    .haac-body     { padding: 18px 18px 16px; }
}

/* Mobil — 1 sütun, kart yatay */
@media (max-width: 767px) {
    .haac-grid {
        grid-template-columns: 1fr !important;
    }

    /* Mobilde kart DİKEY kalır (tam genişlik) */
    .haac-card {
        flex-direction: column;
        max-width: 100%;
    }

    /* Görsel tam genişlik */
    .haac-img-area {
        width: 100% !important;
        min-height: 220px;
        border-radius: 0;
    }

    .haac-title    { font-size: 20px !important; }
    .haac-price    { font-size: 22px !important; }
    .haac-btn      { padding: 11px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
    .haac-img-area { min-height: 180px; }
    .haac-title    { font-size: 18px !important; }
    .haac-price    { font-size: 20px !important; }
    .haac-footer   { flex-wrap: wrap; }
    .haac-btn      { width: 100%; justify-content: center; }
}
