@import url("layout/header.css");
@import url("layout/banner.css");
@import url("layout/footer.css");
@import url("layout/loader.css");

@import url("views/homepage.css");
@import url("views/products.css");
@import url("views/production.css");
@import url("views/about-us.css");
@import url("views/sales.css");
@import url("views/contact.css");
@import url("views/cart.css");
@import url("views/dashboard.css");
@import url("views/login.css");
@import url("views/register.css");

@import url("components/account-form.css");
@import url("components/tabs.css");
@import url("components/accordion.css");
@import url("components/buttons.css");
@import url("components/form.css");
@import url("components/product-box.css");
@import url("components/price-box.css");
@import url("components/generic-content.css");
@import url("components/modal.css");

/* ============================================== */
/* ==================== FONTS =================== */
/* ============================================== */

@font-face {
  font-family: "Sofia Pro";
  font-weight: 250;
  src: url("../fonts/SofiaPro/Sofia-Pro-ExtraLight-Az.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  font-weight: 300;
  src: url("../fonts/SofiaPro/Sofia-Pro-Light-Az.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  font-weight: 400;
  src: url("../fonts/SofiaPro/Sofia-Pro-Regular-Az.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  font-weight: 500;
  src: url("../fonts/SofiaPro/Sofia-Pro-Medium-Az.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  font-weight: 600;
  src: url("../fonts/SofiaPro/Sofia-Pro-Semi-Bold-Az.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  font-weight: 700;
  src: url("../fonts/SofiaPro/Sofia-Pro-Bold-Az.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  font-weight: 900;
  src: url("../fonts/SofiaPro/Sofia-Pro-Black-Az.otf") format("opentype");
  font-display: swap;
}

/* ============================================== */
/* ================== VARIABLES ================= */
/* ============================================== */

:root {
  color-scheme: only light;
  --container: 1520px;
  --content-spacing: 4rem 0;
  --large-spacing: 6rem 0;
  --nysa-black: #000000;
  --nysa-white: #ffffff;
  --nysa-white-2: #f5f6f8;
  --nysa-white-3: #f5f3eb;
  --nysa-green-1: #00923f;
  --nysa-green-2: #f3fff8;
  --nysa-green-3: #00411c;
  --nysa-green-4: #87b540;
  --nysa-green-5: #d8e8bf;
  --nysa-yellow-1: #c4be66;
  --nysa-yellow-2: #8b7d46;
  --nysa-yellow-3: #ad9d5c;
  --nysa-yellow-4: #e0dac2;
  --nysa-yellow-5: #faf9f5;
  --nysa-red-1: #e41421;
  --nysa-red-2: #f8afb4;
  --nysa-grey-1: #d9d9d9;
  --nysa-grey-2: #888888;
  --nysa-grey-3: #737373;
  --nysa-grey-4: #e2e2e2;
  --nysa-grey-5: #f5f5f5;
  --nysa-blue-1: #446aee;
  --nysa-blue-2: #b0c0f8;
  --nysa-transparent: rgba(0, 0, 0, 0);
  --nysa-transition: cubic-bezier(0, 0.29, 0.69, 0.99);
  --font-80: 5rem;
  --font-60: 3.75rem;
  --font-58: 3.625rem;
  --font-50: 3.125rem;
  --font-48: 3rem;
  --font-46: 2.875rem;
  --font-44: 2.75rem;
  --font-40: 2.5rem;
  --font-36: 2.25rem;
  --font-34: 2.125rem;
  --font-32: 2rem;
  --font-30: 1.875rem;
  --font-28: 1.75rem;
  --font-26: 1.625rem;
  --font-24: 1.5rem;
  --font-22: 1.375rem;
  --font-20: 1.25rem;
  --font-18: 1.125rem;
  --font-16: 1rem;
  --font-14: 0.875rem;
  --font-12: 0.75rem;
  --line-30: 1.875rem;
  --line-26: 1.625rem;
  --line-20: 1.25rem;
  --col-2: repeat(6, 1fr);
  --col-5: repeat(5, 1fr);
  --col-3: repeat(4, 1fr);
  --col-4: repeat(3, 1fr);
  --col-6: repeat(2, 1fr);
  --col-12: repeat(1, 1fr);
}

/* ============================================== */
/* ================== RESET CSS ================= */
/* ============================================== */

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

html {
  scroll-behavior: smooth;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  font-family: "Sofia Pro";
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  font-feature-settings: "liga" 0, "calt" 0;
  text-rendering: optimizeLegibility;
}

main {
  overflow: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  outline: none;
}

input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

figure {
  margin: 0;
  unicode-bidi: unset;
}

/* ============================================== */
/* ================== MAIN CSS ================== */
/* ============================================== */

.eg-container {
  padding: 0 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track-piece {
  background: var(--nysa-white);
}

::-webkit-scrollbar-track {
  background: var(--nysa-green-1);
}

::-webkit-scrollbar-thumb {
  background: var(--nysa-green-1);
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
}

.backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  transition: background-color 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.backdrop.show {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-observe="opacity"] {
  opacity: 0;
  transition: opacity 1s var(--nysa-transition);
}

[data-observe="opacity"].revealed {
  opacity: 1;
}

[data-observe="blur"] {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transition: filter 1s var(--nysa-transition);
}

[data-observe="blur"].revealed {
  filter: blur(0);
  -webkit-filter: blur(0);
}

[data-observe="gallery"] {
  transform: translateY(-25%);
  opacity: 0;
  transition: 0.45s var(--nysa-transition);
}

[data-observe="gallery"].revealed {
  transform: translateY(0);
  opacity: 1;
}

[data-observe="translateY"] {
  transform: translateY(50%);
  opacity: 0;
  transition: 0.6s var(--nysa-transition);
}

[data-observe="translateY"].revealed {
  transform: translateY(0);
  opacity: 1;
}

[data-observe="translateX"] {
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.6s var(--nysa-transition);
}

[data-observe="translateX"].revealed {
  transform: translateX(0);
  opacity: 1;
}

.swiper-pagination {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: unset;
  top: unset;
  left: unset;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  padding: 1rem;
  bottom: unset;
  top: unset;
  left: unset;
}

.swiper-pagination > .swiper-pagination-bullet {
  background: var(--nysa-grey-1);
  width: 16px;
  height: 16px;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.swiper-pagination > .swiper-pagination-bullet-active {
  background: var(--nysa-green-1);
}

.swiper-homepage .swiper-pagination-bullet:only-child {
  display: block !important;
}

.alert-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.alert-box.success {
  background: rgb(0, 207, 110);
}

.alert-box.error {
  background: rgb(242, 61, 61);
}

.alert-box > .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-box > .icon > svg {
  fill: #fff;
}

.alert-box > p {
  color: #fff;
  font-weight: 500;
}

.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 5px;
  padding: 1rem;
  white-space: nowrap;
  animation: toastAnimation 1s forwards linear;
  transition: 0.3s var(--nysa-transition);
}

.cart-toast > .icon > svg {
  fill: var(--nysa-white);
}

.cart-toast > p {
  color: var(--nysa-white);
  font-size: var(--font-16);
  font-weight: 500;
}

.cart-toast.success {
  background: rgb(0, 207, 110);
}

.cart-toast.error {
  background: rgb(242, 61, 61);
}

@keyframes toastAnimation {
  0% {
    transform: translateX(25%);
  }
  100% {
    transform: translateX(0%);
  }
}

@media (max-width: 1600px) {
  :root {
    --container: 1320px;
    --font-60: 3.375rem;
    --font-50: 2.75rem;
    --font-48: 2.625rem;
    --font-46: 2.5rem;
    --font-40: 2.25rem;
    --font-36: 2rem;
    --font-30: 1.75rem;
    --font-24: 1.375rem;
    --font-20: 1.125rem;
    --font-18: 1rem;
    --line-30: 1.75rem;
    --line-26: 1.5rem;
  }
}

@media (max-width: 1400px) {
  :root {
    --container: 1180px;
    --font-60: 3rem;
    --font-50: 2.375rem;
    --font-48: 2.25rem;
    --font-46: 2.125rem;
    --font-40: 2rem;
    --font-36: 1.75rem;
    --font-30: 1.625rem;
    --font-24: 1.25rem;
    --line-30: 1.625rem;
    --line-26: 1.375rem;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    padding: 0.75rem;
  }
}

@media (max-width: 1200px) {
  :root {
    --font-60: 2.625rem;
    --font-50: 2.125rem;
    --font-48: 2rem;
    --font-46: 1.875rem;
    --font-40: 1.75rem;
    --font-36: 1.625rem;
    --font-30: 1.5rem;
    --font-24: 1.125rem;
    --font-20: 1rem;
    --font-16: 0.875rem;
    --font-14: 0.75rem;
    --line-30: 1.5rem;
    --line-26: 1.25rem;
  }
}

@media (max-width: 992px) {
  :root {
    --large-spacing: 2rem 0 6rem;
    --font-60: 2.25rem;
    --font-50: 2rem;
    --font-48: 1.875rem;
    --font-46: 1.75rem;
    --font-40: 1.625rem;
    --font-36: 1.5rem;
    --font-30: 1.375rem;
    --line-30: 1.375rem;
    --line-26: 1.125rem;
    --content-spacing: 2rem 0;
  }
}

@media (max-width: 576px) {
  :root {
    --font-60: 2rem;
    --font-50: 1.875rem;
    --font-48: 1.75rem;
    --font-46: 1.625rem;
    --font-40: 1.5rem;
    --font-36: 1.375rem;
    --font-30: 1.25rem;
  }
  .cart-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
