/* SmartCarts — shared styles (consolidated from the design-export component <style> blocks) */

/* ---- base ---- */
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
::selection { background: #03AFE3; color: #fff; }

/* ---- home: device marquee ---- */
@keyframes sc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sc-marq-track:hover { animation-play-state: paused; }

/* ---- contact: form fields ---- */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #03AFE3 !important;
  box-shadow: 0 0 0 3px rgba(3,175,227,0.15);
}

/* ---- FAQ: accordion ---- */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .2s ease; }
details[open] .faq-chev { transform: rotate(180deg); }
details summary:focus-visible { outline: 2px solid #03AFE3; outline-offset: 2px; border-radius: 12px; }

/* ================= HEADER / NAV ================= */
.sc-nav-link:hover { color: #03AFE3 !important; }

/* desktop "Carts" dropdown — reveal on hover / keyboard focus */
.sc-carts-menu {
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sc-carts:hover .sc-carts-menu,
.sc-carts:focus-within .sc-carts-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sc-menu-link:hover { background: #f4f7fb; color: #03AFE3 !important; }
.sc-mobile-link:hover { background: #f4f7fb; }

/* burger icon swap */
.sc-burger .sc-icon-open { display: inline-flex; }
.sc-burger .sc-icon-close { display: none; }
.sc-burger.is-open .sc-icon-open { display: none; }
.sc-burger.is-open .sc-icon-close { display: inline-flex; }

/* mobile panel visibility */
.sc-mobile-panel { display: none; }
.sc-mobile-panel.is-open { display: block; }

@media (max-width: 899px) {
  .sc-desktop-nav { display: none !important; }
  .sc-desktop-cta { display: none !important; }
  .sc-burger { display: inline-flex !important; }
}
@media (min-width: 900px) {
  .sc-burger { display: none !important; }
  .sc-mobile-panel { display: none !important; }
}

/* ================= FOOTER ================= */
.sc-foot-link:hover { color: #7fdcf6 !important; }
.sc-social:hover { background: #03AFE3 !important; }

/* ================= INTERACTIVE CART EXPLORER ================= */
@keyframes sc-pulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(2.5); opacity: 0; } 100% { opacity: 0; } }

.sc-explorer { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 244px; align-items: center; }
.sc-explorer-head { text-align: left; max-width: 460px; }
.sc-explorer-cell { position: relative; width: 100%; }
.sc-stage-wrap { position: relative; }
.sc-stage { position: relative; width: min(420px, 40vw); margin: 0; background: radial-gradient(120% 70% at 50% 10%, #eaf1fb, #f4f7fb); border: 1px solid #e3e9f1; border-radius: 22px; box-shadow: 0 30px 70px rgba(20,83,153,0.14); padding: 26px; }
.sc-stage > img { width: 100%; height: auto; display: block; }

/* each hotspot carries --x / --y (position on image) and --i (pulse offset) inline */
.sc-spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 22; }
.sc-hotspot.is-on .sc-spot { z-index: 35; }
.sc-ring { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #03AFE3; animation: sc-pulse 2.6s ease-out infinite; animation-delay: calc(var(--i) * 0.4s); pointer-events: none; }
.sc-dot { position: relative; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; background: #fff; color: #145399; border: 2px solid #03AFE3; box-shadow: 0 4px 10px rgba(20,83,153,0.22); transform: scale(1); transition: all .2s ease; }
.sc-hotspot.is-on .sc-dot { background: #03AFE3; color: #fff; box-shadow: 0 6px 16px rgba(3,175,227,0.5); transform: scale(1.12); }

.sc-line { position: absolute; top: var(--y); left: -28px; width: calc(var(--x) + 28px); height: 2px; background: #03AFE3; transform: translateY(-50%); transform-origin: right; opacity: 0; transition: opacity .22s ease; z-index: 21; }
.sc-hotspot.is-on .sc-line { opacity: 1; }

.sc-card { position: absolute; top: var(--y); left: -28px; width: 210px; background: #fff; border: 1px solid #e3e9f1; border-radius: 14px; padding: 15px 17px; box-shadow: 0 18px 40px rgba(20,83,153,0.20); opacity: 0; pointer-events: none; transform: translate(calc(-100% + 6px), -50%); transition: opacity .22s ease, transform .22s ease; z-index: 40; }
.sc-hotspot.is-on .sc-card { opacity: 1; transform: translate(-100%, -50%); }
.sc-card-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #03AFE3; margin-bottom: 6px; }
.sc-card h3 { font-size: 17px; font-weight: 800; color: #145399; margin: 0 0 7px; line-height: 1.25; letter-spacing: -0.01em; }
.sc-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #41506a; }
.sc-explorer-hint { color: #8a97ab; font-size: 13px; margin: 18px 0 0; text-align: center; }

@media (max-width: 819px) {
  .sc-explorer { display: block; max-width: 560px; }
  .sc-explorer-head { margin: 0 0 22px; }
  .sc-stage { width: min(280px, 78%); margin: 0 auto; padding: 20px 20px 150px; }
  .sc-line { display: none !important; }
  .sc-card { top: auto; bottom: 12px; left: 50%; width: min(340px, 88%); transform: translate(-50%, 8px); }
  .sc-hotspot.is-on .sc-card { transform: translate(-50%, 0); }
  .sc-explorer-hint { text-align: left; margin-top: 20px; }
}
