.page-header {
    padding: var(--page-padding-y) 0;
    text-align: center;
    border-bottom: 1px solid var(--surface-border);
    background: var(--bg-white);
    margin-bottom: 3rem;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 800;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 550px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Base Responsive Utilities */
.hide-mobile {
    display: block !important;
}

.hauteur-full {
    height: 100%;
}

.aspect-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: white;
}

.aspect-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .hide-desktop {
        display: block !important;
    }
}

.hauteur-full {
    height: 100%;
    display: flex;
    align-items: center;
}

.hide-desktop {
    display: none !important;
}

@media (max-width: 768px) {
    /*
     * Mobile nav: do NOT use display:none on .main-nav — it breaks transform transitions
     * and can glitch tap targets. Drawer visibility is handled by the fixed-nav block
     * (translateX + pointer-events) and .main-nav.active.
     */
    #mobileMenuToggle {
        display: flex !important;
    }
}

.blog-section {
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--surface-border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-card-img {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.05em;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta i {
    color: var(--secondary-color);
}

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: var(--font-display);
    font-weight: 700;
}

.blog-card-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-card-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 0.8rem;
}

.bg-light {
    background-color: #f8fafc;
}

/* ================================================================
   QUOTE LIST PAGE
   ================================================================ */
.quote-page-hero {
    background: #f8fafc;
    padding: 1.75rem 0 0;
    position: relative;
    border-bottom: none;
}

.quote-page-hero::before,
.quote-page-hero::after {
    display: none;
}

.quote-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: none;
    width: 100%;
    padding: 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.quote-page-body img {
    max-width: 100%;
}

.quote-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--brand-rgb), 0.08);
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(var(--brand-rgb), 0.14);
}

.quote-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--text-dark);
    letter-spacing: -0.025em;
    margin: 0 0 0.4rem;
    line-height: 1.15;
    text-transform: none;
}

.quote-hero-subtitle {
    color: #64748b;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 34rem;
    margin: 0;
}

.quote-page-body {
    padding: 1.5rem 0 4.5rem;
    background: #f8fafc;
    min-height: 50vh;
}

.quote-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
}

.quote-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.quote-empty-state {
    text-align: center;
    padding: 4rem 1.75rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.quote-empty-icon {
    width: 88px;
    height: 88px;
    background: rgba(var(--brand-rgb), 0.06);
    border: 1px solid rgba(var(--brand-rgb), 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.quote-empty-state h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.375rem;
    letter-spacing: -0.02em;
}

.quote-empty-state p {
    color: #64748b;
    max-width: 420px;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
    font-size: 0.9375rem;
}

.quote-browse-btn {
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    gap: 8px;
    border-radius: 12px !important;
}

.quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 1.75rem;
    align-items: start;
}

.quote-items-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.25rem 1.35rem 1.35rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    min-width: 0;
}

.quote-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.125rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

.quote-items-header h3 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.quote-items-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    background: rgba(var(--brand-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0;
}

.quote-clear-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.quote-clear-btn:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.quote-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quote-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    min-width: 0;
}

.quote-item-card:hover {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.quote-item-image {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.quote-item-image img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    padding: 6px;
    display: block;
}

.quote-item-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.25rem;
}

.quote-item-details {
    flex: 1;
    min-width: 0;
    padding-right: 1.5rem;
}

.quote-item-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
    transition: color 0.2s;
}

.quote-item-name:hover {
    color: var(--primary-color);
}

.quote-item-variant {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.quote-item-qty {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.35rem;
}

.quote-item-qty label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quote-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.quote-qty-control .qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: background 0.2s, color 0.2s;
}

.quote-qty-control .qty-btn:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.quote-qty-control input {
    width: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-dark);
}

.quote-item-remove {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    cursor: pointer;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 8px;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-item-remove:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.quote-continue {
    margin-top: 1.25rem;
}

.quote-continue a {
    color: #475569;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, gap 0.2s;
}

.quote-continue a:hover {
    color: var(--primary-color);
    gap: 10px;
}

.quote-form-section {
    position: sticky;
    top: calc(var(--pars-header, 88px) + 1rem);
}

.quote-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.quote-form-header {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    color: var(--text-dark);
    border-bottom: 1px solid #f1f5f9;
}

.quote-form-icon {
    width: 42px;
    height: 42px;
    background: rgba(var(--brand-rgb), 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(var(--brand-rgb), 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.quote-form-header h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 0.2rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.quote-form-header p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
    font-weight: 400;
}

.quote-form-fields {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.qf-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.qf-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
}

.qf-group label i {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.qf-group label .required {
    color: var(--primary-color);
}

.qf-group input,
.qf-group select,
.qf-group textarea {
    width: 100%;
    padding: 0.7rem 0.875rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.qf-group input:focus,
.qf-group select:focus,
.qf-group textarea:focus {
    border-color: rgba(var(--brand-rgb), 0.45);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
    background: #fff;
}

.qf-group textarea {
    resize: vertical;
    min-height: 72px;
}

.qf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.quote-submit-btn {
    width: 100%;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--font-display);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 0.25rem;
}

.quote-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.22);
}

.quote-form-trust {
    padding: 0.875rem 1.35rem;
    font-size: 0.6875rem;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.5;
    background: #fafbfc;
}

.quote-success {
    padding: 4rem 1.25rem 5rem;
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}

.quote-success__icon {
    width: 88px;
    height: 88px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.14);
}

.quote-success__title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.025em;
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.quote-success__lead {
    color: #64748b;
    margin: 0 0 1.75rem;
    line-height: 1.65;
    font-size: 0.9375rem;
}

.quote-success__lead strong {
    color: var(--primary-color);
    font-weight: 600;
}

.quote-success__next {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    text-align: left;
}

.quote-success__next h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.quote-success__steps {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.quote-success__step {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.quote-success__step-num {
    width: 26px;
    height: 26px;
    background: rgba(var(--brand-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.quote-success__step p {
    color: #475569;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.quote-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ================================================================
   QUOTE ROBOT WIZARD (empty list)
   ================================================================ */
.quote-page-hero--robot {
    padding-bottom: 0;
}

.quote-page-hero--robot .quote-hero-content {
    padding: 1rem 0 0.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.quote-page-hero--robot .quote-hero-label {
    margin-bottom: 0.4rem;
}

.quote-page-hero--robot .quote-hero-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 0.25rem;
}

.quote-page-hero--robot .quote-hero-subtitle {
    font-size: 0.875rem;
    max-width: 36rem;
}

.quote-robot {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    max-width: 52rem;
    margin: 0 auto;
}

.quote-robot__intro {
    display: flex;
    gap: 1.125rem;
    align-items: center;
    padding: 1.35rem 1.5rem 1.4rem;
    background:
        radial-gradient(ellipse 80% 120% at 100% 0%, rgba(219, 11, 18, 0.22), transparent 55%),
        linear-gradient(135deg, #0b1220 0%, #152238 48%, #1a2740 100%);
    color: #fff;
}

.quote-robot__avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ef1a22 0%, #b00910 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(219, 11, 18, 0.4);
}

.quote-robot__intro-text {
    min-width: 0;
    flex: 1;
}

.quote-robot__eyebrow {
    margin: 0 0 0.4rem;
    font-family: var(--font-body, "Poppins", system-ui, sans-serif);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.page-inner .quote-robot__intro .quote-robot__title,
.page-inner-shell .quote-robot__intro .quote-robot__title,
.quote-robot__intro .quote-robot__title {
    margin: 0 0 0.45rem;
    font-family: var(--font-display, "Poppins", system-ui, sans-serif);
    font-size: clamp(1.125rem, 2.6vw, 1.375rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
    color: #ffffff;
}

.page-inner .quote-robot__intro .quote-robot__lead,
.page-inner-shell .quote-robot__intro .quote-robot__lead,
.quote-robot__intro .quote-robot__lead {
    margin: 0;
    font-family: var(--font-body, "Poppins", system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 38rem;
}

.quote-robot__progress {
    padding: 1rem 1.5rem 0;
}

.quote-robot__progress-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.quote-robot__progress-fill {
    display: block;
    height: 100%;
    background: var(--primary-color, #db0b12);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.quote-robot__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.quote-robot__step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.quote-robot__step-num {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.quote-robot__step.is-active,
.quote-robot__step.is-done {
    color: #0f172a;
}

.quote-robot__step.is-active .quote-robot__step-num,
.quote-robot__step.is-done .quote-robot__step-num {
    background: var(--primary-color, #db0b12);
    color: #fff;
}

.quote-robot__panels {
    padding: 1.25rem 1.5rem 1.5rem;
}

.quote-robot__panel[hidden] {
    display: none !important;
}

.page-inner .quote-robot__question,
.quote-robot__question {
    margin: 0 0 1rem;
    font-family: var(--font-display, "Poppins", system-ui, sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0f172a;
}

.quote-robot__hint {
    margin: -0.5rem 0 1rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.quote-robot__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}

.quote-robot__choice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    padding: 0.875rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font: inherit;
    color: inherit;
}

.quote-robot__choice:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.quote-robot__choice.is-selected {
    border-color: rgba(var(--brand-rgb, 219, 11, 18), 0.45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 219, 11, 18), 0.1);
}

.quote-robot__choice-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #db0b12);
    flex-shrink: 0;
}

.quote-robot__choice.is-selected .quote-robot__choice-icon {
    background: rgba(var(--brand-rgb, 219, 11, 18), 0.08);
    border-color: rgba(var(--brand-rgb, 219, 11, 18), 0.2);
}

.quote-robot__choice-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.quote-robot__choice-hint {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
}

.quote-robot__alt {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quote-robot__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
}

.quote-robot__link:hover {
    color: var(--primary-color, #db0b12);
}

.quote-robot__fieldset {
    border: 0;
    margin: 0 0 1rem;
    padding: 0;
}

.quote-robot__fieldset legend {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.quote-robot__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.quote-robot__chip {
    min-height: 36px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.quote-robot__chip:hover {
    border-color: #cbd5e1;
}

.quote-robot__chip.is-selected {
    background: var(--primary-color, #db0b12);
    border-color: var(--primary-color, #db0b12);
    color: #fff;
}

.quote-robot__field {
    margin-bottom: 0.875rem;
}

.quote-robot__field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.quote-robot__field input,
.quote-robot__field select,
.quote-robot__field textarea {
    width: 100%;
    padding: 0.7rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font: inherit;
    font-size: 0.875rem;
    color: #0f172a;
    box-sizing: border-box;
}

.quote-robot__field input:focus,
.quote-robot__field select:focus,
.quote-robot__field textarea:focus {
    outline: none;
    border-color: rgba(var(--brand-rgb, 219, 11, 18), 0.45);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 219, 11, 18), 0.08);
    background: #fff;
}

.quote-robot__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.quote-robot__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid #f1f5f9;
}

.quote-robot__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.65rem 1.15rem;
    border-radius: 12px;
    border: none;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.quote-robot__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.quote-robot__btn--next,
.quote-robot__btn--submit {
    background: var(--primary-color, #db0b12);
    color: #fff;
    margin-left: auto;
}

.quote-robot__btn--next:hover:not(:disabled),
.quote-robot__btn--submit:hover:not(:disabled) {
    filter: brightness(0.95);
}

.quote-robot__btn--back {
    background: #f1f5f9;
    color: #475569;
}

.quote-robot__btn--back:hover {
    background: #e2e8f0;
}

.quote-robot__btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.quote-robot__trust {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
}

.quote-robot__trust i {
    color: #94a3b8;
    margin-top: 0.1rem;
}

.quote-robot__panel--success {
    text-align: center;
    padding: 1.5rem 0.5rem 0.5rem;
}

.quote-robot__success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.quote-robot__success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.quote-robot__success-actions .quote-robot__btn--next {
    margin-left: 0;
}

.quote-page-body:has(.quote-robot) {
    background: #f8fafc;
}

@media (max-width: 640px) {
    .quote-robot {
        border-radius: 16px;
        margin: 0;
        max-width: none;
    }

    .quote-robot__intro {
        padding: 1.15rem 1.1rem 1.2rem;
        align-items: flex-start;
        gap: 0.875rem;
    }

    .quote-robot__avatar {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 1.15rem;
    }

    .page-inner .quote-robot__intro .quote-robot__title,
    .page-inner-shell .quote-robot__intro .quote-robot__title,
    .quote-robot__intro .quote-robot__title {
        font-size: 1.0625rem;
        color: #ffffff;
    }

    .page-inner .quote-robot__intro .quote-robot__lead,
    .quote-robot__intro .quote-robot__lead {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .quote-robot__eyebrow {
        font-size: 0.625rem;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.72);
    }

    .quote-robot__panels,
    .quote-robot__progress {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .quote-robot__choices,
    .quote-robot__form-grid {
        grid-template-columns: 1fr;
    }

    .quote-robot__choice {
        padding: 0.8rem 0.85rem;
    }

    .quote-robot__steps {
        font-size: 0.6875rem;
    }

    .quote-robot__step span:not(.quote-robot__step-num) {
        display: none;
    }

    .quote-robot__nav {
        flex-wrap: wrap;
        gap: 0.625rem;
    }

    .quote-robot__btn--next,
    .quote-robot__btn--submit {
        width: 100%;
        margin-left: 0;
    }

    .quote-robot__btn--back {
        width: 100%;
        order: 2;
    }
}

@media (max-width: 768px) {
    .quote-page-hero--robot .quote-hero-content {
        padding: 0.75rem 0 0.15rem;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .quote-page-hero--robot .quote-hero-title {
        font-size: 1.25rem;
    }

    .quote-page-hero--robot .quote-hero-subtitle {
        font-size: 0.8125rem;
    }
}

@media (max-width: 1024px) {
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-form-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .quote-page-hero {
        padding: 1rem 0 0;
    }

    .quote-hero-label {
        margin-bottom: 0.5rem;
    }

    .quote-hero-title {
        font-size: 1.375rem;
        margin-bottom: 0.35rem;
    }

    .quote-hero-subtitle {
        font-size: 0.8125rem;
    }

    .quote-hero-content {
        text-align: left;
        padding: 1.15rem 1.1rem 1.1rem;
        border-radius: 14px;
    }

    .quote-page-body {
        padding: 1rem 0 calc(3.5rem + env(safe-area-inset-bottom, 0px));
    }

    .quote-items-section {
        padding: 1rem;
        border-radius: 14px;
    }

    .quote-item-card {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .quote-item-image {
        width: 64px;
        height: 64px;
        max-width: 64px;
        max-height: 64px;
        flex: 0 0 64px;
    }

    .quote-item-name {
        font-size: 0.875rem;
    }

    .quote-item-details {
        padding-right: 1.25rem;
    }

    .qf-row {
        grid-template-columns: 1fr;
    }

    .quote-form-header,
    .quote-form-fields {
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }
}

@media (max-width: 480px) {
    .quote-items-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }

    .quote-success__actions {
        flex-direction: column;
    }

    .quote-success__actions .btn {
        width: 100%;
    }
}

/* ================================================================
   CATEGORY DETAIL PAGE
   ================================================================ */
.cat-hero {
    position: relative;
    padding: 3.5rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 60%, #8a070c 100%);
    overflow: hidden;
}

.cat-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(237,30,38,0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cat-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cat-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.cat-breadcrumb a:hover {
    color: rgba(255,255,255,0.85);
}

.cat-breadcrumb span {
    color: rgba(255,255,255,0.25);
    font-size: 0.6rem;
}

.cat-breadcrumb .current {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
}

.cat-hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.cat-hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 550px;
    margin-bottom: 1.5rem;
}

.cat-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.cat-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cat-stat i {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
}

.cat-stat strong {
    color: #fff;
}

.cat-body {
    padding: 2.5rem 0 5rem;
    background: #f8fafc;
    min-height: 50vh;
}

.cat-search-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #334155;
}

.cat-search-info a {
    color: #ef4444;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cat-result-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.02em;
}

.cat-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-sort-form label {
    font-size: 0.8rem;
    color: #94a3b8;
}

.cat-sort-form select {
    padding: 8px 32px 8px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-weight: 700;
    font-size: 0.82rem;
    color: #334155;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px;
    outline: none;
    transition: all 0.2s;
}

.cat-sort-form select:focus {
    border-color: var(--primary-color);
}

.cat-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e8ecf2;
}

.cat-empty-icon {
    width: 90px;
    height: 90px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #94a3b8;
}

.cat-empty h3 {
    font-family: var(--font-display);
    font-weight: 800;
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.cat-empty p {
    color: #64748b;
    max-width: 420px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cat-empty-btn {
    padding: 14px 32px !important;
    font-weight: 800 !important;
    gap: 8px;
}

/* Product Grid */
.cat-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Product Card */
.cat-pcard {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecf2;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cat-pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -15px rgba(var(--brand-rgb), 0.12);
    border-color: rgba(var(--brand-rgb), 0.15);
}

.cat-pcard-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #fff;
    overflow: hidden;
    display: block;
}

.cat-pcard-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.cat-pcard:hover .cat-pcard-image img {
    transform: scale(1.06);
}

.cat-pcard-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 2.5rem;
    background: #f8fafc;
}

.cat-pcard-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--brand-rgb), 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.cat-pcard:hover .cat-pcard-overlay {
    opacity: 1;
}

.cat-pcard-overlay span {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.cat-pcard-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-pcard-cat {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    opacity: 0.7;
}

.cat-pcard-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.cat-pcard-title:hover {
    color: var(--primary-color);
}

.cat-pcard-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.cat-pcard-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
}

.cat-pcard-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.25);
}

.cat-pcard-quote {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.25s;
    flex-shrink: 0;
}

.cat-pcard-quote:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: var(--color-brand-light, rgba(219, 11, 18, 0.08));
}

/* Pagination */
.cat-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.5rem;
}

.cat-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cat-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    box-sizing: border-box;
    transition: all 0.2s;
}

.cat-page-num:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cat-page-num.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.25);
}

.cat-page-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.2s;
}

.cat-page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .cat-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cat-hero {
        padding: 2.5rem 0 2rem;
    }

    .cat-hero-stats {
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .cat-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .cat-toolbar-right {
        width: 100%;
    }

    .cat-sort-form {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.75rem;
    }

    .cat-sort-form select {
        width: 100%;
    }

    .cat-hero-title {
        font-size: 1.5rem;
    }

    .cat-hero-desc {
        font-size: 0.9rem;
    }

    .cat-stat {
        padding: 6px 12px;
        font-size: 0.72rem;
    }

    .cat-pcard-body {
        padding: 1rem 1.25rem 1.25rem;
    }

    .cat-pcard-title {
        font-size: 0.85rem;
    }

    .cat-pagination {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .cat-page-link {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .cat-product-grid {
        grid-template-columns: 1fr;
    }

    .cat-breadcrumb {
        font-size: 0.7rem;
        gap: 6px;
    }

    .cat-hero-stats {
        flex-direction: column;
    }
}

/* Product detail — related equipment */
.related-equipment-section {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid #e8ecf2;
}

.related-equipment-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.related-equipment-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.related-equipment-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.related-equipment-grid {
    margin-top: 0;
}

.related-equipment-grid .cat-pcard {
    height: 100%;
}

@media (max-width: 992px) {
    .related-equipment-section {
        margin-top: 3.5rem;
        padding-top: 2.5rem;
    }

    .related-equipment-header {
        margin-bottom: 2rem;
    }
}
