/* ===================================================================
   TPG Contact & Quotation — Frontend Styles v1.4.0
   Type selector, BPS colour swatches, intl phone, visual polish.
   =================================================================== */

/* ---------- Reset & Base ---------- */
.tpg-cq-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #1e293b;
}

/* ---------- Hide Betheme duplicate title ---------- */
.tpg-cq-page ~ .entry-title,
.page-header .entry-title,
.page-template-default .entry-title,
body.page .entry-title,
#Title_bar,
#Subheader,
.title_bar,
.subheader {
    display: none !important;
}

/* ---------- Honeypot ---------- */
.tpg-cq-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0; height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ===================================================================
   HERO
   =================================================================== */
.tpg-cq-hero {
    text-align: center;
    margin-bottom: 40px;
}
.tpg-cq-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8b5cf6;
    background: rgba(139,92,246,.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.tpg-cq-hero__kicker svg { stroke: #8b5cf6; }
.tpg-cq-hero__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.15;
}
.tpg-cq-hero__sub {
    font-size: 17px;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}
.tpg-cq-page--quote .tpg-cq-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================================================
   STEP PROGRESS INDICATOR
   =================================================================== */
.tpg-cq-progress {
    max-width: 480px;
    margin: 28px auto 0;
}
.tpg-cq-progress__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.tpg-cq-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}
.tpg-cq-progress__step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: #e2e8f0;
    color: #94a3b8;
    transition: all .4s ease;
}
.tpg-cq-progress__step.active .tpg-cq-progress__step-num,
.tpg-cq-progress__step.done .tpg-cq-progress__step-num {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    box-shadow: 0 2px 8px rgba(139,92,246,.35);
}
.tpg-cq-progress__step.done .tpg-cq-progress__step-num {
    background: #10b981;
    box-shadow: 0 2px 8px rgba(16,185,129,.35);
}
.tpg-cq-progress__step-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    transition: color .3s;
}
.tpg-cq-progress__step.active .tpg-cq-progress__step-label {
    color: #8b5cf6;
}
.tpg-cq-progress__step.done .tpg-cq-progress__step-label {
    color: #10b981;
}
.tpg-cq-progress__connector {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    min-width: 40px;
    margin: 0 6px;
    margin-bottom: 18px;
    border-radius: 2px;
    transition: background .4s ease;
}
.tpg-cq-progress__connector.done {
    background: linear-gradient(90deg, #10b981, #8b5cf6);
}

/* ===================================================================
   TYPE SELECTOR
   =================================================================== */
.tpg-cq-type-selector {
    text-align: center;
    margin-bottom: 40px;
    animation: tpgFadeUp .5s ease;
}
.tpg-cq-type-selector__title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}
.tpg-cq-type-selector__sub {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
}
.tpg-cq-type-selector__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.tpg-cq-type-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}
.tpg-cq-type-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,.04), rgba(236,72,153,.04));
    opacity: 0;
    transition: opacity .3s;
}
.tpg-cq-type-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139,92,246,.15);
}
.tpg-cq-type-card:hover::before {
    opacity: 1;
}
.tpg-cq-type-card.selected {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139,92,246,.04), rgba(236,72,153,.04));
    box-shadow: 0 8px 24px rgba(139,92,246,.2);
}
.tpg-cq-type-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(236,72,153,.08));
    margin: 0 auto 16px;
    transition: all .3s;
}
.tpg-cq-type-card__icon svg {
    stroke: #8b5cf6;
    transition: transform .3s;
}
.tpg-cq-type-card:hover .tpg-cq-type-card__icon svg {
    transform: scale(1.1);
}
.tpg-cq-type-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.tpg-cq-type-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}
.tpg-cq-type-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    transition: all .3s;
}
.tpg-cq-type-card__arrow svg {
    stroke: #94a3b8;
    transition: all .3s;
}
.tpg-cq-type-card:hover .tpg-cq-type-card__arrow {
    background: #8b5cf6;
}
.tpg-cq-type-card:hover .tpg-cq-type-card__arrow svg {
    stroke: #fff;
}

/* ===================================================================
   WHOLESALE BANNER
   =================================================================== */
.tpg-cq-wholesale-banner {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.tpg-cq-wholesale-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,.25) 0%, transparent 70%);
    pointer-events: none;
}
.tpg-cq-wholesale-banner::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(236,72,153,.15) 0%, transparent 70%);
    pointer-events: none;
}
.tpg-cq-wholesale-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c4b5fd;
    background: rgba(139,92,246,.2);
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.tpg-cq-wholesale-banner__badge svg { stroke: #c4b5fd; }
.tpg-cq-wholesale-banner h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}
.tpg-cq-wholesale-banner p {
    font-size: 14px;
    line-height: 1.6;
    color: #c7d2fe;
    margin: 0 0 16px;
    max-width: 600px;
}
.tpg-cq-wholesale-banner__perks {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.tpg-cq-wholesale-banner__perks span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #e0e7ff;
}
.tpg-cq-wholesale-banner__perks svg { stroke: #a78bfa; }

/* ===================================================================
   FORM AREA — reveal animation
   =================================================================== */
.tpg-cq-form-area {
    animation: tpgSlideDown .6s ease;
}

@keyframes tpgFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes tpgSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   TWO-COLUMN LAYOUT
   =================================================================== */
.tpg-cq-quote-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
.tpg-cq-quote-layout__form { min-width: 0; }
.tpg-cq-quote-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

/* ===================================================================
   SECTION HEADINGS
   =================================================================== */
.tpg-cq-section {
    margin-bottom: 4px;
}
.tpg-cq-section + .tpg-cq-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.tpg-cq-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.tpg-cq-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(139,92,246,.1), rgba(236,72,153,.06));
    flex-shrink: 0;
}
.tpg-cq-section__icon svg { stroke: #8b5cf6; }
.tpg-cq-section__sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px;
    padding-left: 46px;
}

/* ===================================================================
   PHONE INPUT WITH COUNTRY CODE — Custom Flag Dropdown
   =================================================================== */
.tpg-cq-phone-group {
    display: flex;
    gap: 0;
    position: relative;
}
.tpg-cq-phone-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;
    min-width: 100px;
    height: auto;
    background: #f1f5f9;
    border: 1.5px solid #d1d5db;
    border-right: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    font-family: inherit;
    transition: background .2s, border-color .2s;
}
.tpg-cq-phone-trigger:hover { background: #e2e8f0; }
.tpg-cq-phone-trigger:focus { outline: none; border-color: #8b5cf6; background: #fff; }
.tpg-cq-phone-trigger svg { color: #94a3b8; flex-shrink: 0; }
.tpg-cq-phone-flag {
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.tpg-cq-phone-dial { white-space: nowrap; }

/* Dropdown panel */
.tpg-cq-phone-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    max-height: 320px;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
    z-index: 999;
    margin-top: 4px;
    overflow: hidden;
    flex-direction: column;
}
.tpg-cq-phone-dropdown.open { display: flex; }
.tpg-cq-phone-search {
    width: 100% !important;
    padding: 10px 14px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    color: #1e293b !important;
    background: #fafbfc !important;
    box-sizing: border-box !important;
    outline: none !important;
}
.tpg-cq-phone-search:focus { background: #fff !important; }
.tpg-cq-phone-search::placeholder { color: #94a3b8 !important; }
.tpg-cq-phone-list {
    overflow-y: auto;
    max-height: 260px;
    padding: 4px;
}
.tpg-cq-phone-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background .15s;
}
.tpg-cq-phone-option:hover { background: #f5f3ff; }
.tpg-cq-phone-option.selected { background: #f5f3ff; }
.tpg-cq-phone-option.hidden { display: none; }
.tpg-cq-phone-option img {
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.tpg-cq-phone-option__name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}
.tpg-cq-phone-option__code {
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
    font-family: "SF Mono", Monaco, Consolas, monospace;
}

.tpg-cq-phone-group input[type="tel"] {
    flex: 1;
    border-radius: 0 10px 10px 0 !important;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    font-size: 14px;
    color: #1e293b;
    background: #fafbfc;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    box-sizing: border-box;
}
.tpg-cq-phone-group input[type="tel"]:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139,92,246,.12);
    background: #fff;
}

/* ===================================================================
   TOGGLE SWITCH
   =================================================================== */
.tpg-cq-toggle-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: border-color .3s;
}
.tpg-cq-toggle-row:hover {
    border-color: #c4b5fd;
}
.tpg-cq-toggle-row__text strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}
.tpg-cq-toggle-row__text small {
    font-size: 12px;
    color: #64748b;
}
.tpg-cq-toggle {
    position: relative;
    display: inline-block;
    width: 44px; height: 24px;
    flex-shrink: 0;
}
.tpg-cq-toggle input {
    opacity: 0; width: 0; height: 0; position: absolute;
}
.tpg-cq-toggle__slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    cursor: pointer;
    transition: background .25s;
}
.tpg-cq-toggle__slider::before {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .25s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.tpg-cq-toggle input:checked + .tpg-cq-toggle__slider {
    background: #8b5cf6;
}
.tpg-cq-toggle input:checked + .tpg-cq-toggle__slider::before {
    transform: translateX(20px);
}

/* ===================================================================
   COLOUR SELECTION
   =================================================================== */
.tpg-cq-colour-block {
    margin-bottom: 16px;
}
.tpg-cq-colour-label {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 10px;
}
.tpg-cq-colour-label svg { stroke: #8b5cf6; }
.tpg-cq-colour-label small {
    font-weight: 400 !important;
    color: #94a3b8 !important;
}

/* Swatch grid */
.tpg-cq-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0;
}
.tpg-cq-accent-panel { display: none; }
.tpg-cq-accent-panel.active { display: flex; }

/* Individual swatch */
.tpg-cq-swatch {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    transition: all .25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    font-family: inherit;
    padding: 0;
    outline: none;
}
.tpg-cq-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.tpg-cq-swatch.selected {
    border-color: #8b5cf6;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(139,92,246,.3), 0 4px 12px rgba(0,0,0,.15);
}
.tpg-cq-swatch__check {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
}
.tpg-cq-swatch.selected .tpg-cq-swatch__check {
    display: flex;
}
.tpg-cq-swatch__label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.tpg-cq-swatch:hover .tpg-cq-swatch__label,
.tpg-cq-swatch.selected .tpg-cq-swatch__label {
    opacity: 1;
}

/* Accent category tabs */
.tpg-cq-accent-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.tpg-cq-accent-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}
.tpg-cq-accent-tab:hover {
    background: #e8e0ff;
    color: #7c3aed;
    border-color: #c4b5fd;
}
.tpg-cq-accent-tab.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    border-color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139,92,246,.3);
}
.tpg-cq-accent-tab__icon {
    font-size: 14px;
}

/* Colour disclaimer */
.tpg-cq-colour-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(139,92,246,.03);
    border-left: 3px solid #c4b5fd;
    border-radius: 0 6px 6px 0;
}

/* ===================================================================
   FORM
   =================================================================== */
.tpg-cq-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.tpg-cq-row {
    display: flex;
    gap: 16px;
}
.tpg-cq-row--2col > * { flex: 1; }
.tpg-cq-row--3col > * { flex: 1; }
.tpg-cq-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.tpg-cq-field label .req { color: #ef4444; }
.tpg-cq-field label small {
    font-weight: 400;
    color: #94a3b8;
}
.tpg-cq-field input,
.tpg-cq-field select,
.tpg-cq-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    background: #fafbfc;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    box-sizing: border-box;
}
.tpg-cq-field input:focus,
.tpg-cq-field select:focus,
.tpg-cq-field textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139,92,246,.12);
    background: #fff;
}
.tpg-cq-field input::placeholder,
.tpg-cq-field textarea::placeholder {
    color: #94a3b8;
}
.tpg-cq-field__hint {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ===================================================================
   UPLOAD
   =================================================================== */
.tpg-cq-upload { position: relative; }
.tpg-cq-upload__input {
    position: absolute; inset: 0;
    opacity: 0; cursor: pointer; z-index: 2;
}
.tpg-cq-upload__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 20px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #fafbfc;
    text-align: center;
    color: #64748b;
    transition: border-color .2s, background .2s;
}
.tpg-cq-upload__label svg { stroke: #8b5cf6; }
.tpg-cq-upload:hover .tpg-cq-upload__label,
.tpg-cq-upload.dragging .tpg-cq-upload__label {
    border-color: #8b5cf6;
    background: rgba(139,92,246,.03);
}
.tpg-cq-upload__label span { font-size: 14px; }
.tpg-cq-upload__label strong { color: #8b5cf6; }
.tpg-cq-upload__label small { font-size: 12px; color: #94a3b8; }
.tpg-cq-upload__preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.tpg-cq-upload__preview img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.tpg-cq-upload__preview .tpg-file-name {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 12px;
    color: #64748b;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.tpg-cq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    font-family: inherit;
    position: relative;
}
.tpg-cq-btn--primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139,92,246,.3);
}
.tpg-cq-btn--primary:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 6px 20px rgba(139,92,246,.4);
    transform: translateY(-1px);
}
.tpg-cq-btn--primary:active { transform: translateY(0); }
.tpg-cq-btn--full {
    width: 100%;
    justify-content: center;
}
.tpg-cq-btn--loading .tpg-cq-btn__text { visibility: hidden; }
.tpg-cq-btn--loading svg { visibility: hidden; }
.tpg-cq-btn--loading .tpg-cq-btn__spinner { display: block; }
.tpg-cq-btn__spinner {
    display: none;
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tpgSpin .6s linear infinite;
    position: absolute;
}
@keyframes tpgSpin { to { transform: rotate(360deg); } }

.tpg-cq-form__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.tpg-cq-form__legal {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}
.tpg-cq-form__legal a {
    color: #8b5cf6;
    text-decoration: underline;
}

/* ===================================================================
   NOTICES
   =================================================================== */
.tpg-cq-notice { font-size: 14px; line-height: 1.5; }
.tpg-cq-notice--success {
    color: #16a34a;
    background: rgba(22,163,74,.06);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(22,163,74,.15);
    width: 100%;
    text-align: center;
}
.tpg-cq-notice--error {
    color: #dc2626;
    background: rgba(220,38,38,.06);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(220,38,38,.15);
    width: 100%;
    text-align: center;
}

/* ===================================================================
   SIDEBAR CARDS
   =================================================================== */
.tpg-cq-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.tpg-cq-sidebar-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.tpg-cq-sidebar-card__title svg { stroke: #8b5cf6; }
.tpg-cq-sidebar-card__sub {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 14px;
}

/* Snapshot */
.tpg-cq-snapshot__rows {
    display: flex;
    flex-direction: column;
}
.tpg-cq-snapshot__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.tpg-cq-snapshot__row:last-child { border-bottom: none; }
.tpg-cq-snapshot__row span:first-child {
    font-weight: 700;
    color: #64748b;
    font-size: 11px;
    letter-spacing: .5px;
}
.tpg-cq-snapshot__row span:last-child {
    color: #1e293b;
    font-weight: 500;
    max-width: 180px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Why us */
.tpg-cq-why__items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
}
.tpg-cq-why__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.tpg-cq-why__item svg { flex-shrink: 0; margin-top: 1px; }
.tpg-cq-why__item strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
}
.tpg-cq-why__item small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

/* Volume pricing */
.tpg-cq-volume__table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 8px;
}
.tpg-cq-volume__table td {
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}
.tpg-cq-volume__table td:first-child {
    color: #374151;
    font-weight: 500;
}
.tpg-cq-volume__table td:last-child {
    text-align: right;
    color: #64748b;
}
.tpg-cq-volume__discount {
    color: #16a34a !important;
    font-weight: 600 !important;
}
.tpg-cq-volume__note {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

/* Trust row */
.tpg-cq-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.tpg-cq-trust-row span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.tpg-cq-trust-row svg { stroke: #8b5cf6; }

/* ===================================================================
   CONTENT GRID (contact page)
   =================================================================== */
.tpg-cq-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

/* ===================================================================
   CARD (standalone form)
   =================================================================== */
.tpg-cq-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.tpg-cq-card--quotation {
    max-width: 800px;
    margin: 0 auto;
}
.tpg-cq-card__header { margin-bottom: 24px; }
.tpg-cq-card__header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.tpg-cq-card__header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ===================================================================
   SIDE INFO CARDS (contact page)
   =================================================================== */
.tpg-cq-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tpg-cq-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}
.tpg-cq-info-card__icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.tpg-cq-info-card__icon svg { stroke: #fff; }
.tpg-cq-info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.tpg-cq-info-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}


/* ---------- Address Section ---------- */
.tpg-cq-address-section {
    background: linear-gradient(135deg, rgba(139,92,246,.03), rgba(236,72,153,.02));
    border: 1.5px solid #e9e5f5;
    border-radius: 16px;
    padding: 20px 20px 8px;
    margin: 0 0 8px;
}
.tpg-cq-section__mini-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 16px;
}
.tpg-cq-section__mini-label svg {
    width: 16px;
    height: 16px;
    stroke: #8b5cf6;
    flex-shrink: 0;
}
.tpg-cq-prefilled-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(139,92,246,.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: auto;
}

/* ---------- Quote CTA Banner ---------- */
.tpg-cq-quote-cta {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.tpg-cq-quote-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,.25) 0%, transparent 70%);
    pointer-events: none;
}
.tpg-cq-quote-cta::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(236,72,153,.15) 0%, transparent 70%);
    pointer-events: none;
}
.tpg-cq-quote-cta__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}
.tpg-cq-quote-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c4b5fd;
    background: rgba(255,255,255,.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.tpg-cq-quote-cta__badge svg { stroke: #c4b5fd; }
.tpg-cq-quote-cta h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}
.tpg-cq-quote-cta p {
    font-size: 15px;
    color: #c7d2fe;
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}
.tpg-cq-btn--white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: #312e81 !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.tpg-cq-btn--white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.tpg-cq-btn--white svg { stroke: #7c3aed; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 900px) {
    .tpg-cq-quote-layout {
        grid-template-columns: 1fr;
    }
    .tpg-cq-quote-layout__sidebar {
        position: static;
    }
    .tpg-cq-wholesale-banner__perks {
        flex-direction: column;
        gap: 8px;
    }
}
@media (max-width: 768px) {
    .tpg-cq-content {
        grid-template-columns: 1fr;
    }
    .tpg-cq-row--2col,
    .tpg-cq-row--3col {
        flex-direction: column;
    }
    .tpg-cq-card { padding: 20px; }
    .tpg-cq-info { order: -1; }
    .tpg-cq-wholesale-banner {
        padding: 24px;
    }
    .tpg-cq-wholesale-banner h2 { font-size: 20px; }
    .tpg-cq-type-selector__cards {
        grid-template-columns: 1fr;
    }
    .tpg-cq-swatch {
        width: 36px; height: 36px;
    }
    .tpg-cq-accent-tabs {
        gap: 4px;
    }
    .tpg-cq-accent-tab {
        padding: 5px 12px;
        font-size: 12px;
    }
    .tpg-cq-phone-trigger {
        min-width: 85px;
        padding: 0 8px;
        font-size: 12px;
    }
    .tpg-cq-phone-dropdown {
        width: 240px;
    }
    .tpg-cq-quote-cta {
        padding: 28px;
    }
    .tpg-cq-quote-cta__content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .tpg-cq-quote-cta p {
        max-width: none;
    }
    .tpg-cq-quote-cta h2 {
        font-size: 20px;
    }
}
