/* Ropex BD — navy + red industrial style */
:root {
  --navy: #262f5a;
  --navy-dark: #1d2440;
  --navy-deep: #171d33;
  --red: #d7262b;
  --red-dark: #b51e22;
  --ink: #23283a;
  --muted: #6b7180;
  --grey: #f2f2f2;
  --line: #e1e3e8;
  --wa: #1fa855;
  font-family: "Open Sans", "Noto Sans Bengali", system-ui, sans-serif;
}
html[lang="bn"] { font-family: "Noto Sans Bengali", "Open Sans", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.65; padding-bottom: 56px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar { background: var(--navy-dark); color: #b9bfd3; font-size: .88rem; }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.topbar a { text-decoration: none; }
.topbar .ico { color: var(--red); margin-right: 6px; }
.topbar .right { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.lang-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; padding: 3px 10px; cursor: pointer; font: inherit; font-size: .85rem; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; min-height: 80px; gap: 16px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.logo-text { line-height: 1.05; }
.logo-text b { display: block; font-size: 1.5rem; color: var(--red); letter-spacing: .5px; font-weight: 800; }
.logo-text small { color: var(--navy); font-weight: 700; letter-spacing: 2.5px; font-size: .7rem; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: #555b6e; padding: 8px 14px; font-size: .95rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); border-bottom-color: var(--red); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; margin-left: auto; color: var(--navy); }

/* Buttons: navy label + red angled arrow */
.btn { display: inline-flex; align-items: stretch; text-decoration: none; font-weight: 700; font-size: .85rem; text-transform: uppercase; border: 0; cursor: pointer; font-family: inherit; padding: 0; background: none; }
.btn span:first-child { background: var(--navy); color: #fff; padding: 11px 18px; }
.btn .arrow { background: var(--red); color: #fff; padding: 11px 14px 11px 18px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); margin-left: -8px; }
.btn:hover span:first-child { background: var(--navy-dark); }
.btn-red span:first-child { background: var(--red); }
.btn-red .arrow { background: var(--navy); }
.btn-wa span:first-child { background: var(--wa); }

/* Hero slider */
.hero { position: relative; height: 480px; overflow: hidden; background: var(--navy-deep); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background-size: cover; background-position: center; display: flex; align-items: center; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,35,.88) 0%, rgba(15,18,35,.6) 50%, rgba(15,18,35,.2) 100%); }
.slide .wrap { position: relative; width: 100%; }
.slide-box { background: rgba(10,12,25,.55); display: inline-block; padding: 22px 26px; max-width: 560px; color: #fff; }
.slide-box h1 { margin: 0; font-size: 2.2rem; line-height: 1.2; font-weight: 300; text-transform: uppercase; }
.slide-box h1 b { color: var(--red); font-weight: 800; text-transform: none; }
.slide-box p { margin: 10px 0 18px; font-size: 1.05rem; }
.slide-product { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 32%; max-width: 400px; background: #fff; padding: 12px; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255,255,255,.6); font-size: 3rem; cursor: pointer; z-index: 2; padding: 0 12px; }
.hero-nav.prev { left: 4px; } .hero-nav.next { right: 4px; }
.dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.dots button.on { background: var(--red); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--grey); }
h2 { font-size: 1.8rem; margin: 0 0 8px; color: var(--navy); }
.lead { color: var(--muted); margin: 0 0 28px; }
.eyebrow { color: #8a8fa0; font-size: 1.5rem; font-weight: 300; margin: 0; }
.big-title { font-size: 2.1rem; text-transform: uppercase; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.why img { width: 100%; }
.why p, .why ul { color: var(--muted); }
.why ul { padding-left: 18px; margin: 0 0 22px; }
.sec-title { text-align: center; margin-bottom: 36px; }
.sec-title h2 { font-size: 2.1rem; font-weight: 300; color: var(--red); display: flex; align-items: center; gap: 18px; justify-content: center; }
.sec-title h2::before, .sec-title h2::after { content: ""; flex: 0 1 160px; border-top: 3px double #c9ccd3; }
.sec-title h2 b { color: var(--ink); font-weight: 700; }
.sec-title p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* Category cards */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; scroll-snap-align: start; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; padding: 10px; }
.card .body { padding: 16px 18px 14px; text-align: center; flex: 1; transition: background .2s; }
.card h3 { margin: 0 0 6px; font-size: .98rem; text-transform: uppercase; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .88rem; }
.card .more { display: flex; justify-content: space-between; align-items: stretch; border-top: 1px solid var(--line); font-size: .88rem; }
.card .more span:first-child { padding: 8px 18px; color: var(--red); }
.card .more .arrow { background: var(--red); color: #fff; padding: 8px 14px 8px 22px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.card:hover .body, .card.featured .body { background: var(--red); }
.card:hover h3, .card:hover p, .card.featured h3, .card.featured p { color: #fff; }
.card:hover .more span:first-child, .card.featured .more span:first-child { background: var(--navy); color: #fff; }
.car-btns { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.car-btns button { width: 34px; height: 30px; border: 0; background: #e3e4e8; color: var(--red); cursor: pointer; font-size: 1.1rem; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.car-btns button:hover { background: var(--red); color: #fff; }
.app-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.app-list a { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 16px 14px; text-decoration: none; font-weight: 700; color: var(--navy); }
.app-list small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* Services split */
.services { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #d5d9e8; padding: 0; }
.services .text { padding: 64px 48px 64px max(16px, calc((100vw - 1140px) / 2 + 16px)); }
.services .text h2 { color: #fff; font-size: 2.2rem; text-transform: uppercase; line-height: 1.2; margin: 6px 0 16px; }
.services .text h2 b { color: var(--red); }
.services .eyebrow { color: #c5c9da; }
.services ul { padding-left: 18px; }
.services .btn-red .arrow { background: #fff; color: var(--red); }
.services .photo { background-size: cover; background-position: center; min-height: 380px; }

/* Contact strip */
.strip { background: var(--red); color: #fff; padding: 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip .item { display: flex; gap: 16px; padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.25); text-decoration: none; }
.strip .item:last-child { border-right: 1px solid rgba(255,255,255,.25); }
.strip .icon { background: #fff; color: var(--red); width: 52px; height: 36px; flex: none; display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); font-size: 1.1rem; }
.strip small { display: block; opacity: .9; }
.strip b { font-size: 1.1rem; }
.notice { background: #fff6f6; border-left: 4px solid var(--red); padding: 12px 14px; font-size: .92rem; }

/* Inner pages */
.page-head { background: var(--navy); color: #fff; padding: 34px 0; }
.page-head h1 { margin: 0; font-size: 1.9rem; }
.breadcrumb { font-size: .9rem; color: #b9bfd3; }
.breadcrumb a { color: #fff; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.media-img { width: 100%; border: 1px solid var(--line); background: #fff; object-fit: cover; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tag { background: var(--grey); color: var(--navy); padding: 4px 10px; font-size: .85rem; font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .93rem; background: #fff; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--navy); color: #fff; font-weight: 600; }
tr:nth-child(even) td { background: #f8f8fa; }
td .ask { color: var(--muted); font-style: italic; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 600; font-size: .95rem; display: block; }
.form input, .form select { font: inherit; padding: 11px 12px; border: 1px solid #cfd2da; display: block; width: 100%; margin-top: 6px; background: #fff; }
.form .row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.req { color: var(--red); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 12px 14px; }
.map { width: 100%; min-height: 360px; border: 0; }

/* Footer */
footer { background: var(--navy-deep); color: #b9bfd3; font-size: .9rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; padding: 44px 16px; }
footer h4 { color: #fff; margin: 0 0 12px; text-transform: uppercase; font-size: .88rem; }
footer a { text-decoration: none; display: block; padding: 2px 0; }
footer a:hover { color: #fff; }
.f-quote { display: flex; margin-bottom: 14px; }
.f-quote input { flex: 1; min-width: 0; border: 0; padding: 10px; font: inherit; }
.social { display: flex; gap: 8px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.copy { background: var(--navy); padding: 16px 0; font-size: .82rem; }

/* Sticky WhatsApp + call */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 30; }
.sticky-bar a { text-align: center; padding: 14px; font-weight: 700; text-decoration: none; color: #fff; }
.sticky-bar .wa { background: var(--wa); }
.sticky-bar .call { background: var(--red); }
@media (min-width: 901px) {
  body { padding-bottom: 0; }
  .sticky-bar { left: auto; right: 20px; bottom: 20px; grid-template-columns: auto auto; gap: 8px; }
  .sticky-bar a { border-radius: 99px; padding: 12px 20px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
}
@media (max-width: 900px) {
  .why, .product-top, .two-col, .services { grid-template-columns: 1fr; }
  .services .text { padding: 44px 16px; }
  .services .photo { min-height: 240px; }
  .track { grid-auto-columns: 80%; }
  .app-list { grid-template-columns: 1fr 1fr; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip .item { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  footer .cols { grid-template-columns: 1fr; }
  .hero { height: 440px; }
  .slide-product { display: none; }
  .slide-box h1 { font-size: 1.6rem; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .topbar .hide-sm { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .sec-title h2::before, .sec-title h2::after { display: none; }
}

/* ---- additions ---- */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ph { background: #fff3a8; color: #6b5a00; padding: 0 5px; font-weight: 600; font-size: .92em; }
body.no-ph .ph { display: none; }
.card[hidden] { display: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 24px; }
.chip { border: 1px solid #cfd2da; background: #fff; color: var(--navy); padding: 7px 16px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chip.on, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 34px 18px 20px; text-decoration: none; display: block; box-shadow: 0 2px 10px rgba(23,29,51,.05); overflow-wrap: anywhere; }
a.info-card:hover { box-shadow: 0 6px 18px rgba(23,29,51,.14); }
.info-card small { display: block; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; font-size: .78rem; margin-bottom: 4px; }
.info-card b { color: var(--navy); font-size: 1.02rem; }
.itag { position: absolute; top: -4px; left: 18px; background: var(--red); color: #fff; width: 46px; height: 28px; display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); font-size: 1rem; }
.form textarea { font: inherit; padding: 11px 12px; border: 1px solid #cfd2da; display: block; width: 100%; margin-top: 6px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map-box { background: #eef0f4 linear-gradient(#dfe2e8 1px, transparent 1px) 0 0 / 100% 40px, linear-gradient(90deg, #dfe2e8 1px, transparent 1px) 0 0 / 40px 100%; border: 1px solid var(--line); }
.map-box .map { height: 380px; min-height: 380px; display: block; }
.app-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.app-row.flip img { order: 2; }
.app-row img { width: 100%; height: 300px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 8px; }
.plist { padding-left: 18px; margin: 10px 0 18px; }
.plist a { color: var(--navy); }
.plist a:hover { color: var(--red); }
.article { max-width: 760px; }
.article h2 { margin-top: 28px; font-size: 1.35rem; }
.article ul { padding-left: 20px; }
.photo-row { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.photo-row img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
.product-top h2 { font-size: 1.6rem; }
.media-img { object-fit: contain; }
@media (max-width: 900px) {
  .info-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .app-row, .photo-row { grid-template-columns: 1fr; gap: 18px; }
  .app-row.flip img { order: 0; }
  .app-row img { height: 220px; }
  .form .row2 { grid-template-columns: 1fr; }
  .logo-img { width: 46px; height: 46px; }
  .logo-text b { font-size: 1.25rem; }
}
@media (max-width: 420px) {
  .info-card { padding: 30px 12px 16px; }
  .info-card b { font-size: .92rem; }
  .slide-box { padding: 16px 18px; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .slide { transition: none; } }

/* ===== Motion layer (animations) ===== */
/* Scroll reveal uses `translate`/`scale` so it never fights hover `transform` */
.js .rv { opacity: 0; translate: 0 36px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1), scale .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv-l { translate: -90px 0; }
.js .rv-r { translate: 90px 0; }
.js .rv-z { translate: 0 0; scale: .92; }
.js .rv.in { opacity: 1; translate: 0 0; scale: 1; }
/* after the entrance finishes, hand transitions back to the hover effects */
.js .rv.rv-done { transition: transform .3s ease, box-shadow .3s ease, border-color .3s, background .25s, color .25s; }

/* side entrances must never create a horizontal scrollbar */
html, body { overflow-x: clip; }

/* Hover: cards, tiles, buttons */
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 34px rgba(23,29,51,.2); border-color: var(--red); }
.card-img { transition: transform .5s ease; }
.card:hover .card-img { transform: scale(1.08); }
.card .more .arrow { transition: padding .25s ease; }
.card:hover .more .arrow { padding-right: 24px; }
.app-list a { display: block; transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s; }
.app-list a:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(23,29,51,.16); background: var(--navy); color: #fff; }
.app-list a:hover small { color: #c5c9da; }
.btn { transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(23,29,51,.25); }
.btn .arrow { transition: padding .25s ease; }
.btn:hover .arrow { padding-left: 26px; padding-right: 18px; }
.info-card { transition: transform .25s ease, box-shadow .25s ease; }
.info-card:hover { transform: translateY(-6px); }
.strip .item { transition: background .25s ease; }
.strip .item:hover { background: rgba(255,255,255,.12); }
.strip .icon { transition: transform .25s ease; }
.strip .item:hover .icon { transform: scale(1.12); }
.tag, .chip { transition: transform .2s ease, background .2s, color .2s; }
.tag:hover { transform: translateY(-2px); }
tbody tr { transition: background .15s ease; }
tbody tr:hover td { background: #ffecec; }
.why img, .media-img, .photo-row img { transition: transform .6s ease, box-shadow .4s ease; }
.why img:hover, .media-img:hover, .photo-row img:hover { transform: scale(1.03); box-shadow: 0 16px 34px rgba(23,29,51,.22); }
.nav a { transition: color .2s, border-color .2s; }
footer a { transition: color .2s, padding-left .2s; }
footer li a:hover { padding-left: 5px; }
.hero-nav { transition: color .2s, transform .2s; }
.hero-nav:hover { color: #fff; transform: translateY(-50%) scale(1.2); }
.dots button { transition: transform .2s, background .2s; }
.dots button:hover { transform: scale(1.5); }

/* Header gets a shadow once scrolled */
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(23,29,51,.14); }

/* Hero: slow zoom, text box flies in from the left, product photo from the right */
.slide.active { animation: kenburns 9s ease-out both; }
.slide .slide-box { opacity: 0; }
.slide.active .slide-box { animation: flyL .9s .25s cubic-bezier(.2,.7,.2,1) both; }
.slide .slide-product { opacity: 0; }
.slide.active .slide-product { animation: flyR 1s .45s cubic-bezier(.2,.7,.2,1) both, floaty 5s 1.6s ease-in-out infinite; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes flyL { from { opacity: 0; translate: -70px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes flyR { from { opacity: 0; translate: 90px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes floaty { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

/* Inner page headers slide in */
.page-head h1 { animation: flyL .7s cubic-bezier(.2,.7,.2,1) both; }
.page-head .breadcrumb { animation: flyR .7s .1s cubic-bezier(.2,.7,.2,1) both; }

/* Floating WhatsApp / Call buttons (desktop): pulse + hover */
@media (min-width: 761px) {
  .sticky-bar a { transition: transform .2s ease; }
  .sticky-bar a:hover { transform: translateY(-3px) scale(1.06); }
  .sticky-bar .wa { animation: pulse 2.4s infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.5), 0 4px 14px rgba(0,0,0,.25); } 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0), 0 4px 14px rgba(0,0,0,.25); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0), 0 4px 14px rgba(0,0,0,.25); } }

/* Section title double lines grow in */
.sec-title h2::before, .sec-title h2::after { transition: flex-basis 1s ease; }
.js .sec-title.rv:not(.in) h2::before, .js .sec-title.rv:not(.in) h2::after { flex-basis: 0; }

@media (max-width: 760px) { .js .rv-l, .js .rv-r { translate: 0 30px; } .js .rv-l.in, .js .rv-r.in { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv.in { opacity: 1; translate: none; scale: none; transition: none; }
  .slide.active, .slide.active .slide-box, .slide.active .slide-product, .page-head h1, .page-head .breadcrumb, .sticky-bar .wa { animation: none; }
  .slide .slide-box, .slide .slide-product { opacity: 1; }
  .card:hover, .app-list a:hover, .btn:hover { transform: none; }
}

/* form submit status (email send result) */
.form-status{margin-top:14px;padding:12px 14px;border-radius:6px;font-weight:600;font-size:.95rem}
.form-status.ok{background:#e6f6ec;color:#146c2e;border:1px solid #9fd6b2}
.form-status.err{background:#fdeceb;color:#a12622;border:1px solid #f1b0ad}
.form-status a{text-decoration:underline}

/* ---- Products dropdown (nav) ---- */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; cursor: pointer; color: #555b6e; font-size: .8rem; padding: 8px 6px 8px 0; margin-left: -8px; }
.has-sub:hover .sub-toggle, .has-sub.open .sub-toggle { color: var(--red); }
.submenu { display: none; position: absolute; top: 100%; left: -40px; z-index: 30; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 14px 30px rgba(23,29,51,.18); padding: 18px 22px; gap: 34px; min-width: 520px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { display: flex; }
.sub-col { flex: 1; min-width: 200px; }
.sub-col h5 { margin: 0 0 6px; color: var(--navy); font-size: .78rem; letter-spacing: 1.2px; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.sub-col h5.sub-h2 { margin-top: 14px; }
.nav .submenu a { display: block; padding: 6px 4px; font-size: .92rem; color: var(--ink); border-bottom: 0; white-space: nowrap; }
.nav .submenu a:hover, .nav .submenu a.current { color: var(--red); border-bottom: 0; background: #fafafa; }
@media (max-width: 900px) {
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { font-size: 1rem; padding: 8px 14px; margin: 0; }
  .submenu { position: static; flex-basis: 100%; min-width: 0; flex-direction: column; gap: 8px; box-shadow: none; border-top: 0; border-left: 3px solid var(--red); padding: 4px 0 8px 12px; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: none; }
  .has-sub.open .submenu { display: flex; }
}

/* ---- Electric Items ---- */
.ec-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ecard .ec-main { background: #f6f7f9; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ecard .ec-main img { width: 100%; height: 100%; object-fit: contain; padding: 6px; aspect-ratio: auto; }
.ec-thumbs { display: flex; gap: 6px; padding: 8px 10px 0; overflow-x: auto; }
.ec-thumbs button { flex: none; border: 2px solid var(--line); background: #fff; padding: 0; cursor: pointer; width: 62px; font: inherit; font-size: .62rem; color: var(--muted); }
.ec-thumbs button img { width: 100%; height: 44px; object-fit: cover; }
.ec-thumbs button span { display: block; padding: 1px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-thumbs button.on, .ec-thumbs button:hover { border-color: var(--red); color: var(--red); }
.ecard .body { text-align: left; }
.ecard h3 { text-transform: none; font-size: 1rem; }
.ecard .ec-meta { font-size: .78rem; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.ecard .ec-desc { font-size: .85rem; }
.card:hover .ec-meta { color: #fff; }
.ec-actions { display: flex; align-items: stretch; justify-content: space-between; border-top: 1px solid var(--line); font-size: .84rem; }
.ec-actions .more-a { display: flex; flex: 1; justify-content: space-between; text-decoration: none; color: #fff; background: var(--wa); }
.ec-actions .more-a span:first-child { padding: 9px 14px; }
.ec-actions .more-a .arrow { background: #168a45; padding: 9px 14px 9px 22px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.ec-actions .more-b { padding: 9px 14px; color: var(--navy); text-decoration: none; font-weight: 700; white-space: nowrap; }
.ec-actions .more-b:hover { color: var(--red); }
.ec-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 14px 0 26px; }
.ec-videos figure, .ec-banners figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.ec-videos video { width: 100%; max-height: 460px; background: #000; display: block; }
.ec-videos figcaption, .ec-banners figcaption { padding: 8px 12px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.ec-banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 14px 0 10px; }
.ec-banners img { width: 100%; height: auto; }

/* Nav: red underline only on hover (current page is not marked permanently) */
.nav .has-sub:hover > a, .nav .has-sub.open > a { color: var(--red); border-bottom-color: var(--red); }
