/**
 * PC Builder Pro - Main Stylesheet
 * Advanced PC Builder Pro
 */

/* ===== CSS Variables ===== */
:root {
    --apbp-primary: #007cba;
    --apbp-primary-hover: #005a87;
    --apbp-secondary: #6c757d;
    --apbp-success: #28a745;
    --apbp-danger: #dc3545;
    --apbp-warning: #ffc107;
    --apbp-info: #17a2b8;
    --apbp-light: #f8f9fa;
    --apbp-dark: #343a40;
    --apbp-white: #ffffff;
    --apbp-border: #dee2e6;
    --apbp-shadow: rgba(0, 0, 0, 0.1);
    --apbp-radius: 8px;
    --apbp-radius-sm: 4px;
    --apbp-spacing: 16px;
    --apbp-font: inherit;
}

/* ===== Base Styles ===== */
.apbp-builder {
    font-family: var(--apbp-font);
    max-width: 100%;
    margin: 0 auto;
    padding: var(--apbp-spacing);
    background: var(--apbp-white);
    border-radius: var(--apbp-radius);
    box-shadow: 0 2px 8px var(--apbp-shadow);
}

.apbp-builder * {
    box-sizing: border-box;
}

/* ===== Header ===== */
.apbp-builder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--apbp-border);
}

.apbp-builder-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--apbp-dark);
}

/* ===== Compatibility Status ===== */
.apbp-compatibility-status {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--apbp-radius);
    border-left: 4px solid var(--apbp-warning);
    background: #fff3cd;
}

.apbp-compatibility-status.apbp-error {
    border-left-color: var(--apbp-danger);
    background: #f8d7da;
}

.apbp-compatibility-status.apbp-success {
    border-left-color: var(--apbp-success);
    background: #d4edda;
}

.apbp-compatibility-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Progress Bar ===== */
.apbp-progress-bar {
    position: relative;
    height: 8px;
    background: var(--apbp-light);
    border-radius: 4px;
    margin-bottom: 24px;
    overflow: hidden;
}

.apbp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--apbp-primary), var(--apbp-info));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.apbp-progress-text {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 12px;
    color: var(--apbp-secondary);
}

/* ===== Containers ===== */
.apbp-containers-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.apbp-container {
    background: var(--apbp-white);
    border: 2px solid var(--apbp-border);
    border-radius: var(--apbp-radius);
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.apbp-container:hover {
    border-color: var(--apbp-primary);
    box-shadow: 0 2px 12px var(--apbp-shadow);
}

.apbp-container.apbp-active {
    border-color: var(--apbp-success);
    background: #f8fff8;
}

.apbp-container.apbp-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.apbp-container.apbp-locked:hover {
    border-color: var(--apbp-border);
    box-shadow: none;
}

.apbp-container-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.apbp-container-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--apbp-light);
    border-radius: 50%;
    color: var(--apbp-primary);
}

.apbp-container-icon svg {
    width: 24px;
    height: 24px;
}

.apbp-container-info {
    flex: 1;
}

.apbp-container-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--apbp-dark);
}

.apbp-required {
    color: var(--apbp-danger);
}

.apbp-container-status {
    font-size: 12px;
    color: var(--apbp-secondary);
}

.apbp-container-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.apbp-selection-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--apbp-success);
    color: var(--apbp-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
}

/* Selected Products in Container */
.apbp-selected-products {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apbp-selected-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--apbp-light);
    border-radius: var(--apbp-radius-sm);
}

.apbp-selected-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--apbp-white);
    border-radius: var(--apbp-radius-sm);
}

.apbp-selected-info {
    flex: 1;
}

.apbp-selected-name {
    font-weight: 500;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.apbp-selected-price {
    color: var(--apbp-primary);
    font-weight: 600;
    font-size: 13px;
}

.apbp-selected-attributes {
    margin-top: 4px;
    font-size: 12px;
    color: var(--apbp-secondary);
}

.apbp-selected-attributes span {
    background: var(--apbp-border);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
    margin-bottom: 2px;
    display: inline-block;
}

.apbp-selected-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--apbp-danger);
    color: var(--apbp-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.apbp-selected-remove:hover {
    background: #c82333;
}

/* Budget Input */
.apbp-budget-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.apbp-budget-input-wrapper label {
    font-weight: 500;
    color: var(--apbp-dark);
}

.apbp-budget-input-wrapper input {
    padding: 8px 12px;
    border: 1px solid var(--apbp-border);
    border-radius: var(--apbp-radius-sm);
    font-size: 14px;
    width: 120px;
}

/* Budget Warning */
.apbp-budget-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--apbp-radius-sm);
    margin-bottom: 12px;
}

.apbp-budget-warning .apbp-icon {
    font-size: 20px;
}

.apbp-budget-warning .apbp-warning-message {
    flex: 1;
    color: #856404;
    font-size: 14px;
}

.apbp-budget-actions {
    display: flex;
    gap: 8px;
}

.apbp-button-small {
    padding: 6px 12px;
    font-size: 13px;
}

.apbp-button-warning {
    background: #ffc107;
    color: #212529;
}

.apbp-button-warning:hover {
    background: #e0a800;
}

/* AI Build Indicator */
.apbp-ai-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.apbp-ai-indicator .apbp-icon {
    font-size: 16px;
}

/* Dependency Warning */
.apbp-dependency-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff3cd;
    border-radius: var(--apbp-radius-sm);
    font-size: 13px;
    color: #856404;
}

/* ===== Buttons ===== */
.apbp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: var(--apbp-radius);
    background: var(--apbp-secondary);
    color: var(--apbp-white);
    transition: all 0.2s ease;
    text-decoration: none;
}

.apbp-button:hover {
    background: #5a6268;
}

.apbp-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.apbp-button-primary {
    background: var(--apbp-primary);
    border-color: var(--apbp-primary);
}

.apbp-button-primary:hover:not(:disabled) {
    background: var(--apbp-primary-hover);
    border-color: var(--apbp-primary-hover);
}

.apbp-button-secondary {
    background: var(--apbp-light);
    border-color: var(--apbp-border);
    color: var(--apbp-dark);
}

.apbp-button-secondary:hover:not(:disabled) {
    background: #e2e6ea;
}

.apbp-button-success {
    background: var(--apbp-success);
    border-color: var(--apbp-success);
}

.apbp-button-success:hover:not(:disabled) {
    background: #218838;
}

.apbp-button-large {
    padding: 14px 28px;
    font-size: 16px;
}

.apbp-button-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.apbp-button-ai:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

/* ===== Modal ===== */
.apbp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apbp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.apbp-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--apbp-white);
    border-radius: var(--apbp-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.apbp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--apbp-border);
}

.apbp-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apbp-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.apbp-modal-close:hover {
    background: var(--apbp-light);
}

.apbp-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* ===== Filters ===== */
.apbp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--apbp-border);
}

.apbp-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.apbp-filter label {
    font-size: 12px;
    font-weight: 500;
    color: var(--apbp-secondary);
}

.apbp-filter select,
.apbp-input,
.apbp-search-input {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--apbp-border);
    border-radius: var(--apbp-radius-sm);
    background: var(--apbp-white);
    min-width: 150px;
}

.apbp-filter select:focus,
.apbp-input:focus,
.apbp-search-input:focus {
    outline: none;
    border-color: var(--apbp-primary);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* ===== Search ===== */
.apbp-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.apbp-search-input {
    width: 100%;
    padding-right: 40px;
}

.apbp-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--apbp-secondary);
    color: var(--apbp-white);
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.apbp-search-input:not(:placeholder-shown) + .apbp-search-clear {
    opacity: 1;
}

/* ===== Products Grid ===== */
.apbp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.apbp-product-card {
    background: var(--apbp-white);
    border: 1px solid var(--apbp-border);
    border-radius: var(--apbp-radius);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.apbp-product-card:hover {
    border-color: var(--apbp-primary);
    box-shadow: 0 4px 12px var(--apbp-shadow);
    transform: translateY(-2px);
}

.apbp-product-card.apbp-incompatible {
    opacity: 0.5;
    cursor: not-allowed;
}

.apbp-product-image-wrapper {
    position: relative;
    padding: 16px;
    background: var(--apbp-light);
}

.apbp-product-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.apbp-product-sale {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    background: var(--apbp-danger);
    color: var(--apbp-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apbp-product-info {
    padding: 16px;
}

.apbp-product-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--apbp-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.apbp-product-title-full {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--apbp-dark);
}

.apbp-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--apbp-primary);
    margin-bottom: 12px;
}

.apbp-product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.apbp-product-attributes:empty {
    display: none;
}

.apbp-product-attribute {
    padding: 4px 8px;
    font-size: 11px;
    background: var(--apbp-light);
    border-radius: 4px;
    color: var(--apbp-secondary);
}

.apbp-product-select {
    width: 100%;
    padding: 12px;
    background: var(--apbp-primary);
    color: var(--apbp-white);
    border: none;
    border-radius: var(--apbp-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.apbp-product-select:hover {
    background: var(--apbp-primary-hover);
}

.apbp-product-card.apbp-incompatible .apbp-product-select {
    background: var(--apbp-secondary);
    cursor: not-allowed;
}

.apbp-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--apbp-secondary);
}

/* ===== Summary Panel ===== */
.apbp-summary-panel {
    background: var(--apbp-light);
    border: 1px solid var(--apbp-border);
    border-radius: var(--apbp-radius);
    padding: 20px;
    margin-top: 24px;
}

.apbp-summary-content {
    margin-bottom: 20px;
}

.apbp-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}

.apbp-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.apbp-summary-label {
    font-size: 12px;
    color: var(--apbp-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apbp-summary-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--apbp-dark);
}

.apbp-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

/* ===== AI Assistant ===== */
.apbp-ai-intro {
    margin-bottom: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: var(--apbp-radius);
    border-left: 4px solid #667eea;
}

.apbp-ai-intro p {
    margin: 0;
}

.apbp-ai-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apbp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apbp-form-group label {
    font-weight: 500;
    color: var(--apbp-dark);
}

.apbp-form-group input,
.apbp-form-group select {
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--apbp-border);
    border-radius: var(--apbp-radius-sm);
}

.apbp-preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.apbp-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.apbp-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.apbp-ai-results {
    padding: 20px;
    background: var(--apbp-light);
    border-radius: var(--apbp-radius);
}

.apbp-ai-results h4 {
    margin: 0 0 16px 0;
}

.apbp-ai-build {
    margin-bottom: 20px;
}

.apbp-ai-actions {
    display: flex;
    gap: 12px;
}

.apbp-ai-error {
    padding: 20px;
    text-align: center;
    background: #f8d7da;
    border-radius: var(--apbp-radius);
}

/* ===== Share Modal ===== */
.apbp-share-links {
    margin-top: 20px;
}

.apbp-input-group {
    display: flex;
    gap: 8px;
}

.apbp-input-group .apbp-input {
    flex: 1;
}

.apbp-share-buttons {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.apbp-share-twitter {
    background: #1da1f2;
    border-color: #1da1f2;
}

.apbp-share-twitter:hover {
    background: #0d8bd9;
    border-color: #0d8bd9;
}

.apbp-share-facebook {
    background: #4267b2;
    border-color: #4267b2;
}

.apbp-share-facebook:hover {
    background: #365899;
    border-color: #365899;
}

/* ===== Toast Notifications ===== */
.apbp-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apbp-toast {
    padding: 14px 20px;
    background: var(--apbp-dark);
    color: var(--apbp-white);
    border-radius: var(--apbp-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: apbp-toast-in 0.3s ease;
    max-width: 400px;
}

.apbp-toast.apbp-success {
    background: var(--apbp-success);
}

.apbp-toast.apbp-error {
    background: var(--apbp-danger);
}

.apbp-toast.apbp-warning {
    background: var(--apbp-warning);
    color: var(--apbp-dark);
}

@keyframes apbp-toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Loading Spinner ===== */
.apbp-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--apbp-border);
    border-top-color: var(--apbp-primary);
    border-radius: 50%;
    animation: apbp-spin 0.8s linear infinite;
}

@keyframes apbp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Dark Theme ===== */
.apbp-builder.apbp-theme-dark {
    background: #1a1a1a;
    color: #e0e0e0;
}

.apbp-theme-dark .apbp-builder-title,
.apbp-theme-dark .apbp-container-title,
.apbp-theme-dark .apbp-modal-title {
    color: #ffffff;
}

.apbp-theme-dark .apbp-container {
    background: #2a2a2a;
    border-color: #444;
}

.apbp-theme-dark .apbp-container:hover {
    border-color: var(--apbp-primary);
}

.apbp-theme-dark .apbp-container-icon {
    background: #333;
    color: var(--apbp-primary);
}

.apbp-theme-dark .apbp-selected-item {
    background: #333;
}

.apbp-theme-dark .apbp-summary-panel,
.apbp-theme-dark .apbp-product-card,
.apbp-theme-dark .apbp-modal-content {
    background: #2a2a2a;
    border-color: #444;
}

.apbp-theme-dark .apbp-product-image-wrapper,
.apbp-theme-dark .apbp-skeleton-card {
    background: #333;
}

.apbp-theme-dark .apbp-input,
.apbp-theme-dark .apbp-search-input,
.apbp-theme-dark .apbp-form-group input,
.apbp-theme-dark .apbp-form-group select,
.apbp-theme-dark .apbp-budget-input-wrapper input {
    background: #333;
    border-color: #444;
    color: #e0e0e0;
}

.apbp-theme-dark .apbp-budget-input-wrapper label {
    color: #e0e0e0;
}

.apbp-theme-dark .apbp-budget-warning {
    background: #5c4d00;
    border-color: #ffc107;
}

.apbp-theme-dark .apbp-budget-warning .apbp-warning-message {
    color: #ffecb5;
}

.apbp-theme-dark .apbp-selected-attributes span {
    background: #444;
    color: #e0e0e0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .apbp-builder {
        padding: 12px;
    }

    .apbp-builder-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .apbp-container-header {
        flex-wrap: wrap;
    }

    .apbp-container-actions {
        width: 100%;
        margin-top: 12px;
    }

    .apbp-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .apbp-filters {
        flex-direction: column;
    }

    .apbp-filter {
        width: 100%;
    }

    .apbp-filter select {
        width: 100%;
    }

    .apbp-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .apbp-summary-row {
        flex-direction: column;
        gap: 12px;
    }

    .apbp-summary-actions {
        flex-direction: column;
    }

    .apbp-button {
        width: 100%;
    }

    .apbp-preferences {
        grid-template-columns: 1fr 1fr;
    }

    /* Budget input responsive */
    .apbp-budget-input-wrapper {
        width: 100%;
    }

    .apbp-budget-input-wrapper input {
        width: 100%;
    }

    /* Budget warning responsive */
    .apbp-budget-warning {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .apbp-budget-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .apbp-budget-actions .apbp-button {
        width: 100%;
    }

    /* AI indicator responsive */
    .apbp-ai-indicator {
        width: 100%;
        justify-content: center;
    }

    /* Selected products responsive */
    .apbp-selected-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .apbp-selected-image {
        width: 50px;
        height: 50px;
    }

    .apbp-selected-attributes {
        flex-wrap: wrap;
    }

    .apbp-selected-attributes span {
        font-size: 10px !important;
        padding: 2px 4px !important;
    }
}

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

    .apbp-container-icon {
        width: 40px;
        height: 40px;
    }

    .apbp-container-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Budget warning on small mobile */
    .apbp-budget-warning {
        font-size: 12px;
    }

    .apbp-budget-actions .apbp-button {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* AI indicator on small mobile */
    .apbp-ai-indicator {
        font-size: 12px;
    }

    /* Selected products on small mobile */
    .apbp-selected-item {
        padding: 8px !important;
    }

    .apbp-selected-name {
        font-size: 13px !important;
    }

    .apbp-selected-price {
        font-size: 12px !important;
    }

    .apbp-selected-remove {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px;
    }
}
