﻿.pos-products {
    min-width: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 165px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    font-family: inherit;
}

    .product-card:hover {
        border-color: #0f766e;
        box-shadow: 0 12px 24px rgba(15, 118, 110, .12);
    }

.product-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.product-card strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.2;
}

.product-card span {
    color: #0f766e;
    font-size: 18px;
    font-weight: 900;
}
.product-card:active {
    transform: scale(.97);
}
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 14px;
    height: 52px;
    max-width: 350px;
    margin-bottom: 18px;
}

    .search-box span {
        font-size: 18px;
    }

    .search-box input {
        flex: 1;
        border: 0;
        outline: 0;
        font-size: 15px;
        font-weight: 600;
    }
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .products-header h3 {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
        color: #0f172a;
    }

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 14px;
    height: 48px;
    width: 320px;
    max-width: 100%;
}

    .search-box:focus-within {
        border-color: #0f766e;
        box-shadow: 0 0 0 4px rgba(15,118,110,.12);
    }

    .search-box span {
        font-size: 18px;
    }

    .search-box input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        font-size: 15px;
        font-weight: 600;
        background: transparent;
    }
.checkout-btn {
    height: 60px;
    font-size: 18px;
    font-weight: 800;
}
.category-btn.active {
    background: #0f766e;
    color: white;
}