/**
 * TT Theme Grid CSS — Prototip + Responsive
 * 4 kolon grid, 64px daire ikon, hover animasyon
 */

/* ─── Section Wrapper ─── */
.tt-ew-theme-grid-wrapper {
    /* Gri arka plan Elementor section'dan gelecek */
}

/* ─── Grid ─── */
.tt-ew-theme-grid {
    display: grid;
    gap: 20px;
}
.tt-ew-theme-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.tt-ew-theme-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.tt-ew-theme-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ─── Tema Kartı ─── */
.tt-ew-theme-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--tt-white, #fff);
    border-radius: var(--tt-radius, 12px);
    box-shadow: 0 2px 12px rgba(62, 56, 55, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.tt-ew-theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(62, 56, 55, 0.16);
}

/* ─── 72px Daire İkon — Prototip eşleştirme ─── */
.tt-ew-theme-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--tt-cream-light, #f8ddd0);
    color: var(--tt-primary, #fd5c02);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}
.tt-ew-theme-card__icon i {
    font-size: 24px !important;
    color: var(--tt-primary, #fd5c02) !important;
}
.tt-ew-theme-card__icon svg {
    fill: var(--tt-primary, #fd5c02) !important;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}
.tt-ew-theme-card:hover .tt-ew-theme-card__icon {
    background: var(--tt-primary, #fd5c02);
    color: #fff;
}
.tt-ew-theme-card:hover .tt-ew-theme-card__icon i {
    color: #fff !important;
}
.tt-ew-theme-card:hover .tt-ew-theme-card__icon svg {
    fill: #fff !important;
}

/* ─── Etiket ─── */
.tt-ew-theme-card__label {
    font-size: 15px;
    font-weight: 600;
    color: var(--tt-dark, #3e3837);
    line-height: 1.3;
}

/* ─── Responsive: Tablet ─── */
@media (max-width: 1024px) {
    .tt-ew-theme-grid--cols-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    .tt-ew-theme-grid {
        gap: 16px;
    }
}

/* ─── Responsive: Mobile Landscape ─── */
@media (max-width: 768px) {
    .tt-ew-theme-grid--cols-4,
    .tt-ew-theme-grid--cols-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .tt-ew-theme-grid {
        gap: 12px;
    }
    .tt-ew-theme-card {
        padding: 22px 12px;
        gap: 10px;
    }
    .tt-ew-theme-card__icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    .tt-ew-theme-card__icon i {
        font-size: 22px !important;
    }
    .tt-ew-theme-card__icon svg {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }
    .tt-ew-theme-card__label {
        font-size: 14px;
    }
}

/* ─── Responsive: Mobile Portrait ─── */
@media (max-width: 480px) {
    .tt-ew-theme-grid--cols-3,
    .tt-ew-theme-grid--cols-4,
    .tt-ew-theme-grid--cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tt-ew-theme-grid {
        gap: 10px;
    }
    .tt-ew-theme-card {
        padding: 18px 10px;
        gap: 8px;
    }
    .tt-ew-theme-card__icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    .tt-ew-theme-card__icon i {
        font-size: 18px !important;
    }
    .tt-ew-theme-card__icon svg {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
    }
    .tt-ew-theme-card__label {
        font-size: 13px;
    }
}
