/* Product Tabs Styling */
.woocommerce-tabs .tabs {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.woocommerce-tabs .tabs li {
    display: inline-block;
    margin-right: 10px;
}

.woocommerce-tabs .tabs li a {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f5f5f5;
}

.woocommerce-tabs .tabs li.active a {
    background: #fff;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
}

/* Models Table Styling */
.models-table-wrapper,
.replacement-parts-table-wrapper {
    margin: 20px 0;
}

.models-table,
.replacement-parts-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.models-table thead,
.replacement-parts-table thead {
    background-color: #f5f5f5;
}

.models-table th,
.replacement-parts-table th,
.models-table td,
.replacement-parts-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.models-table .qty-input,
.replacement-parts-table .qty-input {
    width: 60px;
    padding: 5px;
    text-align: center;
}

.add-to-cart-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.add-to-cart-btn:hover {
    background: #c82333;
}

.add-to-cart-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.add-to-cart-btn.added {
    background: #28a745;
}