/* Super Electrical site design (Option A – Industrial). Shared by every public page. */
:root {
    --se-navy: #0f2433;
    --se-navy-2: #16384f;
    --se-ink: #172f42;
    --se-muted: #526576;
    --se-line: #dce5eb;
    --se-soft: #f5f8fa;
    --se-teal: #126a78;
    --se-teal-dark: #0c4f5a;
    --se-amber: #f39c12;
    --se-amber-dark: #d68508;
    --se-radius: 14px;
}
body { margin: 0; font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--se-ink); background: var(--se-soft); }
a { color: var(--se-teal); }
a:hover { color: var(--se-teal-dark); }
:focus-visible { outline: 3px solid #f6b44b; outline-offset: 2px; }
h1, h2, h3 { color: var(--se-ink); letter-spacing: -.2px; }
h2 { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.site-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sub { color: var(--se-muted); margin: 0 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .6px; font-size: 12px; font-weight: 700; color: var(--se-teal); margin: 0 0 8px; }
.eyebrow.light { color: #9fd3db; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn-primary-cta, .btn-outline-light-cta, .btn-outline-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
    font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 15px;
}
.btn-primary-cta { background: var(--se-amber); color: #1b1b1b; }
.btn-primary-cta:hover { background: var(--se-amber-dark); color: #1b1b1b; }
.btn-outline-light-cta { border: 1px solid #6f93ab; color: #fff; }
.btn-outline-light-cta:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline-cta { border: 1.5px solid var(--se-teal); color: var(--se-teal); background: #fff; }
.btn-outline-cta:hover { background: var(--se-teal); color: #fff; }
.cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

/* Header */
.site-topbar { background: var(--se-navy); color: #cfdbe4; font-size: 13px; }
.site-topbar .site-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.site-topbar a { color: #cfdbe4; text-decoration: none; margin-left: 16px; }
.site-topbar a:hover { color: #fff; }
.site-header { background: #fff; border-bottom: 1px solid var(--se-line); position: sticky; top: 0; z-index: 50; }
.site-header .site-wrap { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--se-ink); font-weight: 800; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.site-logo small { display: block; font-size: 11px; font-weight: 600; color: var(--se-muted); }
.site-logo:hover { color: var(--se-ink); }
.site-search { flex: 1; display: flex; border: 2px solid var(--se-teal); border-radius: 10px; overflow: hidden; background: #fff; }
.site-search input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; font-size: 15px; outline: none; }
.site-search button { border: 0; background: var(--se-teal); color: #fff; padding: 0 18px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.site-actions { display: flex; gap: 10px; }
.btn-ghost, .btn-quote { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-ghost { border: 1px solid var(--se-line); color: var(--se-ink); }
.btn-ghost:hover { border-color: var(--se-teal); color: var(--se-teal); }
.btn-quote { background: var(--se-amber); color: #1b1b1b; }
.btn-quote:hover { background: var(--se-amber-dark); color: #1b1b1b; }
.quote-count { background: #1b1b1b; color: #fff; border-radius: 20px; font-size: 12px; padding: 1px 8px; }
.site-menu-toggle { display: none; border: 1px solid var(--se-line); background: #fff; border-radius: 8px; font-size: 22px; padding: 2px 10px; }
.site-nav { background: #fff; border-bottom: 1px solid var(--se-line); }
.site-nav .site-wrap { display: flex; gap: 22px; min-height: 46px; align-items: center; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.site-nav a { color: var(--se-ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 0; border-bottom: 2px solid transparent; }
.site-nav a.nav-extra { display: none; }
.site-nav a:hover, .site-nav a.active { color: var(--se-teal); border-bottom-color: var(--se-teal); }

/* Home hero */
.hero { background: linear-gradient(110deg, var(--se-navy) 0%, var(--se-navy-2) 55%, var(--se-teal) 100%); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: 44px; line-height: 1.1; font-weight: 800; margin: 0 0 16px; }
.hero .lead { color: #c9d8e3; font-size: 18px; max-width: 560px; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-collage img { width: 100%; height: 160px; object-fit: contain; border-radius: 12px; background: #fff; padding: 8px; }
.trust-strip { background: #fff; border-bottom: 1px solid var(--se-line); }
.trust-strip .site-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.trust-strip b { display: block; font-size: 22px; color: var(--se-teal); }
.trust-strip span { font-size: 13px; color: var(--se-muted); }

/* Sections */
.site-section { padding: 52px 0; }
.site-section.tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-head > a { font-weight: 700; text-decoration: none; margin-bottom: 24px; white-space: nowrap; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); overflow: hidden; text-decoration: none; color: var(--se-ink); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.tile:hover { box-shadow: 0 10px 24px rgba(15,36,51,.12); transform: translateY(-2px); color: var(--se-ink); }
.tile-photo { height: 150px; display: grid; place-items: center; background: #fff; padding: 12px; }
.tile-photo:empty::before, .no-photo::before { content: "\F2CE"; font-family: bootstrap-icons; font-size: 42px; color: #b8c7d1; }
.tile-photo img { max-width: 100%; max-height: 126px; object-fit: contain; }
.tile-text { padding: 12px 16px; border-top: 1px solid #eef3f6; }
.tile-text b { display: block; }
.tile-text small { color: var(--se-muted); }

/* Product cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-grid > *, .tile-grid > * { min-width: 0; }
.product-card-body h3, .product-card-body p { overflow-wrap: anywhere; }
.product-card { background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 14px; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 20px rgba(15,36,51,.08); }
.product-card-photo { height: 170px; display: grid; place-items: center; background: #fff; position: relative; border-radius: 10px; }
.product-card-photo img { max-width: 100%; max-height: 160px; object-fit: contain; }
.product-card-photo.no-photo { background: var(--se-soft); }
.photo-tag { position: absolute; left: 6px; bottom: 6px; background: rgba(15,36,51,.78); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.product-card-body { flex: 1; }
.product-card-body small { display: block; color: var(--se-teal); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; margin-top: 10px; }
.product-card-body h3 { margin: 4px 0; font-size: 16px; line-height: 1.3; }
.product-card-body h3 a { color: var(--se-ink); text-decoration: none; }
.product-card-body h3 a:hover { color: var(--se-teal); }
.product-card-body p { margin: 0 0 12px; color: var(--se-muted); font-size: 13px; }
.btn-add { width: 100%; border: 1.5px solid var(--se-teal); background: #fff; color: var(--se-teal); border-radius: 9px; padding: 9px; font-weight: 700; cursor: pointer; }
.btn-add:hover, .btn-add.added { background: var(--se-teal); color: #fff; }
.restricted-note { font-size: 12px; color: #8a5a00; margin: 0; }

/* About and company content */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.about-grid p { color: #41576a; }
.about-grid .label { font-weight: 700; color: var(--se-ink); margin-bottom: 8px; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: #e8f2f4; color: var(--se-teal-dark); border-radius: 20px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.who-box { background: var(--se-soft); border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 22px; }
.who-box h3 { font-size: 18px; margin-top: 0; }
.who-box ul { padding-left: 18px; }
.who-box p { margin: 0; color: var(--se-muted); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.why-grid > div { border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 20px; background: #fff; }
.why-grid i { color: var(--se-teal); font-size: 22px; }
.why-grid h3 { font-size: 16px; margin: 8px 0 4px; }
.why-grid p { margin: 0; color: var(--se-muted); font-size: 14px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-grid blockquote { margin: 0; background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 20px; color: #41576a; font-size: 14px; }
.quote-grid cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: var(--se-ink); }
.quote-grid cite small { display: block; font-weight: 400; color: var(--se-muted); }
.ordering-section { background: #fff; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 22px; }
.steps b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--se-teal); color: #fff; }
.steps h3 { font-size: 17px; margin: 10px 0 4px; }
.steps p { margin: 0; color: var(--se-muted); }
.whatsapp-band { margin-top: 28px; background: var(--se-teal); color: #fff; border-radius: 16px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.whatsapp-band h3 { color: #fff; margin: 0 0 4px; }
.whatsapp-band p { margin: 0; color: #d4e7ea; }
.whatsapp-band a { background: #fff; color: var(--se-teal); padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-box { background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 24px; }
.contact-box p { margin: 8px 0; }
.contact-box i { color: var(--se-teal); margin-right: 4px; }
.team { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.team > div { border: 1px solid var(--se-line); border-radius: 10px; padding: 10px 16px; }
.team small { display: block; color: var(--se-muted); }
.contact-form label, .quote-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.contact-form input, .contact-form textarea, .quote-form input, .quote-form textarea, .quote-form select, .quote-lines textarea, .quote-lines input {
    display: block; width: 100%; border: 1px solid #c9d6de; border-radius: 9px; padding: 9px 11px; margin-top: 4px; font: inherit; font-weight: 400; background: #fff;
}
.map { width: 100%; height: 300px; border: 1px solid var(--se-line); border-radius: var(--se-radius); margin-top: 20px; background: #dfe9ef; }

/* Listing */
.listing { padding: 20px 0 52px; }
.crumbs { font-size: 13px; color: var(--se-muted); margin: 4px 0 16px; }
.crumbs a { color: var(--se-muted); text-decoration: none; }
.crumbs a:hover { color: var(--se-teal); }
.preview-banner { background: #e8f2f4; border: 1px solid #b9dbe0; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.listing-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.listing-grid > *, .quote-grid-layout > * { min-width: 0; }
.filter-panel { background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 16px; position: sticky; top: 90px; }
.filter-search label { font-weight: 700; font-size: 13px; }
.filter-search input { width: 100%; border: 1px solid #c9d6de; border-radius: 9px; padding: 8px 10px; margin: 4px 0 14px; }
.filter-panel summary { font-weight: 700; font-size: 13px; cursor: pointer; margin-bottom: 6px; }
.filter-panel ul { list-style: none; padding: 0; margin: 0; }
.filter-panel li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--se-ink); text-decoration: none; font-size: 14px; }
.filter-panel li a:hover { background: var(--se-soft); }
.filter-panel li a.active { background: #e8f2f4; color: var(--se-teal-dark); font-weight: 700; }
.filter-panel small { color: var(--se-muted); }
.filter-help { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--se-line); font-size: 13px; }
.filter-help p { color: var(--se-muted); margin: 4px 0 8px; }
.filter-help a { font-weight: 700; text-decoration: none; }
.listing-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.listing-head h1 { font-size: 28px; font-weight: 800; margin: 0; }
.listing-head p { margin: 0; color: var(--se-muted); }
.catalogue-link { margin-left: 12px; font-weight: 600; text-decoration: none; }
.listing .card-grid { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pager a { min-width: 38px; padding: 7px 10px; text-align: center; border: 1px solid var(--se-line); border-radius: 8px; background: #fff; color: var(--se-ink); text-decoration: none; font-weight: 600; }
.pager a.active, .pager a:hover { background: var(--se-teal); border-color: var(--se-teal); color: #fff; }
.empty-state { background: #fff; border: 1px dashed #b8c7d1; border-radius: var(--se-radius); padding: 28px; text-align: center; margin-bottom: 16px; }

/* Quote list */
.quote-page { padding: 20px 0 52px; }
.quote-page h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.form-alert { background: #fff3cd; border: 1px solid #f0d58a; border-radius: 10px; padding: 10px 14px; }
.quote-grid-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.quote-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.quote-lines li { display: grid; grid-template-columns: 72px 1fr 120px; gap: 14px; background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 14px; align-items: start; }
.quote-lines img { width: 72px; height: 72px; object-fit: contain; }
.quote-line-body > a { font-weight: 700; color: var(--se-ink); text-decoration: none; display: block; margin-bottom: 6px; }
.quote-lines label { font-size: 12px; font-weight: 600; color: var(--se-muted); }
.link-button { border: 0; background: none; color: #a1361f; padding: 6px 0; font-size: 13px; font-weight: 600; }
.add-more { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.quote-form { background: #fff; border: 1px solid var(--se-line); border-radius: var(--se-radius); padding: 22px; position: sticky; top: 90px; }
.quote-form h2 { font-size: 20px; }
.quote-form .btn-primary-cta { width: 100%; margin-top: 6px; }
.fine { font-size: 13px; color: var(--se-muted); margin: 10px 0; }
.mini-steps { font-size: 13px; color: var(--se-muted); padding-left: 18px; margin: 0; }
.success-page { padding: 72px 0; text-align: center; }
.success-page i { font-size: 54px; color: var(--se-teal); }
.success-page p { max-width: 560px; margin: 0 auto; color: var(--se-muted); }

/* Footer, mobile bar and toasts */
.site-footer { background: var(--se-navy); color: #a9bccb; padding: 40px 0 20px; font-size: 14px; }
.site-footer .site-wrap:first-child { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer b { color: #fff; display: block; margin-bottom: 8px; }
.site-footer a { display: block; color: #a9bccb; text-decoration: none; margin: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 6px; }
.site-copy { border-top: 1px solid #23415a; margin-top: 24px; padding-top: 16px; font-size: 13px; }
.mobile-bar { display: none; }
.site-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 8px; }
.site-toast { background: var(--se-ink); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: 14px; max-width: 320px; }
.site-toast a { color: #ffd38a; font-weight: 700; margin-left: 6px; }

/* Product detail page within the new shell */
.product-detail-container .crumbs { margin-top: 0; }

@media (max-width: 1100px) {
    .card-grid, .tile-grid { grid-template-columns: repeat(3, 1fr); }
    .listing .card-grid { grid-template-columns: repeat(2, 1fr); }
    .btn-ghost { display: none; }
}
@media (max-width: 820px) {
    body { padding-bottom: 56px; }
    .site-topbar { display: none; }
    .site-header .site-wrap { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .site-logo { flex: 1; }
    .site-actions { display: none; }
    .site-menu-toggle { display: block; }
    .site-search { order: 3; flex-basis: 100%; }
    .site-search button span { display: none; }
    .site-nav { display: none; }
    .site-nav.open { display: block; }
    .site-nav .site-wrap { flex-direction: column; align-items: stretch; gap: 0; white-space: normal; }
    .site-nav a { padding: 11px 0; border-bottom: 1px solid #eef3f6; }
    .site-nav a.nav-extra { display: block; }
    .site-nav a.nav-more { display: none; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
    .hero h1 { font-size: 30px; }
    .hero-collage { display: none; }
    .trust-strip .site-wrap, .card-grid, .tile-grid, .listing .card-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-grid, .contact-grid, .why-grid, .quote-grid, .steps, .listing-grid, .quote-grid-layout { grid-template-columns: 1fr; }
    .site-footer .site-wrap:first-child { grid-template-columns: 1fr 1fr; }
    .filter-panel, .quote-form { position: static; }
    .filter-panel details:not([open]) ul { display: none; }
    .filter-search, .filter-help { display: none; }
    .filter-panel { padding: 12px 16px; }
    .whatsapp-band { flex-direction: column; align-items: flex-start; }
    .product-card { padding: 10px; }
    .product-card-photo { height: 120px; }
    .product-card-photo img { max-height: 112px; }
    .tile-photo { height: 110px; }
    .tile-photo img { max-height: 90px; }
    .quote-lines li { grid-template-columns: 56px 1fr; }
    .quote-lines img { width: 56px; height: 56px; }
    .quote-line-qty { grid-column: 1 / -1; display: flex; gap: 12px; align-items: end; }
    .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--se-line); z-index: 60; }
    .mobile-bar a { padding: 13px 4px; text-align: center; font-weight: 700; font-size: 14px; color: var(--se-ink); text-decoration: none; }
    .mobile-bar a.quote { background: var(--se-amber); color: #1b1b1b; }
    .site-toasts { bottom: 70px; left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }
