/*
Theme Name: PrimElectroHub
Description: Bento-style showcase theme for Xortic, UltraRapid and UBPro. No cart; every buy button opens Flipkart.
Version: 2.0.9
Text Domain: xubstore
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  /* Palette B: clean white and teal, to sit with the brand logos. */
  --xub-bg: #f7f9fa;
  --xub-ink: #0b2b30;           /* text and dark cards */
  --xub-muted: #4d6468;
  --xub-green: #0f7f8c;         /* buttons and the scrolling strip (teal) */
  --xub-green-dark: #0b6671;
  --xub-lime: #7fd6df;          /* accent on dark cards: light aqua */
  --xub-peach: #e3f1f3;         /* brand card tint 1 */
  --xub-lavender: #e5eff8;
  --xub-mint: #e2f2ee;
  --xub-sand: #eaf5f6;          /* pale teal */
  --xub-teal-tint: #d8eef0;     /* hero card, chip icons */
  --xub-muted-card: #e8eeef;
  --xub-line: rgba(11, 43, 48, .10);
  --xub-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --xub-radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--xub-bg);
  color: var(--xub-ink);
  font-family: var(--xub-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--xub-font); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .5em; text-transform: none; }
p { margin: 0 0 1em; color: var(--xub-muted); }

.xub-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.xub-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 249, 250, .92); backdrop-filter: blur(10px); }
.xub-header .xub-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.xub-logo { text-decoration: none; line-height: 1; display: inline-block; text-align: left; }
.xub-logo b { display: block; font-weight: 800; font-size: 1.4rem; letter-spacing: .05em; }
.xub-logo small { display: block; font-size: .62rem; letter-spacing: .9em; margin-top: 4px; color: var(--xub-muted); font-weight: 600; }
.xub-nav { margin-left: auto; }
.xub-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.xub-nav a { display: block; text-decoration: none; font-size: .92rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; color: var(--xub-ink); }
.xub-nav a:hover { background: #fff; }
.xub-cta { text-decoration: none; background: var(--xub-green); color: #fff; font-weight: 700; font-size: .9rem; padding: 11px 24px; border-radius: 999px; }
.xub-cta:hover { background: var(--xub-green-dark); }
.xub-toggle { display: none; background: #fff; border: 0; padding: 10px 18px; border-radius: 999px; font: 700 .85rem var(--xub-font); color: var(--xub-ink); cursor: pointer; }

/* ---------- Layout ---------- */
.xub-main { min-height: 60vh; }
.xub-section { max-width: 1240px; margin: 0 auto; padding: 28px 20px; }
.xub-bento { display: grid; gap: 20px; }
.xub-section .xub-bento { padding: 0; }
.xub-hero-bento { grid-template-columns: 1.35fr 1fr; max-width: 1240px; margin: 12px auto 0; padding: 0 20px; }
.xub-grid3 { grid-template-columns: repeat(3, 1fr); }
.xub-split { grid-template-columns: 1fr 1fr; }
.xub-page-title { max-width: 1240px; margin: 0 auto; padding: 36px 20px 0; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.xub-label { font-size: .78rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--xub-muted); margin: 0 0 18px 6px; }
.xub-lead { font-size: 1.2rem; color: var(--xub-muted); }

/* ---------- Cards ---------- */
.xub-card { border-radius: var(--xub-radius); padding: 36px; overflow: hidden; position: relative; border: 1px solid var(--xub-line); }
.xub-card > :last-child { margin-bottom: 0; }
.xub-card-ink { background: var(--xub-ink); color: #fff; border-color: transparent; }
.xub-card-ink p { color: #bcd3d6; }
.xub-card-white { background: #fff; }
.xub-card-sand { background: var(--xub-sand); }
.xub-card-muted { background: var(--xub-muted-card); }
.xub-card-muted h2, .xub-card-muted p { color: #80979b; }
.xub-tint-peach { background: var(--xub-peach); }
.xub-tint-lavender { background: var(--xub-lavender); }
.xub-tint-mint { background: var(--xub-mint); }

.xub-display { font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -.04em; }
.xub-display-sm { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.xub-eyebrow { color: var(--xub-lime); font-size: .78rem; font-weight: 800; letter-spacing: .34em; margin-bottom: 18px; }

.xub-hero-main { display: flex; flex-direction: column; justify-content: center; min-height: 440px; }
.xub-hero-main .xub-display { color: #fff; max-width: 14ch; }
.xub-hero-main p { max-width: 46ch; font-size: 1.08rem; }
.xub-hero-photo { display: flex; flex-direction: column; justify-content: center; }
.xub-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.xub-trio .wp-block-image { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.xub-trio img { width: 100%; height: 100%; object-fit: contain; }
.xub-caption { text-align: center; margin: 22px 0 0; font-weight: 800; letter-spacing: .12em; font-size: .8rem; color: var(--xub-ink); }

.xub-brand-card { display: flex; flex-direction: column; min-height: 480px; }
.xub-brand-card p { color: #3d5559; }
.xub-brand-card .wp-block-image { margin: auto 0 0; padding-top: 0; background: #fff; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; }
.xub-brand-card .wp-block-buttons { margin: 6px 0 24px; }
.xub-brand-card img { width: 100%; height: 100%; object-fit: contain; }
.xub-card .wp-block-image.xub-brand-logo { background: #fff; border-radius: 20px; aspect-ratio: auto; height: 112px; margin: 0 0 22px; padding: 14px 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.xub-card .wp-block-image.xub-brand-logo img { width: auto; max-width: 100%; height: 100%; max-height: 84px; object-fit: contain; }
.xub-brand-banner .wp-block-image.xub-brand-logo { display: inline-flex; width: auto; min-width: 220px; }
.xub-type-card { min-height: 220px; }
.xub-step-no { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--xub-green); line-height: 1; margin: 0 0 14px; }
.xub-step-title { font-size: 1.3rem; }
.xub-review { display: flex; flex-direction: column; gap: 4px; }
.xub-stars { margin-bottom: 10px; line-height: 1; }
.xub-stars::before { content: "\2605\2605\2605\2605\2605"; color: #f2a900; font-size: 22px; letter-spacing: 3px; }
.xub-quote { font-size: 1.1rem; line-height: 1.55; color: var(--xub-ink); }
.xub-reviewer { margin: auto 0 0; }
.xub-reviewer strong { color: var(--xub-ink); }
.xub-brand-banner { margin-bottom: 20px; }
.xub-brand-banner p { color: #2f4a4e; }

.xub-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.xub-gallery .wp-block-image { margin: 0; background: #fff; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--xub-line); }
.xub-gallery img { width: 100%; height: 100%; object-fit: contain; }
.xub-gallery .wp-block-image:only-child { grid-column: 1 / -1; max-width: 420px; width: 100%; margin: 0 auto; }

/* ---------- Buttons ---------- */
.wp-block-buttons { margin: 8px 0 0; }
.wp-block-button__link, .xub-submit {
  display: inline-block; background: var(--xub-green); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 30px; text-decoration: none; font: 700 .95rem var(--xub-font); cursor: pointer;
}
.wp-block-button__link:hover, .xub-submit:hover { background: var(--xub-green-dark); color: #fff; }
.xub-btn-lime .wp-block-button__link { background: var(--xub-lime); color: var(--xub-ink); }
.xub-btn-lime .wp-block-button__link:hover { background: #63c5cf; color: var(--xub-ink); }

/* ---------- Chips and marquee ---------- */
.xub-chips { display: flex; flex-wrap: wrap; gap: 16px; width: min(1200px, calc(100% - 40px)); margin: 20px auto; }
.xub-chip { flex: 1 1 260px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--xub-line); border-radius: 22px; padding: 14px 18px; font-weight: 700; }
.xub-chip-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--xub-teal-tint); color: var(--xub-green); flex: none; }
.xub-marquee { width: min(1200px, calc(100% - 40px)); margin: 20px auto; overflow: hidden; background: var(--xub-green); color: #fff; border-radius: 999px; padding: 16px 0; }
.xub-marquee-track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; animation: xub-scroll 32s linear infinite; padding-left: 28px; }
.xub-marquee-track span { font-weight: 800; font-size: 1.05rem; }
.xub-marquee-track .xub-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--xub-lime); display: inline-block; }
@keyframes xub-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .xub-marquee-track { animation: none; } }

/* ---------- Text pages and forms ---------- */
.xub-text .xub-card { max-width: 820px; }
.xub-form label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--xub-muted); margin: 18px 0 6px; }
.xub-form input[type=text], .xub-form input[type=email], .xub-form textarea {
  width: 100%; border: 1px solid #cfdcde; background: #fff; padding: 13px 16px; font: inherit; color: var(--xub-ink); border-radius: 16px;
}
.xub-form .xub-hp { position: absolute; left: -9999px; }
.xub-form .xub-submit { margin-top: 22px; }
.xub-notice { background: var(--xub-teal-tint); border-radius: 16px; padding: 12px 18px; margin-bottom: 20px; color: var(--xub-ink); }

/* ---------- Footer ---------- */
.xub-footer { width: min(1200px, calc(100% - 40px)); margin: 40px auto 24px; background: var(--xub-ink); color: #fff; border-radius: var(--xub-radius); padding: 44px; font-size: .95rem; }
.xub-footer .xub-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.xub-footer p, .xub-footer li { color: #bcd3d6; }
.xub-footer h4 { font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--xub-lime); font-weight: 800; }
.xub-footer ul { list-style: none; margin: 0; padding: 0; }
.xub-footer li { margin-bottom: 8px; }
.xub-footer a { text-decoration: none; color: #fff; }
.xub-footer a:hover { color: var(--xub-lime); }
.xub-footer .xub-logo small { color: #bcd3d6; }
.xub-footer .xub-wrap { padding: 0; max-width: none; }
.xub-footer .xub-fine { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: #9bb5b9; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1000px) {
  .xub-grid3 { grid-template-columns: repeat(2, 1fr); }
  .xub-gallery { grid-template-columns: repeat(2, 1fr); }
  .xub-hero-bento, .xub-split { grid-template-columns: 1fr; }
  .xub-hero-main { min-height: 340px; }
}
@media (max-width: 760px) {
  .xub-header .xub-wrap { min-height: 70px; }
  .xub-toggle { display: block; margin-left: auto; }
  .xub-cta { display: none; }
  .xub-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--xub-bg); padding: 4px 20px 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, .06); }
  .xub-nav.is-open { display: block; }
  .xub-nav ul { flex-direction: column; gap: 0; }
  .xub-nav a { padding: 14px 4px; border-radius: 0; border-top: 1px solid var(--xub-line); }
  .xub-grid3 { grid-template-columns: 1fr; }
  .xub-card { padding: 26px; }
  .xub-brand-card { min-height: 0; }
  .xub-footer { padding: 30px 24px; }
  .xub-footer .xub-cols { grid-template-columns: 1fr; }
  .xub-section { padding: 18px 20px; }
}

/* ---------- Palette B specifics ---------- */
.xub-hero-main { background: var(--xub-teal-tint); color: var(--xub-ink); }
.xub-hero-main .xub-display { color: var(--xub-ink); }
.xub-hero-main p { color: #31575c; }
.xub-hero-main .xub-eyebrow { color: var(--xub-green); }
.xub-hero-main .xub-btn-lime .wp-block-button__link { background: var(--xub-green); color: #fff; }
.xub-hero-main .xub-btn-lime .wp-block-button__link:hover { background: var(--xub-green-dark); color: #fff; }
.xub-tint-peach, .xub-tint-lavender, .xub-tint-mint { box-shadow: 0 1px 2px rgba(11, 43, 48, .05); }

/* ---------- Icons drawn by CSS ---------- */
.xub-icon { display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--xub-icon) center / contain no-repeat; mask: var(--xub-icon) center / contain no-repeat; }
.xub-icon-bolt { --xub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E"); }
.xub-icon-data { --xub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14M14 4l4 4-4 4M20 16H6M10 12l-4 4 4 4'/%3E%3C/svg%3E"); }
.xub-icon-cart { --xub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2.5l2.4 11h10.2l2-8H7'/%3E%3C/svg%3E"); }

/* ---------- Home banner slider ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.xub-hero-wrap { max-width: 1240px; margin: 12px auto 0; padding: 0 20px; }
.xub-hero-slider { position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--xub-line); background: linear-gradient(120deg, #d3ebee 0%, #e4f2f4 52%, #eff7f8 100%); }
.xub-hero-slider::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(15, 127, 140, .08); left: -90px; top: -90px; }
.xub-hero-slider::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(15, 127, 140, .06); right: 18%; bottom: -260px; }
.xub-slide { display: none; position: relative; z-index: 1; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 56px 96px 64px; min-height: 460px; }
.xub-slide.is-active { display: grid; animation: xub-fade .5s ease; }
@keyframes xub-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.xub-pill { display: inline-block; border: 1.5px solid var(--xub-green); color: var(--xub-green); border-radius: 999px; padding: 8px 20px; font-weight: 800; font-size: .78rem; letter-spacing: .16em; margin-bottom: 22px; }
.xub-slide-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -.04em; margin: 0 0 14px; }
.xub-slide-text p { max-width: 46ch; font-size: 1.08rem; margin-bottom: 28px; }
.xub-slide-btn { display: inline-block; background: var(--xub-green); color: #fff; padding: 15px 34px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.xub-slide-btn:hover { background: var(--xub-green-dark); color: #fff; }
.xub-slide-media { position: relative; display: flex; justify-content: center; align-items: center; }
.xub-slide-photo { width: min(370px, 100%); aspect-ratio: 1 / 1; background: #fff; border-radius: 30px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 50px rgba(11, 43, 48, .13); }
.xub-slide-photo img { width: 100%; height: 100%; object-fit: contain; }
.xub-badge { position: absolute; left: 4%; bottom: 8%; width: 124px; height: 124px; border-radius: 50%; background: var(--xub-green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 8px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 24px rgba(11, 43, 48, .18); line-height: 1.15; }
.xub-badge span { font-size: .85rem; opacity: .9; }
.xub-badge b { font-size: 1.2rem; font-weight: 800; }
.xub-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.xub-prev { left: 24px; background: var(--xub-green); color: #fff; }
.xub-next { right: 24px; background: #fff; color: var(--xub-green); box-shadow: 0 4px 14px rgba(11, 43, 48, .12); }
.xub-arrow:hover { background: var(--xub-green-dark); color: #fff; }
.xub-dots { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; }
.xub-dot-btn { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(15, 127, 140, .25); cursor: pointer; transition: width .2s; }
.xub-dot-btn.is-active { width: 28px; background: var(--xub-green); }
@media (max-width: 1000px) {
  .xub-slide { padding: 48px 80px 64px; }
}
@media (max-width: 760px) {
  .xub-hero-wrap { padding: 0 14px; }
  .xub-slide { grid-template-columns: 1fr; padding: 34px 22px 92px; min-height: 0; gap: 20px; }
  .xub-slide-photo { width: min(250px, 100%); border-radius: 22px; }
  .xub-badge { width: 92px; height: 92px; border-width: 5px; left: 6%; bottom: 4%; }
  .xub-badge b { font-size: 1rem; }
  .xub-arrow { top: auto; bottom: 18px; transform: none; width: 44px; height: 44px; font-size: 1.15rem; }
  .xub-prev { left: 18px; }
  .xub-next { right: 18px; }
  .xub-dots { bottom: 36px; }
}

/* ---------- Transparent product photos (cut-out PNGs sit directly on the card) ---------- */
.xub-slide-photo { background: transparent; box-shadow: none; border-radius: 0; aspect-ratio: auto; width: auto; height: 400px; }
.xub-slide-photo img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.xub-brand-card .wp-block-image { background: transparent; border-radius: 0; aspect-ratio: auto; height: 300px; margin: auto 0 0; display: flex; align-items: flex-end; justify-content: center; overflow: visible; }
.xub-brand-card .wp-block-image img { width: auto; max-width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(11, 43, 48, .2)); }
.xub-brand-banner .wp-block-image:not(.xub-brand-logo) { display: flex; justify-content: center; margin: 28px auto 0; height: 380px; background: transparent; }
.xub-brand-banner .wp-block-image:not(.xub-brand-logo) img { width: auto; max-width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(11, 43, 48, .2)); }
@media (max-width: 760px) {
  .xub-slide-photo { height: 260px; }
  .xub-brand-card .wp-block-image { height: 260px; }
  .xub-brand-banner .wp-block-image:not(.xub-brand-logo) { height: 300px; }
}
.xub-brand-card .wp-block-image.xub-brand-logo { height: 112px; margin: 0 0 22px; overflow: hidden; }
.xub-brand-card .wp-block-image.xub-brand-logo img { height: 100%; max-height: 84px; filter: none; }

/* ---------- Logo: P icon + live-text name ---------- */
.xub-logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.xub-logo-icon { height: 44px; width: auto; display: block; }
.xub-wordmark { font-weight: 800; font-size: 1.05rem; letter-spacing: .16em; color: var(--xub-ink); }
.xub-footer .xub-wordmark { color: #fff; }
@media (max-width: 760px) { .xub-logo-icon { height: 38px; } .xub-wordmark { font-size: .8rem; letter-spacing: .12em; } }

/* ---------- Footer slogan ---------- */
.xub-slogan { margin: 10px 0 0; color: var(--xub-lime); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Fast-charging compatibility guide ---------- */
.xub-compat h2 { margin-bottom: .3em; }
.xub-compat-rows { margin-top: 20px; border-top: 1px solid var(--xub-line); }
.xub-compat-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--xub-line); }
.xub-compat-phone { font-weight: 800; font-size: 1.05rem; }
.xub-chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.xub-tag { display: inline-block; background: var(--xub-teal-tint); color: var(--xub-green-dark); font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.xub-compat-note { margin: 18px 0 0; font-size: .82rem; color: var(--xub-muted); }
.xub-compat-short { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.xub-compat-short p { margin-bottom: 20px; }
@media (max-width: 760px) { .xub-compat-row { grid-template-columns: 1fr; gap: 10px; } .xub-compat-short { grid-template-columns: 1fr; } }

/* ---------- "Supports" lines and tags ---------- */
.xub-supports-line { color: var(--xub-green); font-weight: 700; font-size: .92rem; margin: -6px 0 16px; }
.xub-guide-all { color: var(--xub-green); font-weight: 700; margin: 0 0 4px; }
.xub-supports-box { margin: 20px 0 8px; }
.xub-supports-label { display: block; margin-bottom: 10px; font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--xub-muted); }
.xub-guide-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .92rem; color: var(--xub-green); text-decoration: none; }
.xub-brand-banner .xub-tag { background: #fff; }

/* ---------- "Supports every fast-charging technology" banner ---------- */
.xub-support-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 48px 56px; border-radius: 32px; background: linear-gradient(120deg, #0b2b30 0%, #0f4650 60%, #146270 100%); color: #fff; }
.xub-support-banner::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(127, 214, 223, .09); right: -90px; top: -150px; }
.xub-sb-text, .xub-sb-media { position: relative; z-index: 1; }
.xub-pill-light { display: inline-block; border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; border-radius: 999px; padding: 8px 20px; font-weight: 800; font-size: .78rem; letter-spacing: .16em; margin-bottom: 18px; }
.xub-sb-title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: -.035em; margin: 0 0 12px; max-width: 18ch; }
.xub-support-banner p { color: #bcd3d6; font-size: 1.05rem; margin: 0 0 20px; }
.xub-support-banner .xub-tag { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .24); }
.xub-support-banner .xub-slide-btn { margin-top: 26px; background: var(--xub-lime); color: #0b2b30; }
.xub-support-banner .xub-slide-btn:hover { background: #a9e6ec; color: #0b2b30; }
.xub-sb-media { display: flex; justify-content: center; align-items: flex-end; }
.xub-sb-media img { height: 270px; width: auto; max-width: 34%; object-fit: contain; margin-left: -34px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.xub-sb-media img:first-child { margin-left: 0; }
.xub-after-banner { margin-top: 20px; }
@media (max-width: 1000px) { .xub-support-banner { grid-template-columns: 1fr; padding: 36px 32px; } .xub-sb-media img { height: 200px; } }
@media (max-width: 760px) { .xub-support-banner { padding: 30px 22px; border-radius: 26px; } .xub-sb-media img { height: 150px; margin-left: -20px; } }

/* ---------- Top rated on Flipkart ---------- */
.xub-top { margin-top: 40px; }
.xub-top-head { margin: 0 6px 22px; }
.xub-top-head h2 { margin-bottom: .2em; }
.xub-top-head p { margin: 0; }
.xub-top-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.xub-top-card { min-width: 0; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--xub-line); border-radius: 24px; padding: 14px 14px 18px; }
.xub-rank { position: absolute; z-index: 2; top: 20px; left: 20px; background: var(--xub-ink); color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 11px; border-radius: 999px; }
.xub-top-photo { display: block; aspect-ratio: 1 / 1; background: #f6f9fa; border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.xub-top-photo img { width: 100%; height: 100%; object-fit: contain; }
.xub-rating { display: flex; align-items: baseline; gap: 6px; font-size: .95rem; margin-bottom: 6px; }
.xub-star { color: #f2a900; font-size: 1.1rem; }
.xub-rating small { color: var(--xub-muted); font-size: .8rem; }
.xub-top-name { font-size: .88rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--xub-ink); text-transform: none; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xub-top-buy { margin-top: auto; display: block; text-align: center; background: var(--xub-green); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 12px 10px; border-radius: 999px; }
.xub-top-buy:hover { background: var(--xub-green-dark); color: #fff; }
.xub-top-all { text-align: center; margin-top: 28px; }
@media (max-width: 1100px) { .xub-top-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .xub-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .xub-top-card { padding: 10px 10px 14px; border-radius: 20px; } }
@media (max-width: 440px) { .xub-top-grid { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Brand page banner (full width, same look as the home banner) ---------- */
.xub-brand-hero { margin: 12px 0 24px; }
.xub-slide-card { width: min(400px, 100%) !important; height: auto !important; aspect-ratio: 1 / 1; background: #fff !important; border-radius: 28px !important; box-shadow: 0 24px 50px rgba(11, 43, 48, .15) !important; }
.xub-slide-card img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
@media (max-width: 760px) { .xub-slide-card { width: min(280px, 100%) !important; border-radius: 22px !important; } }
.xub-brand-info { margin-top: 44px; }

/* ---------- Brand banner: infographic slides blend into the banner background ---------- */
.xub-brand-hero { isolation: isolate; }
.xub-brand-hero::before, .xub-brand-hero::after { z-index: -1; }
.xub-brand-hero .xub-slide { z-index: auto; }
.xub-brand-hero .xub-slide-card {
  width: min(520px, 100%) !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important;
}
.xub-brand-hero .xub-slide-card img {
  width: 100% !important; height: 100% !important; object-fit: contain !important; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 760px) { .xub-brand-hero .xub-slide-card { width: min(300px, 100%) !important; } }
/* Brand banner: no fade-in, so the blended look is there from the first moment */
.xub-brand-hero .xub-slide.is-active { animation: none; }


/* ---------- Sliding "icon | charging name" cards ---------- */
.xub-ss { overflow: hidden; margin: 20px 0 0; padding: 4px 0; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); }
.xub-ss-track { display: flex; width: max-content; animation: xub-ss-scroll 38s linear infinite; }
.xub-ss:hover .xub-ss-track, .xub-ss:focus-within .xub-ss-track { animation-play-state: paused; }
.xub-ss-set { display: flex; flex: none; }
.xub-ss-card { flex: none; display: flex; align-items: stretch; width: 310px; margin-right: 20px; background: #fff; border: 1px solid #d9dedf; border-radius: 28px; overflow: hidden; }
.xub-ss-icon { flex: none; width: 92px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #d9dedf; padding: 24px 0; }
.xub-ss-icon::before { content: ""; width: 44px; height: 44px; background: #0b0b0c; -webkit-mask: var(--xub-ic) center / contain no-repeat; mask: var(--xub-ic) center / contain no-repeat; }
.xub-ss-name { flex: 1; display: flex; align-items: center; padding: 0 22px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: #0b0b0c; }
.xub-ss-icon-0 { --xub-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='11' height='15' rx='1.8'/%3E%3Cpath d='M9.5 6 6.5 11h3l-1 4 3-5h-3z'/%3E%3Cpath d='M2 21h13M17 7v3M20 7v3M16 10h5v1.5a2.5 2.5 0 0 1-5 0zM18.5 14v1.5a2.5 2.5 0 0 1-2 2.4'/%3E%3C/svg%3E"); }
.xub-ss-icon-1 { --xub-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2' width='11' height='20' rx='2.4'/%3E%3Cpath d='M13 6.5 9.5 12h2.8l-1 4.5 3.7-5.5h-2.8z'/%3E%3C/svg%3E"); }
.xub-ss-icon-2 { --xub-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='17' height='10' rx='2.2'/%3E%3Cpath d='M22 11v2'/%3E%3Cpath d='M11.5 9.3 8.8 12.2h2.4l-.7 2.5 2.7-3h-2.4z'/%3E%3C/svg%3E"); }
.xub-ss-icon-3 { --xub-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M13.2 6 8.5 13h3.3l-1 5 4.7-7h-3.3z'/%3E%3C/svg%3E"); }
@keyframes xub-ss-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .xub-ss { overflow-x: auto; } .xub-ss-track { animation: none; } .xub-ss-set[aria-hidden="true"] { display: none; } }
@media (max-width: 760px) { .xub-ss-card { width: 250px; margin-right: 14px; border-radius: 22px; } .xub-ss-icon { width: 72px; } .xub-ss-icon::before { width: 34px; height: 34px; } .xub-ss-name { padding: 0 14px; font-size: 1rem; } }

/* ---------- Banner facts (replace the repeated name pills) ---------- */
.xub-sb-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 6px 0 4px; }
.xub-sb-stats div { display: flex; flex-direction: column; min-width: 120px; }
.xub-sb-stats b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--xub-lime); }
.xub-sb-stats span { margin-top: 6px; font-size: .92rem; color: #bcd3d6; max-width: 14ch; line-height: 1.35; }
@media (max-width: 760px) { .xub-sb-stats { gap: 14px 24px; } .xub-sb-stats b { font-size: 2.1rem; } }

/* ---------- Real customer reviews ---------- */
.xub-review-stars { color: #f2a900; font-size: 1.35rem; letter-spacing: 3px; line-height: 1; margin-bottom: 14px; }
.xub-review-stars i { color: #d7dcdd; font-style: normal; }
.xub-review .xub-quote { font-size: 1.05rem; line-height: 1.6; color: var(--xub-ink); margin-bottom: 18px; }
.xub-review .xub-reviewer { margin: auto 0 0; display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }
.xub-review .xub-reviewer span { color: var(--xub-muted); }
.xub-review .xub-reviewer a { margin-top: 8px; color: var(--xub-green); font-weight: 700; text-decoration: none; }
.xub-review-note { margin: 16px 6px 0; font-size: .82rem; color: var(--xub-muted); }

/* ---------- Brand card slider: red and white cable ---------- */
.xub-mini { margin-top: auto; }
.xub-mini-stage { position: relative; height: 300px; }
.xub-mini-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; opacity: 0; transition: opacity .6s ease; filter: drop-shadow(0 14px 16px rgba(11, 43, 48, .2)); }
.xub-mini-slide.is-active { opacity: 1; }
.xub-mini-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.xub-mini-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(15, 127, 140, .25); cursor: pointer; transition: width .2s; }
.xub-mini-dot.is-active { width: 28px; background: var(--xub-green); }
@media (max-width: 760px) { .xub-mini-stage { height: 260px; } }

/* ---------- Contact page ---------- */
.xub-page-contact .xub-page-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); padding: 0; }
.xub-contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 28px 0 8px; }
.xub-contact-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -.04em; margin: 18px 0 10px; }
.xub-contact-lead { font-size: 1.1rem; max-width: 40ch; margin-bottom: 32px; }
.xub-cinfo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.xub-cinfo { display: flex; gap: 16px; align-items: flex-start; }
.xub-cicon { flex: none; width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1px solid var(--xub-line); display: flex; align-items: center; justify-content: center; }
.xub-cicon::before { content: ""; width: 30px; height: 30px; background: var(--xub-green); -webkit-mask: var(--xub-ci) center / contain no-repeat; mask: var(--xub-ci) center / contain no-repeat; }
.xub-cinfo h3 { font-size: 1.25rem; letter-spacing: -.02em; text-transform: none; margin: 0 0 4px; }
.xub-cinfo p { margin: 0; font-size: .98rem; line-height: 1.55; overflow-wrap: anywhere; }
.xub-cinfo a { text-decoration: none; color: inherit; }
.xub-cinfo a:hover { color: var(--xub-green); }
.xub-contact-form { background: #fff; border: 1px solid var(--xub-line); border-radius: 36px; padding: 40px; }
.xub-contact-form .xub-form input[type=text], .xub-contact-form .xub-form input[type=email], .xub-contact-form .xub-form input[type=tel] { display: block; width: 100%; margin: 0 0 14px; border: 1px solid #dde3e4; background: #f3f6f6; border-radius: 999px; padding: 16px 24px; font: inherit; color: var(--xub-ink); }
.xub-contact-form .xub-form textarea { display: block; width: 100%; margin: 0 0 18px; border: 1px solid #dde3e4; background: #f3f6f6; border-radius: 28px; padding: 18px 24px; font: inherit; color: var(--xub-ink); resize: vertical; }
.xub-contact-form .xub-form input::placeholder, .xub-contact-form .xub-form textarea::placeholder { color: #8b9a9c; }
.xub-contact-form .xub-form input:focus, .xub-contact-form .xub-form textarea:focus { outline: 2px solid var(--xub-green); outline-offset: 1px; background: #fff; }
.xub-contact-form .xub-form .xub-hp { position: absolute; left: -9999px; }
.xub-contact-form .xub-submit { margin-top: 4px; padding: 16px 40px; }
.xub-notice-error { background: #fde7e7; }
@media (max-width: 1000px) { .xub-contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .xub-cinfo-grid { grid-template-columns: 1fr; } .xub-contact-form { padding: 24px; border-radius: 26px; } }
.xub-cicon-building { --xub-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4.5A1.5 1.5 0 0 1 6.5 3h8A1.5 1.5 0 0 1 16 4.5V21'/%3E%3Cpath d='M16 9h2.5A1.5 1.5 0 0 1 20 10.5V21M3 21h18M8.5 7h1M12 7h1M8.5 11h1M12 11h1M8.5 15h1M12 15h1'/%3E%3C/svg%3E"); }
.xub-cicon-mail { --xub-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.xub-cicon-phone { --xub-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.8 4.5-2.3 1.4a11 11 0 0 0 5.1 5.1l1.4-2.3L19 14.5V18a2 2 0 0 1-2 2A14 14 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.xub-cicon-pin { --xub-ci: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E"); }

/* About block */
.xub-card-soft{background:var(--xub-teal-tint);border:1px solid #bfe0e3}
.xub-about{background:var(--xub-teal-tint);color:var(--xub-ink);border:1px solid #bfe0e3;border-radius:28px;padding:44px;overflow:hidden}
.xub-about-top{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center}
.xub-tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--xub-green);background:#fff;border:1px solid var(--xub-green);border-radius:999px;padding:7px 16px;margin-bottom:18px}
.xub-about h2{color:var(--xub-ink);font-size:clamp(26px,3.4vw,40px);line-height:1.15;margin:0 0 16px}
.xub-about p{color:#38585d;margin:0 0 12px;line-height:1.65}
.xub-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.xub-stat{background:#fff;border:1px solid #bfe0e3;border-radius:20px;padding:22px}
.xub-stat strong{display:block;font-size:clamp(28px,3.4vw,40px);line-height:1.1;color:var(--xub-green)}
.xub-stat span{display:block;margin-top:6px;font-size:14px;color:#4a6a6f}
.xub-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:36px;padding-top:30px;border-top:1px solid #a9d3d7}
.xub-pillar-no{font-size:13px;font-weight:700;color:var(--xub-green);letter-spacing:.1em}
.xub-pillar h3{color:var(--xub-ink);font-size:19px;margin:8px 0 6px}
.xub-pillar p{margin:0;font-size:15px}
.xub-about .xub-about-note{margin:26px 0 0;font-size:12px;color:#5d7b80}
@media (max-width:820px){.xub-about{padding:28px 22px}.xub-about-top,.xub-pillars{grid-template-columns:minmax(0,1fr)}.xub-pillars{gap:20px}}

/* Keep the top of the cable plug clear of the banner edge */
.xub-slide-photo { height: 380px; margin-top: 14px; }
@media (max-width: 760px) { .xub-slide-photo { height: 250px; margin-top: 8px; } }
