/* ================================
   FONTS
================================ */

@font-face {
  font-family: "Brigends";
  src: url("../assets/fonts/BrigendsExpanded.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frantic Stroke";
  src: url("../assets/fonts/FranticStroke-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ================================
   HIDE NATIVE SCROLLBAR
================================ */

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* In case one of the wrappers creates its own scrollbar */
#smooth-wrapper,
#smooth-content,
#app {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#smooth-wrapper::-webkit-scrollbar,
#smooth-content::-webkit-scrollbar,
#app::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* ================================
   VARIABLES
================================ */

:root {
  --color-primary: #5b2af4;
  --color-primary-dark: #3b00f2;
  --color-primary-soft: #7f60de;
  --color-primary-light: #b9a9e9;

  --color-grey: #f5f5f5;
  --color-black: #111111;
  --color-white: #ffffff;

  --gradient-xen: linear-gradient(
    90deg,
    #3b00f2 0%,
    #5b2af4 38%,
    #7f60de 75%,
    #b9a9e9 100%
  );

  --font-heading: "Brigends", sans-serif;
  --font-body: "Satoshi", sans-serif;
  --font-accent: "Frantic Stroke", cursive;

  --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
}

/* ================================
   RESET
================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ================================
   HEADER
================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem var(--page-padding);
  color: var(--color-white);
  transition: color 0.25s ease, padding 0.25s ease;
}

.site-logo {
  position: relative;
  z-index: 320;
  width: clamp(2.4rem, 3vw, 3rem);
  display: flex;
  align-items: center;
}

.site-logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.header-actions {
  position: relative;
  z-index: 320;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon,
.menu-toggle {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  color: currentColor;
}

.header-icon img,
.menu-icon {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.menu-toggle {
  position: relative;
}

.menu-icon {
  position: absolute;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.menu-icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.85);
}

.menu-toggle.is-open .menu-icon--open {
  opacity: 0;
  transform: rotate(90deg) scale(0.85);
}

.menu-toggle.is-open .menu-icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.site-header--on-light {
  color: var(--color-black);
}

.site-header--on-light {
  color: var(--color-black);
}

.site-header--on-light .site-logo img,
.site-header--on-light .header-icon img,
.site-header--on-light .menu-icon {
  filter: none;
}

.site-header--on-light.is-menu-open {
  color: var(--color-white);
}

.site-header--on-light.is-menu-open .site-logo img,
.site-header--on-light.is-menu-open .header-icon img,
.site-header--on-light.is-menu-open .menu-icon {
  filter: brightness(0) invert(1);
}

/* Header switches to black on white sections */
.site-header.is-scrolled,
.site-header.site-header--on-light {
  color: var(--color-black);
}

.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .header-icon img,
.site-header.is-scrolled .menu-icon,
.site-header.site-header--on-light .site-logo img,
.site-header.site-header--on-light .header-icon img,
.site-header.site-header--on-light .menu-icon {
  filter: brightness(0);
}

/* Keep everything white when menu is open */
.site-header.is-menu-open,
.site-header.is-scrolled.is-menu-open,
.site-header.site-header--on-light.is-menu-open {
  color: var(--color-white);
}

.site-header.is-menu-open .site-logo img,
.site-header.is-menu-open .header-icon img,
.site-header.is-menu-open .menu-icon,
.site-header.is-scrolled.is-menu-open .site-logo img,
.site-header.is-scrolled.is-menu-open .header-icon img,
.site-header.is-scrolled.is-menu-open .menu-icon,
.site-header.site-header--on-light.is-menu-open .site-logo img,
.site-header.site-header--on-light.is-menu-open .header-icon img,
.site-header.site-header--on-light.is-menu-open .menu-icon {
  filter: brightness(0) invert(1);
}

/* ================================
   MENU OVERLAY
================================ */

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
  pointer-events: none;
  padding: 1.75rem;
}

.nav-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17, 17, 17, 0.58);
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
}

.nav-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 39rem);
  margin-left: auto;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 1.5rem;
  pointer-events: none;
}

.nav-panel {
  border-radius: 1rem;
  overflow: hidden;
  pointer-events: auto;
  transform: translateX(115%);
}

.nav-main {
  background: #050505;
  color: var(--color-white);
  padding: clamp(5.6rem, 8vw, 7rem) clamp(2rem, 4vw, 3.75rem) clamp(2.4rem, 4vw, 3.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 2.5vw, 2rem);
}

.nav-item {
  overflow: visible;
}

.nav-link {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--color-white);
  overflow: hidden;
  height: 1.18em;
  padding-right: 0.28em;
}

.nav-link-text {
  display: flex;
  flex-direction: column;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.nav-link-text span {
  display: block;
  height: 1.18em;
  line-height: 1.12;
  padding-right: 0.28em;
  white-space: nowrap;
}

.nav-link-text span:nth-child(2) {
  color: var(--color-primary);
}

.nav-link:hover .nav-link-text {
  transform: translateY(-1.18em);
}

.nav-cart {
  min-height: 6.8rem;
  background: var(--gradient-xen);
  color: var(--color-white);
  padding: 2.1rem clamp(2rem, 4vw, 3.75rem);
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.nav-cart span {
  display: block;
  transform: translateY(0.05em);
}

.nav-social-panel {
  min-height: 6.2rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(17, 17, 17, 0.9);
  padding: 1.75rem clamp(2rem, 4vw, 3.75rem);
  display: flex;
  align-items: center;
}

.nav-socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-socials a {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-socials a:hover {
  opacity: 0.55;
  transform: translateY(-2px);
}

.nav-socials img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 700px) {
  .site-header {
    padding: 1.35rem var(--page-padding);
  }

  .site-logo {
    width: 2.35rem;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .header-icon,
  .menu-toggle {
    width: 2rem;
    height: 2rem;
  }

  .site-nav {
    padding: 0.8rem;
  }

  .nav-inner {
    width: 100%;
    gap: 0.9rem;
  }

  .nav-panel {
    border-radius: 0.9rem;
  }

  .nav-main {
    padding: 5rem 1.85rem 2.5rem;
  }

  .nav-list {
    gap: 1.35rem;
  }

  .nav-link {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
    height: 1.2em;
  }

  .nav-link-text span {
    height: 1.2em;
  }

  .nav-link:hover .nav-link-text {
    transform: translateY(-1.2em);
  }

  .nav-cart {
    min-height: 5.8rem;
    padding: 1.75rem 1.85rem;
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .nav-social-panel {
    min-height: 5.8rem;
    padding: 1.5rem 1.85rem;
  }
}

/* ================================
   CART BADGE
================================ */

.header-cart-button {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ff2d2d;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.cart-count-badge[hidden] {
  display: none;
}

/* ================================
   CART PREVIEW
================================ */

body.is-cart-open {
  overflow: hidden;
}

.cart-preview {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  visibility: hidden;
}

.cart-preview.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cart-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.58);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-preview.is-open .cart-preview__backdrop {
  opacity: 1;
}

.cart-preview__panel {
  position: absolute;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: min(100% - 2rem, 28rem);
  border-radius: 1rem;
  background: var(--color-white);
  color: var(--color-black);
  padding: 1.4rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(calc(100% + 1rem));
  transition: transform 0.55s var(--ease-out);
}

.cart-preview.is-open .cart-preview__panel {
  transform: translateX(0);
}

.cart-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
}

.cart-preview__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.cart-preview__close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
}

.cart-preview__close img {
  width: 0.95rem;
  height: 0.95rem;
  filter: none;
}

.cart-preview__items {
  overflow-y: auto;
  padding-right: 0.25rem;
}

.cart-preview__empty {
  margin: 0;
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.65);
}

.cart-preview-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.cart-preview-item__image {
  border-radius: 0.45rem;
  overflow: hidden;
  background: var(--color-grey);
  aspect-ratio: 1 / 1;
}

.cart-preview-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-preview-item__content h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 600;
}

.cart-preview-item__content p,
.cart-preview-item__content span {
  display: block;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(17, 17, 17, 0.62);
}

.cart-preview-item strong {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.cart-preview__footer {
  padding-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.cart-preview__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}

.cart-preview__checkout,
.cart-preview__view-cart {
  min-height: 3.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-preview__checkout {
  border: 0;
  background: var(--color-black);
  color: var(--color-white);
}

.cart-preview__view-cart {
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: var(--color-white);
  color: var(--color-black);
}

/* ================================
   FOOTER
================================ */

.site-footer {
  position: relative;
  background: var(--color-white);
  color: var(--color-black);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.site-footer__inner {
  width: min(100%, 94rem);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 4.75rem) var(--page-padding) 1.75rem;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.site-footer__logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
}

.site-footer__logo img {
  width: clamp(2.4rem, 4vw, 3.5rem);
  height: auto;
  display: block;
  filter: brightness(0);
}

.site-footer__social-block {
  display: grid;
  justify-items: end;
  gap: 0.9rem;
}

.site-footer__social-text,
.site-footer__label {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-black);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.site-footer__socials a {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-grey);
  border: 1px solid rgba(17, 17, 17, 0.08);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.site-footer__socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-0.2rem);
}

.site-footer__socials img {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  display: block;
  filter: brightness(0);
  transition: filter 0.2s ease;
}

.site-footer__socials a:hover img {
  filter: brightness(0) invert(1);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 0.95fr 1.35fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}

.site-footer__nav,
.site-footer__note {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.site-footer__label {
  margin-bottom: 0.2rem;
  color: var(--color-primary);
}

.site-footer__nav a {
  width: fit-content;
  font-family: var(--font-body);
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.98rem;
  line-height: 1.15;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.site-footer__nav a:hover {
  color: var(--color-black);
  transform: translateX(0.25rem);
}

.site-footer__note p:not(.site-footer__label) {
  max-width: 25ch;
  margin: 0;
  font-family: var(--font-body);
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.site-footer__bottom {
  min-height: 2.8rem;
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.site-footer__bottom p {
  margin: 0;
  font-family: var(--font-body);
  color: rgba(17, 17, 17, 0.52);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Dark footer option */
.site-footer.site-footer--dark {
  background: var(--color-black);
  color: var(--color-white);
  border-top-color: rgba(255, 255, 255, 0.12);
}

.site-footer.site-footer--dark .site-footer__top,
.site-footer.site-footer--dark .site-footer__bottom {
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer.site-footer--dark .site-footer__logo img {
  filter: brightness(0) invert(1);
}

.site-footer.site-footer--dark .site-footer__social-text,
.site-footer.site-footer--dark .site-footer__nav a:hover {
  color: var(--color-white);
}

.site-footer.site-footer--dark .site-footer__nav a,
.site-footer.site-footer--dark .site-footer__note p:not(.site-footer__label),
.site-footer.site-footer--dark .site-footer__bottom p {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer.site-footer--dark .site-footer__socials a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer.site-footer--dark .site-footer__socials img {
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .site-footer__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__social-block {
    justify-items: start;
  }

  .site-footer__socials {
    justify-content: flex-start;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    padding-top: 2.75rem;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .site-footer__note p:not(.site-footer__label) {
    max-width: 100%;
  }
}

/* ================================
   GLOBAL SEARCH
================================ */

.site-search {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.site-search.is-open {
  display: block;
}

.site-search__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17, 17, 17, 0.34);
  cursor: pointer;
}

.site-search__panel {
  position: absolute;
  top: 1rem;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 2rem), 56rem);
  max-height: calc(100svh - 2rem);
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 1.35rem;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 2rem 5rem rgba(17, 17, 17, 0.18);
  overflow: auto;
  transform: translateX(-50%);
  pointer-events: auto;
}

.site-search__top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-search__top p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.site-search__close {
  position: relative;
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-grey);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.site-search__close:hover {
  background: rgba(91, 42, 244, 0.1);
}

.site-search__close img {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
  filter: brightness(0);
  pointer-events: none;
}

.site-search__form {
  display: grid;
  gap: 0.75rem;
}

.site-search__form label {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--color-black);
}

.site-search__input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.site-search__input-wrap input {
  width: 100%;
  min-height: 3.4rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  background: var(--color-white);
  color: var(--color-black);
}

.site-search__input-wrap input:focus {
  border-color: var(--color-primary);
}

.site-search__input-wrap button {
  min-height: 3.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.5rem;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.site-search__input-wrap button:hover {
  background: var(--color-primary);
}

.site-search__results {
  display: grid;
  gap: 0.65rem;
}

.site-search__empty {
  margin: 0;
  padding: 1rem 0;
  font-family: var(--font-body);
  color: rgba(17, 17, 17, 0.6);
  font-size: 0.98rem;
}

.site-search__section-label {
  margin: 1rem 0 0.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.48);
}

.site-search__item {
  display: grid;
  grid-template-columns: 4.8rem 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 0.7rem;
  border-radius: 1rem;
  background: var(--color-grey);
  color: var(--color-black);
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s var(--ease-out);
}

.site-search__item:hover {
  background: rgba(91, 42, 244, 0.1);
  transform: translateY(-0.08rem);
}

.site-search__thumb {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-white);
}

.site-search__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-search__placeholder {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 900;
}

.site-search__item h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--color-black);
}

.site-search__item p {
  margin: 0.3rem 0 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.25;
  color: rgba(17, 17, 17, 0.58);
}

.site-search__price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.68);
}

body.search-open {
  overflow: hidden;
}

.header-search-button {
  cursor: pointer;
}

@media (max-width: 650px) {
  .site-search__panel {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    max-height: calc(100svh - 1.5rem);
    border-radius: 1.1rem;
  }

  .site-search__input-wrap {
    grid-template-columns: 1fr;
  }

  .site-search__input-wrap button {
    width: 100%;
  }

  .site-search__item {
    grid-template-columns: 4.2rem 1fr;
  }

  .site-search__thumb,
  .site-search__placeholder {
    width: 4.2rem;
    height: 4.2rem;
  }

  .site-search__price {
    grid-column: 2;
  }
}

/* ================================
   CUSTOM PAGE SCROLLBAR
================================ */

.page-scrollbar {
  position: fixed;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  z-index: 90;
  width: 0.9rem;
  height: 14.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.22s ease;
}

.page-scrollbar.is-visible {
  opacity: 1;
}

.page-scrollbar__track {
  position: relative;
  width: 0.2rem;
  height: 100%;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
  overflow: visible;
  transition:
    background 0.22s ease,
    width 0.18s ease;
}

.page-scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.34rem;
  min-height: 1.5rem;
  border-radius: 999px;
  background: var(--color-primary);
  cursor: grab;
  transform: translateX(-50%);
  transition:
    width 0.18s ease,
    box-shadow 0.18s ease;
}

.page-scrollbar:hover .page-scrollbar__track {
  width: 0.26rem;
}

.page-scrollbar:hover .page-scrollbar__thumb {
  width: 0.45rem;
  box-shadow: 0 0 0.8rem rgba(91, 42, 244, 0.26);
}

.page-scrollbar.is-dark .page-scrollbar__track {
  background: rgba(255, 255, 255, 0.18);
}

.page-scrollbar.is-dark .page-scrollbar__thumb {
  background: var(--color-white);
}

.page-scrollbar.is-dragging,
.page-scrollbar.is-dragging .page-scrollbar__thumb,
.is-scrollbar-dragging,
.is-scrollbar-dragging * {
  cursor: grabbing !important;
}

@media (max-width: 900px) {
  .page-scrollbar {
    display: none;
  }
}