/**
 * Compare Pricing by Style — Page-Specific Styles
 * Extends manual-pricing.css (shared method card/table styles)
 * Only adds: product info banner, style input tweaks, item type badge
 */

/* =====================================================
   PAGE HEADER VISUAL ANCHOR
   ===================================================== */
.page-title {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    padding: 0 0.25rem 1.5rem;
    color: var(--text-secondary);
}

/* =====================================================
   METHOD CARD HEADER TINTS
   ===================================================== */
#dtgCard    .method-card-header { background: linear-gradient(180deg, #eff6ff 0%, #f6f8fa 100%); }
#dtfCard    .method-card-header { background: linear-gradient(180deg, #f5f3ff 0%, #f6f8fa 100%); }
#embCard    .method-card-header { background: linear-gradient(180deg, #f0fdf4 0%, #f6f8fa 100%); }
#capEmbCard .method-card-header { background: linear-gradient(180deg, #fffbeb 0%, #f6f8fa 100%); }
#spCard     .method-card-header { background: linear-gradient(180deg, #fef2f2 0%, #f6f8fa 100%); }

/* =====================================================
   PRODUCT INFO BANNER
   ===================================================== */
.product-info-banner {
    background: linear-gradient(135deg, #f8faff 0%, #f0f7f0 100%);
    border: 1px solid #d1e9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(76, 179, 84, 0.08);
    animation: fadeIn 0.3s ease;
}

.product-info-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.product-info-details {
    flex: 1;
    min-width: 0;
}

.product-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.1875rem 0.625rem;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.item-type-badge.garment {
    background: #dbeafe;
    color: #1e40af;
}

.item-type-badge.cap {
    background: #fef3c7;
    color: #92400e;
}

.product-info-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.product-meta-item {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.product-meta-item i {
    font-size: 0.6875rem;
    opacity: 0.6;
}

/* =====================================================
   STYLE INPUT TWEAKS
   ===================================================== */
#styleInput {
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

#styleInput::placeholder {
    text-transform: none;
    letter-spacing: normal;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .product-info-banner {
        padding: 1rem;
    }

    .product-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .product-info-meta {
        flex-direction: column;
        gap: 0.375rem;
    }
}

/* =====================================================
   SCREEN PRINT — EXTRA CONTROLS ROW
   ===================================================== */
.sp-extra-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.25rem;
}

.sp-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.sp-toggle-label input[type="checkbox"] {
    cursor: pointer;
    accent-color: var(--primary-color);
}

.setup-fee-note {
    font-size: 0.8125rem;
    color: #92400e;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* =====================================================
   PRINT
   ===================================================== */
@media print {
    .product-info-banner {
        box-shadow: none;
        border: 1px solid var(--border-color);
        border-left: 4px solid var(--primary-color);
    }
}
