.ah-eczane-wrapper {
    width: 100%;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ah-eczane-header,
.ah-eczane-desc {
    margin-bottom: 18px;
}

.ah-eczane-header h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.ah-eczane-date,
.ah-eczane-desc {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Grid ---- */
.ah-eczane-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ah-eczane-layout-list .ah-eczane-list {
    grid-template-columns: 1fr;
}

/* ---- Kart ---- */
.ah-eczane-card {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    background: #ffffff;
}

/* ---- Kart üstü ---- */
.ah-eczane-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.ah-eczane-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ah-eczane-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    color: inherit;
}

.ah-eczane-logo svg {
    width: 32px;
    height: 32px;
    display: block;
}

.ah-eczane-brand-text {
    min-width: 0;
}

.ah-eczane-label {
    display: none;
}

.ah-eczane-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
    word-break: break-word;
}

.ah-eczane-inline-icon svg,
.ah-eczane-meta-icon svg,
.ah-eczane-btn-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ---- İlçe rozeti ---- */
.ah-eczane-district {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.ah-eczane-district-icon {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    flex-shrink: 0;
}

.ah-eczane-district-icon svg {
    width: 13px;
    height: 13px;
    display: block;
}

/* ---- Önemli uyarı ---- */
.ah-eczane-important {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 13px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
}

.ah-eczane-inline-icon,
.ah-eczane-meta-icon,
.ah-eczane-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Meta: adres + telefon ---- */
.ah-eczane-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.ah-eczane-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ah-eczane-meta-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    background: none;
    border-radius: 0;
    color: #6b7280;
}

.ah-eczane-meta-text {
    min-width: 0;
}

.ah-eczane-meta-label {
    display: block;
    margin-bottom: 2px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ah-eczane-address,
.ah-eczane-phone {
    margin: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.55;
}

.ah-eczane-phone a {
    color: #2563eb;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
}

.ah-eczane-phone a:hover {
    text-decoration: underline;
}

/* ---- Butonlar ---- */
.ah-eczane-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.ah-eczane-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 1px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.ah-eczane-btn-primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.ah-eczane-btn-primary:hover {
    background: #1e293b;
    color: #ffffff;
}

.ah-eczane-btn-secondary {
    background: #ffffff;
    color: #1e293b;
    border-color: #e5e7eb;
}

.ah-eczane-btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #1e293b;
}

/* ---- Açık rozeti ---- */
.ah-eczane-open-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
    font-weight: 500;
}

.ah-eczane-open-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

/* ---- Alert ---- */
.ah-eczane-alert {
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.ah-eczane-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #78350f;
}

/* ---- Diğer ilçe linkleri / Kompakt chip tasarım ---- */
.ah-eczane-district-links {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.ah-eczane-district-links h3 {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: #0f172a;
}

.ah-eczane-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ah-eczane-link-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.ah-eczane-link-grid a:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .ah-eczane-list {
        grid-template-columns: 1fr;
    }

    .ah-eczane-link-grid {
        gap: 7px;
    }

    .ah-eczane-link-grid a {
        min-height: 31px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .ah-eczane-card {
        padding: 16px;
    }

    .ah-eczane-card-top {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .ah-eczane-actions {
        gap: 8px;
    }

    .ah-eczane-btn {
        min-height: 38px;
        padding: 1px 11px;
        font-size: 13px;
    }

    .ah-eczane-district-links {
        margin-top: 20px;
        padding-top: 16px;
    }

    .ah-eczane-district-links h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .ah-eczane-link-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ah-eczane-link-grid::-webkit-scrollbar {
        display: none;
    }

    .ah-eczane-link-grid a {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 6px 10px;
        font-size: 12px;
    }
}