/* ============================================================
   IPOOLGO — Light theme to match ipoolgo.com
   Loaded LAST so it overrides style.css + enhance.css.
   White nav, alternating black/light sections, white product tiles.
   ============================================================ */

:root {
    --ipg-blue: #1f6fe0;        /* primary blue buttons/links */
    --ipg-blue-dark: #1559b8;
    --ipg-black: #000000;       /* dark sections */
    --ipg-ink: #111418;         /* body text on light */
    --ipg-grey: #eef1f5;        /* light section bg */
    --ipg-grey-2: #f6f8fb;
    --ipg-line: #e4e8ee;
}

/* ---------- Colored brand logo ---------- */
.brand-logo {
    font-family: var(--font-heading);
    font-weight: 800; font-size: 26px; letter-spacing: -1px;
    display: inline-flex; align-items: baseline;
}
.brand-logo .lg-i    { color: #1f9be0; }
.brand-logo .lg-pool { color: #1f6fe0; }
.brand-logo .lg-g    { color: #2fb457; }
.brand-logo .lg-o    { color: #f4b213; }

/* ---------- White sticky nav ---------- */
.header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--ipg-line);
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.header.scrolled { background: #ffffff !important; box-shadow: 0 3px 14px rgba(0,0,0,.08); }
.nav-menu > li > a {
    color: #23272e !important;
    font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--ipg-blue) !important; }
.nav-menu > li > a.active::after,
.nav-menu > li > a:hover::after { background: var(--ipg-blue) !important; }
.header .search-btn, .header .user-btn, .header .mobile-menu-btn {
    color: #23272e !important;
}
.header .search-btn i, .header .user-btn i { color: #23272e; }

/* Mobile menu stays dark (matches their overlay) */
@media (max-width: 992px) {
    .nav-menu { background: #0b0d10 !important; }
    .nav-menu > li > a { color: #fff !important; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; align-items:center; }
    .nav-menu > li > a::after { content: "\f054"; font-family:"Font Awesome 6 Free"; font-weight:900; font-size:12px; color:#8a93a0; background:none !important; position:static; }
}

/* ---------- Body base becomes light ---------- */
body { background: #ffffff; color: var(--ipg-ink); }

/* Dark sections (hero-adjacent, story blocks) keep black bg */
.section-dark { background: #000 !important; color: #fff; }
.section-darker { background: #000 !important; color: #fff; }
/* Light alternating section */
.section-light { background: var(--ipg-grey); color: var(--ipg-ink); }

/* headings/text colors adapt by section */
.section-dark .section-title, .section-darker .section-title { color: #fff; }
.section-light .section-title { color: var(--ipg-ink); }
.section-light .section-label { color: var(--ipg-blue); }

/* ---------- Buttons: solid blue, slightly squarer (like theirs) ---------- */
.btn-primary {
    background: var(--ipg-blue) !important;
    border-radius: 4px !important;
    text-transform: none; font-weight: 600;
    box-shadow: none;
}
.btn-primary:hover { background: var(--ipg-blue-dark) !important; box-shadow: 0 8px 20px rgba(31,111,224,.3); }
.btn-outline { border-radius: 4px !important; }
.btn-white { border-radius: 4px !important; }
.btn-lg { padding: 13px 34px; }

/* ---------- Product tiles: WHITE card, photo, blue quote button ---------- */
.product-card {
    background: #fff !important;
    border: 1px solid var(--ipg-line) !important;
    border-radius: 8px;
    color: var(--ipg-ink);
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.product-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.12); border-color: #d3dae4 !important; }
.product-card-img {
    background: #fff; padding: 14px;
    display: flex; align-items: center; justify-content: center;
    height: 220px;
}
.product-card-img img { max-height: 100%; width: auto; object-fit: contain; }
.product-card-content { padding: 16px 18px 20px; }
.product-card-category { color: var(--ipg-blue); font-size: 12px; letter-spacing: .5px; }
.product-card-title { color: var(--ipg-ink) !important; font-size: 16px; }
.product-card-price-current { color: var(--ipg-ink) !important; }
.product-card .btn-outline { color: var(--ipg-blue); border-color: var(--ipg-blue); }
.product-card .btn-outline:hover { background: var(--ipg-blue); color:#fff; }
/* the primary quote button spans full width like theirs */
.product-card-actions { display: flex; flex-direction: column; gap: 8px; }
.product-card-actions .btn { width: 100%; }

/* On dark sections keep product name readable if a card sits there */
.section-dark .product-card, .section-darker .product-card { color: var(--ipg-ink); }

/* ---------- Category cards stay image-forward ---------- */
.category-card { border-radius: 8px; }

/* ---------- Section label styling like theirs (letter-spaced grey) ---------- */
.section-label {
    letter-spacing: 4px; font-size: 12px; font-weight: 600;
    text-transform: uppercase;
}
.section-dark .section-label, .section-darker .section-label { color: #7fb0ff; }

/* ============================================================
   Same-page "Request a Quote" / "Contact us" slide-in drawer
   ============================================================ */
.quote-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 3000;
}
.quote-drawer-overlay.open { opacity: 1; visibility: visible; }
.quote-drawer {
    position: fixed; top: 0; right: 0; height: 100%;
    width: 420px; max-width: 92vw;
    background: #0b0d10; color: #fff;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: 3001; overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,.4);
    padding: 26px 24px 40px;
}
.quote-drawer.open { transform: translateX(0); }
.quote-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.quote-drawer-head h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; margin: 0; }
.quote-drawer-close {
    background: none; border: none; color: #fff; font-size: 30px; line-height: 1;
    cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.quote-drawer-close:hover { background: rgba(255,255,255,.1); }
.quote-drawer-product { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.quote-drawer-product img { width: 84px; height: 66px; object-fit: cover; border-radius: 6px; background:#fff; }
.quote-drawer-product .qd-label { font-size: 13px; color: #9aa4b2; }
.quote-drawer-product .qd-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.quote-drawer p.qd-intro { color: #c3cad4; font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.quote-drawer label { display: block; font-size: 14px; margin: 14px 0 6px; }
.quote-drawer label .req { color: #ff5a5a; }
.quote-drawer input, .quote-drawer textarea, .quote-drawer select {
    width: 100%; padding: 12px 14px; border-radius: 6px;
    background: #14181d; border: 1px solid #2a3038; color: #fff; font-size: 14px;
    font-family: inherit;
}
.quote-drawer textarea { min-height: 110px; resize: vertical; }
.quote-drawer .qd-phone { display: flex; gap: 8px; }
.quote-drawer .qd-phone select { width: 110px; flex: 0 0 auto; }
.quote-drawer .btn-submit {
    width: 100%; margin-top: 22px; padding: 14px; border: none; border-radius: 4px;
    background: var(--ipg-blue); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
    transition: background .2s ease;
}
.quote-drawer .btn-submit:hover { background: var(--ipg-blue-dark); }
.quote-drawer .qd-success {
    background: rgba(47,180,87,.12); border: 1px solid rgba(47,180,87,.4);
    color: #7ee0a0; padding: 14px; border-radius: 6px; margin-top: 16px; font-size: 14px; display:none;
}
.quote-drawer .qd-success.show { display: block; }

/* ============================================================
   Product image gallery (main + up to 5 thumbnails, like ipoolgo.com)
   ============================================================ */
.product-gallery-main { margin-bottom: 14px; }
.product-gallery-main img { transition: opacity .25s ease; }
.product-gallery-thumbs {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.gallery-thumb {
    width: 72px; height: 72px; padding: 0; border-radius: 8px; overflow: hidden;
    border: 2px solid transparent; background: #fff; cursor: pointer;
    transition: border-color .2s ease, transform .2s ease; flex: 0 0 auto;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--ipg-blue); }
@media (max-width: 480px) {
    .gallery-thumb { width: 58px; height: 58px; }
}

/* ============================================================
   HOT PRODUCTS section — match ipoolgo.com (grey bg, left heading,
   arrows under the label, white product tiles sliding)
   ============================================================ */
.section-light .section-header { text-align: left; margin-bottom: 20px; }
.section-light .section-label { color: #6b7686; letter-spacing: 6px; margin-bottom: 6px; }
.section-light .section-title { font-size: 34px; letter-spacing: -0.5px; }
.hot-carousel-wrap { position: relative; padding-top: 8px; }
/* move the nav arrows to sit under the heading, like their layout */
.section-light .hot-nav {
    position: static; transform: none; display: inline-flex;
    width: 40px; height: 40px; background: transparent; border: none;
    color: #1a1a1a; box-shadow: none; margin: 0 14px 18px 0;
}
.section-light .hot-nav:hover { color: var(--ipg-blue); background: transparent; }
.section-light .hot-nav .fas { font-size: 20px; }
.hot-nav-row { display: flex; align-items: center; margin-bottom: 6px; }
/* white product tiles in HOT PRODUCTS */
.section-light .product-card {
    background: #fff !important; border: 1px solid var(--ipg-line) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.section-light .product-card-title { color: #14181d !important; font-weight: 700; }
.section-light .product-card-category { color: var(--ipg-blue) !important; }
.section-light .product-card-img { height: 200px; }

/* ---------- Category description on cards + products header ---------- */
.category-card-desc {
    color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.5;
    margin: 6px 0 10px; max-width: 90%;
}
.page-header-desc {
    color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.6;
    max-width: 640px; margin: 12px auto 0;
}
.section-light .page-header-desc { color: #4a5361; }

/* ---------- Minimal HOT PRODUCTS tile (image + centered name, like theirs) ---------- */
.hot-tile { display: block; text-decoration: none; }
.hot-tile .product-card-content { text-align: center; padding: 16px 14px 22px; }
.hot-tile .product-card-category { color: var(--ipg-blue) !important; font-size: 12px; letter-spacing: .5px; margin-bottom: 6px; }
.hot-tile .product-card-title { color: #14181d !important; font-size: 17px; font-weight: 800; line-height: 1.3; }
.hot-tile .product-card-img { height: 210px; background:#fff; }
.hot-tile:hover .product-card-title { color: var(--ipg-blue) !important; }

/* Solid dark button like reference "LEARN MORE" */
.btn-dark {
    background: #0b0d10; color: #fff !important; border: none;
    border-radius: 4px; text-transform: uppercase; letter-spacing: 1px;
    font-weight: 600; font-size: 13px; padding: 14px 34px;
}
.btn-dark:hover { background: #1a1f26; color:#fff !important; }
.section-light .btn-dark { background:#0b0d10; }

/* ---------- FIX: hero title/subtitle must stay light on the dark hero photo ---------- */
.hero-slide-content .hero-title,
.hero-title { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; text-shadow: 0 2px 18px rgba(0,0,0,.5); }

/* CRITICAL: hero text must be visible even if the slider JS never adds .active.
   The base theme sets opacity:0 and waits for .active — if JS fails or is slow,
   the title stays invisible/dark. Force it visible. */
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-description,
.hero-slide .hero-buttons,
.hero-title, .hero-subtitle, .hero-description {
    opacity: 1 !important;
    transform: none !important;
}
/* first slide always shown even without JS */
.hero-slide:first-child { opacity: 1 !important; visibility: visible !important; }
.hero-slide-content .hero-subtitle, .hero-subtitle { color: #eaf2ff !important; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-slide-content .hero-description, .hero-description { color: #f0f4f8 !important; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* ============================================================
   FIX: page-header (product/category/inner pages) sits on a dark
   photo with a dark overlay — its text must be WHITE, not the
   light-theme dark body colour.
   ============================================================ */
.page-header, .page-header * { color: #ffffff !important; }
.page-header .page-title {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.page-header .page-breadcrumb,
.page-header .page-breadcrumb a,
.page-header .page-breadcrumb span { color: rgba(255,255,255,.9) !important; }
.page-header .page-breadcrumb a:hover { color: #7fd4ff !important; }
.page-header .page-header-desc { color: rgba(255,255,255,.9) !important; }
/* ensure overlay is actually present/dark enough behind the text */
.page-header-overlay { background: rgba(0,0,0,.55) !important; }

/* Hero: force white regardless of theme cascade */
.hero-slide-content .hero-title, .hero .hero-title,
.hero-slide-content .hero-subtitle, .hero-slide-content .hero-description {
    color: #ffffff !important; -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero-slide-content .hero-subtitle { color: #dfeeff !important; -webkit-text-fill-color:#dfeeff !important; }

/* ============================================================
   FINAL POLISH PASS — text visibility, buttons, gallery, video, touch
   (loaded last; wins the cascade)
   ============================================================ */

/* ---- Footer text must be light on the dark footer ---- */
.footer { background: #0c0f13; }
.footer, .footer p, .footer li, .footer a,
.footer .footer-title, .footer .footer-links a,
.footer-links-col .footer-title, .footer-contact-col .footer-title,
.footer-newsletter-col .footer-title, .footer-brand p {
    color: #d6dce4 !important;
}
.footer .footer-title { color: #ffffff !important; }
.footer .footer-links a:hover { color: var(--ipg-blue) !important; }
.footer-bottom, .footer-bottom p { color: #aeb6c0 !important; }
.footer-payments .pay-badge { background:#fff; }

/* ---- HERO TITLE: force solid white, kill any gradient-clip, top specificity ---- */
.hero .hero-slide-content .hero-title,
section.hero .hero-title,
.hero-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    text-shadow: 0 2px 22px rgba(0,0,0,.65) !important;
    opacity: 1 !important;
}
.hero .hero-subtitle, .hero-subtitle { color:#eaf3ff !important; -webkit-text-fill-color:#eaf3ff !important; text-shadow:0 1px 12px rgba(0,0,0,.6) !important; }
.hero .hero-description, .hero-description { color:#f2f5f8 !important; -webkit-text-fill-color:#f2f5f8 !important; text-shadow:0 1px 12px rgba(0,0,0,.6) !important; }
/* stronger overlay so text always reads */
.hero-slide-bg::after { background: linear-gradient(180deg, rgba(6,10,18,.55) 0%, rgba(6,10,18,.35) 40%, rgba(6,10,18,.65) 100%) !important; }

/* ---- Professional buttons (refined, consistent) ---- */
.btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: .2px !important;
    padding: 12px 26px !important;
    box-shadow: none !important;
    transition: all .2s ease !important;
    text-transform: none !important;
}
.btn-lg { padding: 13px 30px !important; font-size: 15px !important; }
.btn-sm { padding: 9px 18px !important; font-size: 13px !important; }
.btn-primary { background: var(--ipg-blue) !important; color:#fff !important; border:none !important; }
.btn-primary:hover { background:#1257c9 !important; transform: translateY(-1px); box-shadow:0 6px 18px rgba(20,102,204,.3) !important; }
.btn-outline { background:transparent !important; border:1.5px solid rgba(255,255,255,.5) !important; color:#fff !important; }
.section-light .btn-outline, .product-detail .btn-outline { border-color:#c9d2dd !important; color:#14181d !important; }
.btn-dark { background:#0b0d10 !important; color:#fff !important; border-radius:8px !important; }
.btn-dark:hover { background:#1a1f26 !important; }
.btn i { font-size:.9em; }

/* ---- Product gallery: stacked vertically (Alibaba-style), thumbnails as a rail ---- */
.product-gallery-main img { border-radius: 10px; }
.product-gallery-thumbs {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
/* Below the main image, ALSO show all images stacked down the page */
.product-gallery-stack { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.product-gallery-stack img {
    width: 100%; border-radius: 10px; display: block;
    background:#fff; box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

/* ---- Video: constrain size ---- */
.video-section { max-width: 640px; margin: 0 auto; }
.video-section video { max-height: 460px; width: 100%; object-fit: cover; border-radius: 12px; }
@media (max-width: 600px){ .video-section video { max-height: 300px; } }

/* ---- Touch-friendly: bigger tap targets, drawer handle ---- */
.quote-drawer { touch-action: pan-y; }
.quote-drawer-handle {
    width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.35);
    margin: 10px auto 4px; display: none;
}
@media (max-width: 768px){
    .quote-drawer-handle { display: block; }
    .quote-drawer { border-top-left-radius: 18px; border-top-right-radius: 18px; }
    .btn, .footer-title, .nav-menu a { min-height: 44px; }
}

/* ============================================================
   FEATURED (HOT PRODUCTS) — borderless tiles like ipoolgo.com
   ============================================================ */
.section-light .hot-carousel .product-card,
.section-light .hot-tile {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.hot-tile .product-card-img {
    background: #fff !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.hot-tile:hover .product-card-img { box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.hot-tile .product-card-content { background: transparent !important; padding: 14px 4px 4px; }

/* ============================================================
   PRODUCTS LISTING — 2 per row like ipoolgo.com
   ============================================================ */
.products-layout .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
}
@media (max-width: 600px) {
    .products-layout .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .products-layout .product-card-title { font-size: 14px; }
    .products-layout .product-card-actions .btn { font-size: 12px; padding: 8px 10px !important; }
}
/* white product cards on the (dark) listing page, matching reference */
.products-layout .product-card {
    background: #fff !important;
    border: 1px solid #e6eaf0 !important;
    border-radius: 12px !important;
    overflow: hidden;
}
.products-layout .product-card-title { color:#14181d !important; }
.products-layout .product-card-category { color: var(--ipg-blue) !important; }
.products-layout .product-card-price-current { color:#14181d !important; font-weight:700; }
.products-layout .product-card-content { padding: 16px; }

/* ============================================================
   Homepage slider height reduced by 30% (was 100vh/700px)
   ============================================================ */
.hero-slider {
    height: 70vh !important;
    min-height: 490px !important;
}
@media (max-width: 600px) {
    .hero-slider { height: 62vh !important; min-height: 380px !important; }
}

/* ============================================================
   PRODUCTS LISTING — match ipoolgo.com exactly:
   borderless products on dark bg, image, category, name, blue quote btn.
   (Overrides the earlier white-card rule.)
   ============================================================ */
.products-layout .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 24px !important;
}
.products-layout .product-card.ipg-product {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
}
.products-layout .ipg-product .product-card-img {
    display: block; background: #fff; border-radius: 6px; overflow: hidden;
    aspect-ratio: 1/1;
}
.products-layout .ipg-product .product-card-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.products-layout .ipg-product .product-card-content {
    padding: 14px 2px 0; text-align: left; background: transparent !important;
}
.products-layout .ipg-product .product-card-category {
    color: var(--ipg-blue) !important; font-size: 12px; letter-spacing:.4px; margin-bottom: 6px;
}
.products-layout .ipg-product .product-card-title-link { text-decoration: none; }
.products-layout .ipg-product .product-card-title {
    color: #ffffff !important; font-size: 16px; font-weight: 600; line-height: 1.4;
    margin-bottom: 14px; min-height: 44px;
}
.products-layout .ipg-product:hover .product-card-title { color: var(--ipg-blue) !important; }
/* full-width blue quote button like ipoolgo.com */
.btn-quote-block {
    display: block; width: 100%; text-align: center;
    background: var(--ipg-blue) !important; color:#fff !important;
    border-radius: 4px !important; padding: 12px !important; font-size: 14px !important;
    border: none !important;
}
.btn-quote-block:hover { background:#1257c9 !important; }
@media (max-width: 600px) {
    .products-layout .products-grid { gap: 20px 14px !important; }
    .products-layout .ipg-product .product-card-title { font-size: 14px; min-height: 40px; }
}

/* ============================================================
   Features (Innovation) — horizontal sliding carousel like featured
   ============================================================ */
.features-carousel-wrap { position: relative; overflow: hidden; }
.features-carousel {
    display: flex !important;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none;
    grid-template-columns: none !important;
    padding-bottom: 6px;
}
.features-carousel::-webkit-scrollbar { display: none; }
.features-carousel .feature-item {
    flex: 0 0 260px;
    scroll-snap-align: start;
}
@media (max-width: 600px) {
    .features-carousel .feature-item { flex: 0 0 80%; }
}

/* ============================================================
   FIX: products layout + grid must never exceed the screen on phone
   (grid items default to min-width:auto and can overflow)
   ============================================================ */
.products-layout { min-width: 0; }
.products-layout > * { min-width: 0; }
@media (max-width: 992px) {
    .products-layout {
        display: block !important;
        grid-template-columns: none !important;
    }
}
@media (max-width: 700px) {
    .products-layout .products-grid {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
        gap: 14px !important;
    }
    .products-layout .products-grid > * { min-width: 0; }
}

/* ============================================================
   SUPPORT ODM & OEM — 5-step horizontal process (like ipoolgo.com)
   ============================================================ */
.odm-steps {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 8px; margin-top: 20px;
}
.odm-step {
    flex: 1 1 0; min-width: 0; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.odm-step-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20,102,204,.12); color: var(--ipg-blue, #1466cc);
    font-size: 22px; border: 1px solid rgba(20,102,204,.3);
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.odm-step:hover .odm-step-icon { background: var(--ipg-blue,#1466cc); color:#fff; transform: translateY(-4px); }
.odm-step-no { font-size: 12px; letter-spacing: 1px; color: var(--ipg-blue,#1466cc); font-weight: 700; }
.odm-step-title { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.35; margin: 0; }
.odm-step-connector {
    flex: 0 0 auto; width: 40px; height: 2px; margin-top: 28px;
    background: linear-gradient(90deg, rgba(20,102,204,.5), rgba(20,102,204,.15));
}
/* On phones: horizontal scroll strip (all 5 visible by swiping) */
@media (max-width: 768px) {
    .odm-steps {
        overflow-x: auto; scroll-snap-type: x mandatory;
        -ms-overflow-style: none; scrollbar-width: none;
        justify-content: flex-start; gap: 4px; padding-bottom: 10px;
    }
    .odm-steps::-webkit-scrollbar { display: none; }
    .odm-step { flex: 0 0 40%; scroll-snap-align: start; }
    .odm-step-connector { flex: 0 0 20px; width: 20px; margin-top: 28px; }
}
