/* -----------------------------BASE------------------------------- */

* {
  box-sizing: border-box;

  margin: 0;

  padding: 0;

  -webkit-tap-highlight-color: transparent;

  font-family: shabnam;
}

body {
  margin: 0;

  padding: 0;

  background-color: white;

  font-family: shabnam;

  direction: rtl;

  text-align: right;
}

/* -----------------------------MAINS-START------------------------------- */

.main {
  scroll-behavior: smooth;

  max-width: 100%;
}

.internal-main {
  margin-top: 110px;
}

@media (max-width: 768px) {
  .internal-main {
    margin-top: 90px;
  }
}

@media (max-width: 480px) {
  .internal-main {
    margin-top: 80px;
  }
}

/* -----------------------------MAINS-ENR------------------------------- */

@font-face {
  font-family: shabnam;

  src: url(../local-library/font/Shabnam-Light-FD.woff2);

  font-weight: 300;

  font-style: normal;
}

:root {
  --main-strong: rgb(37 140 145);

  --main-tint: rgb(200, 217, 218);

  --main-high-tint: rgb(231, 239, 240);

  --secondary-strong: rgb(98 47 31);

  --secondary-tint: rgb(244, 236, 233);

  --gray0: rgb(20, 20, 20);

  --gray1: rgb(60, 60, 60);

  --gray2: rgb(120, 120, 120);

  --gray3: rgb(160, 160, 160);

  --gray4: rgb(230, 230, 230);

  --gray5: rgb(248, 248, 248);

  --gray6: rgb(250, 250, 250);

  --success-color: #71b01d;

  --error-color: #f87970;

  --warning-color: #ffc927;

  --declarative-color: #505050ff;

  --radius-sm: 8px;

  --radius-md: 15px;

  --radius-lg: 20px;

  --radius-full: 50%;

  --active: 0.3;

  --duration: 0.3s;

  --duration-md: 0.5s;
}

a {
  text-decoration: none;

  color: inherit;
}

a,
button,
.clickable {
  transition: var(--duration) !important;
}

a:active,
button:active,
.clickable:active {
  transform: scale(0.97) !important;

  opacity: 0.5 !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;

  margin: 0;
}

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

textarea {
  resize: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;

  margin: 0;
}

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

/* -----------------------------ANIMATION------------------------------- */

@keyframes productFadeUp {
  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

/* -----------------------------section------------------------------- */

section {
  scroll-margin-top: 80px;
}

.section {
  padding: 3rem 1rem;

  position: relative;

  direction: rtl;

  max-width: 1300px;

  margin: auto;
}

@media (max-width: 768px) {
  .section {
    padding: 1rem 0.75rem;
  }
}

.internal-section {
  padding: 1rem;

  position: relative;

  direction: rtl;

  max-width: 1300px;

  margin: auto;
}

@media (max-width: 768px) {
  .section {
    padding: 1rem 0.75rem;
  }

  .internal-section {
    padding: 1rem 0.75rem;

    position: relative;

    direction: rtl;

    max-width: 1300px;

    margin: auto;
  }
}

.section-title {
  font-size: 2.5rem;

  font-weight: bold;

  color: var(--main-strong);

  text-align: center;

  margin-bottom: 3rem;

  position: relative;

  display: inline-block;

  width: 100%;
}

.section-title::after {
  content: "";

  position: absolute;

  bottom: -10px;

  left: 50%;

  transform: translateX(-50%);

  width: 100px;

  height: 4px;

  background: var(--main-strong);

  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;

    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 22px;
  }
}

/* -----------------------------SWIPER------------------------------- */

.swiper-pagination {
  bottom: 15px !important;
}

.swiper-pagination-bullet {
  background: var(--gray4) !important;

  opacity: 0.8 !important;

  width: 10px;

  height: 10px;

  border-radius: var(--radius-full);

  margin: 0 5px !important;

  transition: all var(--duration) ease;
}

.swiper-pagination-bullet-active {
  background: var(--main-strong) !important;

  transform: scale(1.3);

  opacity: 1;

  width: 24px;

  border-radius: 12px;
}

.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

@media (max-width: 768px) {
  .swiper-pagination-bullet {
    width: 8px !important;

    height: 8px !important;
  }
}

/* -----------------------------HEADER------------------------------- */

.header {
  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  z-index: 1000;

  padding: 1rem 0;

  background: rgba(255, 255, 255, 0);

  border-bottom: 1px solid rgba(255, 255, 255, 0);

  transition:
    background-color 0.25s ease-out,
    backdrop-filter 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-bottom 0.25s ease-out,
    padding var(--duration) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-container {
  max-width: 1400px;

  margin: 0 auto;

  padding: 0 2rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

  direction: rtl;
}

.header-actions {
  display: flex;

  align-items: center;

  gap: 1rem;
}

.back-btn {
  width: 44px;

  height: 44px;

  border: none;

  background: transparent;

  cursor: pointer;

  border-radius: var(--radius-md);

  display: grid;

  place-items: center;

  color: white;

  transition: var(--duration);

  text-decoration: none;
}

.header.scrolled .back-btn {
  color: var(--secondary-strong);

  text-shadow: none;
}

.header-actions .hamb-icon {
  order: 1;
}

.header-actions .back-btn {
  order: 2;
}

.header-actions .header-logo {
  order: 3;
}

.back-icon {
  font-size: 28px;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .back-btn:hover {
    transform: translateY(-2px);
  }
}

.back-btn:active {
  opacity: var(--active);
}

.hamb-icon {
  color: white;

  cursor: pointer;

  font-size: 30px;

  transition: var(--duration);
}

.header.scrolled .hamb-icon {
  color: var(--secondary-strong);

  text-shadow: none;
}

.hamb-icon:active {
  opacity: var(--active);
}

.header-left {
  display: flex;

  gap: 1rem;
}

.cart-btn,
.login-btn,
.hamb-btn {
  position: relative;

  width: 44px;

  height: 44px;

  border: none;

  background: transparent;

  cursor: pointer;

  border-radius: var(--radius-md);

  display: grid;

  place-items: center;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .cart-btn:hover,
  .login-btn:hover {
    transform: translateY(-2px);
  }
}

.cart-icon,
.login-icon {
  font-size: 24px;

  color: white;

  transition: var(--duration);
}

.header.scrolled .cart-icon,
.header.scrolled .login-icon {
  color: var(--secondary-strong);

  text-shadow: none;
}

.header.scrolled .login-btn {
  color: var(--secondary-strong);

  text-shadow: none;
}

.cart-badge {
  position: absolute;

  top: -1px;

  left: -2px;

  min-width: 18px;

  height: 18px;

  padding: 0 5px;

  border-radius: 999px;

  background: var(--main-strong);

  color: white;

  font-size: 12px;

  font-weight: 800;

  display: grid;

  place-items: center;

  border: 2px solid rgba(255, 255, 255, 0.9);
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  filter: brightness(0) invert(1);
}

.header.scrolled .header-logo img {
  filter: none;
}

.logo-link {
  text-decoration: none;

  display: flex;

  align-items: center;

  transition: transform var(--duration);

  direction: rtl;
}

@media (hover: hover) and (pointer: fine) {
  .logo-link:hover {
    transform: translateY(-1px);
  }
}

.logo-image {
  height: 60px;

  width: auto;

  object-fit: contain;

  transition:
    transform var(--duration),
    filter var(--duration);

  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.header.scrolled .logo-image {
  filter: drop-shadow(0 0 0 transparent);
}

.header-nav {
  flex: 1;

  display: flex;

  justify-content: center;

  direction: ltr;
}

.nav-list {
  display: flex;

  flex-direction: row-reverse;

  list-style: none;

  gap: 2rem;

  margin: 0;

  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: white;

  color: white;

  font-weight: bold;

  text-decoration: none;

  font-size: 0.95rem;

  padding: 0.5rem;

  transition: var(--duration) ease;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav-link {
  color: var(--secondary-strong);

  text-shadow: none;
}

.nav-link::before {
  content: "";

  position: absolute;

  bottom: 0;

  right: 50%;

  transform: translateX(50%);

  width: 0;

  height: 2px;

  background: var(--main-strong);

  transition: width var(--duration);

  border-radius: var(--radius-full);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--main-strong);

    transform: translateY(-2px);
  }

  .header.scrolled .nav-link:hover {
    color: var(--main-strong);
  }

  .nav-link:hover::before {
    width: 80%;
  }
}

.hamburger {
  display: none;

  flex-direction: column;

  justify-content: space-around;

  width: 30px;

  height: 30px;

  background: transparent;

  border: none;

  cursor: pointer;

  padding: 0;

  z-index: 1001;

  position: relative;
}

@media (min-width: 969px) {
  .hamb-icon {
    display: none !important;
  }
}

@media (max-width: 968px) {
  .header-nav {
    display: none;
  }

  .hamb-icon {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

  .header-container {
    padding: 0 1rem;
  }

  .hamb-icon {
    font-size: 28px;
  }

  .back-icon {
    font-size: 24px;

    transition: var(--duration);
  }

  .logo-image {
    height: 50px;
  }

  .cart-btn,
  .login-btn,
  .hamb-btn {
    width: 40px;

    height: 40px;
  }

  .cart-icon,
  .login-icon {
    font-size: 22px;
  }

  .cart-badge {
    top: -2px;

    left: -3px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 45px;
  }

  .hamb-icon {
    font-size: 25px;
  }
}

/* -----------------------------MENU------------------------------- */

.menu-overlay {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.5);

  opacity: 0;

  pointer-events: none;

  transition: opacity var(--duration) ease;

  z-index: 9999;

  pointer-events: auto;
}

.menu-overlay.is-open {
  opacity: 1;

  pointer-events: auto;
}

.side-menu {
  position: fixed;

  inset: 0;

  pointer-events: none;

  z-index: 9999;
}

.side-menu.is-open {
  pointer-events: auto;
}

.side-menu__panel {
  position: absolute;

  top: 0;

  right: 0;

  bottom: 0;

  width: min(85vw, 400px);

  background: white;

  border-left: 1px solid var(--gray4);

  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.2);

  transform: translateX(100%);

  transition: transform var(--duration-md) cubic-bezier(0.2, 0.9, 0.2, 1);

  display: flex;

  flex-direction: column;

  overflow: hidden;
}

.side-menu.is-open .side-menu__panel {
  transform: translateX(0);
}

.side-menu__top {
  flex: 0 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 12px;

  border-bottom: 1px solid var(--gray4);

  gap: 10px;
}

.side-menu__brand {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.side-menu__logo {
  width: 40px;

  height: 40px;

  object-fit: contain;

  background: white;
}

.side-menu__titles {
  min-width: 0;
}

.side-menu__title {
  font-weight: 900;

  font-size: 0.9rem;

  color: var(--secondary-strong);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.side-menu__subtitle {
  margin-top: 3px;

  font-size: 0.65rem;

  color: var(--gray2);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.side-menu__close {
  width: 35px;

  height: 35px;

  border-radius: var(--radius-md);

  display: grid;

  place-items: center;

  cursor: pointer;

  border: none;

  background: var(--gray6);
}

.side-menu__close i {
  color: var(--gray2);
}

.side-menu__content {
  flex: 1 1 auto;

  min-height: 0;

  padding: 0 12px;

  overflow: auto;

  direction: ltr;
}

.side-menu__nav {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.side-menu__link {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 12px;

  border-radius: var(--radius-md);

  color: var(--gray1);

  text-decoration: none;

  font-weight: 900;

  font-size: 0.8rem;

  direction: rtl;
}

.side-menu__link i:first-child {
  width: 35px;

  height: 35px;

  border-radius: var(--radius-md);

  display: grid;

  place-items: center;

  background: var(--secondary-tint);

  color: var(--secondary-strong);
}

.side-menu__chev {
  color: var(--gray2);

  margin-right: auto;
}

.side-menu__actions {
  flex: 0 0 auto;

  padding: 12px;

  border-top: 1px solid var(--gray4);

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;
}

.side-menu__btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  padding: 12px 6px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  color: var(--gray1);

  text-decoration: none;

  font-weight: 900;

  font-size: 0.8rem;
}

.side-menu__btn.primary {
  border-color: var(--main-strong);

  color: var(--main-strong);
}

/* -----------------------------FOOTER------------------------------- */

.footer {
  background: var(--gray0);

  color: white;

  padding: 3rem 0 1rem;

  margin-top: 5rem;

  direction: rtl;
}

.footer .container {
  max-width: 1300px;

  margin: 0 auto;

  padding: 0 1rem;
}

.footer-content {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  gap: 2rem;

  margin-bottom: 2rem;
}

.footer-section {
  display: flex;

  flex-direction: column;

  gap: 1rem;
}

.footer-logo img {
  height: 60px;

  width: auto;

  margin-bottom: 1rem;

  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 0.95rem;

  line-height: 1.6;

  color: var(--gray4);

  text-align: center;
}

.footer-section ul {
  gap: 0.8rem;

  justify-content: center;

  align-items: center;
}

.footer-section ul li {
  font-size: 0.95rem;

  display: flex;

  align-items: center;
}

.footer-title {
  font-size: 1.3rem;

  color: white;

  margin-bottom: 1rem;

  font-weight: bold;

  align-items: center;

  justify-content: center;

  display: flex;
}

.footer-links {
  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;
}

.footer-links a {
  color: var(--gray4);

  text-decoration: none;

  display: inline-block;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--main-strong);
  }
}

.footer-contact,
.footer-hours {
  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

  color: var(--gray4);
}

.footer-contact li i,
.footer-hours li i {
  margin-left: 0.3rem;

  color: white;
}

.footer-contact li a,
.footer-hours li {
  color: var(--gray4);

  text-decoration: none;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact li a:hover {
    color: var(--main-strong);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding-top: 1rem;

  text-align: center;

  color: var(--gray3);

  font-size: 1rem;

  display: flex;

  align-items: center;

  justify-content: center;
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .footer-title {
    font-size: 1.1rem;

    margin-bottom: 0.85rem;
  }

  .footer-description,
  .footer-section ul li {
    font-size: 0.8rem;
  }

  .footer-section ul {
    gap: 0.6rem;
  }

  .footer-bottom {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .footer-title {
    font-size: 0.8rem;

    margin-bottom: 0.7rem;
  }

  .footer-description,
  .footer-section ul li {
    font-size: 0.7rem;
  }

  .footer-bottom {
    font-size: 0.8em;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .footer-sec-1,
  .footer-sec-2 {
    display: none;
  }
}

@media (max-width: 568px) {
  .footer-title {
    margin-bottom: 0.5rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-bottom {
    font-size: 0.6em;
  }
}

/* -----------------------------about------------------------------- */

.about-description {
  font-size: 1.1rem;

  line-height: 1.8;

  color: var(--gray1);

  text-align: center;

  max-width: 1000px;

  margin: 0 auto 0.5rem;

  text-align: justify;

  direction: rtl;
}

.about-features {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 2rem;

  margin-top: 3rem;
}

.feature-item {
  background: white;

  padding: 2rem;

  border-radius: var(--radius-md);

  text-align: center;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

  transition:
    transform var(--duration),
    box-shadow var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .feature-item:hover {
    transform: translateY(-5px);

    box-shadow: 0 8px 30px rgba(199, 125, 255, 0.2);
  }
}

.feature-icon {
  font-size: 3rem;

  margin-bottom: 1rem;

  color: var(--main-strong);
}

.feature-icon i {
  font-size: 3rem;
}

.feature-item h3 {
  font-size: 1.3rem;

  color: var(--gray0);

  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.8rem;

  color: var(--gray2);

  line-height: 1.6;
}

@media (max-width: 1000px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-description {
    font-size: 1rem;

    padding: 0 1rem;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);

    gap: 1rem;
  }

  .feature-item {
    padding: 1rem;
  }

  .feature-icon {
    font-size: 2rem;

    margin-bottom: 0.5rem;
  }

  .feature-icon i {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .feature-icon {
    font-size: 2rem;

    margin-bottom: 0.2rem;
  }

  .feature-item h3 {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.6rem;
  }
}

/* -----------------------------FOOD-CATEGORIES------------------------------- */

.food-categories-container {
  background-color: var(--gray6);

  border-radius: var(--radius-md);
}

.food-categories {
  display: grid;

  gap: 20px;

  justify-content: center;

  grid-template-columns: repeat(4, 1fr);

  margin: auto;

  max-width: 1100px;

  padding: 10px 0;
}

.food-category-card {
  position: relative;

  border-radius: 15px;

  overflow: hidden;

  cursor: pointer;

  transition: var(--duration);

  height: 220px;

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

.food-category-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;

  padding: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .food-category-card:hover img {
    transform: scale(1.08);
  }
}

@media (hover: hover) and (pointer: fine) {
  .food-category-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
}

.food-category-name {
  position: absolute;

  bottom: 0;

  width: 100%;

  text-align: center;

  padding: 6px 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);

  color: #fff;

  font-weight: 600;

  font-size: 1.1rem;

  letter-spacing: 0.5px;
}

@media (max-width: 1000px) {
  .food-category-card {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .food-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .food-category-card {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .food-categories {
    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
  }

  .food-category-card {
    height: 150px;
  }

  .food-category-name {
    padding: 3px 0;

    font-size: 1rem;
  }
}

/* -----------------------------PRODUCT------------------------------- */

.category-filter {
  display: flex;

  gap: 8px;

  padding: 0px 10px 10px 10px;

  overflow-x: auto;

  position: relative;

  scroll-behavior: smooth;

  scrollbar-width: none;

  -ms-overflow-style: none;

  border-bottom: 2px solid var(--gray4);
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.category-btn {
  white-space: nowrap;

  padding: 15px 3px;

  border-radius: var(--radius-md);

  border: 2px solid var(--gray4);

  background: white;

  cursor: pointer;

  transition: var(--duration);

  font-weight: bold;

  font-size: 0.9rem;

  position: relative;

  overflow: hidden;

  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  flex-shrink: 0;

  font-family: shabnam;

  flex: 1 1 0;

  justify-content: center;

  text-align: center;

  animation: fadeInUp 0.4s ease-out forwards;

  animation-delay: calc(var(--i, 0) * 0.05s);

  opacity: 0;

  transform: translateY(10px);
}

@media (hover: hover) and (pointer: fine) {
  .category-btn:hover {
    background: var(--main-tint);

    color: var(--main-strong);

    border-color: var(--main-strong);

    transform: translateY(-2px);

    box-shadow:
      0 3px 10px rgba(96, 165, 250, 0.2),
      0 2px 5px rgba(0, 0, 0, 0.08);
  }
}

.category-btn.active {
  background: var(--main-strong);

  color: white;

  border-color: var(--main-strong);

  box-shadow: 0 5px 8px rgba(96, 165, 250, 0.35);

  transform: translateY(-2px);
}

@keyframes bounceIn {
  0% {
    transform: scale(0);

    opacity: 0;
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);

    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .category-filter {
    gap: 6px;
  }

  .category-btn {
    width: 130px;

    padding: 12px 3px;

    flex: none;
  }
}

@media (max-width: 768px) {
  .category-filter {
    gap: 5px;
  }

  .category-btn {
    width: 110px;

    padding: 10px 5px;

    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .category-btn {
    font-size: 0.85rem;
  }
}

.product-grid {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

  gap: 25px;
}

.product-card {
  background: white;

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08);

  transition: all var(--duration) cubic-bezier(0.4, 0, 0.2, 1);

  cursor: pointer;

  border: 1px solid var(--gray4);

  position: relative;

  height: 100%;

  display: flex;

  flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-8px) scale(1.02);

    box-shadow:
      0 20px 25px -5px rgba(0, 0, 0, 0.12),
      0 10px 10px -5px rgba(0, 0, 0, 0.06);

    border-color: var(--main-strong);
  }
}

.product-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 4px;

  background: linear-gradient(
    90deg,
    var(--main-strong),
    var(--secondary-strong)
  );

  opacity: 0;

  transition: opacity var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover::before {
    opacity: 1;
  }
}

.product-image-container {
  position: relative;

  overflow: hidden;

  height: 180px;
}

.product-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform var(--duration-md);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover img {
    transform: scale(1.05);
  }
}

.card-body {
  padding: 18px;

  flex-grow: 1;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

.card-body h3 {
  font-size: 1.05rem;

  color: var(--gray1);

  line-height: 1.5;

  font-weight: 600;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

  height: 3em;
}

.price-container {
  margin-top: auto;

  padding-top: 12px;

  border-top: 1px solid var(--gray4);
}

.price {
  color: var(--main-strong);

  font-weight: 800;

  font-size: 1.1rem;

  letter-spacing: -0.5px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 5px;
}

.category-badge {
  position: absolute;

  top: 5px;

  right: 5px;

  background: var(--main-tint);

  backdrop-filter: blur(4px);

  color: var(--gray1);

  padding: 4px 10px;

  border-radius: var(--radius-md);

  font-size: 0.75rem;

  z-index: 1;
}

.stock-badge {
  position: absolute;

  top: 12px;

  left: 12px;

  background: var(--success-color);

  color: white;

  padding: 4px 10px;

  border-radius: var(--radius-sm);

  font-size: 0.75rem;

  font-weight: 500;

  z-index: 1;
}

.price-wrap {
  display: flex;

  flex-direction: column;

  gap: 4px;
}

.price-old {
  font-size: 0.85rem;

  color: #888;
}

.price--final {
  font-size: 1.05rem;

  font-weight: bold;

  color: #222;
}

.add-to-cart {
  margin-top: 12px;

  width: 100%;

  height: 44px;

  border: var(--secondary-strong) 1px solid;

  border-radius: var(--radius-md);

  border: var(--secondary-strong) 1px solid;

  color: var(--secondary-strong);

  background: white;

  font-weight: 900;

  cursor: pointer;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .add-to-cart:hover {
    background-color: var(--main-strong);

    color: white;

    border: none;

    transform: scale(1.05);

    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
}

.qty-row {
  display: none;

  margin-top: 12px;

  height: 44px;

  width: 100%;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  overflow: hidden;

  background: white;
}

.qty-row--active {
  display: flex;
}

.qty-btn {
  flex: 0 0 40px;

  height: 44px;

  border: none;

  background: var(--main-tint);

  color: var(--main-strong);

  font-weight: 900;

  font-size: 15px;

  cursor: pointer;

  transition: var(--duration);
}

.qty-btn--plus {
  background: var(--main-strong);

  color: white;
}

.qty-val {
  flex: 1 1 auto;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 900;

  color: var(--gray1);

  font-size: 15px;

  background: white;
}

.cart-bar {
  display: none;

  position: fixed;

  left: 10px;

  right: 10px;

  bottom: 20px;

  z-index: 9999;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 12px 14px;

  border-radius: var(--radius-md);

  box-shadow: 0 5px 23px rgba(0, 0, 0, 0.3);

  background: var(--gray5);

  width: 60%;

  max-width: 400px;

  margin: auto;
}

.cart-bar__info {
  display: flex;

  width: 100%;

  justify-content: space-between;

  align-items: center;

  gap: 12px;
}

.cart-bar__count {
  font-weight: 900;

  color: var(--gray1);
}

.cart-bar__total {
  font-weight: 900;

  color: var(--main-strong);
}

.discount-badge {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  margin-top: 6px;
}

.discount-badge-img {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--error-color);
  color: white;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  z-index: 2;
}

.original-price {
  color: var(--gray3);

  font-size: 0.85rem;

  text-decoration: line-through;
}

.discount-percent {
  background: var(--error-color);

  color: white;

  padding: 2px 6px;

  border-radius: 4px;

  font-size: 0.8rem;

  font-weight: 600;
}

.rating {
  color: var(--rating-gold);

  font-size: 0.9rem;

  font-weight: 600;

  margin-top: 6px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 4px;
}

.weekly-badge {
  position: absolute;

  top: 18px;

  left: -45px;

  width: 160px;

  padding: 6px 0;

  text-align: center;

  background: var(--secondary-strong);

  color: white;

  font-size: 0.7rem;

  font-weight: 800;

  transform: rotate(-45deg);

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

  z-index: 10;

  pointer-events: none;
}

.weekly-offer-badge {
  position: absolute;

  top: 50px;

  right: 12px;

  background: linear-gradient(
    135deg,
    var(--secondary-strong),
    var(--main-strong)
  );

  color: white;

  padding: 5px 12px;

  border-radius: 20px;

  font-size: 0.75rem;

  font-weight: 700;

  z-index: 5;

  box-shadow: 0 4px 12px rgba(199, 125, 255, 0.4);

  animation: pulse 2s infinite;
}

.no-products-message {
  text-align: center;

  padding: 60px 20px;

  background: var(--gray5);

  border-radius: var(--radius-lg);

  margin: 30px auto;

  max-width: 500px;
}

.no-products-message p {
  font-size: 1.2rem;

  color: var(--gray2);

  margin-bottom: 10px;
}

.no-products-message .hint {
  font-size: 0.95rem;

  color: var(--gray3);
}

.stock-info {
  font-size: 0.85rem;

  color: var(--gray2);

  margin-top: 8px;

  padding-top: 8px;

  border-top: 1px dashed var(--gray4);
}

.rating-count {
  font-size: 0.8rem;

  color: var(--gray3);

  margin-right: 4px;
}

.product-card.animate-in {
  opacity: 0;

  transform: translateY(20px) scale(0.96);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));

    gap: 16px;
  }

  .product-image-container {
    height: 150px;
  }

  .card-body {
    padding: 14px;
  }

  .card-body h3 {
    font-size: 0.95rem;
  }

  .price {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 150px;
  }

  .product-image-container {
    width: 120px;
    min-width: 120px;
    height: auto;
  }

  .product-card img {
    height: 100%;
    object-fit: cover;
  }

  .card-body {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0px;
  }

  .card-body h3 {
    font-size: 0.9rem;
  }

  .price {
    font-size: 0.9rem;
  }

  .price-old {
    font-size: 0.7rem;

    min-height: 18px;
    display: block;
    line-height: 18px;
    visibility: hidden;
  }

  .price-old:not(:empty) {
    visibility: visible;
  }

  .price-wrap {
    margin-top: 0px;
  }

  .add-to-cart {
    height: 38px;
    font-size: 12px !important;
    margin-top: 8px;
    border-radius: 8px;
  }

  .qty-row {
    margin-top: 8px;
    height: 38px;
    border-radius: 8px;
  }

  .qty-row,
  .qty-btn,
  .qty-val {
    height: 38px;
  }

  .category-badge {
    backdrop-filter: blur(4px);
    color: var(--gray1);
    padding: 3px 7px;
    font-size: 0.65rem;
  }

  .weekly-badge {
    top: 17px;
    left: -43px;
    width: 140px;
    padding: 4px 0;
    font-size: 0.65rem;
  }

  .discount-badge-img {
    padding: 3px 7px;
    font-size: 0.65rem;
  }
}
/* ------- */
/* products popup ovelay */
/* ------- */

body.lightbox-open {
  overflow: hidden;
  touch-action: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.image-lightbox__dialog {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.image-lightbox__topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.image-lightbox__meta {
  min-width: 0;
  pointer-events: auto;
}

.image-lightbox__title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-lightbox__counter {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.image-lightbox__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  flex: 0 0 auto;
}

.image-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.image-lightbox__close:active {
  transform: scale(0.96);
}

.image-lightbox__close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.image-lightbox__slider {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.image-lightbox-swiper {
  width: 100%;
  height: 100%;
}

.image-lightbox .swiper-wrapper {
  align-items: center;
}

.image-lightbox .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  padding: 72px 16px 48px;
  box-sizing: border-box;
}

.image-lightbox .swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  touch-action: none;
}

.image-lightbox .swiper-zoom-container img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.image-lightbox .swiper-slide.swiper-slide-zoomed .swiper-zoom-container {
  cursor: grab;
}

.image-lightbox
  .swiper-slide.swiper-slide-zoomed
  .swiper-zoom-container:active {
  cursor: grabbing;
}

.image-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.image-lightbox__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.image-lightbox__nav--prev {
  right: 18px;
}

.image-lightbox__nav--next {
  left: 18px;
}

.image-lightbox__nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.image-lightbox__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.image-lightbox__pagination {
  position: absolute;
  right: 0;
  left: 0;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.image-lightbox__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.35);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.image-lightbox__pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.2);
}

.image-lightbox__hint {
  position: absolute;
  left: 50%;
  bottom: calc(max(36px, env(safe-area-inset-bottom)) + 22px);
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 991px) {
  .image-lightbox .swiper-slide {
    padding: 76px 12px 54px;
  }

  .image-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .image-lightbox__nav--prev {
    right: 10px;
  }

  .image-lightbox__nav--next {
    left: 10px;
  }

  .image-lightbox__title {
    font-size: 14px;
  }

  .image-lightbox__counter {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .image-lightbox__topbar {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-right: 12px;
    padding-left: 12px;
  }

  .image-lightbox .swiper-slide {
    padding: 74px 8px 58px;
  }

  .image-lightbox .swiper-zoom-container img {
    border-radius: 10px;
  }

  .image-lightbox__nav {
    display: none;
  }

  .image-lightbox__hint {
    font-size: 11px;
    bottom: calc(max(24px, env(safe-area-inset-bottom)) + 16px);
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .image-lightbox__close {
    width: 40px;
    height: 40px;
  }

  .image-lightbox__close svg {
    width: 20px;
    height: 20px;
  }

  .image-lightbox__title {
    max-width: 220px;
  }

  .image-lightbox .swiper-slide {
    padding-top: 72px;
    padding-bottom: 60px;
  }

  .image-lightbox__pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }
}

/* -----------------------------CART------------------------------- */

.cart-layout {
  grid-template-columns: 1.5fr 1fr;

  display: grid;

  gap: 15px;
}

.cart-card {
  border: 1px solid var(--gray4);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  border-radius: var(--radius-md);

  opacity: 0;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);
}

.invoice {
  position: sticky;

  align-self: start;

  top: 100px;
}

.cart-card__header {
  padding: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border-bottom: 1px solid var(--gray4);
}

.cart-card__titleRow {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.cart-card__title {
  font-size: 20px;

  font-weight: 900;

  color: var(--secondary-strong);

  white-space: nowrap;
}

.cart-card__body {
  display: grid;

  gap: 12px;

  padding: 12px;
}

.cart-btn-cart {
  font-size: 15px;

  background-color: var(--gray5);

  cursor: pointer;

  border: 0;

  border-radius: var(--radius-md);

  padding: 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  transition: var(--duration);

  user-select: none;

  -webkit-tap-highlight-color: transparent;
}

.cart-item__removeBtn {
  color: var(--error-color);

  border: 1px solid var(--gray5);

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .cart-item__removeBtn:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);

    border: 1px solid var(--error-color);
  }
}

.cart-btn--primary {
  background: var(--main-strong);

  color: #fff;

  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .cart-btn--primary:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
}

.cart-btn--ghost {
  background: #fff;

  border: 1px solid var(--gray4);

  color: var(--gray1);
}

@media (hover: hover) and (pointer: fine) {
  .cart-btn--ghost:hover {
    border: 1px solid var(--main-strong);
  }
}

.cart-items {
  display: grid;

  gap: 12px;
}

.cart-item {
  display: grid;

  grid-template-columns: 90px 1fr;

  gap: 12px;

  padding: 12px;

  border-radius: var(--radius-md);

  background: #fff;

  border: 1px solid var(--gray4);

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .cart-item:hover {
    transform: translateY(-1px);

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  }
}

.cart-item__thumb {
  border-radius: var(--radius-md);

  background: #fff;

  border: 1px solid var(--gray4);

  overflow: hidden;

  display: grid;

  place-items: center;

  aspect-ratio: 1/1;
}

.cart-item__img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

.cart-item__content {
  display: grid;

  gap: 10px;

  min-width: 0;
}

.cart-item__topRow {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 10px;
}

.cart-item__name {
  margin: 0;

  font-weight: 900;

  font-size: 14px;

  letter-spacing: -0.15px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  color: var(--gray1);
}

.cart-item__actions {
  display: inline-flex;

  gap: 8px;

  align-items: center;
}

.cart-item__bottomRow {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: space-between;

  gap: 10px;
}

.cart-price {
  display: grid;

  gap: 3px;

  text-align: left;
}

.cart-price__old {
  font-size: 12px;

  color: var(--gray3);

  text-decoration: line-through;

  text-decoration-thickness: 1px;
}

.cart-price__now {
  font-weight: 900;

  font-size: 14px;

  color: var(--gray1);
}

.cart-qty {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 6px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);
}

.cart-qty button {
  width: 35px;

  height: 35px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  background: var(--main-tint);

  color: var(--main-strong);

  display: grid;

  place-items: center;

  cursor: pointer;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .cart-qty button:hover {
    border: 1px solid var(--main-strong);
  }
}

.cart-qty input {
  width: 50px;

  text-align: center;

  border: 0;

  outline: none;

  background: transparent;

  font-weight: 900;

  color: var(--gray1);

  font-size: 14px;

  appearance: textfield;
}

.cart-summary {
  display: grid;

  gap: 12px;
}

.cart-summary__row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding: 18px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);
}

.cart-summary__row span {
  color: var(--gray2);

  font-size: 12px;

  font-weight: 900;
}

.cart-summary__row strong {
  font-weight: 900;

  font-size: 13px;

  color: var(--gray0);
}

.cart-summary__row--total {
  border-color: var(--main-strong);
}

.cart-summary__row--total span,
.cart-summary__row--total strong {
  color: var(--main-strong);
}

.cart-coupon {
  display: grid;

  gap: 10px;

  padding: 12px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);
}

.cart-coupon label {
  font-size: 12px;

  color: var(--gray2);

  font-weight: 900;
}

.cart-coupon__field {
  display: flex;

  gap: 10px;

  align-items: center;

  flex-wrap: wrap;
}

.cart-coupon input {
  flex: 1 1 160px;

  border: 1px solid var(--gray4);

  border-radius: 14px;

  padding: 11px 12px;

  outline: none;

  transition: var(--duration);
}

.cart-coupon input:focus {
  border-color: var(--main-strong);
}

.cart-empty {
  padding: 30px 15px;

  text-align: center;

  display: grid;

  gap: 10px;

  place-items: center;
}

.cart-empty__icon {
  width: 80px;

  height: 80px;

  border-radius: var(--radius-md);

  border: 1px solid var(--main-strong);

  display: grid;

  place-items: center;

  color: var(--main-strong);

  font-size: 28px;
}

.cart-empty h3 {
  margin: 0;

  font-size: 15px;

  font-weight: 900;

  color: var(--gray1);
}

.cart-empty p {
  margin: 0;

  font-size: 12px;

  color: var(--gray2);

  line-height: 1.9;
}

.cart-layout.cart-layout--empty {
  grid-template-columns: 1fr !important;

  justify-items: center;
}

.cart-layout.cart-layout--empty > .cart-card {
  width: 100%;

  max-width: 700px;

  justify-self: center;
}

@media (max-width: 968px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .invoice {
    position: static;
  }
}

@media (max-width: 468px) {
  .cart-item {
    padding: 8px;
  }

  .cart-item__name {
    font-size: 13px;
  }

  .cart-item__content {
    gap: 6px;
  }

  .cart-qty button {
    width: 27px;

    height: 27px;
  }

  .cart-qty {
    padding: 4px;

    gap: 0px;
  }

  .cart-qty input {
    width: 35px;
  }

  .cart-item__bottomRow {
    gap: 2px;
  }

  .cart-price__old {
    font-size: 11px;
  }

  .cart-price__now {
    font-size: 13px;
  }
}

/* -----------------------------PAYMENT-PTRPARATION------------------------------- */

.ship-profile .sp-grid {
  display: grid;

  grid-template-columns: 1.5fr 1fr;

  gap: 15px;

  align-items: start;
}

.ship-profile .sp-card {
  background: white;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  opacity: 0;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);
}

.ship-profile .sp-card-details {
  position: sticky;

  align-self: start;

  top: 100px;
}

.ship-profile .sp_header {
  padding: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border-bottom: 1px solid var(--gray4);
}

.ship-profile .sp_titleRow {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.ship-profile .sp_title {
  font-size: 20px;

  font-weight: 900;

  color: var(--secondary-strong);

  white-space: nowrap;
}

.sp_body {
  padding: 12px;
}

.ship-profile .sp-label {
  display: block;

  margin-bottom: 15px;

  font-weight: 900;

  font-size: 14px;

  letter-spacing: -0.15px;

  color: var(--gray1);
}

.ship-profile .sp-input,
.ship-profile .sp-textarea {
  width: 100%;

  padding: 12px;

  font-size: 13px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  background: white;

  outline: none;

  transition: var(--duration);

  color: var(--gray1);
}

.ship-profile .sp-input::placeholder,
.ship-profile .sp-textarea::placeholder {
  font-size: 12px;

  color: var(--gray3);
}

.ship-profile .sp-textarea {
  min-height: 110px;
}

.ship-profile .sp-input:focus,
.ship-profile .sp-textarea:focus {
  border-color: var(--main-strong);
}

.ship-profile .sp-twoRow {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;
}

.ship-profile .sp-oneRow {
  margin-top: 12px;
}

.ship-profile .sp-btnRow {
  display: flex;

  gap: 10px;

  margin-top: 12px;

  width: 100%;

  flex-wrap: nowrap;
}

.ship-profile .sp-btnRow > button,
.ship-profile .sp-btnRow > a {
  flex: 1 1 0;

  min-width: 0;
}

.ship-profile .sp-btnPrimary {
  background: var(--main-strong);

  color: white;

  width: 100%;

  font-size: 15px;

  cursor: pointer;

  border: 0;

  border-radius: var(--radius-md);

  padding: 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  transition: var(--duration);

  user-select: none;

  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .ship-profile .sp-btnPrimary:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
}

.sp-btnPrimary.is-disabled {
  opacity: 0.5;

  cursor: not-allowed;
}

.ship-profile .sp-btnSecondary {
  background: var(--gray5);

  color: var(--gray1);

  border-color: var(--gray4);

  border: none;

  border-radius: var(--radius-md);

  cursor: pointer;

  transition:
    transform var(--duration),
    filter var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .ship-profile .sp-btnSecondary:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  }
}

.ship-profile .sp-list {
  display: grid;

  gap: 10px;
}

.ship-profile .sp-item {
  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  padding: 12px;

  gap: 12px;

  display: flex;

  justify-content: space-between;

  cursor: pointer;

  transition: var(--duration);
}

@media (hover: hover) and (pointer: fine) {
  .ship-profile .sp-item:hover {
    transform: translateY(-1px);

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  }
}

.ship-profile .sp-item.is-active {
  border-color: var(--secondary-strong);

  background: var(--secondary-tint);
}

.ship-profile .sp-info {
  min-width: 0;
}

.ship-profile .sp-title {
  display: block;

  color: var(--gray1);

  margin-bottom: 5px;

  font-weight: 900;

  font-size: 14px;

  letter-spacing: -0.15px;
}

.ship-profile .sp-meta {
  font-size: 12px;

  color: var(--gray2);

  line-height: 1.8;

  white-space: pre-wrap;
}

.ship-profile .sp-hint {
  font-size: 12px;

  padding: 12px;

  margin-top: 10px;

  border-radius: var(--radius-md);

  background: var(--gray6);

  border: 1px dashed var(--gray4);

  color: var(--gray2);

  line-height: 1.8;
}

.ship-profile .sp-status {
  font-size: 12px;

  padding: 12px;

  margin-top: 10px;

  border-radius: var(--radius-md);

  background: var(--gray6);

  border: 1px dashed var(--gray4);

  color: var(--gray2);

  line-height: 1.8;
}

.sp-btnDanger {
  font-size: 15px;

  background-color: var(--gray5);

  cursor: pointer;

  border: 1px solid var(--gray5);

  border-radius: var(--radius-md);

  padding: 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  transition: var(--duration);

  user-select: none;

  -webkit-tap-highlight-color: transparent;

  color: var(--error-color);
}

@media (hover: hover) and (pointer: fine) {
  .sp-btnDanger:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);

    border: 1px solid var(--error-color);
  }
}

@media (max-width: 968px) {
  .ship-profile .sp-grid {
    grid-template-columns: 1fr;
  }

  .ship-profile .sp-card-details {
    position: static;
  }
}

@media (max-width: 468px) {
  .ship-profile .sp-label {
    font-size: 13px;
  }

  .ship-profile .sp-title {
    font-size: 13px;
  }

  .ship-profile .sp-meta {
    font-size: 11px;
  }
}

/* -----------------------------PAYED------------------------------- */

.payed_wrap {
  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.5fr 1fr;

  gap: 15px;

  align-items: start;
}

.tracking {
  position: sticky;

  align-self: start;

  top: 100px;
}

.payed_card {
  background: white;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  overflow: hidden;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  opacity: 0;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);
}

.payed_header {
  padding: 15px;

  border-bottom: 1px solid var(--gray4);

  display: flex;

  justify-content: space-between;

  gap: 10px;

  flex-wrap: wrap;
}

.payed_header h1 {
  margin: 0;

  font-size: 15px;
}

.payed_header p {
  margin: 5px 0 0;

  font-size: 12px;

  color: var(--gray2);
}

.payed_badge {
  font-size: 12px;

  color: var(--main-strong);

  border: 1px solid var(--main-strong);

  padding: 8px;

  border-radius: var(--radius-md);

  align-self: flex-start;
}

.payed_stepper {
  position: relative;

  display: flex;

  justify-content: space-between;

  direction: rtl;
}

.payed_stepper::before {
  content: "";

  position: absolute;

  top: 22px;

  left: 12px;

  right: 12px;

  height: 3px;

  background: var(--gray4);

  border-radius: var(--radius-md);
}

.payed_progressLine {
  position: absolute;

  top: 22px;

  right: 12px;

  height: 3px;

  width: 0%;

  background: var(--success-color);

  border-radius: var(--radius-md);

  transition: var(--duration);
}

.payed_step {
  flex: 1;

  text-align: center;

  z-index: 1;
}

.payed_circle {
  width: 40px;

  height: 40px;

  border-radius: 50%;

  border: 2px solid var(--gray3);

  background: #fff;

  display: grid;

  place-items: center;

  color: var(--gray3);

  margin: auto;

  transition: var(--duration);
}

.payed_circle i {
  font-size: 15px;
}

.payed_label {
  margin-top: 5px;

  font-size: 12px;

  color: var(--gray2);
}

.payed_step.done .payed_circle {
  border-color: var(--success-color);

  color: var(--success-color);

  background: white;
}

.payed_step.active .payed_circle {
  border-color: var(--success-color);

  color: var(--success-color);

  background: white;
}

.payed_step.active .payed_label {
  color: var(--gray2);
}

.payed_panel {
  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  padding: 12px;
}

.payed_panel h2 {
  font-size: 18px;

  font-weight: 900;

  color: var(--secondary-strong);

  white-space: nowrap;

  text-align: center;

  margin-bottom: 12px;
}

.payed_desc {
  font-size: 13px;

  line-height: 1.9;

  color: var(--gray3);
}

.payed_timerBox {
  margin-top: 12px;
}

.payed_timerTop {
  display: flex;

  justify-content: space-between;

  font-size: 12px;

  color: var(--gray3);
}

.payed_timerValue {
  color: var(--main-strong);

  font-variant-numeric: tabular-nums;
}

.payed_progress {
  margin-top: 8px;

  height: 8px;

  background: #fff;

  border: 1px solid var(--gray4);

  border-radius: 999px;

  overflow: hidden;
}

.payed_bar {
  height: 100%;

  width: 0%;

  background: var(--main-strong);

  transition: 0.35s;
}

.payed_kv {
  margin-top: 10px;

  display: grid;

  gap: 8px;
}

.payed_row {
  display: flex;

  justify-content: space-between;

  gap: 10px;

  padding: 10px 12px;

  border: 1px solid var(--gray4);

  border-radius: 14px;

  font-size: 12.5px;
}

.payed_row b {
  font-size: 13px;

  color: var(--gray1);
}

.payed_row span {
  font-size: 12px;

  color: var(--gray1);
}

.payed_items {
  display: grid;

  gap: 8px;
}

.payed_item {
  display: flex;

  justify-content: space-between;

  gap: 10px;

  padding: 8px;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  font-size: 12px;
}

.payed_item-title p {
  font-size: 13px;

  font-weight: bold;

  color: var(--gray1);
}

.payed_item-price {
  display: flex;

  align-items: center;
}

.payed_item-price p {
  font-size: 12px;

  font-weight: bold;

  color: var(--gray1);
}

.payed_item-main {
  display: flex;

  align-items: center;

  gap: 8px;
}

.payed_item-img {
  width: 70px;

  height: 70px;

  border-radius: var(--radius-md);

  object-fit: cover;

  background: white;

  border: 1px solid var(--gray4);

  display: block;
}

.payed_item-info {
  display: flex;

  flex-direction: column;

  gap: 2px;
}

.payed_item .payed_meta {
  color: var(--gray3);

  font-size: 12px;

  margin-top: 3px;
}

.payed-card__header {
  padding: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border-bottom: 1px solid var(--gray4);
}

.payed-card__titleRow {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.payed-card__titleRow {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.payed-card__title {
  font-size: 20px;

  font-weight: 900;

  color: var(--secondary-strong);

  white-space: nowrap;
}

.payed-card__body {
  display: grid;

  gap: 12px;

  padding: 12px;
}

.payed_item-main {
  display: flex;

  align-items: center;

  gap: 8px;
}

.payed_item-img {
  width: 70px;

  height: 70px;

  border-radius: var(--radius-md);

  object-fit: cover;

  background: white;

  border: 1px solid var(--gray4);

  display: block;
}

.payed_item-info {
  display: flex;

  flex-direction: column;

  gap: 2px;
}

@media (max-width: 968px) {
  .payed_wrap {
    grid-template-columns: 1fr;
  }

  .payed_card {
    position: static;
  }
}

/* -----------------------------LOGIN------------------------------- */

.login_container {
  width: 100%;

  max-width: 450px;

  background: white;

  border-radius: var(--radius-md);

  margin: auto;

  border: 1px solid var(--gray4);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  opacity: 0;

  transform: translateY(16px) scale(0.98);

  animation: productFadeUp 0.45s ease-out forwards;
}

@keyframes productFadeUp {
  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

.login__header {
  padding: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border-bottom: 1px solid var(--gray4);
}

.login__titleRow {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.login__title {
  font-size: 18px;

  font-weight: 900;

  color: var(--secondary-strong);

  white-space: nowrap;
}

.login_form {
  display: grid;

  padding: 12px;

  gap: 20px;
}

.login_field label {
  font-size: 0.85rem;

  margin-bottom: 6px;

  display: block;

  color: var(--gray1);

  font-weight: 800;
}

.login_input {
  width: 100%;

  padding: 12px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  font-size: 0.9rem;

  color: var(--gray1);

  background: #fff;

  transition: var(--duration);
}

.login_input::placeholder {
  font-size: 0.8rem;

  color: var(--gray2);
}

.login_input:focus {
  outline: none;

  border-color: var(--main-strong);
}

.login_btn {
  width: 100%;

  border: none;

  border-radius: var(--radius-md);

  padding: 12px;

  cursor: pointer;

  font-size: 15px;

  font-weight: 900;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  transition: var(--duration);

  user-select: none;

  -webkit-tap-highlight-color: transparent;
}

.login_btn:disabled {
  opacity: 0.5;

  cursor: not-allowed;
}

.login_btn-primary {
  background: var(--main-strong);

  color: #fff;
}

.login_btn-ghost {
  width: 100%;

  border: none;

  border-radius: var(--radius-md);

  padding: 12px;

  cursor: pointer;

  font-size: 15px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  transition: var(--duration);

  user-select: none;

  -webkit-tap-highlight-color: transparent;

  background: var(--gray5);

  color: var(--gray1);

  font-weight: 900;
}

.login_btn-link {
  background: transparent;

  color: var(--main-strong);

  width: auto;

  padding: 0px;

  font-size: 13px;

  font-weight: 900;
}

@media (hover: hover) and (pointer: fine) {
  .login_btn-ghost:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);

    transform: scale(1.02);
  }

  .login_btn:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }

  .login_btn-link:hover {
    box-shadow: none;

    text-decoration: underline;
  }
}

.login_hidden {
  display: none;
}

/* Step 2 */

.login_step2Wrap {
  padding: 12px;

  display: grid;

  gap: 10px;
}

.login_card {
  display: flex;

  flex-direction: column;

  gap: 10px;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  background: white;

  padding: 12px;
}

.login_summaryGrid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 10px;
}

.login_kv {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding: 8px;

  border-radius: var(--radius-md);

  background: white;

  border: 1px solid var(--gray4);
}

.login_kv span {
  color: var(--gray2);

  font-size: 0.7rem;

  font-weight: 900;
}

.login_kv strong {
  color: var(--gray1);

  font-size: 0.8rem;

  font-weight: 900;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  direction: ltr;
}

.login_timerRow {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  padding: 10px;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  background: white;
}

.login_timerText {
  direction: ltr;

  font-weight: 900;

  color: var(--gray1);
}

.login_timerHint {
  font-size: 0.7rem;

  color: var(--gray2);

  font-weight: 800;

  display: flex;

  gap: 6px;

  align-items: center;
}

.bottmo-login-buttons {
  display: flex;

  margin-top: 10px;

  gap: 10px;
}

.otp_wrap {
  display: grid;

  gap: 10px;
}

.otp_boxes {
  display: flex;

  gap: 20px;

  justify-content: center;

  direction: ltr;
}

.otp_box {
  width: 50px;

  height: 50px;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  text-align: center;

  font-size: 20px;

  font-weight: 900;

  outline: none;

  background: #fff;

  transition: var(--duration);
}

.otp_box:focus {
  border-color: var(--main-strong);
}

.login_hint {
  text-align: center;

  font-size: 0.75rem;

  color: var(--gray2);

  font-weight: 800;
}

@media (max-width: 468px) {
  .login_field label {
    font-size: 0.8rem;
  }

  .login_input {
    padding: 10px;
  }

  .otp_boxes {
    gap: 10px;
  }

  .otp_box {
    width: 45px;

    height: 45px;
  }
}

/* -----------------------------LOGED------------------------------- */

.loged-card {
  width: 100%;

  max-width: 700px;

  margin: auto;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  opacity: 0;

  transform: translateY(16px) scale(0.98);

  animation: productFadeUp 0.45s ease-out forwards;
}

.loged_header {
  padding: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-bottom: 1px solid var(--gray4);
}

.loged_title {
  font-size: 20px;

  font-weight: 900;

  color: var(--secondary-strong);

  white-space: nowrap;
}

.loged-body {
  padding: 12px;

  gap: 12px;

  display: flex;

  flex-direction: column;
}

.loged-boxInner {
  padding: 12px;

  display: grid;

  gap: 0px;
}

.loged-boxInner + .loged-boxInner {
  border-top: 1px dashed var(--gray4);
}

.loged-sectionTitle {
  display: flex;

  align-items: center;

  justify-content: space-between;

  font-size: 18px;

  gap: 10px;

  font-weight: 900;

  color: var(--gray0);

  margin-bottom: 10px;
}

.loged-phoneInner {
  gap: 5px;

  border-radius: var(--radius-md);
}

.loged-phoneRow {
  display: flex;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}

.loged-phoneValue {
  font-weight: 900;

  font-size: 15px;

  letter-spacing: 0.5px;

  color: var(--gray1);
}

.loged-phoneTag {
  font-size: 12px;

  padding: 5px 10px;

  border-radius: var(--radius-md);

  color: var(--main-strong);

  border: 1px solid var(--main-strong);

  white-space: nowrap;
}

.loged-phoneNote {
  font-size: 12px;

  color: var(--gray2);

  margin: 0;

  line-height: 1.9;
}

.loged-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.loged-field {
  display: grid;

  gap: 8px;
}

.loged-label {
  font-size: 0.85rem;

  margin-bottom: 6px;

  display: block;

  color: var(--gray1);

  font-weight: 800;
}

.loged-control {
  width: 100%;

  border-radius: var(--radius-md);

  font-size: 0.9rem;

  color: var(--gray1);

  background: #fff;

  display: flex;

  align-items: center;

  padding: 12px;

  border: 1px solid var(--gray4);

  transition: var(--duration);
}

.loged-control.is-picker {
  cursor: pointer;
}

.loged-control.is-picker .loged-input {
  cursor: pointer;
}

.loged-control:focus-within {
  border-color: var(--main-strong);
}

.loged-input {
  width: 100%;

  border: 0;

  outline: none;

  background: transparent;

  font-size: 14px;

  color: var(--gray0);
}

.loged-input::placeholder {
  font-size: 0.8rem;

  color: var(--gray2);
}

.loged-actions {
  width: 100%;

  display: flex;

  grid-column: 1/-1;

  justify-content: flex-end;

  margin: auto;

  gap: 10px;

  flex-wrap: wrap;

  margin-top: 5px;
}

.loged-btn {
  border: 0;

  cursor: pointer;

  font-weight: 900;

  transition: var(--duration);

  user-select: none;

  font-size: 15px;

  border-radius: var(--radius-md);

  padding: 12px;

  gap: 10px;
}

.loged-btn:active {
  transform: translateY(0);
}

.loged-btnPrimary {
  width: 100%;

  background: var(--main-strong);

  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .loged-btnPrimary:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
}

.loged-btnPrimary[disabled] {
  opacity: 0.5;

  cursor: not-allowed;

  box-shadow: none !important;
}

.loged-footer {
  display: flex;

  align-items: center;

  padding: 12px;
}

.loged-logoutLink {
  border: 0;

  background: transparent;

  cursor: pointer;

  padding: 6px 8px;

  border-radius: 10px;

  font-weight: 900;

  font-size: 12px;

  color: var(--error-color);

  transition: var(--duration);

  margin: auto;
}

@media (hover: hover) and (pointer: fine) {
  .loged-logoutLink:hover {
    background: var(--gray5);
  }
}

@media (max-width: 768px) {
  .loged-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------ORDER-GIRD------------------------------- */

.history-grid {
  display: grid;

  grid-template-columns: repeat(12, 1fr);

  gap: 20px;

  align-items: start;

  max-width: 1000px;

  margin: auto;
}

.history-order-card {
  grid-column: span 12;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  transition: var(--duration);

  overflow: hidden;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);
}

@media (hover: hover) and (pointer: fine) {
  .history-order-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

.history-order-head {
  padding: 12px;

  display: grid;

  gap: 10px;
}

.history-order-head-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  flex-wrap: wrap;
}

.history-head-status {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  padding: 6px 12px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  background: white;

  color: var(--gray1);

  font-weight: 900;

  font-size: 0.9rem;

  white-space: nowrap;

  flex: 0 0 auto;

  margin-inline-start: auto;
}

.history-head-status i {
  font-size: 15px;
}

.history-head-status.success,
.history-head-status.success i {
  color: var(--success-color);

  border-color: var(--success-color);
}

.history-head-status.pending,
.history-head-status.pending i {
  color: var(--warning-color);

  border-color: var(--warning-color);
}

.history-head-status.failed,
.history-head-status.failed i {
  color: var(--error-color);

  border-color: var(--error-color);
}

.history-restaurant {
  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 0;
}

.history-title {
  display: grid;

  gap: 5px;

  min-width: 0;
}

.history-title span {
  font-size: 1rem;

  color: var(--secondary-strong);

  font-weight: 900;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  display: inline-flex;

  gap: 5px;

  align-items: center;

  min-width: 0;
}

.history-title span i {
  font-size: 20px;

  color: var(--secondary-strong);
}

.history-order-body {
  padding: 12px;

  display: grid;

  gap: 12px;
}

.history-items {
  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  background: white;

  overflow: hidden;
}

.history-item-row {
  display: grid;

  grid-template-columns: 1fr auto auto;

  gap: 5px;

  padding: 12px;

  border-bottom: 1px dashed var(--gray4);

  align-items: center;
}

.history-item-row:last-child {
  border-bottom: none;
}

.history-food {
  display: flex;

  gap: 5px;

  align-items: center;

  min-width: 0;
}

.history-thumb {
  width: 60px;

  height: 60px;

  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  overflow: hidden;

  flex: 0 0 auto;
}

.history-thumb img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

.history-item-text {
  display: grid;

  gap: 5px;

  min-width: 0;
}

.history-item-text strong {
  font-size: 0.9rem;

  font-weight: 900;

  color: var(--gray1);

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.history-item-text small {
  font-size: 0.8rem;

  color: var(--gray2);

  display: inline-flex;

  gap: 3px;

  align-items: center;

  flex-wrap: wrap;
}

.history-discount-badge {
  color: var(--success-color);

  font-weight: 900;

  display: inline-flex;

  gap: 3px;

  align-items: center;

  font-size: 0.8rem;
}

.history-qty {
  padding: 5px 8px;

  border-radius: var(--radius-sm);

  background: var(--gray5);

  color: var(--gray2);

  font-weight: 900;

  text-align: center;

  white-space: nowrap;

  font-size: 0.8rem;

  display: inline-flex;

  align-items: center;

  gap: 1px;

  justify-content: center;
}

.history-qty i {
  margin-top: 2px;

  font-size: 10px;

  color: var(--gray2);
}

.history-price {
  font-size: 0.9rem;

  font-weight: 900;

  color: var(--gray1);

  white-space: nowrap;

  text-align: left;

  display: grid;

  gap: 4px;

  justify-items: start;
}

.history-old {
  font-size: 0.75rem;

  color: var(--gray3);

  text-decoration: line-through;

  line-height: 1.2;

  margin: auto;
}

.history-line-price {
  font-size: 0.9rem;

  font-weight: 900;

  color: var(--gray1);
}

.history-summary {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;
}

.history-summary-card {
  background: white;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  padding: 12px;

  display: grid;

  gap: 8px;
}

.history-summary-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  color: var(--gray1);

  font-weight: 900;
}

.history-summary-label {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: var(--gray2);

  font-size: 0.8rem;

  font-weight: 900;
}

.history-summary-label i {
  font-size: 15px;

  color: var(--gray2);
}

.history-summary-value {
  font-size: 0.8rem;
}

.history-summary-value--discount {
  font-size: 0.8rem;

  color: var(--secondary-strong);
}

.history-summary-row.total {
  padding-top: 10px;

  margin-top: 5px;

  border-top: 1px dashed var(--gray4);

  font-size: 1rem;
}

.history-summary-value--total {
  font-size: 1rem;

  color: var(--main-strong);

  font-weight: bold;
}

.history-empty {
  width: 100%;

  max-width: 500px;

  grid-column: span 12;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  display: grid;

  place-items: center;

  text-align: center;

  padding: 12px;

  gap: 15px;

  overflow: hidden;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  margin: auto;
}

.history-empty-art {
  display: flex;

  flex-direction: column;

  gap: 10px;

  width: 100%;

  position: relative;

  overflow: hidden;
}

.history-empty-bowl {
  width: 100px;

  height: 100px;

  margin: auto;

  border-radius: 50%;

  background: var(--main-strong);

  display: grid;

  place-items: center;

  color: white;

  position: relative;
}

.history-empty-bowl i {
  font-size: 45px;
}

.history-empty h2 {
  margin: 0;

  font-size: 1rem;

  font-weight: 900;

  color: var(--gray0);
}

.history-empty p {
  margin: 0;

  color: var(--gray2);

  font-size: 0.85rem;

  font-weight: 900;

  line-height: 1.8;

  margin: auto;
}

.history-is-template {
  display: none !important;
}

@media (max-width: 768px) {
  .history-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 568px) {
  .history-item-row {
    grid-template-columns: 1fr auto;

    padding: 6px;
  }

  .history-price {
    display: flex;

    margin: auto;

    gap: 5px;

    align-items: center;
  }
}

/* -----------------------------CONTACT-US------------------------------- */

.au-card {
  width: 100%;

  max-width: 600px;

  margin: auto;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  box-shadow: 0 5px 15px hsla(0, 0%, 0%, 0.1);

  background: #fff;

  overflow: hidden;

  opacity: 0;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;

  animation-delay: calc(var(--i) * 0.06s);
}

.au-head {
  padding: 12px;

  display: flex;

  justify-content: center;

  border-bottom: 1px solid var(--gray4);
}

.au-head-title {
  font-size: 20px;

  font-weight: 900;

  color: var(--secondary-strong);
}

.au-body {
  padding: 12px;
}

.au-desc {
  font-size: 0.9rem;

  color: var(--gray1);

  line-height: 2;

  margin-bottom: 16px;

  text-align: justify;
}

.au-features {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 6px;

  margin-bottom: 20px;
}

.au-feature {
  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  padding: 12px 6px;

  text-align: center;

  font-size: 0.75rem;

  font-weight: 900;
}

.au-feature i {
  display: block;

  margin-bottom: 6px;

  color: var(--main-strong);
}

.au-item {
  margin-top: 10px;

  font-weight: 900;

  background: #fff;
}

.au-item a,
.au-item-div {
  padding: 12px;

  transition: var(--duration);

  border-radius: var(--radius-md);

  display: flex;

  border: 1px solid var(--gray4);

  justify-content: space-between;

  gap: 1rem;

  color: inherit;

  text-decoration: none;
}

@media (hover: hover) {
  .au-item a:hover {
    transform: translateY(-2px);

    border-color: var(--main-strong);
  }
}

.au-label {
  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 0.85rem;
}

.au-label i {
  color: var(--main-strong);
}

.au-value {
  font-size: 0.75rem;

  font-weight: 900;
}

.au-actions {
  display: flex;

  gap: 8px;

  margin-top: 14px;
}

.au-btn {
  flex: 1;

  padding: 12px;

  border-radius: var(--radius-md);

  background: var(--gray5);

  color: var(--gray1);

  font-weight: 900;

  font-size: 0.8rem;

  text-align: center;

  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .au-btn:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  }
}

/* -----------------------------ABOUT-US------------------------------- */

.about-wrap {
  max-width: 900px;

  margin: auto;
}

.about-head {
  padding: 12px;

  display: flex;

  justify-content: center;

  border-bottom: 1px solid var(--gray4);
}

.about-head-title {
  font-size: 20px;

  font-weight: 900;

  color: var(--secondary-strong);
}

.about-body {
  padding: 12px;
}

.about-hero {
  border-radius: var(--radius-md);

  border: 1px solid var(--gray4);

  margin-bottom: 15px;

  overflow: hidden;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;
}

.about-lead {
  font-size: 0.9rem;

  line-height: 2;

  color: var(--gray1);

  text-align: justify;
}

.about-stats {
  margin-top: 15px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}

.about-stat {
  display: flex;

  flex-direction: column;

  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  padding: 12px;

  gap: 5px;
}

.about-stat b {
  display: block;

  text-align: center;

  font-size: 0.85rem;

  color: var(--gray0);
}

.about-stat span {
  font-size: 0.75rem;

  text-align: center;

  line-height: 2;

  color: var(--gray2);
}

.about-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 15px;
}

.about-card {
  border: 1px solid var(--gray4);

  border-radius: var(--radius-md);

  padding: 12px;

  overflow: hidden;

  transform: translateY(20px) scale(0.9);

  animation: productFadeUp 0.45s ease-out forwards;
}

.about-card-section {
  margin-bottom: 10px;
}

.about-card-title {
  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 0.9rem;

  font-weight: 900;

  color: var(--main-strong);

  margin-bottom: 10px;
}

.about-icon {
  width: 35px;

  height: 35px;

  border-radius: var(--radius-md);

  background: var(--main-tint);

  display: grid;

  place-items: center;

  color: var(--main-strong);
}

.about-text {
  font-size: 0.8rem;

  line-height: 2;

  color: var(--gray1);

  text-align: justify;
}

.about-timeline {
  position: relative;

  padding-right: 15px;
}

.about-timeline::before {
  content: "";

  position: absolute;

  right: 5px;

  top: 5px;

  bottom: 5px;

  width: 2px;

  background: var(--main-strong);

  opacity: 0.3;
}

.about-step {
  background: var(--secondary-tint);

  border-radius: var(--radius-md);

  padding: 12px;

  margin-bottom: 15px;
}

.about-step b {
  display: block;

  font-size: 0.8rem;

  color: var(--secondary-strong);

  margin-bottom: 5px;
}

.about-step span {
  font-size: 0.75rem;

  line-height: 2;

  color: var(--gray1);
}

.about-highlight {
  background: var(--secondary-tint);

  border-radius: var(--radius-md);

  padding: 12px;

  font-size: 0.8rem;

  font-weight: 900;

  line-height: 2;

  color: var(--secondary-strong);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
