:root {
  --navy: #0F1319;
  --navy-2: #1A2030;
  --lime: #B5C400;
  --lime-ring: rgba(181, 196, 0, 0.18);
  --lime-dark: #8A9700;
  --lime-soft: #F6F8DC;
  --lime-hover: #A8B800;
  --text: #12161F;
  --muted: #59617A;
  --faint: #A5AAB8;
  --border: #E6E9EE;
  --white: #FFFFFF;
  --bg: #F6F7F9;
  --red: #CB1400;
  --dough: #F5EBD8;

  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;

  --radius: 0;
  --radius-full: 999px;

  --shadow: 0 2px 8px -2px rgba(18, 22, 31, 0.08);
  --shadow-lg: 0 8px 24px -8px rgba(18, 22, 31, 0.18);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", "IRANSansX", "IRANSans", "Segoe UI", Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--sp-lg);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0;
  }
}

:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--lime);
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: none;
}

.dept-btn:focus-visible,
.product__add:focus-visible,
.hero-video__cta:focus-visible,
.mobile-menu__banner-cta:focus-visible,
.skip-link:focus-visible {
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--navy);
}

[id] {
  scroll-margin-top: 90px;
}

@media (min-width: 768px) {
  [id] {
    scroll-margin-top: 140px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 9999;

  transform: translateY(-100%);
  transition: transform 0.2s var(--ease);

  display: block;
  background: var(--lime);
  color: var(--navy);
  text-decoration: none;

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skip-link .container {
  display: flex;
  align-items: center;
  min-height: 34px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .skip-link .container {
    min-height: 38px;
  }
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

.products {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

@media (max-width: 767px) {
  html {
    scroll-behavior: auto;
  }
}