.pc-widget-container {
    width: 100%;
    font-family: inherit;
    position: relative;
}

.pc-selector-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.pc-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.pc-select:focus {
    border-color: #333;
}

.pc-select:disabled {
    background-color: #f7f7f7;
    cursor: not-allowed;
}

/* Dynamic specs table styling */
.pc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}

.pc-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.pc-compare-table th, 
.pc-compare-table td {
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    vertical-align: top;
}

.pc-compare-table th:last-child, 
.pc-compare-table td:last-child {
    border-right: none;
}

/* Column dimensions */
.pc-feature-header, .pc-attr-label {
    width: 250px;
    background-color: #fcfcfc;
    font-weight: bold;
    text-align: left;
}

.pc-dropdown-row th {
    background-color: #fafafa;
    border-bottom: none;
}

.pc-info-row th {
    background-color: #fafafa;
    border-bottom: 2px solid #eaeaea;
}

/* Aligned product headers directly in the table th columns */
.pc-product-header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 150px;
    justify-content: center;
}

.pc-placeholder-card {
    border: 2px dashed #eaeaea;
    border-radius: 6px;
    height: 120px;
    width: 100%;
    max-width: 120px;
    display: inline-block;
    background: #fdfdfd;
}

.pc-product-media img {
    max-width: 100%;
    width: 70px;
    height: auto;
    margin-bottom: 10px;
}

.pc-product-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.pc-product-cost {
    font-size: 13px;
    color: #2ecc71;
    font-weight: 600;
}

/* Cells styling */
.pc-col-val {
    text-align: center;
    color: #555;
    font-size: 14px;
}

.pc-stock-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.pc-stock-status.in-stock {
    background-color: #e8f8f5;
    color: #2ecc71;
}

.pc-stock-status.out-of-stock {
    background-color: #fceae9;
    color: #e74c3c;
}

/* Loader style */
.pc-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.pc-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: pc-spin 1s linear infinite;
}

@keyframes pc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
