/* =====================================================
   TANQ Water Level Indicator
   Design tokens
   - Ink   : #0B3142  (deep tank-water blue, dark bg/text)
   - Teal  : #0E7C86  (primary brand)
   - Aqua  : #35C4C9  (bright accent / links)
   - Amber : #F2A93B  (signal / CTA - like a sensor float light)
   - Mist  : #F5F8F8  (page background)
   - Ink70 : #4A5F64  (secondary text)
   Type: 'Sora' (display/headings) + 'Inter' (body) + 'JetBrains Mono' (specs/numbers)
   Signature element: the "level gauge" - a vertical tank-fill bar used
   as a divider / decorative motif and echoed in stock indicators.
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap');

:root {
    --ink: #0B3142;
    --ink-70: #4A5F64;
    --teal: #0E7C86;
    --teal-dark: #095961;
    --aqua: #35C4C9;
    --amber: #F2A93B;
    --amber-dark: #d98f1f;
    --brand-purple: #3822cd;
    --brand-purple-dark: #2c1aa3;
    --mist: #F5F8F8;
    --white: #ffffff;
    --line: #DCE7E7;
    --danger: #C6432D;
    --radius: 10px;
    --shadow: 0 4px 18px rgba(11, 49, 66, 0.08);
    --shadow-lg: 0 12px 34px rgba(11, 49, 66, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--mist);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    line-height: 1.2;
    font-weight: 700;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.mono { font-family: 'JetBrains Mono', monospace; }

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-dark); color: var(--ink); box-shadow: var(--shadow); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #a0361f; color: var(--white); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header / Nav ---------- */
.top-strip {
    background: var(--ink);
    color: #cfe6e6;
    font-size: 0.8rem;
}
.top-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}
.top-strip a { color: #cfe6e6; }
.top-strip a:hover { color: var(--amber); }
.top-strip .sep { opacity: .4; margin: 0 8px; }

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ink);
}
.logo .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--aqua), var(--teal));
    position: relative;
    flex-shrink: 0;
}
.logo .logo-mark::after {
    content: '';
    position: absolute;
    left: 8px; right: 8px; bottom: 6px;
    height: 14px;
    background: rgba(255,255,255,.35);
    border-radius: 3px;
}
.logo small { display: block; font-family: 'Inter'; font-weight: 500; font-size: .62rem; letter-spacing: .12em; color: var(--ink-70); text-transform: uppercase; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-nav ul { list-style: none; display: flex; gap: 26px; }
.main-nav a {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal); border-bottom-color: var(--amber); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--ink);
    background: var(--mist);
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid var(--line);
}
.cart-link:hover { border-color: var(--teal); color: var(--teal); }
.cart-badge {
    background: var(--amber);
    color: var(--ink);
    font-size: .72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(120deg, #3822cd 0%, var(--teal-dark) 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}
.hero .container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 40px;
    padding-top: 72px;
    padding-bottom: 72px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--aqua);
    background: rgba(53,196,201,.12);
    border: 1px solid rgba(53,196,201,.35);
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.1rem);
    margin-bottom: 18px;
}
.hero h1 span { color: var(--amber); }
.hero p.lead {
    font-size: 1.08rem;
    color: #cfe4e4;
    max-width: 520px;
    margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: 'Sora'; font-size: 1.6rem; color: var(--amber); }
.hero-stats div span { font-size: .8rem; color: #b9d4d4; text-transform: uppercase; letter-spacing: .05em; }

/* Signature element: the installation diagram/photo */
.hero-diagram { display: flex; justify-content: center; align-items: center; width: 100%; }
.hero-diagram svg { width: 100%; max-width: 480px; height: auto; display: block; }
.hero-diagram img { width: 100%; max-width: 480px; height: auto; display: block; border-radius: 14px; }

/* ---------- Section basics ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-header { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-header .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--teal);
    display: block;
    margin-bottom: 10px;
}
/* Larger, more visible variant - e.g. the "Why TANQ" eyebrow */
.section-header .eyebrow.eyebrow-lg {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-header p { color: var(--ink-70); font-size: 1.02rem; }
.section-alt { background: var(--white); }

/* ---------- Feature grid (home) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: rgba(14,124,134,.1);
    color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-70); font-size: .92rem; }

/* ---------- Product grid / cards ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
    position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-thumb {
    aspect-ratio: 4/3;
    background: var(--mist);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge-sale {
    position: absolute; top: 12px; left: 12px;
    background: var(--amber); color: var(--ink);
    font-family: 'JetBrains Mono'; font-size: .68rem; font-weight: 700;
    padding: 4px 9px; border-radius: 20px; text-transform: uppercase;
}
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-family: 'JetBrains Mono'; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.product-body h3 { font-size: 1.05rem; }
.product-body h3 a { color: var(--ink); }
.product-desc { font-size: .87rem; color: var(--ink-70); flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-now { font-family: 'Sora'; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.price-old { font-size: .85rem; color: #9AAAAA; text-decoration: line-through; }
.stock-bar { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.stock-bar span { display: block; height: 100%; background: var(--teal); }
.stock-note { font-size: .74rem; color: var(--ink-70); }
.product-actions { display: flex; gap: 10px; }

/* ---------- Product detail page ---------- */
.pd-hero {
    background: linear-gradient(160deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
    color: var(--white);
    padding: 34px 0 56px;
}
.pd-hero .breadcrumb { color: #cfc8fb; margin-bottom: 24px; }
.pd-hero .breadcrumb a { color: #cfc8fb; }
.pd-hero .breadcrumb a:hover { color: var(--amber); }

.pd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }

/* Gallery */
.pd-gallery { position: sticky; top: 100px; }
.pd-main-image {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 20px;
    cursor: zoom-in;
    position: relative;
    aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.pd-main-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.pd-main-image:hover img { transform: scale(1.03); }
.pd-zoom-hint {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(11,49,66,.65);
    color: #fff;
    font-size: .74rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex; align-items: center; gap: 6px;
    pointer-events: none;
}
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb {
    width: 74px; height: 74px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    padding: 6px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .15s ease, transform .15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: var(--amber); background: rgba(255,255,255,.14); }

/* Lightbox modal */
.pd-lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(11,10,20,.92);
    display: none;
    align-items: center; justify-content: center;
    padding: 40px 20px;
}
.pd-lightbox.open { display: flex; }
.pd-lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 10px; background: #fff; }
.pd-lightbox-close {
    position: absolute; top: 22px; right: 26px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.pd-lightbox-close:hover { background: rgba(255,255,255,.24); }
.pd-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff; border: none; font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.pd-lightbox-nav:hover { background: rgba(255,255,255,.24); }
.pd-lightbox-prev { left: 20px; }
.pd-lightbox-next { right: 20px; }
.pd-lightbox-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #cfc8fb; font-family: 'JetBrains Mono'; font-size: .8rem; }

/* Info column */
.pd-model { font-family: 'JetBrains Mono'; font-size: .78rem; color: #cfc8fb; margin-bottom: 8px; letter-spacing: .04em; }
.pd-title { font-size: 1.9rem; margin-bottom: 10px; color: var(--white); }
.pd-short { color: #d9d4fa; margin-bottom: 18px; }
.pd-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.pd-price-row .price-now { font-size: 2.1rem; color: var(--white); }
.pd-price-row .price-old { color: #b6adf0; }
.pd-off-badge { font-family: 'JetBrains Mono'; font-size: .8rem; color: var(--amber); font-weight: 700; }
.pd-tax-note { font-size: .78rem; color: #b6adf0; margin-bottom: 22px; }

.pd-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pd-trust-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .8rem;
    padding: 7px 13px;
    border-radius: 20px;
}

.pd-stock { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: #a9f0d9; font-weight: 600; margin-bottom: 22px; }
.pd-stock .dot { width: 9px; height: 9px; background: #35d99a; border-radius: 50%; }
.pd-stock.out { color: #ffb4a3; }
.pd-stock.out .dot { background: #ff6b52; }

.qty-box { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; width: fit-content; background: rgba(255,255,255,.06); }
.qty-box button { width: 40px; height: 44px; border: none; background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.qty-box input { width: 52px; text-align: center; border: none; background: transparent; color: #fff; font-family: 'JetBrains Mono'; font-size: 1rem; }
.pd-actions { display: flex; gap: 12px; align-items: center; margin: 24px 0; flex-wrap: wrap; }

/* Content sections below the purple hero */
.pd-section { padding: 50px 0; border-bottom: 1px solid var(--line); }
.pd-section:last-child { border-bottom: none; }
.pd-section h3 { font-size: 1.25rem; margin-bottom: 20px; }
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); }
.feature-list li::before { content: '✓'; color: var(--teal); font-weight: 700; }

.pd-box-list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.pd-box-list li {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .88rem;
    display: flex; align-items: center; gap: 8px;
}
.pd-box-list li::before { content: '📦'; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 12px 16px; font-size: .9rem; }
.spec-table td:first-child { width: 220px; font-weight: 600; color: var(--ink-70); background: var(--mist); }

.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
    padding: 15px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: .94rem;
    background: var(--white);
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--teal); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 18px 18px; color: var(--ink-70); font-size: .9rem; }

/* ---------- Cart page ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th { text-align: left; background: var(--ink); color: var(--white); font-family: 'Sora'; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding: 14px 18px; }
.cart-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--mist); }
.cart-prod-name { font-weight: 600; }
.remove-link { color: var(--danger); font-size: .82rem; font-weight: 600; }
.cart-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: .95rem; }
.cart-summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-family: 'Sora'; font-weight: 700; font-size: 1.15rem; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: flex-start; }
.empty-state { text-align: center; padding: 70px 20px; background: var(--white); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .88rem; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], textarea, select {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    background: var(--white);
    color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); }
textarea { resize: vertical; min-height: 120px; }
.required { color: var(--danger); }
.card-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-size: .92rem; }
.alert-success { background: #e2f5ee; color: #14764f; border: 1px solid #b7e5d3; }
.alert-error { background: #fbe7e2; color: #a5341c; border: 1px solid #f3c3b6; }

/* ---------- About / Contact page bits ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 20px; }
.stat-strip div { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 10px; }
.stat-strip strong { display: block; font-family: 'Sora'; font-size: 1.7rem; color: var(--teal); }
.stat-strip span { font-size: .78rem; color: var(--ink-70); text-transform: uppercase; letter-spacing: .04em; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info-card { background: var(--ink); color: var(--white); border-radius: 14px; padding: 34px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 18px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ic { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { color: var(--white); font-size: .92rem; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { color: #cfe4e4; font-size: .88rem; }

.timeline-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.timeline-steps div { text-align: center; }
.timeline-steps .num { font-family: 'JetBrains Mono'; font-size: .8rem; color: var(--amber-dark); background: rgba(242,169,59,.15); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9d4d4; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: #b9d4d4; font-size: .88rem; }
.footer-grid a:hover { color: var(--amber); }
.footer-about p { font-size: .88rem; margin-top: 12px; color: #9fc2c2; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0; font-size: .8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #9fc2c2; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--teal); }

/* ---------- Misc ---------- */
.divider-gauge { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 10px 0 40px; color: var(--ink-70); font-family: 'JetBrains Mono'; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.divider-gauge::before, .divider-gauge::after { content: ''; height: 1px; width: 60px; background: var(--line); }
/* Left-aligned variant used e.g. for the "How it works" label - keeps the
   trailing rule line but drops the leading one so it reads cleanly
   left-to-right instead of looking off-center. */
.divider-gauge.divider-gauge-left { justify-content: flex-start; margin: 0 0 20px; }
.divider-gauge.divider-gauge-left::before { display: none; }
.divider-gauge.divider-gauge-left::after { width: 100%; max-width: 140px; }

.toast {
    position: fixed;
    bottom: 26px; right: 26px;
    background: var(--ink);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    z-index: 999;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .ic { color: var(--amber); font-weight: 700; }

.page-banner {
    background: linear-gradient(120deg, #3822cd, var(--teal-dark));
    color: var(--white);
    padding: 50px 0;
}
.page-banner h1 { color: var(--white); font-size: 2rem; }
.page-banner .breadcrumb { color: #b9d4d4; margin-top: 8px; margin-bottom: 0; }
.page-banner .breadcrumb a { color: #cfe4e4; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-diagram { order: -1; margin-bottom: 10px; }
    .hero-diagram svg { max-width: 340px; }
    .hero-diagram img { max-width: 340px; margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .product-grid { grid-template-columns: repeat(2,1fr); }
    .pd-wrap { grid-template-columns: 1fr; }
    .pd-gallery { position: static; }
    .pd-box-list { grid-template-columns: 1fr; }
    .spec-table td:first-child { width: 150px; }
    .cart-layout { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px; background: var(--white); flex-direction: column; align-items: flex-start; padding: 90px 26px 26px; transition: right .25s ease; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 18px; }
    .nav-toggle { display: block; }
    .top-strip .container { justify-content: center; text-align: center; }
    .feature-grid, .product-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: repeat(2,1fr); }
    .timeline-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
}

/* =====================================================
   TANQ diagram styles — v2 (class-based sync so the same
   animated device+tank diagram can be reused in multiple
   sections on one page, e.g. Hero + How Is It Installed)
   Replace any earlier #row0/#row25.. ID-based rules with this file.
===================================================== */

:root {
    --lvl-100: #2ecc71;
    --lvl-75:  #a8d94a;
    --lvl-50:  #F2A93B;
    --lvl-25:  #e2574c;
    --lvl-0:   #a5342a;
}

.tanq-animation { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; max-width: 440px; margin: 0 auto; }

.tanq-device { background: rgba(255,255,255,.96); border-radius: 14px; padding: 16px 18px; box-shadow: 0 14px 30px rgba(0,0,0,.25); width: 150px; flex-shrink: 0; position: relative; }
.tanq-panel { background: #0c1a1f; border-radius: 8px; padding: 10px 12px 12px; }
.tanq-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; opacity: .3; }
.tanq-icon { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.icon-100 { background: var(--lvl-100); }
.icon-75  { background: var(--lvl-75); }
.icon-50  { background: var(--lvl-50); }
.icon-25  { background: var(--lvl-25); }
.icon-0   { background: var(--lvl-0); }
.tanq-pct { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: #dfeff0; letter-spacing: .02em; }
.tanq-brand { margin-top: 8px; text-align: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: .78rem; color: #fff; letter-spacing: .06em; }
.tanq-terminals { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.tanq-terminals span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.tanq-wire { width: 30px; height: 3px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 10px); border-radius: 3px; flex-shrink: 0; }

.tanq-tank { position: relative; width: 130px; height: 240px; border: 3px solid rgba(255,255,255,.55); border-radius: 16px; background: rgba(255,255,255,.06); overflow: hidden; flex-shrink: 0; }
.tanq-tank-mark { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.25); }
.tanq-water { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: linear-gradient(180deg, var(--aqua), var(--teal-dark)); animation: tanqWaterLevel 12s linear infinite; }
.tanq-wave { position: absolute; top: -5px; left: -25%; width: 150%; height: 12px; background: rgba(255,255,255,.3); border-radius: 45%; animation: tanqWaveMove 2.4s ease-in-out infinite; }

@keyframes tanqWaveMove { 0%, 100% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-8%) scaleY(1.3); } }
@keyframes tanqWaterLevel { 0% { height: 0%; } 50% { height: 100%; } 100% { height: 0%; } }

/* ---------- Lamp sync via row ID (row100/row75/row50/row25/row0 and their duplicate "b" ids for the 2nd diagram instance) ---------- */
#row0, #row0b     { animation: lampGlow0 12s linear infinite; }
#row25, #row25b   { animation: lampGlow25 12s linear infinite; }
#row50, #row50b   { animation: lampGlow50 12s linear infinite; }
#row75, #row75b   { animation: lampGlow75 12s linear infinite; }
#row100, #row100b { animation: lampGlow100 12s linear infinite; }

@keyframes lampGlow0 {
    0%{opacity:1;} 6.25%{opacity:1;} 6.3%{opacity:.3;}
    93.7%{opacity:.3;} 93.75%{opacity:1;} 100%{opacity:1;}
}
@keyframes lampGlow25 {
    0%{opacity:.3;} 6.2%{opacity:.3;} 6.25%{opacity:1;} 18.75%{opacity:1;} 18.8%{opacity:.3;}
    81.2%{opacity:.3;} 81.25%{opacity:1;} 93.75%{opacity:1;} 93.8%{opacity:.3;} 100%{opacity:.3;}
}
@keyframes lampGlow50 {
    0%{opacity:.3;} 18.7%{opacity:.3;} 18.75%{opacity:1;} 31.25%{opacity:1;} 31.3%{opacity:.3;}
    68.7%{opacity:.3;} 68.75%{opacity:1;} 81.25%{opacity:1;} 81.3%{opacity:.3;} 100%{opacity:.3;}
}
@keyframes lampGlow75 {
    0%{opacity:.3;} 31.2%{opacity:.3;} 31.25%{opacity:1;} 43.75%{opacity:1;} 43.8%{opacity:.3;}
    56.2%{opacity:.3;} 56.25%{opacity:1;} 68.75%{opacity:1;} 68.8%{opacity:.3;} 100%{opacity:.3;}
}
@keyframes lampGlow100 {
    0%{opacity:.3;} 43.7%{opacity:.3;} 43.75%{opacity:1;} 56.25%{opacity:1;} 56.3%{opacity:.3;} 100%{opacity:.3;}
}

@media (prefers-reduced-motion: reduce) {
    .tanq-water, .tanq-wave,
    #row0, #row25, #row50, #row75, #row100,
    #row0b, #row25b, #row50b, #row75b, #row100b { animation: none !important; }
    #row50, #row50b { opacity: 1; }
}

@media (max-width: 980px) {
    .tanq-animation { max-width: 300px; gap: 10px; }
    .tanq-device { width: 120px; padding: 12px 14px; }
    .tanq-tank { width: 100px; height: 190px; }
}

/* =====================================================
   New sections: Why TANQ spec badges + capability grid,
   and the dark "How Is It Installed?" section
===================================================== */

.spec-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 780px; margin: 0 auto 10px; }
.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: .84rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal) 0%, var(--aqua) 100%);
    border: none;
    padding: 11px 20px;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(14,124,134,.28);
    letter-spacing: .01em;
    transition: transform .18s ease, box-shadow .18s ease;
}
.spec-badge::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    font-size: .68rem;
    font-weight: 800;
}
.spec-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(14,124,134,.4);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 10px;
}
.capability-item {
    padding: 10px 30px;
    border-right: 1px solid var(--line);
    text-align: left;
}
.capability-item:last-child { border-right: none; }
.capability-num {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--mist);
    border: 1px solid var(--line);
    color: var(--ink-70);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.capability-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.capability-item p { color: var(--ink-70); font-size: .9rem; }

.section-dark {
    background: var(--ink);
    color: #cfe4e4;
}
.section-header-dark p { color: #a9c3c3; }
.eyebrow-dark { color: var(--aqua) !important; }
.dark-heading { color: var(--white); }

.install-notes {
    max-width: 720px;
    margin: 34px auto 0;
    text-align: center;
}
.install-notes p { color: #b9d4d4; font-size: .92rem; margin-bottom: 8px; }
.install-highlight { color: var(--amber); font-weight: 600; }

@media (max-width: 980px) {
    .capability-grid { grid-template-columns: 1fr; }
    .capability-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding: 18px 6px; }
    .capability-item:last-child { border-bottom: none; }
}

/* ---------- Fixed Products dropdown ---------- */
.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-item-has-dropdown > a::after {
    content: '⌄';
    font-size: 0.85rem;
    line-height: 1;
    transition: transform .2s ease;
}

.nav-item-has-dropdown:hover > a::after,
.nav-item-has-dropdown:focus-within > a::after {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 8px);
    width: 190px;
    display: block !important;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(11, 49, 66, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 300;
}

/* Small bridge prevents the menu disappearing while moving the mouse into it */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown li {
    display: block !important;
    width: 100%;
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 13px;
    border: 0 !important;
    border-radius: 8px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-dropdown li a::before {
    content: '•';
    margin-right: 8px;
    color: var(--amber);
    font-size: 1.15rem;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
    background: var(--mist);
    color: var(--teal);
}

@media (max-width: 720px) {
    .main-nav > ul {
        display: flex;
        align-items: flex-start;
        gap: 18px;
    }

    .nav-item-has-dropdown > a {
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        transform: none !important;
        width: 100%;
        margin: 8px 0 0;
        padding: 4px 0 4px 12px;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown::before {
        display: none;
    }
}

/* =====================================================
   TANQ product detail page - modern ecommerce layout
===================================================== */

.product-detail-page {
    background: var(--mist);
}

.product-breadcrumb-section {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
    margin: 0;
    color: var(--ink-70);
    font-size: 0.82rem;
}

.product-breadcrumb a {
    color: var(--teal);
    font-weight: 600;
}

.product-breadcrumb span:last-child {
    color: var(--ink-70);
    overflow: hidden;
    max-width: 350px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-main-section {
    padding: 46px 0 56px;
    background: var(--white);
}

.product-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 54px;
    align-items: start;
}

.product-gallery-column {
    min-width: 0;
}

.product-gallery-layout {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-thumb {
    width: 76px;
    height: 76px;
    padding: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    transition: border-color .2s ease, transform .2s ease;
}

.product-gallery-thumb:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}

.product-gallery-thumb.active {
    border-color: var(--amber);
    box-shadow: 0 3px 12px rgba(242, 169, 59, .22);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-main-image {
    position: relative;
    min-height: 490px;
    padding: 28px;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image > img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: contain;
    transition: transform .25s ease;
}

.product-main-image:hover > img {
    transform: scale(1.035);
}

.product-discount-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 6px 11px;
    border-radius: 20px;
    color: var(--ink);
    background: var(--amber);
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    font-weight: 700;
}

.product-zoom-label {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink-70);
    background: rgba(255, 255, 255, .9);
    font-size: .75rem;
    pointer-events: none;
}

.product-info-column {
    padding: 4px 0;
}

.product-category-label {
    margin-bottom: 10px;
    color: var(--teal);
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-main-title {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.2;
}

.product-short-description {
    max-width: 620px;
    margin-bottom: 14px;
    color: var(--ink-70);
    font-size: 1rem;
    line-height: 1.7;
}

.product-model-number {
    margin-bottom: 22px;
    color: var(--ink-70);
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
}

.product-model-number span {
    color: var(--ink);
    font-weight: 700;
}

.product-pricing-box {
    margin-bottom: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.product-current-price {
    color: var(--ink);
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.product-original-price {
    color: #9aaaaa;
    font-size: 1rem;
    text-decoration: line-through;
}

.product-sale-percent {
    padding: 4px 9px;
    border-radius: 5px;
    color: #196c44;
    background: #e1f4e9;
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    font-weight: 700;
}

.product-tax-message {
    margin-top: 4px;
    color: var(--ink-70);
    font-size: .78rem;
}

.product-stock-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .88rem;
    font-weight: 700;
}

.product-stock-status small {
    width: 100%;
    margin-left: 18px;
    color: var(--ink-70);
    font-size: .75rem;
    font-weight: 500;
}

.stock-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.in-stock {
    color: #18754b;
}

.in-stock .stock-indicator {
    background: #35d99a;
    box-shadow: 0 0 0 4px rgba(53, 217, 154, .16);
}

.out-stock {
    color: var(--danger);
}

.out-stock .stock-indicator {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(198, 67, 45, .12);
}

.product-purchase-box {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--mist);
}

.product-quantity-label {
    margin-bottom: 10px;
    font-size: .84rem;
    font-weight: 700;
}

.product-purchase-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.qty-box-light {
    overflow: hidden;
    border-color: var(--line);
    background: var(--white);
}

.qty-box-light button {
    color: var(--ink);
}

.qty-box-light input {
    color: var(--ink);
}

.product-add-cart-btn {
    min-height: 46px;
}

.product-buy-now-btn {
    min-height: 46px;
}

.product-assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-assurance-item {
    display: flex;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.assurance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(14, 124, 134, .1);
    font-size: 1rem;
}

.product-assurance-item strong {
    display: block;
    color: var(--ink);
    font-size: .78rem;
    line-height: 1.25;
}

.product-assurance-item small {
    display: block;
    margin-top: 3px;
    color: var(--ink-70);
    font-size: .67rem;
    line-height: 1.3;
}

.product-highlights-section {
    padding: 22px 0;
    background: var(--ink);
}

.product-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.product-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 8px 24px;
    border-right: 1px solid rgba(255, 255, 255, .13);
}

.product-highlight-item:last-child {
    border-right: none;
}

.product-highlight-number {
    color: var(--amber);
    font-family: 'JetBrains Mono', monospace;
    font-size: .76rem;
    font-weight: 700;
}

.product-highlight-item p {
    color: #d8eeee;
    font-size: .8rem;
    line-height: 1.45;
}

.product-content-section {
    padding: 68px 0;
    background: var(--white);
}

.product-content-container {
    max-width: 930px;
}

.product-section-heading {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

.product-section-heading.align-left {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.product-section-heading .eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--teal);
    font-family: 'JetBrains Mono', monospace;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-section-heading h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.product-description-content {
    color: var(--ink-70);
    font-size: 1rem;
    line-height: 1.8;
}

.product-detail-block {
    margin-top: 38px;
}

.product-detail-block h3 {
    margin-bottom: 19px;
    font-size: 1.22rem;
}

.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 26px;
    list-style: none;
}

.product-feature-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    font-size: .92rem;
    line-height: 1.5;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    color: var(--white);
    background: var(--teal);
    font-size: .72rem;
    font-weight: 700;
}

.product-box-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.product-box-content-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.product-box-content-item > span {
    font-size: 1.2rem;
}

.product-box-content-item p {
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
}

.product-specification-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.product-specification-table {
    margin: 0;
}

.product-specification-table td {
    padding: 15px 18px;
}

.product-specification-table td:first-child {
    width: 37%;
    background: #f1f7f7;
}

.product-faq-list {
    display: grid;
    gap: 10px;
}

.product-faq-list .faq-item {
    margin-bottom: 0;
}

.product-related-section {
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    .product-main-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .product-main-image {
        min-height: 420px;
    }

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

    .product-highlight-item:nth-child(2) {
        border-right: none;
    }

    .product-highlight-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .13);
    }
}

@media (max-width: 620px) {
    .product-main-section {
        padding: 28px 0 38px;
    }

    .product-main-layout {
        gap: 26px;
    }

    .product-gallery-layout {
        display: flex;
        flex-direction: column-reverse;
    }

    .product-gallery-thumbs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .product-gallery-thumb {
        width: 62px;
        height: 62px;
        flex: 0 0 62px;
    }

    .product-main-image {
        min-height: 320px;
        padding: 20px;
        border-radius: 12px;
    }

    .product-main-image > img {
        max-height: 310px;
    }

    .product-main-title {
        font-size: 1.65rem;
    }

    .product-current-price {
        font-size: 1.75rem;
    }

    .product-purchase-actions {
        grid-template-columns: 1fr;
    }

    .qty-box-light {
        width: 100%;
        justify-content: space-between;
    }

    .qty-box-light input {
        flex: 1;
    }

    .product-assurance-grid,
    .product-feature-grid,
    .product-box-content-grid {
        grid-template-columns: 1fr;
    }

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

    .product-highlight-item,
    .product-highlight-item:nth-child(2) {
        padding: 12px 4px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
    }

    .product-highlight-item:last-child {
        border-bottom: none;
    }

    .product-content-section {
        padding: 48px 0;
    }

    .product-specification-table td {
        padding: 12px;
        font-size: .83rem;
    }

    .product-specification-table td:first-child {
        width: 44%;
    }

    .product-breadcrumb span:last-child {
        max-width: 180px;
    }
}

/* =====================================================
   Wire / Floor calculator (product-detail.php)
===================================================== */
.pd-wire-box {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 18px;
}
.pd-wire-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    color: #fff;
    font-size: .88rem;
    margin-bottom: 10px;
}
.pd-wire-price-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: .74rem;
    font-weight: 500;
    color: var(--amber);
}
.pd-wire-select {
    width: 100%;
    background: rgba(255,255,255,.9);
    color: var(--ink);
    border: none;
}
.pd-wire-summary {
    margin-top: 10px;
    font-size: .84rem;
    color: #cfe4e4;
}
.pd-wire-error {
    margin-top: 10px;
    font-size: .82rem;
    color: #ffb4a3;
    font-weight: 600;
}
.pd-estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(242,169,59,.14);
    border: 1px solid rgba(242,169,59,.35);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .85rem;
    color: #fff;
    margin-bottom: 18px;
}
.pd-estimate-row strong {
    font-family: 'Sora', sans-serif;
    color: var(--amber);
    font-size: 1rem;
}

/* =====================================================
   Cart page: per-item wire select
===================================================== */
.cart-wire-select {
    padding: 8px 10px;
    font-size: .82rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    max-width: 190px;
}
.cart-wire-cost {
    margin-top: 4px;
    font-size: .76rem;
    color: var(--teal-dark);
    font-weight: 600;
}

/* =====================================================
   Checkout page: editable order summary line items
===================================================== */
.checkout-item-row {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}
.checkout-item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.checkout-item-price {
    white-space: nowrap;
    color: var(--ink);
}
.checkout-item-controls {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.checkout-item-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--ink-70);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.checkout-qty-input {
    width: 64px;
    padding: 7px 8px;
    font-size: .85rem;
}
.checkout-wire-select {
    padding: 7px 9px;
    font-size: .78rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    max-width: 220px;
}
.checkout-remove-link {
    margin-left: auto;
    align-self: center;
    font-size: .78rem;
}

@media (max-width: 620px) {
    .checkout-item-controls { align-items: flex-start; }
    .checkout-remove-link { margin-left: 0; }
}

/* =====================================================
   Product hero highlight chips (top features under title)
===================================================== */
.pd-highlight-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.pd-highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    padding: 7px 13px;
    border-radius: 20px;
}

/* =====================================================
   "See It In Action" product demo video section
   Left: short intro copy. Right: video (uploaded mp4 or
   YouTube embed) in a rounded, shadowed frame.
===================================================== */
.pd-video-section {
    padding: 64px 0;
    background: var(--mist);
    border-bottom: 1px solid var(--line);
}
.pd-video-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 54px;
    align-items: center;
}
.pd-video-text .eyebrow {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--teal);
    margin-bottom: 12px;
}
.pd-video-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.15;
    margin-bottom: 16px;
}
.pd-video-text p {
    color: var(--ink-70);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 420px;
}
.pd-video-points {
    list-style: none;
    display: grid;
    gap: 10px;
}
.pd-video-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
}
.pd-video-points li::before {
    content: '▶';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: .6rem;
}

.pd-video-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(11, 49, 66, .22);
    background: #0c1a1f;
    transition: transform .25s ease, box-shadow .25s ease;
}
.pd-video-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(11, 49, 66, .28);
}
.pd-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.pd-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.pd-video-native {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0c1a1f;
    object-fit: cover;
}

@media (max-width: 860px) {
    .pd-video-section { padding: 48px 0; }
    .pd-video-layout { grid-template-columns: 1fr; gap: 26px; }
    .pd-video-text p { max-width: none; }
}

/* ---------- Product Video Section ("See It In Action") ---------- */
.pd-video-wrap {
    display: grid;
    grid-template-columns: 0.85fr 1.3fr;
    align-items: center;
    gap: 46px;
}

.pd-video-text .eyebrow {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.pd-video-text h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.15;
    margin-bottom: 0;
    position: relative;
    padding-left: 18px;
}

.pd-video-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--aqua), var(--teal));
}

.pd-video-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    background: var(--ink);
    aspect-ratio: 16/9;
}

.pd-video-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: var(--ink);
}

.pd-video-caption {
    text-align: center;
    max-width: 480px;
    margin: 34px auto 0;
    color: var(--ink-70);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

@media (max-width: 780px) {
    .pd-video-wrap {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }
    .pd-video-text h3 {
        padding-left: 0;
    }
    .pd-video-text h3::before {
        display: none;
    }
    .pd-video-media {
        aspect-ratio: 16/10;
    }
}

/* ---------- Customer Images Gallery (auto-scrolling marquee) ---------- */
.pd-customer-gallery-section h3 {
    margin-bottom: 30px;
}

.pd-customer-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.pd-customer-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: pdMarqueeScroll 28s linear infinite;
}

.pd-customer-marquee:hover .pd-customer-track {
    animation-play-state: paused;
}

.pd-customer-item {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--mist);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pd-customer-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pd-customer-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes pdMarqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 720px) {
    .pd-customer-item {
        width: 160px;
        height: 160px;
    }
    .pd-customer-track {
        animation-duration: 20s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-customer-track {
        animation: none;
    }
}