/* ============================================================
   SALANI EXCEL — Shared Pages CSS
   (About, Quality, Contact, Legal, Cart, Quote, Inquiry pages)
   ============================================================ */

/* ---- Page Hero ---- */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a192f 0%, #0d2444 60%, #0a192f 100%);
    overflow: hidden;
    padding: 60px 0;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(0,239,160,0.08) 0%, transparent 60%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.page-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary, #00EFA0);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--color-primary, #00EFA0);
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}
.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 580px;
}

/* ---- Section Base ---- */
.page-section {
    padding: 80px 0;
}
.page-section-alt {
    background: var(--color-dark-surface, #111D32);
}
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary, #00EFA0);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--color-primary, #00EFA0);
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark, #fff);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-muted, #94A3B8);
    line-height: 1.7;
    max-width: 600px;
}
.section-desc p { margin-bottom: 14px; }

/* ---- Card Grid ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.info-card {
    background: var(--color-dark-card, #162236);
    border-radius: 12px;
    padding: 32px 28px;
    border: 1px solid var(--color-dark-border, #1E2D45);
    transition: box-shadow 0.25s, transform 0.25s;
}
.info-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.info-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00EFA0 0%, #00c97a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #0a192f;
}
.info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark, #fff);
    margin-bottom: 10px;
}
.info-card p {
    font-size: 0.9rem;
    color: var(--text-body, #E2E8F0);
    line-height: 1.6;
}
.info-card-dark {
    background: #0a192f;
    border-color: #1a3050;
}
.info-card-dark h3 { color: #fff; }
.info-card-dark p { color: rgba(255,255,255,0.65); }
.info-card-dark .info-card-icon { background: rgba(0,239,160,0.15); color: #00EFA0; }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, #0a192f 0%, #0d2444 100%);
    border-radius: 16px;
    padding: 60px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.cta-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.cta-banner-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.btn-wa {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ---- Forms ---- */
.form-wrap {
    background: var(--color-dark-card, #162236);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--color-dark-border, #1E2D45);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark, #fff);
    margin-bottom: 8px;
}
.form-group label span { color: #e74c3c; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-dark-border, #1E2D45);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-body, #E2E8F0);
    background: var(--color-dark-surface, #111D32);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00EFA0;
    box-shadow: 0 0 0 3px rgba(0,239,160,0.15);
    outline: none;
    background: var(--color-dark-bg, #0A1628);
}
.form-group input.error,
.form-group textarea.error { border-color: #e74c3c; }
.form-error-msg {
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 5px;
    display: none;
}
.form-error-msg.show { display: block; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group select::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-submit-btn {
    background: var(--color-primary, #00EFA0);
    color: #0a192f;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}
.form-submit-btn:hover { background: #00c97a; transform: translateY(-2px); }
.form-success {
    text-align: center;
    padding: 40px 20px;
    display: none;
}
.form-success.show { display: block; }
.form-success i { font-size: 3rem; color: #00EFA0; margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark, #fff); margin-bottom: 8px; }
.form-success p { color: var(--text-body, #E2E8F0); }

/* ---- Product Info Box (Quote / Inquiry) ---- */
.product-info-box {
    background: linear-gradient(135deg, #0a192f 0%, #0d2444 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.product-info-box img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #1a3050;
}
.product-info-box-text h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.product-info-box-text span {
    color: var(--color-primary, #00EFA0);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ---- Cart Breadcrumb & Heading ---- */
.cart-breadcrumb-bar {
    background: var(--color-dark-surface, #111D32);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-dark-border, #1E2D45);
}
.cart-breadcrumb-nav {
    font-size: 0.85rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-breadcrumb-nav a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cart-breadcrumb-nav a:hover {
    color: #00EFA0;
}
.cart-breadcrumb-nav .sep {
    color: #475569;
}
.cart-breadcrumb-nav .current {
    color: #ffffff;
    font-weight: 600;
}
.cart-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ---- Cart Styles ---- */
.cart-section {
    padding: 50px 0 90px;
    min-height: 65vh;
    background: var(--bg-dark, #080E1A);
}
.cart-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--color-dark-card, #111D32);
    border-radius: 16px;
    border: 1px solid var(--color-dark-border, #1E2D45);
}
.cart-empty i { font-size: 4rem; color: #00EFA0; margin-bottom: 20px; }
.cart-empty h2 { font-size: 1.6rem; color: #ffffff; margin-bottom: 10px; font-weight: 700; }
.cart-empty p { color: #94A3B8; margin-bottom: 28px; font-size: 0.95rem; }
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items-wrap {
    background: var(--color-dark-card, #111D32);
    border-radius: 14px;
    border: 1px solid var(--color-dark-border, #1E2D45);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.cart-header-row {
    display: grid;
    grid-template-columns: 1fr 130px 100px 48px;
    gap: 16px;
    padding: 16px 24px;
    background: #0A1628;
    border-bottom: 1px solid var(--color-dark-border, #1E2D45);
    font-size: 0.78rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cart-item-row {
    display: grid;
    grid-template-columns: 1fr 130px 100px 48px;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-dark-border, #1E2D45);
    align-items: center;
    background: #111D32;
    transition: background 0.2s ease;
}
.cart-item-row:hover { background: #16243d; }
.cart-item-row:last-child { border-bottom: none; }
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-img-wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}
.cart-item-name { font-weight: 700; color: #ffffff; font-size: 0.98rem; line-height: 1.4; }
.cart-item-cat { font-size: 0.8rem; color: #00EFA0; font-weight: 500; margin-top: 2px; }
.cart-item-code { font-size: 0.75rem; color: #94A3B8; font-family: 'SFMono-Regular', Consolas, monospace; margin-top: 2px; }

.cart-qty-wrap {
    display: inline-flex;
    align-items: center;
    background: #0A1628;
    border: 1px solid var(--color-dark-border, #1E2D45);
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}
.cart-qty-btn {
    width: 30px; height: 30px; border-radius: 6px; border: none;
    background: transparent; font-size: 13px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: #ffffff;
    transition: all 0.15s ease;
}
.cart-qty-btn:hover { background: #00EFA0; color: #0a192f; }
.cart-qty-val { min-width: 32px; text-align: center; font-weight: 700; font-size: 0.95rem; color: #ffffff; }

.cart-remove-btn {
    width: 38px; height: 38px; border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1); color: #ef4444; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.cart-remove-btn:hover { background: #ef4444; color: #ffffff; border-color: #ef4444; transform: scale(1.05); }

.cart-summary-box {
    background: var(--color-dark-card, #111D32);
    border-radius: 14px;
    border: 1px solid var(--color-dark-border, #1E2D45);
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.cart-summary-box h3 { font-size: 1.25rem; font-weight: 800; color: #ffffff; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #1E2D45; }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.95rem; color: #94A3B8; }
.cart-summary-row:last-of-type { border-bottom: none; font-weight: 800; color: #ffffff; font-size: 1.05rem; padding-top: 16px; margin-top: 6px; }
.cart-summary-row b { color: #00EFA0; font-weight: 700; }
.cart-action-btns { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.cart-wa-btn {
    background: #25D366; color: #ffffff; border: none; padding: 14px 20px; border-radius: 10px;
    font-weight: 700; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 10px; width: 100%; text-decoration: none; transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.cart-wa-btn:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4); }
.cart-quote-btn {
    background: #00EFA0; color: #0a192f; border: none; padding: 14px 20px; border-radius: 10px;
    font-weight: 800; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 10px; width: 100%; text-decoration: none; transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 239, 160, 0.3);
}
.cart-quote-btn:hover { background: #00d68f; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 239, 160, 0.4); }
.cart-continue-btn {
    color: #ffffff; border: 1px solid #1E2D45; background: #111D32; padding: 14px 24px; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem; cursor: pointer; text-align: center; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px; transition: all 0.2s ease;
}
.cart-continue-btn:hover { border-color: #00EFA0; color: #00EFA0; background: #16243d; transform: translateX(-3px); }
.cart-clear-btn {
    color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.08); padding: 10px 20px; border-radius: 10px;
    font-weight: 600; font-size: 0.88rem; cursor: pointer; text-align: center; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.2s ease;
}
.cart-clear-btn:hover { background: #ef4444; color: #ffffff; border-color: #ef4444; }

/* ---- Cart Modal ---- */
.cart-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,25,47,0.6);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cart-modal-overlay.show { display: flex; }
.cart-modal {
    background: var(--color-dark-surface, #111D32);
    border-radius: 16px;
    padding: 40px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}
.cart-modal h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark, #fff); margin-bottom: 20px; }
.cart-modal .form-submit-btn { margin-top: 16px; }

/* ---- Contact Info Cards ---- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.contact-info-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(0,239,160,0.12); color: #00EFA0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.contact-info-text strong { display: block; color: var(--text-dark, #fff); font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.contact-info-text a, .contact-info-text span { color: var(--text-muted, #94A3B8); font-size: 0.9rem; text-decoration: none; }
.contact-info-text a:hover { color: #00EFA0; }

/* ---- Quality Page ---- */
.quality-process {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.quality-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-dark-border, #1E2D45);
}
.quality-step:last-child { border-bottom: none; }
.quality-step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, #00EFA0, #00c97a);
    color: #0a192f; font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.quality-step-content h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark, #fff); margin-bottom: 8px; }
.quality-step-content p { font-size: 0.9rem; color: var(--text-body, #E2E8F0); line-height: 1.6; }

/* ---- About sections ---- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }

/* ---- Quality Commitment Section (overrides inline styles) ---- */
.quality-commitment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.quality-commitment-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 0;
}
.about-img-wrap { border-radius: 16px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 380px; object-fit: cover; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.about-stat {
    background: var(--color-dark-surface, #111D32);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.about-stat .num { font-size: 2rem; font-weight: 800; color: var(--text-dark, #fff); line-height: 1; }
.about-stat .num span { color: #00EFA0; }
.about-stat .lbl { font-size: 0.8rem; color: var(--text-muted, #94A3B8); margin-top: 4px; }

/* ---- Legal Pages ---- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark, #fff); margin: 36px 0 12px; }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark, #fff); margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--text-body, #E2E8F0); line-height: 1.75; margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; }
.legal-content .legal-date { color: var(--text-muted, #94A3B8); font-size: 0.88rem; margin-bottom: 32px; }

/* ---- Chat Widget ---- */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 8000;
    font-family: 'Inter', sans-serif;
}
.chat-fab {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #00EFA0, #00c97a);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #0a192f;
    box-shadow: 0 4px 20px rgba(0,239,160,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    padding: 0;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(0,239,160,0.5); }
.chat-fab-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.chat-fab-svg {
    display: block;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.chat-fab .chat-icon-close {
    display: none;
}
.chat-fab.chat-open .chat-icon-default {
    display: none;
}
.chat-fab.chat-open .chat-icon-close {
    display: block;
}
.chat-fab-label {
    position: absolute;
    bottom: 68px;
    right: 0;
    background: #0a192f;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
}
.chat-widget:hover .chat-fab-label { opacity: 1; transform: translateY(0); }
.chat-box {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 340px;
    background: var(--color-dark-card, #162236);
    border-radius: 16px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.4);
    border: 1px solid var(--color-dark-border, #1E2D45);
    overflow: hidden;
    display: none;
    flex-direction: column;
}
.chat-box.open { display: flex; }
.chat-box-header {
    background: linear-gradient(135deg, #0a192f, #0d2444);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: #00EFA0; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #0a192f; }
.chat-box-header-info strong { color: #fff; font-size: 0.95rem; }
.chat-box-header-info span { color: rgba(255,255,255,0.6); font-size: 0.78rem; display: block; }
.chat-close-btn { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 18px; padding: 4px; }
.chat-messages { flex: 1; max-height: 320px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; }
.chat-msg-bot { align-self: flex-start; }
.chat-msg-user { align-self: flex-end; }
.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.chat-msg-bot .chat-bubble { background: var(--color-dark-surface, #111D32); color: var(--text-body, #E2E8F0); border-bottom-left-radius: 4px; }
.chat-msg-user .chat-bubble { background: #00EFA0; color: #0a192f; border-bottom-right-radius: 4px; }
.chat-quick-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-quick-btn {
    font-size: 0.75rem; padding: 6px 12px; border: 1px solid #00EFA0;
    border-radius: 20px; color: #00EFA0; background: rgba(0,239,160,0.1);
    cursor: pointer; transition: background 0.15s, color 0.15s;
}
.chat-quick-btn:hover { background: #00EFA0; color: #0a192f; }
.chat-input-row {
    padding: 12px 16px;
    border-top: 1px solid var(--color-dark-border, #1E2D45);
    display: flex;
    gap: 8px;
}
.chat-input {
    flex: 1; border: 1.5px solid var(--color-dark-border, #1E2D45); border-radius: 8px;
    padding: 9px 12px; font-family: inherit; font-size: 0.85rem;
    outline: none; transition: border-color 0.2s;
    background: var(--color-dark-surface, #111D32);
    color: #fff;
}
.chat-input:focus { border-color: #00EFA0; }
.chat-send-btn {
    width: 38px; height: 38px; border-radius: 8px; background: #00EFA0;
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #0a192f; font-size: 15px; transition: background 0.15s;
}
.chat-send-btn:hover { background: #00c97a; }

/* ---- Toast ---- */
.toast-wrap {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: #0a192f;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: toastIn 0.3s ease forwards;
    pointer-events: auto;
    max-width: 320px;
}
/* ---- Mobile Adjustments ---- */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    .chat-fab {
        width: 52px;
        height: 52px;
    }
    .chat-fab-svg.chat-icon-default {
        width: 26px;
        height: 26px;
    }
    .chat-box {
        position: fixed;
        bottom: 78px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100vh - 110px);
    }
    .toast-wrap {
        right: 12px;
        left: 12px;
        top: 75px;
    }
    .toast {
        max-width: 100%;
    }
}

/* Responsive helpers */
@media (max-width: 640px) {
    .form-wrap { padding: 28px 20px; }
    .cta-banner { padding: 36px 24px; }
    .cta-banner h2 { font-size: 1.4rem; }
    .page-hero { min-height: 240px; padding: 50px 0 35px; }
    .product-info-box { flex-wrap: wrap; }
    
    /* Cart Mobile Layout */
    .cart-header-row { display: none; }
    .cart-item-row {
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 16px;
    }
    .cart-item-info {
        grid-column: 1 / -1;
    }
    .cart-qty-wrap {
        grid-column: 1 / 2;
    }
    .cart-item-row > div:nth-child(3) {
        grid-column: 2 / 3;
        text-align: right;
        font-weight: 700;
    }
    .cart-remove-btn {
        grid-column: 2 / 3;
        justify-self: end;
    }
    .cart-modal { padding: 24px 16px; }
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    .chat-box {
        width: calc(100vw - 32px);
        max-width: 340px;
        right: 0;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   QUALITY PAGE — MOBILE RESPONSIVENESS
   Only affects Quality page; desktop layout untouched.
   ============================================================ */

/* --- Tablet: stack commitment split, keep 2-col cards --- */
@media (max-width: 860px) {
    .quality-commitment-split {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
    .quality-commitment-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        margin-top: 0 !important;
    }
}

/* --- Phablet: tighten quality process steps --- */
@media (max-width: 640px) {
    .quality-commitment-split .section-title {
        font-size: clamp(1.5rem, 5.5vw, 1.85rem);
        line-height: 1.2;
    }
    .quality-step {
        grid-template-columns: 46px 1fr !important;
        gap: 14px !important;
        padding: 22px 0 !important;
    }
    .quality-step-num {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }
    .quality-step-content h3 {
        font-size: 0.95rem;
    }
    .quality-step-content p {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    /* Info cards: comfortable padding on mobile */
    .info-card {
        padding: 24px 20px;
    }
    /* CTA buttons full width stack */
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-banner-btns {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .cta-banner-btns .btn,
    .cta-banner-btns .btn-wa {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }
}

/* --- Small phones: single-column commitment cards --- */
@media (max-width: 480px) {
    .quality-commitment-cards {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .quality-commitment-split {
        gap: 28px !important;
    }
    /* Extra bottom padding so chatbot FAB doesn't overlap last card */
    .page-section:last-of-type {
        padding-bottom: 100px;
    }
}
