/* ==========================================================================
   Data Security by Teledata — "Neon Shield" theme
   Inspired by the Teledata x Kaspersky campaign artwork.
   Loaded last, so it overrides style.css + izeetak.css.
   ========================================================================== */

:root {
    --td-bg: #040b20;
    --td-bg-2: #071535;
    --td-surface: rgba(12, 32, 78, 0.55);
    --td-surface-solid: #0b1d47;
    --td-surface-2: rgba(18, 48, 110, 0.45);
    --td-line: rgba(70, 160, 255, 0.28);
    --td-line-strong: rgba(80, 200, 255, 0.6);
    --td-cyan: #22e3f2;
    --td-cyan-2: #5ff2ff;
    --td-blue: #1d74ff;
    --td-text: #eaf2ff;
    --td-muted: #9db0d3;
    --td-ink: #03122b;
    --td-glow: 0 0 0 1px rgba(80, 200, 255, 0.35), 0 0 24px rgba(34, 160, 255, 0.35);
    --td-glow-cyan: 0 0 18px rgba(34, 227, 242, 0.55), 0 0 42px rgba(34, 227, 242, 0.25);
    --td-radius: 18px;
    --td-font-head: "Exo 2", "Segoe UI", system-ui, sans-serif;
    --td-font-body: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
body.td-theme {
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(29, 116, 255, 0.28), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(34, 227, 242, 0.10), transparent 60%),
        linear-gradient(180deg, var(--td-bg-2) 0%, var(--td-bg) 45%, var(--td-bg) 100%);
    background-attachment: fixed;
    color: var(--td-text);
    font-family: var(--td-font-body);
}
body.td-theme * {
    font-family: var(--td-font-body);
}
body.td-theme .fa, body.td-theme .fas, body.td-theme .far, body.td-theme .fab,
body.td-theme [class^="icon-"], body.td-theme [class*=" icon-"] {
    font-family: inherit;
}
body.td-theme .fas, body.td-theme .fa, body.td-theme .far { font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; }
body.td-theme .fab { font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands"; }
body.td-theme [class^="icon-"], body.td-theme [class*=" icon-"] { font-family: "icomoon" !important; }

body.td-theme h1, body.td-theme h2, body.td-theme h3, body.td-theme h4, body.td-theme h5 {
    color: #fff;
    font-family: var(--td-font-head);
}
body.td-theme a { color: var(--td-cyan); }
body.td-theme a:hover { color: var(--td-cyan-2); }
body.td-theme p { color: var(--td-muted); }
body.td-theme main { overflow-x: hidden; }
body.td-theme ::selection { background: var(--td-cyan); color: var(--td-ink); }

body.td-theme .content-wrapper {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- Buttons ---------- */
.td-btn, body.td-theme .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: auto;
    min-height: 46px;
    padding: 12px 26px;
    border-radius: 999px;
    font-family: var(--td-font-head);
    font-weight: 800;
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.3px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.td-btn i { font-style: normal; }
.td-btn--primary, body.td-theme .btn {
    background: linear-gradient(90deg, var(--td-cyan) 0%, var(--td-cyan-2) 100%);
    color: var(--td-ink) !important;
    border: 0;
    box-shadow: var(--td-glow-cyan);
}
.td-btn--primary:hover, body.td-theme .btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, var(--td-cyan-2) 0%, #9ef8ff 100%);
    box-shadow: 0 0 26px rgba(34, 227, 242, 0.75), 0 0 60px rgba(34, 227, 242, 0.3);
    color: var(--td-ink) !important;
}
.td-btn--ghost {
    background: rgba(10, 30, 75, 0.5);
    color: #fff !important;
    border: 1.5px solid var(--td-line-strong);
    box-shadow: var(--td-glow);
}
.td-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--td-cyan);
    color: var(--td-cyan) !important;
}
body.td-theme .btn:disabled {
    background: #2a3a5c;
    color: #7b8bab !important;
    box-shadow: none;
    transform: none;
}
body.td-theme .btn.stripe { background: linear-gradient(90deg, #635bff, #8a84ff); color: #fff !important; box-shadow: 0 0 18px rgba(99, 91, 255, .5); }
body.td-theme .btn.paypal { background: linear-gradient(90deg, #1f6fd8, #3f8ef0); color: #fff !important; box-shadow: 0 0 18px rgba(31, 111, 216, .5); }

/* ---------- Eyebrow / section heads ---------- */
.td-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--td-line-strong);
    border-radius: 999px;
    background: rgba(12, 40, 95, 0.55);
    color: var(--td-cyan);
    font-family: var(--td-font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: inset 0 0 12px rgba(34, 227, 242, 0.12);
}
.td-section-head {
    text-align: center;
    padding: 70px 0 10px;
}
body.td-theme main .recentlyadded h2,
.td-section-head h2 {
    border: 0;
    padding: 14px 0 0;
    margin: 0;
    font-family: var(--td-font-head);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(28px, 3.4vw, 42px);
    color: #fff;
}
.td-center { text-align: center; padding: 40px 0 10px; }

/* ---------- Top bar ---------- */
.td-topbar {
    background: rgba(2, 8, 24, 0.85);
    border-bottom: 1px solid var(--td-line);
    font-size: 13px;
}
.td-topbar .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 38px;
}
.td-topbar, .td-topbar * { font-size: 13px; }
.td-topbar__note { color: var(--td-muted); }
.td-topbar__note i { color: var(--td-cyan); margin-right: 4px; }
.td-topbar__links { display: flex; gap: 22px; }
.td-topbar__links a { color: var(--td-text) !important; text-decoration: none; }
.td-topbar__links a i { color: var(--td-cyan); margin-right: 6px; }
.td-topbar__links a:hover { color: var(--td-cyan) !important; }
/* Currency switcher (USD | AED) */
.td-topbar__links { align-items: center; }
.td-currency { display: inline-flex; border: 1px solid var(--td-line); border-radius: 999px; overflow: hidden; }
.td-topbar__links .td-currency a { padding: 2px 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--td-muted) !important; }
.td-topbar__links .td-currency a.active { background: var(--td-cyan); color: #04122e !important; }
.td-topbar__links .td-currency a:not(.active):hover { color: var(--td-cyan) !important; }
/* Product short description (next to the price) */
body.td-theme main .product .td-short-desc { margin: 4px 0 18px; color: var(--td-muted); font-size: 1em; line-height: 1.6; max-width: 60ch; }

/* ---------- Header ---------- */
body.td-theme header.td-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(4, 12, 34, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--td-line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
body.td-theme header.td-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--td-cyan), transparent);
    opacity: .7;
}
body.td-theme header.td-header .content-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    min-height: 78px;
    gap: 20px;
    text-align: left;
    padding-top: 0;
    padding-bottom: 0;
}
body.td-theme header.td-header .td-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
body.td-theme header.td-header .td-logo img {
    display: block;
    flex: none;
    max-height: 54px;
    width: auto;
    padding: 0;
    margin: 0;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(34, 227, 242, 0.45));
}
body.td-theme header.td-header nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
    position: static;
    background: none;
    box-shadow: none;
    border: 0;
    padding: 0;
}
body.td-theme header.td-header nav a {
    color: var(--td-text);
    font-family: var(--td-font-head);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .3px;
    padding: 10px 16px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid transparent;
    border-bottom: 1px solid transparent;
    transition: all .2s ease;
}
body.td-theme header.td-header nav a:hover {
    background: rgba(34, 227, 242, 0.08);
    border-color: var(--td-line-strong);
    color: var(--td-cyan);
    box-shadow: 0 0 16px rgba(34, 227, 242, 0.18);
}
body.td-theme header.td-header .link-icons {
    flex: 0 0 auto;
    margin: 0;
    gap: 8px;
    flex-wrap: nowrap;
}
body.td-theme header.td-header .link-icons a,
body.td-theme header.td-header .link-icons .search .icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--td-line);
    background: rgba(12, 36, 88, 0.5);
    color: #fff;
}
body.td-theme header.td-header .link-icons a:hover,
body.td-theme header.td-header .link-icons .search .icon:hover {
    background: rgba(34, 227, 242, 0.12);
    border-color: var(--td-cyan);
    box-shadow: 0 0 14px rgba(34, 227, 242, 0.35);
}
body.td-theme header.td-header .link-icons svg,
body.td-theme header.td-header .link-icons a svg,
body.td-theme header.td-header .link-icons .search .icon svg { fill: #fff; }
body.td-theme header.td-header .link-icons a span {
    background: var(--td-cyan);
    color: var(--td-ink);
    border: 0;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(34, 227, 242, .8);
    top: -3px;
    right: -3px;
}
body.td-theme header.td-header .link-icons .search input {
    background: rgba(8, 24, 60, 0.9);
    border: 1px solid var(--td-line-strong);
    border-radius: 999px;
    padding: 10px 16px;
    color: #fff;
    margin-right: 6px;
    width: 220px;
}
body.td-theme header.td-header .link-icons .search input::placeholder { color: var(--td-muted); }
body.td-theme header.td-header .link-icons .responsive-toggle { display: none; }

/* ---------- Hero ---------- */
.td-hero {
    position: relative;
    padding: 70px 0 40px;
    overflow: hidden;
}
.td-hero::before {
    /* tech grid */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(60, 150, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60, 150, 255, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}
.td-hero::after {
    /* sweeping neon arc like the ad */
    content: "";
    position: absolute;
    width: 1400px;
    height: 1400px;
    right: -700px;
    top: -980px;
    border-radius: 50%;
    border: 2px solid rgba(34, 160, 255, 0.55);
    box-shadow: 0 0 30px rgba(34, 160, 255, 0.45), inset 0 0 30px rgba(34, 160, 255, 0.25);
    pointer-events: none;
}
.td-hero__glow {
    position: absolute;
    width: 640px;
    height: 640px;
    right: 6%;
    top: 40px;
    background: radial-gradient(circle, rgba(29, 116, 255, 0.45) 0%, rgba(29, 116, 255, 0) 65%);
    filter: blur(10px);
    pointer-events: none;
}
.td-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 30px;
}
.td-hero__title {
    margin: 22px 0 18px;
    font-family: var(--td-font-head);
    font-weight: 900;
    font-style: italic;
    font-size: clamp(38px, 5.2vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 0 30px rgba(29, 116, 255, 0.45);
}
.td-ribbon {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 28px 12px;
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 900;
    font-size: 0.62em;
    line-height: 1;
    color: var(--td-ink);
    background: linear-gradient(90deg, var(--td-cyan) 0%, var(--td-cyan-2) 100%);
    border-radius: 14px;
    transform: skewX(-10deg);
    box-shadow: var(--td-glow-cyan);
    text-shadow: none;
}
.td-hero__lead {
    display: flex;
    gap: 14px;
    max-width: 540px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--td-muted);
    margin: 0 0 30px;
    font-style: italic;
}
.td-bar {
    flex: 0 0 4px;
    border-radius: 4px;
    background: var(--td-cyan);
    box-shadow: 0 0 10px var(--td-cyan);
}
.td-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.td-platforms {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 34px;
    padding: 6px;
    border: 1.5px solid var(--td-line-strong);
    border-radius: 999px;
    background: rgba(8, 24, 62, 0.6);
    box-shadow: var(--td-glow);
}
.td-platforms span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border-right: 1px solid var(--td-line);
}
.td-platforms span:last-child { border-right: 0; }
.td-platforms i { color: var(--td-cyan); font-size: 16px; }

.td-hero__visual {
    position: relative;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.td-ring {
    position: absolute;
    width: 440px;
    height: 440px;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(34, 227, 242, 0.55);
    box-shadow: var(--td-glow-cyan), inset 0 0 40px rgba(34, 227, 242, 0.18);
    background: radial-gradient(circle, rgba(29, 116, 255, 0.35), rgba(4, 11, 32, 0) 70%);
    animation: td-pulse 4s ease-in-out infinite;
}
.td-ring::before {
    content: "";
    position: absolute;
    inset: -26px;
    border-radius: 50%;
    border: 1px dashed rgba(95, 242, 255, 0.35);
    animation: td-spin 40s linear infinite;
}
.td-hero__character {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: td-float 6s ease-in-out infinite;
}
.td-podium {
    position: absolute;
    z-index: 1;
    bottom: -6px;
    left: 50%;
    width: 420px;
    height: 70px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(34, 227, 242, 0.7);
    background: radial-gradient(ellipse at center, rgba(34, 227, 242, 0.35), rgba(29, 116, 255, 0.1) 60%, transparent 75%);
    box-shadow: var(--td-glow-cyan);
}
.td-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1.5px solid var(--td-line-strong);
    background: rgba(8, 26, 66, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--td-glow);
}
.td-float i {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(34, 227, 242, 0.15);
    color: var(--td-cyan);
    font-size: 18px;
}
.td-float strong {
    display: block;
    color: #fff;
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.1;
}
.td-float span { display: block; color: var(--td-muted); font-size: 13px; }
.td-float--a { bottom: 150px; left: -20px; animation: td-float 7s ease-in-out infinite; }
.td-float--b { bottom: 40px; right: -30px; animation: td-float 8s ease-in-out infinite reverse; }

@keyframes td-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes td-spin { to { transform: rotate(360deg); } }
@keyframes td-pulse { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .td-hero__character, .td-float, .td-ring, .td-ring::before { animation: none !important; }
}

/* ---------- Brands strip ---------- */
body.td-theme .brand-one {
    background: transparent;
    padding: 30px 0;
}
body.td-theme .brand-one:not(:has(.brand-slide)) { display: none; }
body.td-theme .brand-one .container {
    border-top: 1px solid var(--td-line);
    border-bottom: 1px solid var(--td-line);
    padding-top: 18px;
    padding-bottom: 18px;
}
body.td-theme .brand-slide a {
    display: grid;
    place-items: center;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 1px rgba(80, 200, 255, 0.3), 0 0 18px rgba(34, 160, 255, 0.25);
}
body.td-theme .brand-slide img { filter: none; max-height: 44px; }

/* ---------- Features ---------- */
.td-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 40px;
}
.td-feature {
    position: relative;
    padding: 26px 24px;
    border-radius: var(--td-radius);
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.55), rgba(8, 22, 56, 0.55));
    border: 1.5px solid var(--td-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.td-feature:hover {
    transform: translateY(-4px);
    border-color: var(--td-line-strong);
    box-shadow: var(--td-glow);
}
.td-feature i {
    display: grid; place-items: center;
    width: 50px; height: 50px;
    margin-bottom: 16px;
    border-radius: 14px;
    font-size: 22px;
    color: var(--td-cyan);
    background: rgba(34, 227, 242, 0.12);
    border: 1px solid rgba(34, 227, 242, 0.35);
    box-shadow: 0 0 16px rgba(34, 227, 242, 0.2);
}
.td-feature h3 {
    margin: 0 0 8px;
    font-style: italic;
    font-weight: 800;
    font-size: 20px;
}
.td-feature p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Product cards (home + listing) ---------- */
body.td-theme main .recentlyadded .products,
body.td-theme main .products .products-wrapper {
    gap: 22px;
    padding-top: 34px;
}
body.td-theme main .recentlyadded .products .product,
body.td-theme main .products .products-wrapper .product {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: var(--td-radius);
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.6), rgba(8, 22, 56, 0.7));
    border: 1.5px solid var(--td-line);
    box-shadow: none;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.td-theme main .recentlyadded .products .product:hover,
body.td-theme main .products .products-wrapper .product:hover {
    transform: translateY(-5px);
    border-color: var(--td-cyan);
    box-shadow: var(--td-glow-cyan);
}
body.td-theme main .recentlyadded .products .product .img,
body.td-theme main .products .products-wrapper .product .img {
    border-radius: 12px;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #e7f1ff 100%);
    overflow: hidden;
}
body.td-theme main .recentlyadded .products .product .product-info,
body.td-theme main .products .products-wrapper .product .product-info {
    padding: 14px 6px 6px;
}
body.td-theme main .recentlyadded .products .product .name,
body.td-theme main .products .products-wrapper .product .name {
    color: #fff;
    font-family: var(--td-font-head);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
}
body.td-theme main .recentlyadded .products .product:hover .name,
body.td-theme main .products .products-wrapper .product:hover .name { color: var(--td-cyan); text-decoration: none; }
body.td-theme main .recentlyadded .products .product .current-price,
body.td-theme main .products .products-wrapper .product .current-price {
    color: var(--td-cyan);
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 800;
    font-size: 20px;
}
body.td-theme main .recentlyadded .products .product .rrp,
body.td-theme main .products .products-wrapper .product .rrp { color: #7d8fb3; }
body.td-theme main .recentlyadded .products .product .contact-price,
body.td-theme main .products .products-wrapper .product .contact-price { font-size: 15px; }

/* ---------- CTA band ---------- */
.td-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: end;
    margin: 80px 0 20px;
    padding: 50px 50px 0;
    border-radius: 26px;
    border: 1.5px solid var(--td-line-strong);
    background:
        radial-gradient(500px 300px at 85% 60%, rgba(29, 116, 255, 0.45), transparent 70%),
        linear-gradient(120deg, #0b2560 0%, #071538 60%, #050f2b 100%);
    box-shadow: var(--td-glow);
    overflow: hidden;
}
.td-cta__copy { padding-bottom: 50px; }
.td-cta h2 {
    margin: 0 0 14px;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.1;
}
.td-cta h2 span { font-size: 1em; font-family: inherit; font-style: inherit; font-weight: inherit; color: var(--td-cyan); text-shadow: 0 0 20px rgba(34, 227, 242, 0.5); }
.td-cta p { font-size: 17px; line-height: 1.6; max-width: 560px; margin: 0 0 26px; }
.td-cta__character {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    align-self: end;
}

/* ---------- Customer feedback ---------- */
.td-reviews {
    position: relative;
    padding-top: 70px;
    padding-bottom: 40px;
}
.td-reviews #particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .25;
    pointer-events: none;
    overflow: hidden;
}
.td-reviews__head, .td-reviews__track { position: relative; z-index: 1; }
.td-reviews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}
.td-reviews__head h2 {
    margin: 12px 0 0;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
}
.td-reviews__nav { display: flex; gap: 10px; flex: 0 0 auto; }
.td-reviews__btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--td-line-strong);
    background: rgba(12, 36, 88, 0.5);
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
}
.td-reviews__btn:hover {
    background: var(--td-cyan);
    border-color: var(--td-cyan);
    color: var(--td-ink);
    box-shadow: var(--td-glow-cyan);
}
.td-reviews__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 10px;
    scrollbar-width: none;
}
.td-reviews__track::-webkit-scrollbar { display: none; }
.td-review {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 24px;
    border-radius: var(--td-radius);
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.6), rgba(8, 22, 56, 0.75));
    border: 1.5px solid var(--td-line);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.td-review:hover { border-color: var(--td-line-strong); box-shadow: var(--td-glow); }
.td-review__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.td-review__stars i { color: #ffc94a; font-size: 14px; }
.td-review blockquote {
    flex: 1;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: var(--td-text);
    font-size: 15px;
    line-height: 1.6;
}
.td-review figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--td-line);
}
.td-review__avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--td-blue), var(--td-cyan));
    color: var(--td-ink);
    font-family: var(--td-font-head);
    font-weight: 800;
    font-size: 17px;
}
.td-review figcaption strong { display: block; color: #fff; font-size: 15px; }
.td-review figcaption small { display: block; color: var(--td-cyan); font-size: 13px; }
@media (max-width: 991px) {
    .td-reviews__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
    .td-reviews__head { align-items: center; }
    .td-reviews__nav .td-reviews__btn { width: 38px; height: 38px; }
    .td-reviews__track { grid-auto-columns: 88%; }
}

/* ---------- Footer ---------- */
body.td-theme .site-footer {
    position: relative;
    margin-top: 40px;
    background: linear-gradient(180deg, rgba(5, 14, 38, 0.2), #030919 40%);
    border-top: 1px solid var(--td-line);
}
body.td-theme .site-footer__top { padding-top: 50px; background: transparent; }
body.td-theme .site-footer-map { display: none; }
.td-contactbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 60px;
    padding: 6px;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    border: 1.5px solid var(--td-line-strong);
    background: rgba(8, 24, 62, 0.7);
    box-shadow: var(--td-glow);
}
.td-contactbar a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    color: #fff !important;
    font-family: var(--td-font-head);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    border-right: 1px solid var(--td-line);
}
.td-contactbar a:last-child { border-right: 0; }
.td-contactbar a i { color: var(--td-cyan); }
.td-contactbar a:hover { color: var(--td-cyan) !important; }
body.td-theme .footer-widget__title {
    color: #fff;
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 800;
}
body.td-theme .footer-widget__about-text,
body.td-theme .footer-widget__contact-text,
body.td-theme .footer-widget__contact-text strong { color: var(--td-muted); }
body.td-theme .footer-widget__links-list li a,
body.td-theme .footer-widget__contact-list li .text p a { color: var(--td-text); }
body.td-theme .footer-widget__links-list li a:hover,
body.td-theme .footer-widget__contact-list li .text p a:hover { color: var(--td-cyan); }
body.td-theme .footer-widget__contact-list li .icon span { color: var(--td-cyan); }
body.td-theme .site-footer__bottom,
body.td-theme .site-footer__bottom-container { background: transparent; }
body.td-theme .site-footer__bottom-inner { border-top: 1px solid var(--td-line); }
body.td-theme .site-footer__bottom-text,
body.td-theme .site-footer__bottom-menu li a,
body.td-theme .site-footer__bottom-menu li span { color: var(--td-muted); }
body.td-theme .site-footer__bottom-text a { color: #fff; }
body.td-theme .site-footer__bottom-menu li a:hover { color: var(--td-cyan); }

body.td-theme .whatsapp-float { box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); }
body.td-theme .whatsapp-float,
body.td-theme .whatsapp-float:hover,
body.td-theme .whatsapp-float i,
body.td-theme .whatsapp-float .whatsapp-label { color: #fff !important; }
body.td-theme .scroll-to-top { background: var(--td-cyan); color: var(--td-ink); }

/* ---------- Banners (managed in admin) ---------- */
.td-banners { padding: 24px 0; }
.td-banners--home_middle, .td-banners--footer_above { padding-top: 50px; }
.td-banners__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.td-banner {
    display: block;
    grid-column: span 12;
    border-radius: var(--td-radius);
    overflow: hidden;
    border: 1.5px solid var(--td-line);
    background: var(--td-surface);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.td-banner:hover { transform: translateY(-3px); border-color: var(--td-cyan); box-shadow: var(--td-glow-cyan); }
.td-banner picture, .td-banner img { display: block; width: 100%; height: auto; }
.td-banner--half { grid-column: span 6; }
.td-banner--third { grid-column: span 4; }
.td-banner--quarter { grid-column: span 3; }
.td-banner--slim { border-radius: 12px; }
@media (max-width: 991px) {
    .td-banner--third, .td-banner--quarter { grid-column: span 6; }
}
@media (max-width: 767px) {
    .td-banner--half, .td-banner--third, .td-banner--quarter { grid-column: span 12; }
    .td-banner--dev-desktop { display: none !important; }
}
@media (min-width: 768px) {
    .td-banner--dev-mobile { display: none !important; }
}

/* Popup banner */
.td-popup { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.td-popup[hidden] { display: none; }
.td-popup__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 20, 0.75); backdrop-filter: blur(4px); }
.td-popup__box {
    position: relative;
    max-width: min(600px, 100%);
    max-height: calc(100vh - 40px);
    border-radius: 20px;
    border: 1.5px solid var(--td-line-strong);
    box-shadow: var(--td-glow), 0 30px 60px rgba(0, 0, 0, .6);
    overflow: hidden;
    animation: td-pop .35s ease-out;
}
.td-popup__box img { display: block; max-width: 100%; max-height: calc(100vh - 44px); width: auto; height: auto; }
.td-popup__close, .td-floatcard__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--td-line-strong);
    background: rgba(4, 12, 34, 0.85);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.td-popup__close:hover, .td-floatcard__close:hover { background: var(--td-cyan); color: var(--td-ink); }
body.td-popup-open { overflow: hidden; }
@keyframes td-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* Floating corner card */
.td-floatcard {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9000;
    width: 320px;
    max-width: calc(100vw - 110px);
    border-radius: 16px;
    border: 1.5px solid var(--td-line-strong);
    box-shadow: var(--td-glow), 0 20px 40px rgba(0, 0, 0, .5);
    overflow: hidden;
    animation: td-pop .35s ease-out;
}
.td-floatcard[hidden] { display: none; }
.td-floatcard img { display: block; width: 100%; height: auto; }
.td-floatcard__close { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 18px; }

/* ==========================================================================
   Inner pages (products, product, cart, checkout, account, static pages)
   ========================================================================== */
body.td-theme main .page-title {
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(28px, 3.4vw, 42px);
    color: #fff;
    padding: 50px 0 36px;
}
body.td-theme main .featured-card { background: transparent; padding: 30px 0 10px; }
body.td-theme main .featured-card .featured-content {
    border-radius: 22px;
    border: 1.5px solid var(--td-line-strong);
    box-shadow: var(--td-glow);
    overflow: hidden;
}
body.td-theme main .featured-card .featured-overlay {
    border-radius: 22px;
    background: linear-gradient(90deg, rgba(4, 11, 32, 0.9), rgba(7, 21, 53, 0.6));
}
body.td-theme main .featured-card .featured-text h2,
body.td-theme main .featured-card .featured-text h1 {
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 900;
    text-shadow: 0 0 24px rgba(29, 116, 255, 0.6);
}
/* Page H1s inside the featured header card look the same as the old H2 */
body.td-theme main .featured-card .featured-text h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
    color: #fff;
    line-height: 1.2;
}
@media (max-width: 991px) { body.td-theme main .featured-card .featured-text h1 { font-size: 40px; } }
@media (max-width: 767px) { body.td-theme main .featured-card .featured-text h1 { font-size: 32px; } }
@media (max-width: 575px) { body.td-theme main .featured-card .featured-text h1 { font-size: 28px; margin-bottom: 15px; } }

/* Forms */
body.td-theme input[type=text], body.td-theme input[type=email], body.td-theme input[type=password],
body.td-theme input[type=number], body.td-theme input[type=tel], body.td-theme input[type=search],
body.td-theme input[type=date], body.td-theme select, body.td-theme textarea {
    background-color: rgba(6, 20, 52, 0.85);
    color: var(--td-text);
    border: 1px solid var(--td-line);
    border-radius: 10px;
}
body.td-theme input:focus, body.td-theme select:focus, body.td-theme textarea:focus {
    outline: none;
    border-color: var(--td-cyan);
    box-shadow: 0 0 0 3px rgba(34, 227, 242, 0.18);
}
body.td-theme input::placeholder, body.td-theme textarea::placeholder { color: #6f83a8; }
body.td-theme label { color: var(--td-text); }
body.td-theme .sortby.form-select {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 4px 6px 4px 16px;
    color: var(--td-muted);
    background: rgba(6, 20, 52, 0.85);
    border: 1px solid var(--td-line-strong);
    border-radius: 999px;
}
body.td-theme .sortby.form-select select {
    border: 0;
    background: transparent;
    color: #fff;
    padding: 6px 8px;
    box-shadow: none;
}
body.td-theme select option { background: var(--td-surface-solid); color: var(--td-text); }

/* Product page */
body.td-theme main > .product .product-img-large,
body.td-theme main > .product .product-small-imgs .product-img-small {
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #e7f1ff 100%);
    border-radius: 16px;
    border: 1.5px solid var(--td-line);
}
body.td-theme main > .product .product-small-imgs .product-img-small.selected { border-color: var(--td-cyan); box-shadow: var(--td-glow-cyan); }
body.td-theme main > .product h1 { color: #fff; font-family: var(--td-font-head); font-style: italic; font-weight: 900; }
body.td-theme main > .product .price { color: var(--td-cyan); font-family: var(--td-font-head); font-style: italic; font-weight: 900; }
body.td-theme main > .product .rrp { color: #7d8fb3; }
body.td-theme main > .product .product-form {
    padding: 22px;
    border-radius: var(--td-radius);
    background: var(--td-surface);
    border: 1.5px solid var(--td-line);
}
body.td-theme main .product-details {
    margin-top: 40px;
    padding: 28px 32px;
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.55), rgba(8, 22, 56, 0.7));
    border: 1.5px solid var(--td-line);
    border-radius: var(--td-radius);
}
body.td-theme main .product-details .description-title { border-bottom-color: var(--td-line); }
body.td-theme main .product-details .description-title h2 {
    color: #fff;
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 800;
    font-size: 24px;
    border-bottom: 2px solid var(--td-cyan);
}
/* Descriptions come from an editor and may carry their own inline colours — force readable ones */
body.td-theme main .product-details .description-content,
body.td-theme main .product-details .description-content * {
    color: var(--td-text) !important;
    background-color: transparent !important;
    border-color: var(--td-line) !important;
}
body.td-theme main .product-details .description-content h1,
body.td-theme main .product-details .description-content h2,
body.td-theme main .product-details .description-content h3,
body.td-theme main .product-details .description-content h4,
body.td-theme main .product-details .description-content strong,
body.td-theme main .product-details .description-content b { color: #fff !important; }
body.td-theme main .product-details .description-content a,
body.td-theme main .product-details .description-content a * { color: var(--td-cyan) !important; }
body.td-theme main .product-details .description-content img { background-color: #fff !important; border-radius: 8px; }
@media (max-width: 767px) {
    body.td-theme main .product-details { width: auto; padding: 20px 18px; margin-left: 12px; margin-right: 12px; }
    body.td-theme main .product-details .description-title h2 { font-size: 20px; }
}
/* Related products title sits outside the card */
body.td-theme .related-products .description-title { border: 0; }

/* Product page: brand, price panel, notes (all screen sizes) */
body.td-theme main > .product .product-wrapper { color: var(--td-text); }
body.td-theme main > .product .prices { background: transparent; border: 0; }
body.td-theme .product-brand .brand-name,
body.td-theme .product-brand .brand-name span { color: var(--td-muted); }
body.td-theme .product-brand .brand-name strong { color: #fff; }
body.td-theme .product-brand .brand-logo img {
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
}
body.td-theme .quote-note { background: var(--td-surface); border-color: var(--td-line); }
body.td-theme .quote-note p,
body.td-theme .quote-actions__note { color: var(--td-muted); }
body.td-theme .contact-price { color: var(--td-cyan); }
body.td-theme main > .product .product-form .option,
body.td-theme main > .product .product-form label { color: var(--td-text); }

/* Phones/tablets: the old stylesheet paints these boxes white — switch them to the dark theme */
@media (max-width: 991px) {
    body.td-theme main > .product .product-wrapper {
        background: linear-gradient(160deg, rgba(18, 48, 110, 0.6), rgba(8, 22, 56, 0.75));
        border: 1.5px solid var(--td-line);
        border-radius: var(--td-radius);
        box-shadow: none;
    }
    body.td-theme main > .product h1,
    body.td-theme main > .product .product-brand { border-bottom-color: var(--td-line); }
    body.td-theme main > .product .prices {
        background: rgba(6, 20, 52, 0.85);
        border: 1px solid var(--td-line);
        border-radius: 12px;
    }
    body.td-theme main > .product .product-form {
        background: transparent;
        border: 0;
        padding-left: 0;
        padding-right: 0;
    }
    body.td-theme main > .products .products-form .products-filters {
        background: var(--td-surface-solid);
    }
}

/* Quote request popup */
body.td-theme .quote-modal__backdrop { background: rgba(2, 6, 20, 0.75); }
body.td-theme .quote-modal__dialog {
    background: linear-gradient(160deg, #0d2257, #071535);
    border: 1.5px solid var(--td-line-strong);
    border-radius: 20px;
    box-shadow: var(--td-glow), 0 30px 60px rgba(0, 0, 0, .6);
    color: var(--td-text);
}
body.td-theme .quote-modal__dialog h2,
body.td-theme .quote-modal__dialog h3 { color: #fff; }
body.td-theme .quote-modal__dialog p { color: var(--td-muted); }
body.td-theme .quote-modal__close { color: #fff; }
body.td-theme .quote-modal__close:hover { color: var(--td-cyan); }
body.td-theme .quote-modal__summary { background: rgba(6, 20, 52, 0.7); border-color: var(--td-line); }
body.td-theme .quote-modal__summary ul { color: var(--td-muted); }
body.td-theme .quote-form__group label { color: var(--td-text); }
body.td-theme .quote-form__note { color: var(--td-muted); }

/* Products listing + filters */
body.td-theme main > .products .products-header p { color: var(--td-muted); }
body.td-theme main > .products .products-header .filters-toggle-btn {
    background: rgba(12, 36, 88, 0.5);
    border: 1px solid var(--td-line-strong);
    color: #fff;
    border-radius: 999px;
}
body.td-theme main > .products .products-form .products-filters {
    background: var(--td-surface);
    border: 1.5px solid var(--td-line);
    border-radius: var(--td-radius);
}
body.td-theme main > .products .products-form .products-filters {
    padding: 22px 22px 18px;
    border-right: 1.5px solid var(--td-line);
}
@media (min-width: 992px) {
    /* Filters are a real column (not absolutely positioned) so the page grows with them and they never cover the footer */
    body.td-theme main > .products .products-form { align-items: flex-start; }
    body.td-theme main > .products .products-form .products-filters {
        position: relative;
        left: auto;
        top: auto;
        flex: 0 0 280px;
        width: 280px;
    }
    /* 28px gap between the filters card and the product grid */
    body.td-theme main > .products .products-form .products-view { margin-left: 28px; width: auto; min-width: 0; }
    body.td-theme main > .products .products-form .products-view.filters-hidden { margin-left: 0; width: 100%; }
}
/* Tablets & phones: filters become a full-width card above the products */
@media (max-width: 991px) {
    body.td-theme main > .products .products-header {
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 18px;
    }
    body.td-theme main > .products .products-form {
        flex-direction: column;
        gap: 20px;
    }
    body.td-theme main > .products .products-form .products-filters {
        position: static;
        left: auto;
        width: 100%;
        margin: 0;
        padding: 20px;
        border: 1.5px solid var(--td-line);
        border-radius: var(--td-radius);
        background: var(--td-surface-solid);
        box-shadow: var(--td-glow);
    }
    body.td-theme main > .products .products-form .products-view {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        /* let header / grid / pagination join the column so the header can sit above the filters card */
        display: contents;
    }
    /* Order: "Show filters · count · sort" row → filters card (when open) → products → pagination */
    body.td-theme main > .products .products-form .products-header { order: -1; width: 100%; padding-bottom: 0; }
    body.td-theme main > .products .products-form .products-wrapper { padding-top: 0; }
}
/* Tablets & large phones: filter sections side by side in two columns */
@media (min-width: 576px) and (max-width: 991px) {
    body.td-theme main > .products .products-form .products-filters[style*="block"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        column-gap: 28px;
    }
    body.td-theme main > .products .products-form .products-filters .products-filter:nth-child(2) { border-top: 0; padding-top: 0; }
    body.td-theme main > .products .products-form .products-filters .products-filter { padding-bottom: 16px; }
}
/* Phones */
@media (max-width: 575px) {
    body.td-theme main > .products .products-header .products-header-left {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    body.td-theme main > .products .products-header .filters-toggle-btn { flex: 0 0 auto; width: auto; }
    body.td-theme main > .products .products-header .products-header-left p { white-space: nowrap; margin: 0; }
    body.td-theme main > .products .products-header .sortby.form-select { width: 100%; justify-content: space-between; }
    body.td-theme main > .products .products-header .sortby.form-select select { flex: 1; text-align: right; }
    body.td-theme main > .products .products-form .products-filters { padding: 18px 16px; }
    body.td-theme main > .products .products-form .products-filters .products-filter label { height: 36px; } /* easier to tap */
}
body.td-theme main > .products .products-form .products-filters .products-filter { padding-top: 16px; padding-bottom: 16px; }
body.td-theme main > .products .products-form .products-filters .products-filter:first-child { padding-top: 0; }
body.td-theme main > .products .products-form .products-filters .products-filter:last-child { padding-bottom: 0; }
body.td-theme main > .products .products-form .products-filters .products-filter label { gap: 10px; padding-left: 2px; }
body.td-theme main > .products .products-form .products-filters .products-filter label input { margin: 0; }
body.td-theme main > .products .products-form .products-filters .products-filter label input[type=checkbox] {
    accent-color: var(--td-cyan);
    opacity: 1;
    width: 15px;
    height: 15px;
}
body.td-theme main > .products .products-form .products-filters .products-filter label:hover { color: #fff; }
body.td-theme main > .products .products-form .products-filters .products-filter .price-range { gap: 10px; }
body.td-theme main > .products .products-form .products-filters .products-filter .price-range input { width: 100%; min-width: 0; padding: 9px 12px; }
body.td-theme main > .products .products-form .products-filters .products-filter .filter-title { color: #fff; border-color: var(--td-line); font-family: var(--td-font-head); font-weight: 700; }
body.td-theme main > .products .products-form .products-filters .products-filter label { color: var(--td-muted); }
body.td-theme main > .products .products-form .products-filters .products-filter .show-more { color: var(--td-cyan); }
body.td-theme main > .products .products-form .products-filters .products-filter { border-color: var(--td-line); }

/* Tables (cart, account) */
body.td-theme main .cart table, body.td-theme main .myaccount table,
body.td-theme main .checkout .cart-details table { color: var(--td-text); }
body.td-theme main .cart table thead td, body.td-theme main .myaccount table thead td {
    color: var(--td-cyan);
    border-color: var(--td-line);
    background: transparent;
    font-family: var(--td-font-head);
    font-weight: 700;
}
body.td-theme main .cart table tbody td, body.td-theme main .myaccount table tbody td { border-color: var(--td-line); color: var(--td-text); }
body.td-theme main .cart table a, body.td-theme main .myaccount table a { color: #fff; }
body.td-theme main .cart .total .text, body.td-theme main .myaccount .total .text { color: var(--td-muted); }
body.td-theme main .cart .total .price, body.td-theme main .myaccount .total .price {
    color: var(--td-cyan);
    font-family: var(--td-font-head);
    font-style: italic;
    font-weight: 900;
}

/* Checkout */
body.td-theme main .checkout .shipping-details h2,
body.td-theme main .checkout .cart-details h2 { color: #fff; border-color: var(--td-line); }
body.td-theme main .checkout .cart-details {
    background: var(--td-surface);
    border: 1.5px solid var(--td-line);
    border-radius: var(--td-radius);
}
body.td-theme main .checkout .payment-methods label {
    background: var(--td-surface);
    border: 1.5px solid var(--td-line);
    border-radius: 14px;
    color: #fff;
}
body.td-theme main .checkout .payment-methods label:hover { border-color: var(--td-line-strong); }
body.td-theme main .checkout .payment-methods input:checked + label { border-color: var(--td-cyan); box-shadow: var(--td-glow-cyan); }
body.td-theme main .checkout .cart-details .summary div,
body.td-theme main .checkout .cart-details .summary div span,
body.td-theme main .checkout .cart-details .total { color: var(--td-text); border-color: var(--td-line); }

/* Account */
body.td-theme main .myaccount .menu a { color: var(--td-text); border-color: var(--td-line); }
body.td-theme main .myaccount .menu a:hover { color: var(--td-cyan); }
body.td-theme main .myaccount h2 { color: #fff; border-color: var(--td-line); }
body.td-theme main .myaccount .myorders .order {
    background: var(--td-surface);
    border: 1.5px solid var(--td-line);
    border-radius: var(--td-radius);
}
body.td-theme main .myaccount .myorders .order .order-header { border-color: var(--td-line); background: transparent; }
body.td-theme main .myaccount .myorders .order .order-header > div div,
body.td-theme main .myaccount .myorders .order .order-header > div div span { color: var(--td-muted); }
body.td-theme main .myaccount .login-register { gap: 24px; }
body.td-theme main .myaccount .login-register .login,
body.td-theme main .myaccount .login-register .register {
    padding: 30px;
    border-radius: var(--td-radius);
    background: var(--td-surface);
    border: 1.5px solid var(--td-line);
}
body.td-theme main .myaccount .login-register h1 { color: #fff; font-family: var(--td-font-head); font-style: italic; font-weight: 900; }

/* Generic content pages (about, terms, privacy, contact…) */
body.td-theme main .content-wrapper li,
body.td-theme main .content-wrapper td { color: var(--td-muted); }
body.td-theme main .content-wrapper strong { color: #fff; }

/* Messages */
body.td-theme main p.error { color: #ff8a9a; }
body.td-theme main p.success { color: #5ef2b0; }

/* ---------- Mobile header (logo | search · cart · menu), search drops below ---------- */
@media (max-width: 991px) {
    body.td-theme header.td-header .content-wrapper {
        gap: 10px;
        min-height: 66px;
        padding-left: 14px;
        padding-right: 14px;
    }
    body.td-theme header.td-header .td-logo { flex: 1 1 auto; min-width: 0; margin-right: 0; }
    body.td-theme header.td-header .td-logo img { max-width: 100%; max-height: 40px; height: auto; }
    body.td-theme header.td-header .link-icons { position: static; gap: 6px; }
    body.td-theme header.td-header .link-icons .search { position: static; display: flex; }
    body.td-theme header.td-header .link-icons a,
    body.td-theme header.td-header .link-icons .search .icon { width: 40px; min-width: 40px; height: 40px; }
    /* search field becomes a full-width bar under the header */
    body.td-theme header.td-header .link-icons .search input {
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        margin: 8px 0 0;
        padding: 14px 18px;
        font-size: 16px; /* 16px stops iOS from zooming into the field */
        z-index: 1001;
        box-shadow: var(--td-glow), 0 16px 30px rgba(0, 0, 0, .5);
    }
    body.td-theme header.td-header nav { z-index: 1000; }
}
@media (max-width: 360px) {
    body.td-theme header.td-header .td-logo img { max-height: 34px; }
    body.td-theme header.td-header .link-icons { gap: 4px; }
    body.td-theme header.td-header .link-icons a,
    body.td-theme header.td-header .link-icons .search .icon { width: 36px; min-width: 36px; height: 36px; }
}
/* Safety net: nothing may make the page wider than the phone screen */
html, body.td-theme { max-width: 100%; overflow-x: clip; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .td-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    body.td-theme header.td-header .content-wrapper { flex-wrap: nowrap; }
    body.td-theme header.td-header .link-icons .responsive-toggle { display: flex !important; }
    body.td-theme header.td-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        margin-top: 8px;
        border-radius: 18px;
        border: 1.5px solid var(--td-line-strong);
        background: rgba(5, 16, 44, 0.97);
        box-shadow: var(--td-glow), 0 20px 40px rgba(0, 0, 0, .5);
    }
    body.td-theme header.td-header nav.mobile-nav-active,
    body.td-theme header.td-header nav[style*="block"] { display: flex !important; }
    body.td-theme header.td-header nav a { text-align: left; padding: 12px 16px; }
    body.td-theme header.td-header .td-logo { margin-right: auto; }

    .td-hero { padding-top: 40px; }
    .td-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .td-hero__copy { display: flex; flex-direction: column; align-items: center; }
    .td-hero__lead { text-align: left; }
    .td-hero__actions { justify-content: center; }
    .td-hero__visual { min-height: 0; padding-top: 30px; }
    .td-hero__character { max-width: 340px; }
    .td-ring { width: 340px; height: 340px; }
    .td-podium { width: 330px; }
    .td-float--a { left: 0; top: 40px; bottom: auto; }
    .td-float--b { right: 0; bottom: 90px; top: auto; }

    .td-cta { grid-template-columns: 1fr; padding: 40px 28px 0; text-align: center; }
    .td-cta p { margin-left: auto; margin-right: auto; }
    .td-cta .td-hero__actions { justify-content: center; }
    .td-cta__copy { padding-bottom: 10px; }
    .td-cta__character { max-width: 220px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .td-topbar__note { display: none; }
    .td-topbar .content-wrapper { justify-content: center; }
    .td-topbar__links { gap: 16px; }
    body.td-theme header.td-header .td-logo img { max-height: 42px; }
    body.td-theme header.td-header .link-icons { gap: 6px; }
    body.td-theme header.td-header .link-icons a,
    body.td-theme header.td-header .link-icons .search .icon { width: 38px; min-width: 38px; height: 38px; }
    .td-features { grid-template-columns: 1fr; }
    .td-platforms { border-radius: 20px; justify-content: center; }
    .td-platforms span { border-right: 0; padding: 6px 10px; font-size: 13px; }
    .td-float { padding: 8px 12px; }
    .td-float i { width: 32px; height: 32px; font-size: 15px; }
    .td-float strong { font-size: 14px; }
    .td-float span { font-size: 11px; }
    .td-contactbar { border-radius: 20px; flex-direction: column; width: 100%; }
    .td-contactbar a { border-right: 0; border-bottom: 1px solid var(--td-line); justify-content: center; font-size: 15px; }
    .td-contactbar a:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
    .td-topbar__links > a[href^="mailto"] { display: none; }
    .td-ring { width: 280px; height: 280px; }
    .td-hero__character { max-width: 290px; }
    .td-podium { width: 280px; }
    .td-btn { width: 100%; }
}

/* =====================================================================
   Storefront enhancements: navigation, brand strip, shop-by-need, cards,
   pills, pagination, search, product page trust box / sticky bar
   ===================================================================== */

/* ---------- Header navigation ---------- */
body.td-theme header.td-header nav .td-nav-item { position: relative; display: flex; align-items: center; }
body.td-theme header.td-header nav .td-nav-item > .td-nav-link { padding-right: 6px; }
body.td-theme header.td-header .td-mega-toggle {
    background: none; border: 0; color: var(--td-text); padding: 8px 8px 8px 2px; cursor: pointer; font-size: 11px; line-height: 1;
}
body.td-theme header.td-header .td-mega-toggle i { transition: transform .2s ease; }
body.td-theme header.td-header .td-nav-item.is-open .td-mega-toggle i,
body.td-theme header.td-header .td-nav-item--mega:hover .td-mega-toggle i { transform: rotate(180deg); color: var(--td-cyan); }
body.td-theme header.td-header .td-mega {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
    width: min(640px, 92vw); padding: 18px; border-radius: 18px;
    background: rgba(5, 16, 44, 0.98); border: 1.5px solid var(--td-line-strong);
    box-shadow: var(--td-glow), 0 24px 50px rgba(0, 0, 0, .55);
    opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 1002;
}
body.td-theme header.td-header .td-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
@media (min-width: 992px) {
    body.td-theme header.td-header .td-nav-item--mega:hover .td-mega,
    body.td-theme header.td-header .td-nav-item--mega:focus-within .td-mega,
    body.td-theme header.td-header .td-nav-item--mega.is-open .td-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
body.td-theme header.td-header .td-mega__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
body.td-theme header.td-header .td-mega__head {
    display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--td-cyan); margin: 0 0 8px 10px;
}
body.td-theme header.td-header nav a.td-mega__link {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-family: var(--td-font-body, inherit);
    font-weight: 600; font-size: 14px; letter-spacing: 0; color: var(--td-text); border: 1px solid transparent;
}
body.td-theme header.td-header nav a.td-mega__link i { width: 20px; text-align: center; color: var(--td-cyan); }
body.td-theme header.td-header nav a.td-mega__link span { flex: 1; }
body.td-theme header.td-header nav a.td-mega__link small {
    font-size: 11px; color: var(--td-muted); background: rgba(34, 227, 242, .08); border-radius: 999px; padding: 1px 8px;
}
body.td-theme header.td-header nav a.td-mega__link:hover { background: rgba(34, 227, 242, .08); border-color: var(--td-line); box-shadow: none; }
body.td-theme header.td-header .td-mega__brands { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
body.td-theme header.td-header .td-mega__foot {
    display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--td-line); margin-top: 12px; padding-top: 12px;
}
body.td-theme header.td-header nav .td-mega__foot a { font-size: 13px; padding: 6px 10px; color: var(--td-cyan); }
body.td-theme header.td-header nav a.td-nav-quote {
    margin-left: 6px; background: linear-gradient(135deg, var(--td-cyan), var(--td-blue)); color: #04122e; border-color: transparent;
    box-shadow: 0 0 18px rgba(34, 227, 242, .35); white-space: nowrap;
}
body.td-theme header.td-header nav a.td-nav-quote:hover { color: #04122e; filter: brightness(1.08); }
/* compact quote button (desktop) */
@media (min-width: 992px) {
    body.td-theme header.td-header nav a.td-nav-quote { padding: 6px 13px; font-size: 13px; margin-left: 8px; box-shadow: 0 0 10px rgba(34, 227, 242, .25); }
    body.td-theme header.td-header nav a.td-nav-quote i { font-size: 12px; margin-right: 2px; }
}
body.td-theme header.td-header nav a.td-nav-account { display: none; }
@media (min-width: 992px) and (max-width: 1199px) {
    body.td-theme header.td-header nav a { padding: 9px 11px; font-size: 14px; }
    body.td-theme header.td-header nav a.td-nav-quote { padding: 9px 12px; }
}
@media (max-width: 991px) {
    body.td-theme header.td-header .link-icons a.td-icon-account { display: none; }
    body.td-theme header.td-header nav a.td-nav-account { display: block; }
    body.td-theme header.td-header nav .td-nav-item { flex-wrap: wrap; }
    body.td-theme header.td-header nav .td-nav-item > .td-nav-link { flex: 1; padding-right: 16px; }
    body.td-theme header.td-header .td-mega-toggle { padding: 12px 16px; font-size: 13px; }
    body.td-theme header.td-header .td-mega {
        position: static; transform: none; width: 100%; opacity: 1; visibility: visible; display: none;
        padding: 6px 0 4px 10px; margin: 0; border: 0; border-left: 2px solid var(--td-line); border-radius: 0; box-shadow: none; background: transparent;
    }
    body.td-theme header.td-header .td-nav-item.is-open .td-mega { display: block; }
    body.td-theme header.td-header .td-mega__inner { grid-template-columns: 1fr; gap: 10px; }
    body.td-theme header.td-header nav a.td-nav-quote { margin: 8px 0 0; text-align: center; }
    body.td-theme header.td-header nav { max-height: calc(100vh - 90px); overflow-y: auto; }
}

/* contact form target of "Request a Quote" (clears the sticky header) */
#quote { scroll-margin-top: 110px; }

/* ---------- Brand strip (continuous marquee) ---------- */
.td-brandstrip { padding: 26px 0; }
.td-brandstrip__viewport {
    overflow: hidden; border-top: 1px solid var(--td-line); border-bottom: 1px solid var(--td-line); padding: 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.td-brandstrip__track { display: flex; gap: 22px; width: max-content; animation: td-marquee calc(var(--td-brand-count, 6) * 4s) linear infinite; }
.td-brandstrip__viewport:hover .td-brandstrip__track { animation-play-state: paused; }
.td-brandstrip__item {
    flex: 0 0 auto; display: grid; place-items: center; height: 64px; min-width: 150px; padding: 10px 22px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px rgba(80, 200, 255, 0.3), 0 0 18px rgba(34, 160, 255, 0.2);
    transition: transform .2s ease, box-shadow .2s ease;
}
.td-brandstrip__item:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--td-cyan), 0 0 22px rgba(34, 227, 242, .45); }
.td-brandstrip__item img { max-height: 40px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
@keyframes td-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) {
    .td-brandstrip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .td-brandstrip__item[aria-hidden="true"] { display: none; }
}

/* ---------- Shop by need ---------- */
.td-needs { padding-top: 50px; }
.td-needs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 26px; }
.td-need {
    display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: var(--td-radius); text-decoration: none;
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.55), rgba(8, 22, 56, 0.7)); border: 1.5px solid var(--td-line);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.td-need:hover { transform: translateY(-4px); border-color: var(--td-cyan); box-shadow: var(--td-glow-cyan); text-decoration: none; }
.td-need > i {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 20px;
    color: var(--td-cyan); background: rgba(34, 227, 242, .1); border: 1px solid var(--td-line-strong);
}
.td-need strong { color: #fff; font-family: var(--td-font-head); font-size: 18px; }
.td-need span { color: var(--td-muted); font-size: 14px; line-height: 1.5; flex: 1; }
.td-need small { color: var(--td-cyan); font-weight: 600; font-size: 13px; }

/* ---------- Product grid + cards ---------- */
.td-shelf { padding-top: 40px; }
.td-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
body.td-theme main .products .td-grid { margin-top: 18px; }
@media (min-width: 992px) { body.td-theme main > .products .products-view:not(.filters-hidden) .td-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .td-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .td-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 479px)  { .td-grid { grid-template-columns: 1fr; } }
.td-card {
    position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--td-radius); overflow: hidden;
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.6), rgba(8, 22, 56, 0.75)); border: 1.5px solid var(--td-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.td-card:hover { transform: translateY(-5px); border-color: var(--td-cyan); box-shadow: var(--td-glow-cyan); }
.td-card__media {
    position: relative; display: block; margin: 12px 12px 0; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef5ff 100%);
}
.td-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s ease; }
.td-card:hover .td-card__media img { transform: scale(1.04); }
.td-card__noimg { display: grid; place-items: center; height: 100%; color: #9fb3d9; font-size: 40px; }
.td-card__badge {
    position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em;
    color: #04122e; background: linear-gradient(135deg, #ffd166, #ff9f43); box-shadow: 0 4px 12px rgba(255, 159, 67, .45);
}
.td-card__badge--quote { background: linear-gradient(135deg, var(--td-cyan), var(--td-blue)); box-shadow: 0 4px 12px rgba(34, 160, 255, .4); }
.td-card__badge--out { left: auto; right: 10px; background: #ffd6dc; color: #8a1024; box-shadow: none; }
.td-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 16px 16px; }
.td-card__brand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--td-cyan); }
.td-card__title { color: #fff; font-family: var(--td-font-head); font-weight: 700; font-size: 16px; line-height: 1.35; text-decoration: none; }
.td-card__title:hover { color: var(--td-cyan); text-decoration: none; }
.td-card__desc {
    margin: 0; color: var(--td-muted); font-size: 13.5px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.td-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.td-card__now { color: var(--td-cyan); font-family: var(--td-font-head); font-style: italic; font-weight: 800; font-size: 20px; }
.td-card__was { color: #7d8fb3; text-decoration: line-through; font-size: 14px; }
.td-card__ask { color: var(--td-text); font-weight: 700; font-size: 15px; font-style: italic; }
.td-card__actions { margin-top: 10px; }
.td-card__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 14px; border-radius: 999px; border: 0;
    font-family: var(--td-font-head); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
    color: #04122e; background: linear-gradient(135deg, var(--td-cyan), var(--td-blue)); transition: filter .2s ease, box-shadow .2s ease;
}
.td-card__btn:hover { filter: brightness(1.08); box-shadow: 0 0 16px rgba(34, 227, 242, .45); color: #04122e; text-decoration: none; }
.td-card__btn--ghost { background: transparent; color: var(--td-cyan); border: 1.5px solid var(--td-line-strong); }
.td-card__btn--ghost:hover { color: #fff; background: rgba(34, 227, 242, .1); }
.td-card__btn.is-disabled { background: rgba(255, 255, 255, .06); color: var(--td-muted); cursor: default; box-shadow: none; filter: none; }
.td-empty { grid-column: 1 / -1; color: var(--td-muted); padding: 30px 0; }

/* ---------- Category pills + pagination ---------- */
.td-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.td-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600;
    color: var(--td-text); background: rgba(12, 36, 88, .5); border: 1px solid var(--td-line);
}
.td-pill small { font-size: 11px; color: var(--td-muted); }
.td-pill:hover { color: var(--td-cyan); border-color: var(--td-line-strong); text-decoration: none; }
.td-pill.is-active { color: #04122e; background: var(--td-cyan); border-color: var(--td-cyan); }
.td-pill.is-active small { color: #04122e; }
@media (max-width: 767px) {
    .td-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
    .td-pill { flex: 0 0 auto; }
}
.td-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 34px 0 10px; }
.td-page {
    min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 12px; text-decoration: none;
    font-weight: 700; color: var(--td-text); background: rgba(12, 36, 88, .5); border: 1px solid var(--td-line);
}
.td-page:hover { color: var(--td-cyan); border-color: var(--td-line-strong); text-decoration: none; }
.td-page.is-active { color: #04122e; background: var(--td-cyan); border-color: var(--td-cyan); }
.td-page--gap { background: none; border: 0; }

/* ---------- Search page + instant results ---------- */
.td-search__form { display: flex; gap: 10px; max-width: 720px; margin: 10px auto 18px; }
.td-search__form input[type=search] {
    flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px; font-size: 16px;
    background: rgba(8, 24, 60, .9); border: 1px solid var(--td-line-strong); color: #fff;
}
.td-search__count { text-align: center; color: var(--td-muted); }
.td-noresults__lead { text-align: center; color: var(--td-text); margin: 6px 0 10px; }
.td-noresults .td-pills { justify-content: center; }
.td-noresults__help {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px auto; max-width: 900px; padding: 20px 22px; border-radius: var(--td-radius);
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.55), rgba(8, 22, 56, 0.7)); border: 1.5px solid var(--td-line);
}
.td-noresults__help > i { font-size: 26px; color: var(--td-cyan); }
.td-noresults__help > div { flex: 1; min-width: 220px; display: flex; flex-direction: column; }
.td-noresults__help strong { color: #fff; }
.td-noresults__help span { color: var(--td-muted); font-size: 14px; }
.td-noresults__title { color: #fff; font-family: var(--td-font-head); text-align: center; margin-top: 30px; }
@media (max-width: 575px) { .td-search__form { flex-direction: column; } }

.td-suggest {
    position: fixed; z-index: 2000; max-height: 70vh; overflow-y: auto; border-radius: 16px; padding: 6px;
    background: rgba(5, 16, 44, 0.98); border: 1.5px solid var(--td-line-strong); box-shadow: var(--td-glow), 0 20px 40px rgba(0, 0, 0, .55);
}
.td-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.td-suggest__item img, .td-suggest__noimg { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; object-fit: contain; background: #fff; }
.td-suggest__name { flex: 1; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.td-suggest__price { color: var(--td-cyan); font-weight: 700; font-size: 13px; white-space: nowrap; }
.td-suggest__item:hover, .td-suggest__item.is-active { background: rgba(34, 227, 242, .1); text-decoration: none; }
.td-suggest__all { display: block; padding: 10px; margin-top: 4px; border-top: 1px solid var(--td-line); text-align: center; color: var(--td-cyan); font-weight: 600; font-size: 14px; }
.td-suggest__empty { padding: 12px; color: var(--td-muted); font-size: 14px; text-align: center; }

/* ---------- Product page ---------- */
.td-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 14px; color: var(--td-muted); }
.td-breadcrumbs a { color: var(--td-text); text-decoration: none; }
.td-breadcrumbs a:hover { color: var(--td-cyan); }
.td-breadcrumbs i { font-size: 10px; opacity: .6; }
.td-breadcrumbs span { color: var(--td-muted); }
body.td-theme main > .product { padding-top: 18px; }
body.td-theme main .product .td-saving {
    display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 5px 12px; border-radius: 999px;
    font-weight: 700; font-size: 14px; color: #04122e; background: linear-gradient(135deg, #ffd166, #ff9f43);
}
.td-wa-ask {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border-radius: 999px; text-decoration: none;
    font-weight: 600; font-size: 14px; color: #fff !important; background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .55);
}
.td-wa-ask i { color: #25d366; font-size: 18px; }
.td-wa-ask:hover { background: rgba(37, 211, 102, .22); text-decoration: none; }
.td-trust {
    margin-top: 18px; padding: 16px 18px; border-radius: 16px; max-width: 520px;
    background: rgba(8, 24, 60, .55); border: 1.5px solid var(--td-line);
}
.td-trust__title { margin: 0 0 10px; color: #fff; font-family: var(--td-font-head); font-weight: 700; font-size: 15px; }
.td-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.td-trust li { display: flex; align-items: flex-start; gap: 10px; color: var(--td-text); font-size: 14px; line-height: 1.45; }
.td-trust li i { flex: 0 0 18px; margin-top: 2px; color: var(--td-cyan); text-align: center; }
.td-stickybar { display: none; }
@media (max-width: 767px) {
    .td-stickybar {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(4, 12, 34, .96); border-top: 1px solid var(--td-line-strong);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .45); transform: translateY(110%); transition: transform .25s ease;
    }
    .td-stickybar.is-visible { transform: translateY(0); }
    .td-stickybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .td-stickybar__name { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .td-stickybar__price { color: var(--td-cyan); font-weight: 800; font-style: italic; }
    .td-stickybar__btn {
        flex: 0 0 auto; padding: 11px 16px; border-radius: 999px; border: 0; font-weight: 700; font-size: 14px;
        color: #04122e; background: linear-gradient(135deg, var(--td-cyan), var(--td-blue));
    }
    /* keep the WhatsApp bubble above the bar */
    body.td-theme:has(.td-stickybar.is-visible) .whatsapp-float { bottom: 84px !important; }
}
/* specificity fixes (theme link colour / legacy h2) */
body.td-theme main .td-card a.td-card__title { color: #fff; }
body.td-theme main .td-card a.td-card__title:hover { color: var(--td-cyan); }
body.td-theme main .td-card a.td-card__btn { color: #04122e; }
body.td-theme main .td-card a.td-card__btn--ghost { color: var(--td-cyan); }
body.td-theme main .td-card a.td-card__btn--ghost:hover { color: #fff; }
body.td-theme main .td-noresults__title { font-family: var(--td-font-head); font-style: italic; font-weight: 900; font-size: 30px; }
body.td-theme main .product .product-form { margin-bottom: 0; }@media (max-width: 991px) {
    body.td-theme header.td-header nav.mobile-nav-active,
    body.td-theme header.td-header nav[style*="block"] { flex-wrap: nowrap !important; }
    body.td-theme header.td-header nav .td-nav-item--mega { flex: 0 0 auto; flex-wrap: wrap; width: 100%; }
    body.td-theme header.td-header nav .td-nav-item--mega > .td-nav-link { flex: 1 1 0; width: auto !important; min-width: 0; }
    body.td-theme header.td-header nav .td-nav-item--mega > .td-mega-toggle { flex: 0 0 auto; }
    body.td-theme header.td-header nav .td-nav-item--mega > .td-mega { flex: 0 0 100%; }
    body.td-theme header.td-header nav a.td-mega__link { width: auto; }
}@media (max-width: 991px) {
    body.td-theme header.td-header nav { justify-content: flex-start !important; }
    body.td-theme header.td-header nav .td-nav-item--mega { position: relative; display: block; }
    body.td-theme header.td-header nav .td-nav-item--mega > .td-nav-link { display: block; padding-right: 56px; }
    body.td-theme header.td-header nav .td-nav-item--mega > .td-mega-toggle {
        position: absolute; top: 0; right: 0; height: 46px; width: 50px; padding: 0; display: grid; place-items: center;
        border-radius: 12px; border: 1px solid var(--td-line); background: rgba(34, 227, 242, .06);
    }
}
/* ---------- Active filters (chips) ---------- */
body.td-theme main .products .active-filters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0;
}
body.td-theme main .products .active-filters span { margin: 0; }
body.td-theme main .products .active-filters .active-filters__title {
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--td-muted); margin-right: 2px;
}
body.td-theme main .products .active-filters .filter-tag,
body.td-theme main .products .active-filters .filter-tag.removable {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 6px 5px 12px; position: static;
    border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none;
    color: #fff; background: rgba(34, 227, 242, .1); border: 1px solid var(--td-line-strong);
    transition: background .2s ease, border-color .2s ease;
}
body.td-theme main .products .active-filters .filter-tag__label {
    font-size: 11px; font-weight: 600; color: var(--td-cyan); text-transform: uppercase; letter-spacing: .05em;
}
body.td-theme main .products .active-filters .remove-x {
    position: static; transform: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
    font-size: 10px; color: var(--td-text); background: rgba(255, 255, 255, .1); transition: background .2s ease, color .2s ease;
}
body.td-theme main .products .active-filters .filter-tag:hover { background: rgba(34, 227, 242, .18); border-color: var(--td-cyan); }
body.td-theme main .products .active-filters .filter-tag:hover .remove-x { background: #ff6b81; color: #fff; }
body.td-theme main .products .active-filters .clear-all-filters {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 4px; padding: 5px 8px; border-radius: 8px;
    font-size: 13px; font-weight: 600; color: var(--td-muted); background: none; text-decoration: none;
}
body.td-theme main .products .active-filters .clear-all-filters i { font-size: 11px; }
body.td-theme main .products .active-filters .clear-all-filters:hover { color: #ff8a9a; background: rgba(255, 107, 129, .08); }/* chips get their own row under "Show filters · count · Sort by" */
body.td-theme main > .products .products-header { flex-wrap: wrap; row-gap: 14px; }
body.td-theme main > .products .products-header .active-filters { order: 3; flex: 0 0 100%; padding-top: 2px; }
/* ---------- Page hero (Brands page and other inner pages) ---------- */
.td-pagehero { position: relative; overflow: hidden; padding: 26px 0 46px; border-bottom: 1px solid var(--td-line); }
.td-pagehero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(34, 227, 242, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 227, 242, .07) 1px, transparent 1px);
    background-size: 46px 46px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.td-pagehero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.td-pagehero .td-breadcrumbs { justify-content: center; padding-top: 0; margin-bottom: 22px; }
body.td-theme .td-pagehero h1 {
    margin: 14px 0 12px; color: #fff; font-family: var(--td-font-head); font-style: italic; font-weight: 900;
    font-size: clamp(32px, 5vw, 54px); line-height: 1.08; text-shadow: 0 0 30px rgba(29, 116, 255, .55);
}
.td-pagehero__lead { max-width: 720px; margin: 0 auto; color: var(--td-muted); font-size: 17px; line-height: 1.6; }
.td-pagehero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.td-pagehero__stats span {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--td-text);
    background: rgba(12, 36, 88, .55); border: 1px solid var(--td-line);
}
.td-pagehero__stats strong { color: var(--td-cyan); font-family: var(--td-font-head); font-size: 17px; }
.td-pagehero__stats i { color: var(--td-cyan); }

/* ---------- Brand cards ---------- */
.td-brandgrid-wrap { padding-top: 40px; }
.td-brandgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 991px) { .td-brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .td-brandgrid { grid-template-columns: 1fr; } }
.td-brandcard {
    display: flex; flex-direction: column; border-radius: var(--td-radius); overflow: hidden;
    background: linear-gradient(160deg, rgba(18, 48, 110, 0.6), rgba(8, 22, 56, 0.75)); border: 1.5px solid var(--td-line);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.td-brandcard:hover { transform: translateY(-5px); border-color: var(--td-cyan); box-shadow: var(--td-glow-cyan); }
.td-brandcard__logo {
    display: grid; place-items: center; height: 150px; margin: 12px 12px 0; padding: 22px 30px; border-radius: 12px;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef5ff 100%);
}
.td-brandcard__logo img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; transition: transform .3s ease; }
.td-brandcard:hover .td-brandcard__logo img { transform: scale(1.05); }
.td-brandcard__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 20px; }
body.td-theme main .td-brandcard__name { margin: 0; font-family: var(--td-font-head); font-size: 21px; font-weight: 800; }
body.td-theme main .td-brandcard__name a { color: #fff; text-decoration: none; }
body.td-theme main .td-brandcard__name a:hover { color: var(--td-cyan); }
.td-brandcard__desc {
    margin: 0; color: var(--td-muted); font-size: 14.5px; line-height: 1.6; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.td-brandcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--td-line); }
.td-brandcard__count { color: var(--td-muted); font-size: 13px; font-weight: 600; }
body.td-theme main a.td-brandcard__btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-family: var(--td-font-head);
    font-weight: 700; font-size: 14px; text-decoration: none; color: #04122e; background: linear-gradient(135deg, var(--td-cyan), var(--td-blue));
}
body.td-theme main a.td-brandcard__btn:hover { filter: brightness(1.08); box-shadow: 0 0 16px rgba(34, 227, 242, .45); }
body.td-theme main a.td-brandcard__btn--ghost { color: var(--td-cyan); background: transparent; border: 1.5px solid var(--td-line-strong); }
body.td-theme main a.td-brandcard__btn--ghost:hover { color: #fff; background: rgba(34, 227, 242, .1); box-shadow: none; }

/* ---------- Brands page CTA ---------- */
.td-brandcta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 50px 0 20px; padding: 30px 34px;
    border-radius: 22px; border: 1.5px solid var(--td-line-strong); box-shadow: var(--td-glow);
    background: radial-gradient(circle at 85% 20%, rgba(34, 227, 242, .18), transparent 45%), linear-gradient(135deg, rgba(14, 46, 110, .85), rgba(6, 18, 48, .95));
}
body.td-theme main .td-brandcta h2 { margin: 0 0 8px; color: #fff; font-family: var(--td-font-head); font-style: italic; font-weight: 900; font-size: 26px; }
.td-brandcta p { margin: 0; color: var(--td-muted); max-width: 620px; line-height: 1.6; }
.td-brandcta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .td-brandcta { padding: 26px 22px; text-align: center; justify-content: center; } .td-brandcta__actions { justify-content: center; } }
/* ---------- Labelled dropdowns ("Status: [All Orders]", "Sort by: [...]") as one dark pill ---------- */
body.td-theme label.form-select {
    display: inline-flex; align-items: center; gap: 2px; width: auto; max-width: 100%; margin: 0; padding: 3px 4px 3px 16px;
    font-size: 14px; font-weight: 500; color: var(--td-muted); cursor: pointer;
    background: rgba(6, 20, 52, 0.85); background-image: none; border: 1px solid var(--td-line-strong); border-radius: 999px; box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body.td-theme label.form-select:hover { border-color: var(--td-cyan); }
body.td-theme label.form-select:focus-within { border-color: var(--td-cyan); box-shadow: 0 0 0 3px rgba(34, 227, 242, 0.18); }
body.td-theme label.form-select select {
    -webkit-appearance: none; appearance: none; width: auto; min-width: 0; margin: 0; cursor: pointer;
    padding: 7px 34px 7px 6px; border: 0; border-radius: 999px; box-shadow: none; outline: none;
    font-size: 14px; font-weight: 700; color: #fff;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2322e3f2' d='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px 18px;
}
body.td-theme label.form-select select:focus { box-shadow: none; }
/* My Account > My Orders: filters side by side */
body.td-theme main .myorders form.form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body.td-theme main .myorders form.form label.form-select { margin: 0; }
@media (max-width: 575px) {
    body.td-theme main .myorders form.form label.form-select { flex: 1 1 100%; justify-content: space-between; }
    body.td-theme main .myorders form.form label.form-select select { flex: 1; text-align: right; text-align-last: right; }
}body.td-theme label.sortby.form-select select {
    padding-right: 34px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2322e3f2' d='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px 18px;
}