
.header-row {
    display: none;
    background-color: #f8f9fa;
    padding: 1rem;
    font-weight: bold;
    flex-wrap: wrap;
    border-top: 2px solid #000;
}

@media (min-width: 768px) {
    .header-row {
        display: flex;
    }
}

.header-col {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    min-width: 100px;
    color: #000;
    font-weight: 500;
}

.header-col-1 { flex: 1; }
.header-col-2 { flex: 2; }
.header-col-3 { flex: 1; }
.header-col-4 { flex: 1; }
.header-col-5 { flex: 1; }
.header-col-6 { flex: 1.5; }

.accordion {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.accordion-item {
    border-bottom: 1px solid #dee2e6;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem;

    font-weight: 600;

}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
    }
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.25rem 0.5rem;
    border: 1px solid #6c757d;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    color: #6c757d;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #e9ecef;
}

.accordion-body {
    padding: 0;
}

.content-row {
    display: flex;
    flex-direction: column;
    padding: 1rem;

}

@media (min-width: 768px) {
    .content-row {
        flex-direction: row;
        align-items: center;
    }
}

.content-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .content-col {
        flex-direction: column;
        align-items: flex-start;
        width: auto;
    }
}

.content-col-1 { flex: 1; }
.content-col-2 { flex: 2; }
.content-col-3 {flex: 1;display: flex;flex-direction: row;}
.content-col-4 { flex: 1; }
.content-col-5 {flex: 1;display: flex;flex-direction: row;align-items: center;}
.content-col-6 {flex: 1.5;display: flex;flex-direction: row;justify-content: space-between;}

@media (max-width: 767px) {
    .content-col {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .content-col-2 {
        flex-direction: column;
        align-items: flex-start;
    }
    .content-col-6 {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.label {
    color: #6c757d;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    min-width: 70px;
}

.mobile-only {
    display: block;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

.link {
    color: #0d6efd;
    text-decoration: underline;
}

.link:hover {
    text-decoration: none;
}

.stock {
    color: #0d6efd;
    font-size: 0.875rem;
}

.star {
    color: #ffc107;
}

.rating, .availability {
    font-weight: 500;
}

.price {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.amount {
    font-weight: 500;
}

.input-group {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.input {
    width: 60px;
    padding: 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.875rem;
}

.cart-btn {
    background-color: #fff;
    color: white;
    border: none;
    padding: 10px 10px 1px;
    border-radius: 4px;
}

.cart-btn:hover {
    background-color: #dedede;
}

.sub-accordion {
    padding: 0;
    display: block;
    position: relative;
}

.accordion-toggle {
    display: none;
}

.accordion-button {
    display: block;
    padding: 10px;
    background-color: #fff;
    width: 23%;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.accordion-button:hover {
    background-color: #e9ecef;
}

.sub-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-toggle:checked ~ .sub-accordion-content {
    max-height: 1000px;
}

.accordion-button::after {
    content: '\25BC';
    float: right;
    transition: transform 0.3s ease;
}

.accordion-toggle:checked ~ .accordion-button::after {
    transform: rotate(180deg);
}
.exact-match-filter {
    clear: both;
    display: block;
}

@media (max-width: 767px) {
    .container {
        padding: 0 10px;
    }
    .header-row {
        display: none;
    }
    .accordion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }
    .header-buttons {
        width: 100%;
        justify-content: flex-end;
    }
    .content-col {
        border-bottom: 1px solid #e9ecef;
        padding: 0.5rem 0;
    }
    .content-col:last-child {
        border-bottom: none;
    }
    .input-group {
        justify-content: flex-end;
    }
    .accordion-button {
        width: 100%;
    }
}