:root {
  --fv-ink: #0b1120;
  --fv-ink-soft: #17243a;
  --fv-paper: #fbfcf8;
  --fv-lime: #dfff55;
  --fv-orange: #f58220;
  --fv-ease: cubic-bezier(.2, .75, .25, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  background: var(--fv-paper);
  color: var(--fv-ink);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--fv-orange);
  outline-offset: 4px;
}

.navbar {
  background: rgb(251 252 248 / 90%);
  border-bottom: 1px solid rgb(11 17 32 / 7%);
  box-shadow: 0 8px 32px rgb(11 17 32 / 5%);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color .3s var(--fv-ease), box-shadow .3s var(--fv-ease),
    border-color .3s var(--fv-ease);
}

.navbar.scrolled {
  background: rgb(251 252 248 / 96%);
  border-color: rgb(11 17 32 / 10%);
  box-shadow: 0 12px 36px rgb(11 17 32 / 10%);
}

.navbar__top {
  min-height: 60px;
  padding: 6px clamp(22px, 5.5vw, 88px);
  justify-content: space-between;
  border-bottom-color: rgb(11 17 32 / 7%);
  background: transparent;
}

.navbar__logo {
  justify-content: flex-start;
  gap: 10px;
  padding-left: 0;
}

.navbar__logo-image {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 3px 7px rgb(11 17 32 / 12%));
}

.navbar__logo span {
  width: auto;
  padding-right: 0;
  color: var(--fv-ink);
  background: linear-gradient(110deg, var(--fv-ink) 52%, #526537);
  -webkit-background-clip: text;
  font-size: 32px;
  letter-spacing: .2px;
}

.navbar__top-right {
  gap: 12px;
  display: flex;
}

.navbar__top-left {
  display: none;
}

.navbar__top-right svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  background: #eff2e9;
  color: var(--fv-ink);
  transition: color .2s ease, background-color .2s ease, transform .25s var(--fv-ease),
    box-shadow .25s var(--fv-ease);
}

.navbar__top-right svg:hover {
  background: var(--fv-lime);
  color: var(--fv-ink);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgb(11 17 32 / 12%);
}

.navbar__bottom {
  min-height: 44px;
  padding: 0 24px;
  background: transparent;
}

.navbar__links {
  gap: clamp(16px, 2.4vw, 34px);
}

.navbar__links > a,
.navbar__dropdown .dropdown-toggle {
  color: var(--fv-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .015em;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease;
}

.navbar__links > a:after {
  bottom: -8px;
  height: 2px;
  border-radius: 4px;
  background: var(--fv-orange);
  transition: width .3s var(--fv-ease);
}

.navbar__links > a:hover,
.navbar__dropdown .dropdown-toggle:hover {
  color: #a9510d;
}

.navbar__dropdown .dropdown-toggle:after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 1px 0 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--fv-ease);
}

.navbar__dropdown:has(.dropdown-menu.show) .dropdown-toggle:after {
  transform: rotate(225deg);
  margin-top: 3px;
}

.navbar__links > a[href$="/ask"] {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--fv-ink);
  color: #fff;
  transition: color .2s ease, background-color .2s ease, box-shadow .25s var(--fv-ease),
    transform .25s var(--fv-ease);
}

.navbar__links > a[href$="/ask"]:after {
  display: none;
}

.navbar__links > a[href$="/ask"]:hover {
  transform: translateY(-2px);
  background: #263650;
  color: var(--fv-lime);
  box-shadow: 0 8px 20px rgb(11 17 32 / 17%);
}

.navbar__cart {
  position: relative;
  left: auto;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgb(11 17 32 / 13%);
  border-radius: 999px;
  color: var(--fv-ink);
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s ease, background-color .2s ease, transform .25s var(--fv-ease);
}

.navbar__cart:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background: var(--fv-lime);
  color: var(--fv-ink);
}

.navbar__cart .cart-icon {
  width: 17px;
  height: 17px;
}

.navbar__dropdown .dropdown-menu {
  top: var(--fv-menu-top, calc(100% + 14px));
  left: 0;
  width: var(--fv-menu-width, 100vw);
  height: auto;
  max-height: min(680px, calc(100dvh - var(--fv-menu-top, 112px) - 12px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px clamp(16px, 2vw, 24px);
  border: 1px solid rgb(11 17 32 / 10%);
  border-radius: 0 0 14px 14px;
  background: #f3f4f6;
  box-shadow: 0 24px 60px rgb(11 17 32 / 17%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr));
  align-content: start;
  align-items: start;
  gap: 8px 2px;
  scrollbar-color: #b8c0cc #e8eaed;
  scrollbar-width: thin;
  opacity: 0;
  transform: scaleX(.96) scaleY(.94);
  transform-origin: top left;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .34s var(--fv-ease), visibility .22s;
}

.navbar__dropdown .dropdown-menu.show {
  display: grid;
  opacity: 1;
  transform: scaleX(1) scaleY(1);
  visibility: visible;
  pointer-events: auto;
}

.navbar__dropdown .dropdown-category {
  min-width: 0;
  padding: 0 clamp(6px, .75vw, 12px);
}

.navbar__dropdown .dropdown-category-title {
  min-height: 0;
  padding: 6px 8px 7px;
  border-bottom: 1px solid rgb(11 17 32 / 10%);
  border-radius: 6px 6px 0 0;
  color: var(--fv-ink);
  transition: background-color .2s ease, color .2s ease;
}

.navbar__dropdown .dropdown-category-title:hover {
  background: #e8eaed;
  color: #a9510d;
}

.navbar__dropdown .dropdown-category-title:focus-visible,
.navbar__dropdown .dropdown-sub a:focus-visible {
  outline: 2px solid #0b1120;
  outline-offset: 2px;
}

.navbar__dropdown .dropdown-category-title[aria-current="page"],
.navbar__dropdown .dropdown-sub a[aria-current="page"] {
  color: #a9510d;
  font-weight: 650;
}

.navbar__dropdown .dropdown-sub {
  padding: 4px 0 0 8px;
}

.navbar__dropdown .dropdown-sub a {
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.4;
  transition: background-color .2s ease, color .2s ease, padding-left .2s var(--fv-ease);
}

.navbar__dropdown .dropdown-sub a:hover {
  padding-left: 11px;
  background: #e5e7eb;
  color: #a9510d;
}

.navbar__dropdown .dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.navbar__dropdown .dropdown-menu::-webkit-scrollbar-track {
  background: #e8eaed;
}

.navbar__dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  border: 2px solid #e8eaed;
  border-radius: 999px;
  background: #b8c0cc;
}

.navbar__dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #98a2b3;
}

.hero {
  min-height: min(56vh, 535px);
  height: calc(100vh - 156px);
  height: calc(100dvh - 156px);
  margin-top: 110px;
  background-color: var(--fv-ink);
  background-position: center 42%;
}

.hero__overlay {
  background: linear-gradient(90deg, rgb(7 13 24 / 86%), rgb(7 13 24 / 59%) 48%, rgb(7 13 24 / 11%));
}

.hero__content {
  max-width: 660px;
  margin-left: clamp(28px, 9vw, 140px);
  padding: 36px 0;
}

.hero__content h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero__content p {
  max-width: 530px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}

.categories,
.split-showcase {
  scroll-margin-top: 130px;
}

.categories {
  padding: clamp(58px, 8vw, 104px) 0;
}

.categories .container {
  width: min(90%, 1320px);
}

.categories__grid {
  gap: clamp(18px, 3vw, 42px);
}

.category-card {
  transition: transform .35s var(--fv-ease), filter .35s var(--fv-ease);
}

.category-card:hover {
  transform: translateY(-7px);
  filter: drop-shadow(0 18px 20px rgb(11 17 32 / 10%));
}

.image-wrapper {
  overflow: hidden;
  border: 1px solid rgb(11 17 32 / 7%);
  background: linear-gradient(145deg, #eff3e7, #e5eadd);
  box-shadow: 0 12px 32px rgb(11 17 32 / 8%);
}

.image-wrapper:before {
  display: none;
}

.image-wrapper:after {
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  border-width: 2px;
  border-color: var(--fv-orange);
  border-radius: 0 18px 0 14px;
  opacity: .8;
  transition: width .3s var(--fv-ease), height .3s var(--fv-ease), opacity .3s ease;
}

.category-card:hover .image-wrapper:after {
  width: 72px;
  height: 72px;
  opacity: 1;
}

.image-wrapper img {
  transition: transform .5s var(--fv-ease);
}

.category-card:hover .image-wrapper img {
  transform: translate(-50%, -3px) scale(1.2);
}

.category-overlay h3 {
  color: var(--fv-ink);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  letter-spacing: .04em;
}

.split-showcase .split-container {
  width: min(90%, 1320px);
  margin: 0 auto;
  gap: 18px;
}

.split-showcase .split-card {
  height: clamp(280px, 32vw, 440px);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgb(11 17 32 / 13%);
}

.split-showcase .split-card:after {
  background: linear-gradient(0deg, rgb(7 13 24 / 85%), transparent 68%);
  transition: opacity .3s ease;
}

.split-showcase .split-card:hover img {
  transform: scale(1.045);
}

.split-showcase .split-card .overlay {
  bottom: 28px;
  left: 28px;
  transition: transform .3s var(--fv-ease);
}

.split-showcase .split-card:hover .overlay {
  transform: translateY(-5px);
}

.split-showcase .split-card .overlay h2 {
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -.025em;
}

.product-card,
.image-container,
.actions button,
.footer__social a {
  transition: transform .3s var(--fv-ease), box-shadow .3s var(--fv-ease),
    background-color .25s ease, color .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgb(11 17 32 / 11%);
}

.image-container img {
  transition: transform .55s var(--fv-ease);
}

.actions button:hover,
.footer__social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgb(11 17 32 / 18%);
}

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 76px);
  background: linear-gradient(135deg, #0b1120, #15243b);
}

.footer__contact-box {
  border: 1px solid rgb(255 255 255 / 8%);
  background: rgb(255 255 255 / 5%);
}

.footer__links li a,
.footer__contact p {
  transition: color .2s ease, transform .2s var(--fv-ease);
}

.footer__links li a:hover {
  display: inline-block;
  transform: translateX(3px);
  color: var(--fv-lime);
}

.fv-cursor,
.fv-cursor-dot,
.fv-cursor-particles {
  position: fixed;
  z-index: 2147483646;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.fv-cursor,
.fv-cursor-dot {
  opacity: 0;
}

.fv-cursor-particles {
  z-index: 2147483645;
}

.fv-cursor {
  width: 26px;
  height: 26px;
  border: 1px solid rgb(255 111 40 / 88%);
  background: radial-gradient(circle, rgb(255 69 0 / 12%), rgb(255 132 32 / 7%) 62%, transparent 74%);
  box-shadow: 0 0 11px rgb(255 69 0 / 48%), 0 0 25px rgb(255 132 32 / 32%),
    inset 0 0 10px rgb(255 91 24 / 15%);
  transition: width .22s var(--fv-ease), height .22s var(--fv-ease),
    border-color .22s ease, background-color .22s ease, opacity .2s ease;
  animation: fv-cursor-pulse 2.4s ease-in-out infinite;
}

.fv-cursor:before,
.fv-cursor:after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgb(255 91 24 / 48%);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transform: scale(.82);
  animation: fv-cursor-ripple 2.4s ease-out infinite;
}

.fv-cursor:after {
  animation-delay: 1.2s;
}

.fv-cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff1cf;
  box-shadow: 0 0 8px #ff5a1f, 0 0 16px rgb(255 91 24 / 82%);
  transition: opacity .2s ease, background-color .2s ease;
}

.fv-cursor.is-visible,
.fv-cursor-dot.is-visible {
  opacity: 1;
}

.fv-cursor.is-hovering {
  width: 36px;
  height: 36px;
  border-color: rgb(255 132 32 / 98%);
  background: rgb(255 91 24 / 15%);
  box-shadow: 0 0 15px rgb(255 69 0 / 68%), 0 0 34px rgb(255 132 32 / 44%),
    inset 0 0 14px rgb(255 91 24 / 22%);
}

@keyframes fv-cursor-pulse {
  0%, 100% {
    box-shadow: 0 0 11px rgb(255 69 0 / 42%), 0 0 25px rgb(255 132 32 / 28%),
      inset 0 0 10px rgb(255 91 24 / 12%);
  }
  50% {
    box-shadow: 0 0 15px rgb(255 69 0 / 62%), 0 0 34px rgb(255 132 32 / 42%),
      inset 0 0 14px rgb(255 91 24 / 19%);
  }
}

@keyframes fv-cursor-ripple {
  0% {
    opacity: .55;
    transform: scale(.82);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@media (min-width: 769px) {
  .navbar__bottom {
    display: flex;
  }

  .navbar__links {
    position: static;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: visible;
  }

  .navbar__links > a {
    width: auto;
    padding-top: 9px;
    padding-bottom: 9px;
    border: 0;
  }

  .navbar__dropdown {
    width: auto;
  }

  .navbar__dropdown .dropdown-menu {
    position: fixed;
    top: var(--fv-menu-top, 112px);
    left: 0;
    width: var(--fv-menu-width, 100vw);
    max-height: calc(100vh - var(--fv-menu-top, 130px));
  }

  .navbar__dropdown .dropdown-toggle {
    width: auto;
    justify-content: flex-start;
    padding: 9px 0;
  }

  .navbar__links {
    gap: clamp(14px, 2vw, 28px);
  }

  .navbar__dropdown .dropdown-menu {
    display: grid;
  }

  .navbar__toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 76px;
  }

  .navbar__top {
    min-height: 68px;
    padding: 6px 18px;
    justify-content: center;
  }

  .navbar__logo {
    padding: 0;
  }

  .navbar__logo-image {
    width: 42px;
    height: 42px;
  }

  .navbar__logo span {
    font-size: 29px;
  }

  .navbar__bottom {
    min-height: 0;
    padding: 0;
  }

  .navbar__toggle {
    left: 18px;
    top: 34px;
    z-index: 10005;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(11 17 32 / 10%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 16px rgb(11 17 32 / 8%);
  }

  .navbar__links {
    top: 0;
    left: 0;
    width: min(350px, 88vw);
    height: 100dvh;
    padding: 88px 22px 26px;
    gap: 7px;
    border: 0;
    border-radius: 0 20px 20px 0;
    background: #fbfcf8;
    box-shadow: 15px 0 55px rgb(11 17 32 / 18%);
    transform: translateX(-105%);
    transition: transform .35s var(--fv-ease);
  }

  .navbar__links.active {
    left: 0;
    transform: translateX(0);
  }

  .navbar__links > a {
    width: 100%;
    padding: 12px 10px;
    border-bottom-color: rgb(11 17 32 / 7%);
    font-size: 14px;
  }

  .navbar__links > a:after {
    display: none;
  }

  .navbar__links > a[href$="/ask"] {
    width: auto;
    margin-top: 8px;
    padding: 13px 17px;
    border: 0;
  }

  .navbar__cart {
    width: auto !important;
    justify-content: center;
    align-self: flex-start;
    margin-top: 5px;
    border: 1px solid rgb(11 17 32 / 12%) !important;
  }

  .navbar__dropdown {
    width: 100%;
  }

  .navbar__dropdown .dropdown-toggle {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid rgb(11 17 32 / 7%);
    font-size: 14px;
  }

  .navbar__dropdown .dropdown-menu {
    position: static;
    display: grid;
    width: 100%;
    max-height: 0;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 0;
    padding: 0 8px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #f1f3eb;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-4px);
    visibility: hidden;
    transition: max-height .3s var(--fv-ease), opacity .2s ease,
      transform .25s var(--fv-ease), visibility .2s, padding .2s ease;
  }

  .navbar__dropdown .dropdown-menu.show {
    display: grid;
    max-height: min(65dvh, 480px);
    padding: 8px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .navbar__dropdown .dropdown-category-title {
    min-height: 44px;
    padding: 8px 10px;
  }

  .navbar__dropdown .dropdown-category {
    padding: 0;
  }

  .navbar__dropdown .dropdown-sub {
    padding-left: 9px;
  }

  .navbar__dropdown .dropdown-sub a {
    min-height: 40px;
    padding: 7px 8px;
    border: 0;
    font-size: 13px;
  }

  .navbar__top-right {
    display: none;
  }

  .hero {
    height: calc(100vh - 110px);
    height: calc(100dvh - 110px);
    min-height: 0;
    margin-top: 68px;
    background-position: 58% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgb(7 13 24 / 83%), rgb(7 13 24 / 50%) 72%, rgb(7 13 24 / 25%));
  }

  .hero__content {
    margin: 0 24px;
  }

  .hero__content h1 {
    font-size: clamp(38px, 8.8vw, 60px);
  }

  .categories__grid {
    gap: 22px 16px;
  }

  .split-showcase .split-container {
    width: 92%;
  }

  .split-showcase .split-card {
    border-radius: 16px;
  }

  .fv-cursor,
  .fv-cursor-dot,
  .fv-cursor-particles {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    background-position: 61% center;
  }

  .hero__content {
    margin: 0 20px;
  }

  .hero__content h1 {
    font-size: clamp(35px, 9vw, 44px);
  }

  .categories__grid {
    gap: 20px 12px;
  }

  .image-wrapper {
    border-radius: 14px;
  }

  .image-wrapper:after {
    width: 40px;
    height: 40px;
    border-radius: 0 14px 0 12px;
  }

  .category-overlay h3 {
    font-size: 12px;
    letter-spacing: .02em;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .fv-cursor,
  .fv-cursor-dot,
  .fv-cursor-particles {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
