/* Medsantek — canlı ön yüz teması */
:root {
    --color-brand: #1c1917;
    --color-brand-light: #57534e;
    --color-brand-dark: #0c0a09;
    --color-accent: #ef233c;
    --color-accent-hover: #c1121f;
    --color-accent-light: #ff4d6d;
    --color-accent-soft: #fff0f3;
    --color-surface: #faf8f6;
    --color-surface-warm: #fff5f5;
    --gradient-brand: linear-gradient(135deg, #1c1917 0%, #3d1219 55%, #7f1d1d 100%);
    --gradient-accent: linear-gradient(135deg, #c1121f 0%, #ef233c 50%, #ff4d6d 100%);
    --gradient-hero-overlay: linear-gradient(
        105deg,
        rgba(12, 10, 12, 0.9) 0%,
        rgba(61, 18, 25, 0.78) 48%,
        rgba(239, 35, 60, 0.42) 100%
    );
    --shadow-accent: 0 10px 40px -10px rgba(239, 35, 60, 0.45);
    --shadow-card: 0 12px 32px -12px rgba(28, 25, 23, 0.12);
}

body {
    background-color: var(--color-surface);
}

/* Bölüm başlıkları */
.section-heading {
    position: relative;
    display: inline-block;
}
.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 2.5rem;
    height: 3px;
    border-radius: 9999px;
    background: var(--gradient-accent);
}

/* İstatistik bandı */
.stats-band {
    background: linear-gradient(180deg, #fff 0%, var(--color-accent-soft) 100%);
    border-bottom: 1px solid #fecdd3;
}
.stats-band__value {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.stats-band__item {
    position: relative;
    padding: 0.5rem;
}
@media (min-width: 768px) {
    .stats-band__item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: linear-gradient(180deg, transparent, #fca5a5, transparent);
    }
}

/* Ürün kartı */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: #fca5a5;
}
.product-card__cta {
    background: var(--gradient-accent);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.product-card__cta:hover {
    filter: brightness(1.06);
    box-shadow: var(--shadow-accent);
}

/* Üst şerit */
.header-topbar {
    background: var(--gradient-brand);
}
.header-topbar a:hover {
    color: #fecdd3 !important;
}

/* Footer */
.site-footer {
    background: var(--gradient-brand);
    border-top: 3px solid var(--color-accent);
}
.site-footer a:hover {
    color: #fecdd3 !important;
}

/* Bölüm arka planları */
.section-warm {
    background: var(--color-surface-warm);
}
.section-accent-glow {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(239, 35, 60, 0.08), transparent 70%),
        var(--color-surface);
}

/* Arama / CTA vurgusu */
.search-submit {
    background: var(--gradient-accent) !important;
}
.search-submit:hover {
    filter: brightness(1.05);
    box-shadow: var(--shadow-accent);
}

/* Teklif rozeti */
.quote-badge {
    background: var(--gradient-accent) !important;
}

/* Canlı arama önerileri (js/search-suggest.js) */
.search-suggest {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: 70vh;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    text-align: left;
}
.search-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.875rem;
    color: inherit;
    text-decoration: none;
}
.search-suggest__item img {
    width: 40px;
    height: 40px;
    flex: none;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 0.375rem;
}
.search-suggest__item > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.search-suggest__item:hover {
    background: var(--color-accent-soft, #fff0f3);
}
/* Klavye seçimi: hover'dan belirgin olsun */
[role="option"][aria-selected="true"] .search-suggest__item {
    background: #ffe0e6;
    box-shadow: inset 3px 0 0 var(--color-accent, #ef233c);
}
.search-suggest__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    color: var(--color-accent, #ef233c);
}
.search-suggest__name {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-suggest__brand {
    font-size: 0.75rem;
    color: #94a3b8;
}
.search-suggest__all {
    display: block;
    padding: 0.625rem 0.875rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent, #ef233c);
    text-decoration: none;
}
.search-suggest__empty {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    color: #64748b;
}