/* ================================================================
   site.css — merged from inter-fonts.css + key.css + theme.css + base.css
   Referenced once by Pages/Shared/_Layout.cshtml.
   NOTE: tailwind.css is a build artifact and stays separate.
   ================================================================ */

/* =========================================================
   1) FONTS — self-hosted Inter (variable font, weights 100-900)
   ========================================================= */
/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-cyrillic-ext.woff2) format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-greek-ext.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-greek.woff2) format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-vietnamese.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/inter-v20-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   2) KEY — SVG styles, keyframes, animation delays, nav order
   ========================================================= */
.st0 {
  fill: none;
  stroke: #c2c1be;
  stroke-miterlimit: 10;
}

.st1 {
  fill: none;
  stroke: #43a1b1;
  stroke-miterlimit: 10;
}

.st2 {
  fill: #43a1b1;
}

.st3 {
  fill: #c2c1be;
}

.st4 {
  fill: #798081;
}

.st5 {
  fill: #df6531;
}
@keyframes animate-circle {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawLine {
  0% {
    opacity: 0;
    transform: translateY(2px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo {
  0% {
    opacity: 0;
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse-circle-delay1 {
  animation-delay: 0.3s;
}

.pulse-circle-delay2 {
  animation-delay: 0.6s;
}

.pulse-circle-delay3 {
  animation-delay: 0.9s;
}

.animated-line {
  opacity: 0;
  animation: drawLine 8s ease-in-out infinite;
}

.line-delay1 {
  animation-delay: 1s;
}

.line-delay2 {
  animation-delay: 1s;
}

.line-delay3 {
  animation-delay: 1.5s;
}

.line-delay4 {
  animation-delay: 1.5s;
}

.line-delay5 {
  animation-delay: 1.2s;
}

.line-delay6 {
  animation-delay: 1.2s;
}

.fade-node {
  opacity: 0;
  animation: animate-circle 8s ease-in-out infinite;
}

.node-delay1 {
  animation-delay: 0.2s;
}

.node-delay2 {
  animation-delay: 0.3s;
}

.node-delay3 {
  animation-delay: 0.4s;
}

.node-delay4 {
  animation-delay: 0.5s;
}

.node-delay5 {
  animation-delay: 0.6s;
}

.node-delay6 {
  animation-delay: 0.7s;
}

.node-delay7 {
  animation-delay: 0.8s;
}

.st4 {
  opacity: 0;
  animation: logo 0.8s ease forwards;
  animation-delay: 0.2s;
}

.st5 {
  opacity: 0;
  animation: logo 0.6s ease forwards;
  animation-delay: 0.3s;
}

@media screen and (max-width: 1024px) {
  .order-1 {
    order: 1;
  }
  .order-2 {
    order: 2;
  }
}

/* =========================================================
   3) THEME — single source of truth for brand colors
   ---------------------------------------------------------
   To create a new site, simply change the RGB values below.
   Colors are stored as space-separated RGB channels so that
   both CSS (rgb(var(--x) / a)) and Tailwind opacity modifiers
   (bg-primary/50) work from one definition.
   ========================================================= */
:root {
  --primary: 255 138 86; /* #FF8A56 */
  --bs-orange: #ffa500; /* #FFA500 */
  --secondary: 0 188 212; /* #00bcd4 */

  --accent: 243 244 246; /* #F3F4F6 */

  --shadow-sm: 0 2px 12px rgb(var(--primary) / 0.06);
  --shadow-md: 0 10px 28px rgb(var(--primary) / 0.1);
  --shadow-lg: 0 20px 56px rgb(var(--primary) / 0.14);

  /* ===== Radius & transition ===== */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

#download-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

/* =========================================================
   4) BASE — site-level layout, navbar, hero, cart, misc
   ========================================================= */
.grecaptcha-badge {
  display: none !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - 38px);
  display: flex;
  align-items: center;
  /* Deep brand-tinted gradient background - follows --hero-* theme vars */
  overflow: hidden;
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s ease-in-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.grid-lines-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  bottom: 50px;
  left: 10%;
  pointer-events: none;
}

/* ===== Particle canvas ===== */
#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.top-main-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.subitembox {
  display: none;
}

@media (min-width: 768px) {
  .level-1:hover > .subitembox {
    display: block;
  }
}

.level-2.active {
  background-color: rgb(var(--primary));
  border-radius: 4px;
  color: #fff;
}

.level-3.active {
  background-color: #e5e5e5;
  border-radius: 4px;
}

.level-2.active > .subitembox {
  display: block;
}

.level-3.active > .subitembox {
  display: flex;
  align-content: flex-start;
}

#menu-1054 > a > svg,
#menu-1054 > span > svg,
#menu-1054 > .subitembox {
  display: none !important;
}

li.haschild > a > svg,
li.haschild > span > svg {
  display: inline-block !important;
  transform: rotate(-90deg);
}

.top-main-menu .level-1.active > a,
.top-main-menu .level-1.active > span {
  color: rgb(var(--primary));
  background-color: rgba(255, 255, 255, 0.95);
}

.top-main-menu .level-1.active > .subitembox {
  display: flex;
  position: unset;
  transform: none;
}

span.hot {
  display: inline-block;
  width: 22px;
  height: 18px;
  margin-left: 2px;
  background: url(../img/hot.gif) no-repeat;
  background-size: 22px 18px;
}

span.new {
  display: inline-block;
  width: 22px;
  height: 18px;
  margin-left: 2px;
  background: url(../img/new.gif) no-repeat;
  background-size: 22px 18px;
}

@media (max-width: 768px) {
  .level-2.active > .subitembox {
    display: block;
    position: unset;
    transform: none;
  }

  .level-3.active > .subitembox {
    display: flex;
    position: unset;
    transform: none;
  }

  .top-main-menu .lucide-chevron-down-icon {
    transition: transform 0.2s ease-in-out;
    transform: rotate(-90deg);
  }

  .active > a > .lucide-chevron-down-icon,
  .active > span > .lucide-chevron-down-icon {
    transform: rotate(0deg);
  }

  .top-main-menu {
    max-height: 100vh;
    overflow-y: auto;
  }

  li > a > svg,
  li > span > svg {
    display: none !important;
  }

  li.haschild > a > svg,
  li.haschild > span > svg {
    transform: rotate(0deg);
    display: inline-block !important;
  }
}

.tips-box {
  height: 41px;
  background-color: #f0f0f0;
}
@media (max-width: 768px) {
  .tips-box {
    height: 106px;
  }
}

/* cart btn */

.cart-float {
  position: fixed !important;
  bottom: 9rem !important;
  right: 0.5rem !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
  background-color: #000000cb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: fadeInUp 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .cart-float {
    position: fixed !important;
    bottom: 9rem !important;
    right: 1rem !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    background-color: #000000cb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeInUp 0.3s ease-in-out;
  }
}

.cart-float:hover {
  background-color: #000000;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-float #cart-btn:hover {
  color: #fff !important;
}

.cart-float #cart-btn > svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
}

.cart-float #cart-content {
  right: 100% !important;
  top: unset !important;
  bottom: 0 !important;
  border-radius: 10px;
  padding: 10px;
}

.topbar {
  overflow: unset;
}

@media (max-width: 768px) {
  .cart-float #cart-content {
    right: 0 !important;
    top: unset !important;
    bottom: 100% !important;
    border-radius: 10px;
    padding: 10px;
    min-width: unset;
    width: calc(100vw - 100px);
  }
  .topbar {
    overflow: hidden;
  }

  .car-list-box {
    max-height: 250px;
    overflow-y: auto;
  }
}

.cart-float #cart-title {
  display: none;
}

.cart-float #cart-count {
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  background-color: #ff8a56;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

a:not([class]) {
  color: rgb(var(--secondary));
  text-decoration: none;
}

a:not([class]):hover {
  color: rgb(var(--primary));
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25%,
  75% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
}
