/*
Theme Name: Astra Child - Oxilog
Template: astra
Description: Child theme for Oxilog with custom product card design
Version: 1.0
*/

/* ---------- Product card ---------- */
.oxilog-card {
    background: linear-gradient(180deg, #eaf3fb 0%, #cfe4f4 100%);
    border-radius: 18px;
    padding: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oxilog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.oxilog-pill-category {
    background: #ffffff;
    color: #14304d;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.oxilog-pill-category img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.oxilog-pill-price {
    background: #14304d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}

.oxilog-icon-tile {
    background: #14304d;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
}

.oxilog-icon-tile img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* renders category icon as white line-art */
}

.oxilog-title {
    font-size: 17px;
    font-weight: 700;
    color: #14304d;
    line-height: 1.35;
    margin-bottom: 8px;
}

.oxilog-subtitle {
    font-size: 13px;
    color: #5b7086;
    margin-bottom: 18px;
    flex-grow: 1;
}

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

.oxilog-btn-preview {
    flex: 1;
    text-align: center;
    background: transparent;
    border: 1.5px solid #14304d;
    color: #14304d;
    border-radius: 10px;
    padding: 11px 0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.oxilog-btn-cart {
    flex: 1.4;
    text-align: center;
    background: #2f7fa8;
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 11px 0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.oxilog-btn-cart:hover {
    background: #256686;
    color: #fff;
}

.oxilog-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 800px) {
    .oxilog-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .oxilog-products-grid { grid-template-columns: 1fr; }
}
