/**
 * Yılmaz Akü Ürünler — Frontend Stilleri
 *
 * Brand: #DC2626 (brand-600), #0D0D26 (dark-900)
 * Fonts: Montserrat (heading), Inter (body)
 */

/* ========================================
   ÜRÜN KARTI
   ======================================== */
.yaku-product-card {
    display: block;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(13, 13, 38, 0.04),
        0 4px 12px rgba(13, 13, 38, 0.06),
        0 8px 24px rgba(220, 38, 38, 0.03);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.yaku-product-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(13, 13, 38, 0.06),
        0 8px 24px rgba(13, 13, 38, 0.08),
        0 16px 48px rgba(220, 38, 38, 0.06);
}

.yaku-product-card:focus-visible {
    outline: 2px solid #DC2626;
    outline-offset: 2px;
}

.yaku-product-card:active {
    transform: translateY(-2px);
}

.yaku-product-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 */
    overflow: hidden;
    background: #f3f4f6;
}

.yaku-product-card-image img,
.yaku-product-card-image > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   TEKNOLOJİ BADGE
   ======================================== */
.yaku-tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: #6b7280;
}

.yaku-tech-agm {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.yaku-tech-efb {
    background: linear-gradient(135deg, #059669, #047857);
}

.yaku-tech-gel {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.yaku-tech-deep-cycle {
    background: linear-gradient(135deg, #DC2626, #b91c1c);
}

/* ========================================
   FİLTRE TABLARI
   ======================================== */
.yaku-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: #52527A;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.yaku-filter-tab:hover {
    background: #FEF2F2;
    color: #DC2626;
}

.yaku-filter-tab:focus-visible {
    outline: 2px solid #DC2626;
    outline-offset: 2px;
}

.yaku-filter-tab.active {
    background: #DC2626;
    color: #fff;
    border-color: #DC2626;
}

.yaku-filter-tab.active .yaku-filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.yaku-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: #f3f4f6;
    color: #9D9DB3;
}

/* ========================================
   ÖNE ÇIKAN ÖZELLİK KARTLARI
   ======================================== */
.yaku-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #FEF2F2, #fff);
    border: 1px solid #FEE2E2;
    border-radius: 12px;
    text-align: center;
}

.yaku-highlight-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #DC2626;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.yaku-highlight-label {
    font-size: 12px;
    color: #767696;
    margin-top: 4px;
    font-weight: 500;
}

/* ========================================
   TEKNİK ÖZELLİKLER TABLOSU
   ======================================== */
.yaku-specs-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    box-shadow:
        0 1px 3px rgba(13, 13, 38, 0.03),
        0 4px 12px rgba(13, 13, 38, 0.04);
}

.yaku-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.yaku-specs-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.yaku-specs-table tr:last-child {
    border-bottom: none;
}

.yaku-specs-label {
    padding: 12px 16px 12px 0;
    font-size: 14px;
    color: #767696;
    font-weight: 500;
    white-space: nowrap;
    width: 40%;
    vertical-align: top;
}

.yaku-specs-value {
    padding: 12px 0;
    font-size: 14px;
    color: #0D0D26;
    font-weight: 600;
}

/* ========================================
   SHADOW ELEVATED
   ======================================== */
.shadow-elevated {
    box-shadow:
        0 1px 3px rgba(13, 13, 38, 0.04),
        0 4px 12px rgba(13, 13, 38, 0.06),
        0 12px 36px rgba(13, 13, 38, 0.08);
}

/* ========================================
   SAYFALAMA
   ======================================== */
.yaku-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.yaku-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #52527A;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.yaku-pagination .page-numbers:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

.yaku-pagination .page-numbers.current {
    background: #DC2626;
    color: #fff;
    border-color: #DC2626;
}

.yaku-pagination .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

/* ========================================
   SCROLLBAR GİZLE
   ======================================== */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ========================================
   LINE CLAMP
   ======================================== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
    .yaku-highlight-value {
        font-size: 16px;
    }

    .yaku-specs-label {
        width: 45%;
        padding-right: 8px;
    }

    .yaku-specs-card {
        padding: 16px;
    }
}
