/* ==========================================================================
   MÀN NHỰA PVC & EUROMAX - PRICING TABLE STYLES (PROFESSIONAL EDITION)
   ========================================================================== */

:root {
    --em-primary: #0054a5;
    --em-primary-dark: #003e7d;
    --em-primary-light: #eff6ff;
    --em-accent: #d32f2f;
    --em-accent-hover: #b71c1c;
    --em-success: #15803d;
    --em-zalo: #0068ff;
    --em-bg-light: #f8fafc;
    --em-card-bg: #ffffff;
    --em-border: #e2e8f0;
    --em-border-dark: #cbd5e1;
    --em-text: #1e293b;
    --em-text-muted: #64748b;
    --em-radius-sm: 6px;
    --em-radius-md: 10px;
    --em-radius-lg: 14px;
    --em-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --em-shadow-md: 0 4px 14px rgba(0,0,0,0.06);
    --em-shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
}

.mannhuapvc-page-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.mannhuapvc-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.mannhuapvc-pricing-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--em-text);
    background-color: var(--em-bg-light);
    padding: 24px 0 40px 0;
    line-height: 1.55;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    box-sizing: border-box;
}

.mannhuapvc-pricing-wrapper *,
.mannhuapvc-pricing-wrapper *::before,
.mannhuapvc-pricing-wrapper *::after {
    box-sizing: border-box;
}

/* ==================== PAGE TITLE & NOTICE ==================== */
.euromax-pricing-title-section {
    background: var(--em-card-bg);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-md);
    box-shadow: var(--em-shadow-sm);
    padding: 24px 28px;
    margin-bottom: 24px;
}

.euromax-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.euromax-main-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--em-primary);
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.euromax-main-subtitle {
    margin: 0;
    font-size: 14.5px;
    color: var(--em-text-muted);
}

.euromax-quick-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.euromax-notice-strip {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid var(--em-success);
    border-radius: var(--em-radius-sm);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #166534;
    font-size: 14px;
    line-height: 1.5;
}

.euromax-notice-tag {
    background: var(--em-success);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.euromax-notice-text {
    flex: 1;
}

/* ==================== BUTTONS ==================== */
.euromax-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--em-radius-sm);
    cursor: pointer;
    text-decoration: none !important;
    border: none;
    transition: all 0.2s ease;
    line-height: 1.3;
}

.euromax-btn-primary {
    background: var(--em-primary);
    color: #ffffff !important;
}
.euromax-btn-primary:hover {
    background: var(--em-primary-dark);
    box-shadow: var(--em-shadow-sm);
}

.euromax-btn-print {
    background: #ffffff;
    color: var(--em-text) !important;
    border: 1px solid var(--em-border-dark);
}
.euromax-btn-print:hover {
    background: #f1f5f9;
}

.euromax-btn-call {
    background: var(--em-accent);
    color: #ffffff !important;
}
.euromax-btn-call:hover {
    background: var(--em-accent-hover);
}

.euromax-btn-zalo {
    background: var(--em-zalo);
    color: #ffffff !important;
}
.euromax-btn-zalo:hover {
    background: #0052cc;
}

.euromax-btn-outline {
    background: transparent;
    color: var(--em-text);
    border: 1px solid var(--em-border-dark);
}
.euromax-btn-outline:hover {
    background: #f1f5f9;
}

.euromax-btn-sm {
    font-size: 13px;
    padding: 6px 14px;
}

/* ==================== TABS ==================== */
.euromax-nav-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
    scrollbar-width: thin;
    flex-wrap: nowrap;
}

.euromax-tab-btn {
    background: var(--em-card-bg);
    color: #475569;
    border: 1px solid var(--em-border);
    padding: 11px 20px;
    border-radius: var(--em-radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.euromax-tab-btn:hover {
    border-color: var(--em-primary);
    color: var(--em-primary);
}

.euromax-tab-btn.active {
    background: var(--em-primary);
    color: #ffffff;
    border-color: var(--em-primary);
    box-shadow: var(--em-shadow-sm);
}

.euromax-tab-btn.tab-highlight {
    border-color: #f59e0b;
    color: #b45309;
    background: #fffbeb;
}
.euromax-tab-btn.tab-highlight.active {
    background: #d97706;
    color: #ffffff;
    border-color: #d97706;
}

/* ==================== SECTIONS ==================== */
.euromax-pricing-section {
    background: var(--em-card-bg);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-md);
    box-shadow: var(--em-shadow-sm);
    padding: 26px 28px;
    margin-bottom: 24px;
}

.euromax-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 16px;
}

.euromax-sec-num {
    background: var(--em-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 14.5px;
    padding: 4px 10px;
    border-radius: var(--em-radius-sm);
    line-height: 1.2;
}

.euromax-sec-title {
    margin: 0 0 5px 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--em-primary-dark);
}

.euromax-sec-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--em-text-muted);
}

/* ==================== TABLES ==================== */
.euromax-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.euromax-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    border: 1px solid var(--em-border);
}

.euromax-table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 700;
    padding: 14px 18px;
    border: 1px solid var(--em-border);
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.euromax-table td {
    padding: 14px 18px;
    border: 1px solid var(--em-border);
    vertical-align: middle;
}

.euromax-table-striped tbody tr:nth-child(even) {
    background: #fbfcfe;
}

.euromax-table-striped tbody tr:hover {
    background: #f1f7ff;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.font-semibold { font-weight: 600; }

.euromax-price {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--em-accent);
}

.euromax-unit {
    font-size: 12.5px;
    color: var(--em-text-muted);
    font-weight: normal;
}

.euromax-item-note {
    display: block;
    font-size: 12.5px;
    color: var(--em-text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* ==================== BADGES ==================== */
.euromax-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.badge-std {
    background: #e0f2fe;
    color: #0369a1;
}
.badge-ribbed {
    background: #fef3c7;
    color: #b45309;
}
.badge-polar {
    background: #ede9fe;
    color: #6d28d9;
}

/* ==================== WIDE ROLLS CARDS ==================== */
.euromax-cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.euromax-roll-card {
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-sm);
    padding: 22px;
    background: #ffffff;
    box-shadow: var(--em-shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.euromax-roll-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--em-shadow-md);
    border-color: var(--em-primary);
}

.roll-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--em-primary-light);
    color: var(--em-primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
}

.roll-title {
    margin: 0 0 14px 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--em-primary-dark);
    padding-right: 70px;
}

.roll-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    font-size: 14px;
    line-height: 1.9;
    color: #475569;
}

.roll-price-box {
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--em-border);
}

.roll-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--em-accent);
}

.roll-unit {
    font-size: 13px;
    color: var(--em-text-muted);
}

/* ==================== INSECT LAMPS GRID ==================== */
.euromax-lamps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.euromax-lamp-card {
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-sm);
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--em-shadow-sm);
    transition: all 0.25s ease;
}

.euromax-lamp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--em-shadow-lg);
    border-color: var(--em-primary);
}

.lamp-card-img-wrap {
    position: relative;
    background: #f8fafc;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--em-border);
}

.lamp-card-img {
    max-height: 170px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.euromax-lamp-card:hover .lamp-card-img {
    transform: scale(1.05);
}

.lamp-code-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 84, 165, 0.92);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.lamp-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.lamp-card-title {
    margin: 0 0 4px 0;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--em-primary-dark);
}

.lamp-type-tag {
    font-size: 12.5px;
    font-weight: 600;
    color: #b45309;
    margin-bottom: 12px;
}

.lamp-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    font-size: 13px;
    line-height: 1.75;
    color: #475569;
}

.spec-highlight {
    color: var(--em-primary);
    font-weight: 700;
}

.lamp-price-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--em-border);
}

.price-num {
    font-size: 19px;
    font-weight: 800;
    color: var(--em-accent);
    display: block;
    line-height: 1.2;
}

.price-currency {
    font-size: 11.5px;
    color: var(--em-text-muted);
}

/* ==================== CALCULATOR STYLES ==================== */
.euromax-calc-card {
    background: #f8fafc;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-md);
    padding: 26px 28px;
}

.euromax-calc-header {
    margin-bottom: 20px;
}

.euromax-calc-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--em-primary-dark);
}

.euromax-calc-desc {
    margin: 0;
    font-size: 14px;
    color: var(--em-text-muted);
}

.euromax-calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.euromax-col-full {
    grid-column: span 2;
}

.euromax-form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #334155;
}

.euromax-form-group .required {
    color: var(--em-accent);
}

.euromax-form-group input,
.euromax-form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--em-border-dark);
    border-radius: var(--em-radius-sm);
    font-size: 14.5px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.euromax-form-group input:focus,
.euromax-form-group select:focus {
    border-color: var(--em-primary);
    box-shadow: 0 0 0 3px rgba(0, 84, 165, 0.12);
    outline: none;
}

.euromax-input-hint {
    display: block;
    font-size: 12px;
    color: var(--em-text-muted);
    margin-top: 4px;
}

.euromax-calc-action {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.euromax-calc-result {
    background: #ffffff;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-sm);
    padding: 22px;
    box-shadow: var(--em-shadow-sm);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.euromax-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--em-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.euromax-result-header h4 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--em-primary);
}

.euromax-badge-live {
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
}

.euromax-result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    margin-bottom: 18px;
}

.euromax-result-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.res-bold {
    font-weight: 700;
    text-align: right;
}

.res-highlight {
    font-weight: 700;
    color: var(--em-primary);
    text-align: right;
}

.res-total-row {
    background: #f0f7ff;
    font-size: 15.5px;
}

.res-total-price {
    font-size: 21px;
    color: var(--em-accent);
    text-align: right;
}

.euromax-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ==================== POLICY CARD ==================== */
.euromax-policy-card {
    background: #ffffff;
    border: 1px solid var(--em-border);
    border-left: 5px solid var(--em-primary);
    border-radius: var(--em-radius-md);
    padding: 24px 28px;
    box-shadow: var(--em-shadow-sm);
}

.policy-card-title {
    margin: 0 0 14px 0;
    font-size: 17.5px;
    font-weight: 800;
    color: var(--em-primary-dark);
}

.policy-card-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 20px 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: #334155;
}

.policy-contact-box {
    border-top: 1px dashed var(--em-border);
    padding-top: 16px;
    font-size: 14.5px;
}

.policy-contact-label {
    margin: 0 0 6px 0;
    color: var(--em-text-muted);
}

.policy-hotline-row {
    font-size: 16.5px;
    margin: 6px 0 16px 0;
}

.policy-tel {
    color: var(--em-accent);
    font-weight: 800;
    text-decoration: none !important;
}
.policy-tel:hover {
    text-decoration: underline !important;
}

.policy-btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
    }
    .no-print,
    .euromax-nav-tabs,
    .euromax-quick-actions,
    .euromax-cta-buttons,
    .policy-btn-row,
    #btn-run-calc,
    #btn-reset-calc {
        display: none !important;
    }
    .euromax-pricing-section {
        display: block !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
        margin-bottom: 20px !important;
        padding: 14px !important;
    }
    .euromax-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    .euromax-price,
    .price-num {
        color: #000 !important;
        font-weight: bold !important;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .mannhuapvc-container {
        padding: 0 12px;
    }
    .euromax-pricing-section {
        padding: 20px 16px;
    }
    .euromax-title-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .euromax-main-title {
        font-size: 19px;
    }
    .euromax-calc-grid {
        grid-template-columns: 1fr;
    }
    .euromax-col-full {
        grid-column: span 1;
    }
    .euromax-cta-buttons,
    .policy-btn-row {
        flex-direction: column;
    }
    .euromax-btn {
        width: 100%;
    }
}
