/* Active skin: "Cloud" — white / grey / sky-blue (V108). Tokens are in css/style.css :root; f-cloud.css is the design layer.
 * V117: the older skins (a–e) and bento.css were removed — nothing loaded them. */
@import url("skins/f-cloud.css");
@import url("dark.css");

/* V117: decorative orbits / the marquee must never make the page scroll sideways (was +3px on phones and tablets) */
html, body { overflow-x: clip; }

/* V112 mobile: opaque menu panel above the hero, a tidy header, and a fixed admin tab bar */
@media (max-width: 700px) {
  .site-header { position: sticky; top: 0; z-index: 50; padding: 0 14px; }
  .main-nav { position: fixed; z-index: 60; top: var(--nav-top, 115px); left: 0; right: 0; max-height: calc(100vh - var(--nav-top, 115px)); max-height: calc(100dvh - var(--nav-top, 115px)); overflow-y: auto; overscroll-behavior: contain; padding: 10px 16px 18px; gap: 4px; background: var(--card, #fff); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(var(--shadow-rgb, 15,23,42), .22); }
  .main-nav > a, .nav-dropdown-toggle { min-height: 46px; padding: 11px 14px; font-size: 15px; }
  .main-nav .nav-account { margin-left: 0; margin-top: 6px; }
  .nav-theme-slot { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 4px 14px; border-bottom: 1px solid rgba(157,179,211,.12); }
  .nav-theme-label { color: var(--muted); font-size: 15px; }
  .nav-theme-slot .theme-menu { right: 0; left: auto; }
  .fx-marquee { display: none; }
  .nav-menu-scrim { position: fixed; inset: var(--nav-top, 115px) 0 0 0; z-index: 55; background: rgba(15,23,42,.35); }
  .nav-menu-scrim[hidden] { display: none; }
  /* V137: lock the page scroll on <html>, not <body>. Hiding overflow on body (while html clips x) turned body into its own scroll box:
     the sticky header lost its hold and slid away with the page, and closing the menu threw the reader back to the top */
  html.nav-lock { overflow: hidden; }
}
@media (min-width: 701px) { .nav-theme-slot, .nav-menu-scrim { display: none !important; } }
/* mobile: drop the three service blurbs (shipping / warranty / advice) */
@media (max-width: 700px) { .service-strip { display: none; } }

/* V119: provider buttons on Login / Register — Google = white button + coloured G; LINE = green button + LINE logo (images in assets/images/) */
.auth-socials { display: grid; grid-template-columns: 1fr; gap: 10px; }
.auth-socials .auth-social-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 46px; padding: 0 18px; border-radius: 12px; font: 600 15px/1 "IBM Plex Sans Thai", "Space Grotesk", sans-serif; letter-spacing: .01em; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .15s; }
.auth-socials .auth-social-button:active { transform: translateY(1px); }
.auth-socials .auth-social-logo { display: block; flex: 0 0 auto; width: 20px; height: 20px; object-fit: contain; }
.auth-socials .auth-social-button.auth-social-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.auth-socials .auth-social-button.auth-social-google:hover { background: #f8f9fa; border-color: #c6c9cd; box-shadow: 0 1px 3px rgba(60,64,67,.25); }
.auth-socials .auth-social-button.auth-social-line { background: #06c755; color: #fff; border: 1px solid #06c755; }
.auth-socials .auth-social-button.auth-social-line:hover { background: #05b44c; border-color: #05b44c; box-shadow: 0 1px 3px rgba(5,100,45,.35); }
.auth-socials .auth-social-button.auth-social-line .auth-social-logo { width: 24px; height: 24px; border-radius: 6px; }
.auth-socials .auth-social-button:focus-visible { outline: 3px solid rgba(var(--blue-rgb), .4); outline-offset: 2px; }
html[data-mode="dark"] .auth-socials .auth-social-button.auth-social-google { color: #3c4043; }
html[data-mode="dark"] .auth-socials .auth-social-button.auth-social-line { color: #fff; }
