.commercial-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 56px;
}

.commercial-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    color: #64748b;
}

.commercial-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.commercial-product-hero {
    display: grid;
    grid-template-columns: minmax(280px, 480px) 1fr;
    gap: 36px;
    align-items: stretch;
    margin-bottom: 42px;
}

.commercial-product-media {
    min-height: 360px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commercial-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 22px;
}

.commercial-product-placeholder {
    color: #64748b;
    text-align: center;
    padding: 28px;
}

.commercial-product-info {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 34px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.commercial-eyebrow {
    margin: 0 0 10px;
    color: #0f766e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: 13px;
}

.commercial-product-info h1,
.commercial-grid-header h1 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.commercial-lead {
    margin: 0 0 24px;
    color: #475569;
    font-size: 18px;
    line-height: 1.65;
}

.commercial-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.commercial-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.commercial-pill-accent {
    background: #ecfdf5;
    color: #047857;
}

.commercial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.commercial-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #ffffff;
}

.commercial-button-secondary {
    background: #ffffff;
    color: #0f766e;
}

.commercial-section {
    margin-top: 34px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
}

.commercial-section h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 28px;
}

.commercial-section h3 {
    margin: 24px 0 12px;
    color: #1e293b;
    font-size: 21px;
}

.commercial-description {
    color: #475569;
    line-height: 1.75;
    font-size: 17px;
}

.commercial-spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.commercial-spec-table th,
.commercial-spec-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e2e8f0;
}

.commercial-spec-table th {
    width: 38%;
    background: #f8fafc;
    color: #334155;
}

.commercial-empty {
    color: #64748b;
    line-height: 1.65;
}

.commercial-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.commercial-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.commercial-card-media {
    height: 220px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commercial-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.commercial-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.commercial-card-title {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.25;
}

.commercial-card-text {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.55;
    flex: 1;
}

.commercial-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: #0f766e;
    font-weight: 700;
}

@media (max-width: 980px) {
    .commercial-product-hero {
        grid-template-columns: 1fr;
    }

    .commercial-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .commercial-page {
        padding: 22px 14px 42px;
    }

    .commercial-product-grid {
        grid-template-columns: 1fr;
    }

    .commercial-product-info,
    .commercial-section {
        padding: 22px;
    }
}

/* Stage 25.3 — safe rotor placeholder */
.commercial-product-placeholder--image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 38%, rgba(15, 118, 110, 0.08), transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.commercial-product-placeholder--image img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 22px;
}

.commercial-card-media .commercial-product-placeholder--image {
    width: 100%;
    height: 100%;
    min-height: 220px;
}

.commercial-card-media .commercial-product-placeholder--image img {
    max-width: 280px;
}

.commercial-product-media .commercial-product-placeholder--image {
    width: 100%;
    min-height: 360px;
}

@media (max-width: 900px) {
    .commercial-product-media .commercial-product-placeholder--image {
        min-height: 260px;
    }

    .commercial-card-media .commercial-product-placeholder--image {
        min-height: 180px;
    }
}

/* Stage 27.6 — quote form validation UX */
.quote-input-error,
.quote-field-has-error input,
.quote-field-has-error textarea,
.quote-field-has-error select {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.quote-field-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.quote-form button[type="submit"],
.quote-form input[type="submit"] {
    cursor: pointer;
}

.quote-form button[type="submit"][disabled],
.quote-form input[type="submit"][disabled] {
    opacity: 1;
    cursor: pointer;
}

/* Stage 27.7 — quote form visible validation */
.quote-input-error,
.quote-field-has-error input,
.quote-field-has-error textarea,
.quote-field-has-error select {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.quote-field-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.quote-form button[type="submit"],
.quote-form input[type="submit"] {
    cursor: pointer;
}

.quote-form button[type="submit"][disabled],
.quote-form input[type="submit"][disabled] {
    opacity: 1;
    cursor: pointer;
}

/* Stage 27.8 — quote form exact validation */
.quote-input-error,
.quote-field-has-error input,
.quote-field-has-error textarea,
.quote-field-has-error select {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.quote-field-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.quote-form button[type="submit"],
.quote-form input[type="submit"] {
    cursor: pointer;
}

.quote-form button[type="submit"][disabled],
.quote-form input[type="submit"][disabled] {
    opacity: 1;
    cursor: pointer;
}

/* Stage 27.9 — quote form final UX */
.quote-input-error,
.quote-field-has-error input,
.quote-field-has-error textarea,
.quote-field-has-error select {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.quote-field-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.quote-form__status {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.quote-form__status--error {
    color: #dc2626;
}

.quote-form__status--success {
    color: #047857;
}

.quote-form button[type="submit"],
.quote-form input[type="submit"] {
    cursor: pointer;
}

.quote-form button[type="submit"][disabled],
.quote-form input[type="submit"][disabled] {
    opacity: 1;
    cursor: pointer;
}

.commercial-pill-stock {
    cursor: help;
}

.commercial-pill-link {
    text-decoration: none;
    cursor: pointer;
}

.commercial-pill-link:hover {
    filter: brightness(0.96);
}
