/*
Theme Name: WireBrand
Theme URI: https://wirebrand.com
Description: Custom WordPress theme for electrical wires and cables e-commerce with lead capture, featuring product listings, category pages, brands, and comprehensive backend management. Converted from HTML with pixel-perfect design preservation.
Version: 1.0.0
Author: Your Name
Author URI: https://yourwebsite.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wirebrand
Tags: e-commerce, leads, products, custom-post-type, responsive

This theme requires Advanced Custom Fields Pro plugin for full functionality.
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
:root {
    --primary: #e53935;
    --primary-dark: #c62828;
    --bg: #f5f5f5;
    --text: #222;
    --muted: #777;
    --card: #fff;
    --border: #e0e0e0;
    --footer-bg: #111;
    --footer-text: #ccc;
    --pill: #f1f1f1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   HEADER - TOP BAR
   ============================================ */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 32px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
}

.logo-mark {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--primary);
}

.search-box {
    flex: 1;
    max-width: 480px;
    margin: 0 32px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 24px;
    border: 1px solid var(--border);
    font-size: 14px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-outline {
    border: 1px solid var(--primary);
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

/* ============================================
   MAIN NAVIGATION & MEGA MENUS
   ============================================ */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 10px 32px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 52px;
    z-index: 90;
}

.nav-item {
    position: relative;
    padding: 8px 0;
    font-size: 14px;
    cursor: pointer;
}

.nav-item span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item strong {
    font-weight: 600;
}

.nav-item.nav-cta strong {
    color: #fff;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
}

.mega-menu,
.mega-brands,
.mega-support {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 24px 32px;
    display: none;
}

.nav-item:hover .mega-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 860px;
}

.nav-item:hover .mega-brands {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    width: 520px;
}

.nav-item:hover .mega-support {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 860px;
}

.mega-col h4,
.mega-support h4 {
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.mega-col li,
.mega-support li {
    font-size: 13px;
    color: var(--muted);
    padding: 3px 0;
}

.brand-list a {
    display: block;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    background: #f6f2eb;
}

.brand-list a:nth-child(2) {
    background: #e3edf7;
}

.brand-list a:nth-child(3) {
    background: #fce7e8;
}

.brand-list a:nth-child(4) {
    background: #fce4c6;
}

.brand-copy h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.brand-copy p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* ============================================
   TOP STRIP (Product/Listing pages)
   ============================================ */
.top-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    position: sticky;
    top: 0;
    z-index: 40;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs span.sep {
    margin: 0 4px;
    color: var(--muted);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--muted);
}

.top-strip-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
}

.price-main {
    font-weight: 700;
}

.price-mrp {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 11px;
    margin-left: 4px;
}

.price-off {
    color: #388e3c;
    font-size: 11px;
    margin-left: 4px;
}

.btn-top {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero-large {
    height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
}

.hero-large-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-large-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    display: inline-block;
}

.hero-large-text {
    max-width: 360px;
}

.hero-large-text h1 {
    font-size: 26px;
    margin: 10px 0;
}

.hero-large-text p {
    font-size: 13px;
    line-height: 1.5;
}

/* Hero for About/Contact pages */
.hero {
    padding: 32px 32px 24px;
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.hero-left h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #ffe7e5;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.hero-left p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.hero-metrics,
.hero-highlights {
    display: flex;
    gap: 18px;
    font-size: 12px;
    margin-top: 10px;
}

.metric,
.highlight {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    min-width: 120px;
}

.metric strong,
.highlight strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.hero-right {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 220px;
    background: #000;
}

.hero-caption {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.hero-caption h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

/* ============================================
   SECTIONS & CARDS
   ============================================ */
.section {
    padding: 24px 32px 8px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.sections {
    max-width: 1180px;
    margin: 0 auto 32px;
    padding: 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 18px 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

.card-tag {
    font-size: 11px;
    background: var(--pill);
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 999px;
}

.card-sub {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.section-block {
    max-width: 1100px;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 12px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 20px 12px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

.section-heading button {
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: var(--muted);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    font-size: 12px;
    line-height: 1.6;
}

.section-grid h4 {
    font-size: 12px;
    margin-bottom: 4px;
}

/* ============================================
   BRAND BANNERS
   ============================================ */
.brands-row {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 18px;
    margin-top: 10px;
}

.banner-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 230px;
    display: block;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    font-size: 13px;
}

.brands-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0;
}

/* ============================================
   TABS
   ============================================ */
.tabs-header {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
}

.tab-pill {
    padding: 6px 10px;
    border-radius: 16px;
    background: var(--pill);
    cursor: pointer;
    color: var(--muted);
}

.tab-pill.active {
    background: var(--primary);
    color: #fff;
}

.tabs-body {
    display: none;
}

.tabs-body.active {
    display: block;
}

/* ============================================
   HIGHLIGHT GRIDS
   ============================================ */
.highlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

.highlight-main,
.highlight-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 220px;
    display: block;
}

.highlight-card {
    min-height: 160px;
}

.highlight-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
}

.highlight-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 11px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 999px;
}

/* ============================================
   PRODUCT GRIDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.product-card {
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
}

.product-img {
    height: 120px;
    border-radius: 8px;
    background: #eceff1;
    background-size: cover;
    background-position: center;
    display: block;
}

.prod-title {
    font-size: 13px;
    font-weight: 600;
    min-height: 32px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
}

.rating-stars {
    color: #ffb300;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-main {
    font-weight: 700;
    font-size: 14px;
}

.price-badge {
    font-size: 11px;
    color: #388e3c;
    font-weight: 600;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-sm-outline,
.btn-sm-primary {
    flex: 1;
    font-size: 11px;
    padding: 7px 0;
    border-radius: 20px;
    border: 1px solid var(--primary);
    cursor: pointer;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

.btn-sm-primary {
    background: var(--primary);
    color: #fff;
}

.card-footer {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.btn-ghost {
    flex: 1;
    padding: 6px 0;
    border-radius: 16px;
    border: none;
    background: #ffe8e7;
    color: var(--primary);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   LISTING PAGE LAYOUT
   ============================================ */
.page-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    padding: 18px 32px 32px;
}

/* FILTER SIDEBAR */
.filter-panel {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 14px 14px 16px;
    font-size: 12px;
    position: sticky;
    top: 62px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow: auto;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.filter-header h3 {
    font-size: 14px;
}

.chip-reset {
    font-size: 11px;
    color: var(--primary);
    cursor: pointer;
    border-radius: 12px;
    padding: 3px 8px;
    background: var(--pill);
}

.filter-section {
    margin-bottom: 14px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.filter-title {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: #555;
}

.filter-option {
    margin-bottom: 5px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-option input {
    accent-color: var(--primary);
}

.range-row {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 11px;
}

.range-row input {
    width: 100%;
    padding: 5px 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 11px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--pill);
    font-size: 11px;
    cursor: pointer;
}

.tag.active {
    background: var(--primary);
    color: #fff;
}

/* LISTING AREA */
.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.listing-title {
    font-size: 18px;
}

.sort-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-row select {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 5px 10px;
    font-size: 11px;
    background: #fff;
}

.infinite-status {
    margin-top: 14px;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
}

/* ============================================
   PRODUCT LANDING PAGE
   ============================================ */
.product-hero {
    max-width: 1100px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 32px;
}

.image-panel {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-main {
    width: 100%;
    height: 100%;
    max-width: 420px;
    max-height: 320px;
    border-radius: 10px;
    background: #eceff1 center/cover no-repeat;
}

.detail-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 18px 20px;
    font-size: 12px;
    position: relative;
}

.detail-headline {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.detail-subtitle {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
}

.detail-code {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
}

.detail-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.detail-tax {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
}

.badge-off {
    font-size: 11px;
    color: #388e3c;
    font-weight: 600;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 12px;
}

.meta-row span.dot:before {
    content: "•";
    margin-right: 0;
}

.block-label {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.qty-controls {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--border);
    overflow: hidden;
    font-size: 12px;
}

.qty-btn {
    padding: 4px 10px;
    border: none;
    background: #fff;
    cursor: pointer;
}

.qty-btn.mid {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    min-width: 26px;
    text-align: center;
}

.color-row {
    margin-bottom: 12px;
}

.color-dots {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.dot.red {
    background: #e53935;
}

.dot.black {
    background: #000;
}

.dot.blue {
    background: #1e88e5;
}

.dot.yellow {
    background: #fdd835;
}

.dot.green {
    background: #43a047;
}

.dot.orange {
    background: #fb8c00;
}

.pincode-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pincode-row input {
    flex: 0 0 120px;
    padding: 6px 8px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-size: 11px;
}

.pincode-row button {
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
}

.bulk-row {
    padding: 10px;
    border-radius: 10px;
    background: #fff7f5;
    border: 1px dashed var(--border);
    font-size: 11px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bulk-row a {
    color: var(--primary);
    font-weight: 600;
}

.cta-single {
    margin-top: 8px;
}

.btn-main {
    width: 100%;
    padding: 10px 0;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
}

.note-row {
    font-size: 11px;
    color: var(--muted);
    margin-top: 10px;
}

/* Technical Specifications */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 6px;
}

.spec-table td {
    border-top: 1px solid var(--border);
    padding: 6px 0;
}

.spec-table td.label {
    color: var(--muted);
    width: 30%;
}

.spec-table td.value {
    width: 70%;
}

/* Reviews */
.review-empty {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    padding: 20px 0;
}

.btn-small {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
}

/* Product Scroller */
.product-scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.mini-card {
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px;
    font-size: 11px;
}

.mini-img {
    height: 80px;
    border-radius: 8px;
    background: #eceff1;
    background-size: cover;
    background-position: center;
    margin-bottom: 8px;
}

.mini-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mini-price {
    font-size: 12px;
    font-weight: 600;
}

.mini-meta {
    font-size: 10px;
    color: var(--muted);
    margin: 4px 0;
}

.mini-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.mini-actions button {
    flex: 1;
    padding: 5px 0;
    border-radius: 16px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 10px;
    cursor: pointer;
}

/* ============================================
   MODALS & DRAWERS
   ============================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    padding: 18px 20px;
    font-size: 12px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header h3 {
    font-size: 15px;
}

.modal-close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: var(--muted);
}

.modal-sub {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
}

.modal-product {
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff7f5;
    font-size: 11px;
    margin-bottom: 10px;
}

.modal-form label {
    display: block;
    font-size: 11px;
    margin-bottom: 3px;
    color: var(--muted);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 7px 9px;
    font-size: 12px;
    margin-bottom: 8px;
}

.modal-form textarea {
    min-height: 70px;
    resize: vertical;
}

.modal-footer {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-footer button {
    width: 100%;
    padding: 9px 0;
    border-radius: 24px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.modal-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 6px;
}

.small-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 6px;
}

/* ENQUIRY CART TOGGLE */
.enquiry-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.enquiry-toggle span.count {
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}

/* DRAWER */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.drawer {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    z-index: 120;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: right 0.25s ease;
}

.drawer.open {
    right: 0;
}

.drawer-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-size: 16px;
}

.drawer-close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.drawer-body {
    padding: 16px 18px;
    flex: 1;
    overflow: auto;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.drawer-products {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    max-height: 200px;
    overflow: auto;
}

.drawer-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 4px 0;
}

.drawer-product-title {
    flex: 1;
}

.drawer-product-remove {
    border: none;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-size: 12px;
}

.drawer-form label {
    display: block;
    font-size: 11px;
    margin-bottom: 3px;
    color: var(--muted);
}

.drawer-form input,
.drawer-form textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 7px 9px;
    font-size: 12px;
    margin-bottom: 8px;
}

.drawer-form textarea {
    min-height: 70px;
    resize: vertical;
}

.drawer-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--border);
}

.btn-primary {
    width: 100%;
    padding: 9px 0;
    border-radius: 24px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.drawer-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 32px;
    padding: 32px;
    font-size: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.footer-col h4 {
    font-size: 13px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-col li {
    padding: 3px 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.footer-top h4 {
    font-size: 12px;
    margin-bottom: 6px;
    color: #000;
}

.footer-top li {
    padding: 2px 0;
}

/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */
/* Pillars (About page) */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    font-size: 12px;
}

.pillar {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 12px 12px 10px;
    background: #fffdfd;
}

.pillar h3 {
    font-size: 13px;
    margin-bottom: 4px;
}

.pillar p {
    font-size: 12px;
    color: var(--muted);
}

/* Timeline (About page) */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    font-size: 12px;
}

.milestone {
    border-radius: 12px;
    border: 1px dashed var(--border);
    padding: 10px 12px;
    background: #fff;
}

.milestone span.year {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.milestone h3 {
    font-size: 13px;
    margin: 4px 0;
}

.milestone p {
    font-size: 12px;
    color: var(--muted);
}

/* Grid 2 column (About/Contact) */
.grid-2 {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 18px;
    font-size: 12px;
}

.bullet-list li {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
    position: relative;
    padding-left: 14px;
}

.bullet-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
}

/* Leadership (About) */
.leaders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    font-size: 12px;
}

.leader {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 12px;
    background: #fff;
    display: flex;
    gap: 10px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffe1e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.leader h3 {
    font-size: 13px;
}

.leader span.role {
    font-size: 11px;
    color: var(--muted);
}

.leader p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* CTA Band (About) */
.cta {
    border-radius: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #e53935, #ff7043);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.cta h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.cta button {
    border: none;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Contact info blocks */
.info-block {
    margin-bottom: 16px;
    font-size: 12px;
}

.info-block h3 {
    font-size: 13px;
    margin-bottom: 4px;
}

.info-block p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.info-list li {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 3px;
}

.channel-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chip {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--pill);
    font-size: 11px;
    color: var(--muted);
}

/* Service areas/map */
.service-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 18px;
    font-size: 12px;
}

.map-placeholder {
    border-radius: 14px;
    background: #ddd;
    height: 220px;
    background-image: linear-gradient(135deg, #e0e0e0, #cfd8dc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 12px;
}

.city-list li {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
    position: relative;
    padding-left: 12px;
}

.city-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
}

/* Form grids */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    font-size: 12px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-grid label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 7px 9px;
    font-size: 12px;
}

.form-grid textarea {
    min-height: 90px;
    resize: vertical;
}

.helper {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}

/* Two column tiles */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.tile {
    border-radius: 12px;
    min-height: 210px;
    position: relative;
    overflow: hidden;
    display: block;
}

.tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
}

.tile-footer {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    font-size: 11px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.btn-ghost {
    border-radius: 999px;
    border: 1px solid #fff;
    padding: 6px 14px;
    background: transparent;
    color: #fff;
    font-size: 11px;
}

/* Latest strip */
.latest-strip {
    border-radius: 12px;
    overflow: hidden;
    min-height: 210px;
    position: relative;
    display: block;
}

.latest-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.latest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.latest-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 18px;
    max-width: 420px;
    font-size: 13px;
}

/* Lloyd highlights */
.lloyd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.lloyd-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 10px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lloyd-img {
    height: 70px;
    border-radius: 8px;
    background: #eceff1;
    background-size: cover;
    background-position: center;
}

.lloyd-name {
    font-weight: 600;
}

.lloyd-features li {
    margin-left: 12px;
    list-style: disc;
}

/* Wrap container */
.wrap {
    max-width: 1180px;
    margin: 0 auto 32px;
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
}

/* WordPress admin bar spacing */
.admin-bar .top-bar {
    top: 32px;
}

/* WordPress classes */
.sticky {
}

.bypostauthor {
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 900px) {
    .top-bar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 16px;
    }

    .main-nav {
        flex-wrap: wrap;
        position: static;
        padding: 10px 16px;
    }

    .hero-large {
        height: 260px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 24px 16px 18px;
    }

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

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .lloyd-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col-grid {
        grid-template-columns: 1fr;
    }

    .page-wrap {
        grid-template-columns: 1fr;
        padding: 14px 14px 24px;
    }

    .filter-panel {
        position: static;
        max-height: none;
        order: 2;
        margin-top: 12px;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 16px 32px;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .leaders {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .wrap,
    .sections {
        padding: 20px 16px 28px;
    }

    .section {
        padding: 18px 16px 8px;
    }
}

@media (max-width: 600px) {
    .search-box {
        order: 3;
        flex-basis: 100%;
        margin: 0;
    }

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

    .brands-sub-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics,
    .hero-highlights {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.p-0 {
    padding: 0 !important;
}
