.detail-gallery-placeholder,
.detail-note-card,
.combo-config-note,
.combo-component-card,
.combo-component-list,
.combo-component-meta,
.combo-selection-list,
.combo-selection-empty,
.combo-selection-item,
.combo-selection-item__media,
.combo-selection-item__summary,
.combo-selection-item__model,
.combo-variant-row,
.combo-variant-row__content,
.combo-variant-row__stock,
.combo-variant-row__actions {
    display: block;
}

.detail-gallery-placeholder {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    text-align: center;
}

.detail-gallery-placeholder.is-hidden {
    display: none;
}

.gallery-thumbnails.is-hidden {
    display: none;
}

.detail-note-card {
    margin-bottom: 1rem;
}

.detail-note-card p {
    margin: 0;
}

.product-detail-hero-img.has-dynamic-bg,
.thumb-item.has-dynamic-bg,
.combo-selection-item__media.has-dynamic-bg {
    background-image: var(--dynamic-bg-image);
}

.product-detail-hero-img--empty {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%);
}

.add-to-cart.is-added,
.add-combo-to-cart.is-added {
    background: #10b981 !important;
    color: var(--button-text-color) !important;
}

.product-detail-info .stock-indicator,
.product-info-side .stock-indicator {
    margin-bottom: 1rem;
}

.product-description-block,
.price-wrapper-block,
.combo-component-wrapper,
.combo-config-note {
    margin-bottom: 1.5rem;
}

.combo-component-card {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: var(--surface-color);
}

.combo-component-list {
    display: grid;
    gap: 1rem;
}

.combo-component-meta {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.combo-component-helper {
    font-size: 0.95rem;
    color: #475569;
}

.combo-component-helper + .combo-component-helper {
    margin-top: 0.35rem;
}

.combo-component-selection-status {
    font-size: 0.85rem;
    color: var(--status-warning-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.combo-component-selection-status.is-complete {
    color: var(--success-color);
}

.combo-selection-list {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.combo-selection-empty {
    font-size: 0.85rem;
    color: #64748b;
    padding: 0.75rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.combo-selection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: var(--surface-color);
}

.combo-selection-item__summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.combo-selection-item__media {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--surface-warm);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex-shrink: 0;
}

.combo-selection-item__model {
    font-size: 0.8rem;
    color: #64748b;
}

.combo-variant-grid {
    display: grid;
    gap: 0.75rem;
}

.combo-variant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: var(--surface-warm);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.combo-variant-row.is-active {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, var(--surface-color));
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary-color) 24%, transparent);
}

.combo-variant-row__content {
    flex: 1;
}

.combo-variant-row__content strong {
    display: block;
    color: #0f172a;
}

.combo-variant-row__stock {
    font-size: 0.85rem;
    color: #64748b;
}

.combo-variant-selected-count {
    font-size: 0.8rem;
    color: var(--success-color);
    margin-top: 0.3rem;
}

.combo-variant-row__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.combo-variant-preview-btn,
.combo-variant-add-btn,
.combo-selection-remove-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
}

.combo-config-note {
    padding: 1rem 1.25rem;
    background: color-mix(in srgb, var(--status-warning-color) 12%, var(--surface-color));
    border: 1px solid var(--status-warning-color);
    border-radius: 12px;
}

.combo-config-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.combo-config-note span {
    color: var(--status-warning-color);
}

@media (max-width: 768px) {
    .combo-selection-item,
    .combo-variant-row {
        flex-direction: column;
        align-items: stretch;
    }

    .combo-variant-row__actions {
        align-items: stretch;
    }

    .combo-variant-preview-btn,
    .combo-variant-add-btn,
    .combo-selection-remove-btn {
        width: 100%;
    }
}
