.tech-catalog-1be6c4be {
    --tech-primary: #0d3b66;
    --tech-secondary: #219ebc;
    --tech-bg: #ffffff;
    --tech-light: #f8f9fa;
    --tech-text: #333333;
    font-family: sans-serif;
    position: relative;
}

.tech-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tech-filter-btn {
    background: transparent;
    border: 2px solid var(--tech-secondary);
    color: var(--tech-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tech-filter-btn.active, .tech-filter-btn:hover {
    background: var(--tech-secondary);
    color: #fff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.tech-card {
    background: var(--tech-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card-img {
    height: 180px;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
}

.tech-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tech-card-title {
    margin: 0 0 10px;
    color: var(--tech-primary);
    font-size: 1.2rem;
}

.tech-card-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tech-card-actions {
    display: flex;
    gap: 10px;
}

.tech-btn-details, .tech-btn-select {
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

.tech-btn-details {
    background: var(--tech-light);
    color: var(--tech-primary);
}

.tech-btn-select {
    background: var(--tech-primary);
    color: #fff;
}
.tech-btn-select.selected {
    background: #28a745;
}

/* Summary Bar */
.tech-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--tech-primary);
    color: #fff;
    padding: 15px 20px;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}
body.admin-bar .tech-summary-bar {
    /* If needed adjust for wpadminbar */
}
.tech-summary-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.tech-btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Modal */
.tech-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}
body.admin-bar .tech-modal-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}
.tech-modal {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    padding: 30px;
}
.tech-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}
.data-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 15px;
}
.data-gallery img {
    height: 100px;
    border-radius: 8px;
}
.modal-header-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
