/* ==========================================
   CSS VARIABLES (ROOT)
   ========================================== */
:root {
  /* Colors */
  --primary-gradient: linear-gradient(to left, #022db3, #00d5ff);
  --bg-light: #ffffff;
  --bg-gray: #f5f5f5;
  --bg-blue: #e3f2fd;
  --accent-blue: #1976d2;
  --text-dark: #0d47a1;
  --text-gray: #2c3e50;
  --white: #fff;
  --border-blue: #bbdefb;
  --shadow-blue: rgba(25, 118, 210, 0.15);
  --error-red: #e74c3c;
  --success-green: #09af00;
  --warning-yellow: #facc15;

  /* Typography */
  --font-family: "Vazir";
  --tiny: 0.7rem;

  /* Z-Index */
  --z-modal: 9999999999;
  --z-nav: 1000;
  --z-overlay: 10;
  --z-cart: 100;
}

/* ==========================================
   FONT FACE
   ========================================== */
@font-face {
  font-family: "Vazir";
  src: url("/assets/fonts/Vazir.eot");
  src: local("/assets/fonts/Vazir"),
    url("/assets/fonts/Vazir.woff") format("woff"),
    url("/assets/fonts/Vazir.ttf") format("truetype");
}

/* ==========================================
   GLOBAL RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family) !important;
  background-color: var(--bg-light) !important;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #e7e7e7;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: linear-gradient(0deg, #919191 0%, #919191 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(0deg, #747474 0%, #747474 100%);
}

::selection {
  background: #00a9eb;
  color: #ffffff;
}

/* ==========================================
   MODAL SYSTEM
   ========================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal) !important;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal.closing {
  opacity: 0;
}

.modal-content {
  background: white;
  border-radius: 1.6rem !important;
  padding: 0.5rem;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal.closing .modal-content {
  transform: scale(0.8);
  opacity: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  font-size: 1.45rem;
  color: var(--accent-blue);
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #999;
  cursor: pointer;
}

.close-modal:hover {
  color: #6e6e6e;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
}

.modal-body p {
  margin-bottom: 1rem;
}

@media (min-width: 1149px) {
  .modal-content {
    width: 70% !important;
  }
}

/* ==========================================
   NAVIGATION - DESKTOP
   ========================================== */
#nav-bar {
  .alert {
  margin-bottom: 0px !important;
  border-radius: 0px !important;
  position: static;
  }
  position: sticky;
  top: 0;
  z-index: var(--z-overlay);
  transition: top 0.3s;
}

.navbar {
  background: var(--primary-gradient);
  padding: 0 !important;
  user-select: none;
}

.navbar-brand img {
  height: 5rem;
  padding-left: 3rem;
}

.navbar-nav {
  margin-left: 3rem;
}

.navbar-nav li {
  padding: 0 1rem;
}

.navbar-nav .nav-item .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  float: right;
  text-align: right;
}

.navbar-nav .nav-item .nav-link:hover {
  color: #92f7ff !important;
}

.navbar-toggler {
  outline: none !important;
  margin-right: 20px;
}

.fa-bars {
  color: var(--white) !important;
  font-size: 25px !important;
}

.hide_element {
  color: var(--white) !important;
  user-select: none !important;
  visibility: hidden;
}

/* Dropdown Desktop */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-1rem) scale(0.1);
  background-color: var(--bg-light);
  min-width: 160px;
  padding: 0.9rem 2rem;
  border-radius: 2.2rem;
  box-shadow: 0 10px 32px var(--shadow-blue);
  border: 1.5px solid var(--border-blue);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: all 0.5s cubic-bezier(0.5, 1.8, 0.4, 0.8);
}

.dropdown:hover .dropdown-content {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.dropdown-content a {
  color: #333;
  padding: 9px 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  border-radius: 1.8rem;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--border-blue);
  color: #333;
}

@media (max-width: 1149px) {
  .navbar {
    display: none !important;
  }

  .dropdown {
    display: none;
  }
}

/* ==========================================
   NAVIGATION - MOBILE (BOTTOM NAV)
   ========================================== */
.nav {
  display: none;
}

@media (max-width: 1149px) {
  .nav {
    display: flex;
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(22px);
    background: var(--bg-blue);
    height: 70px;
    width: 92%;
    max-width: 440px;
    border-radius: 2.2rem;
    box-shadow: 0 10px 32px var(--shadow-blue);
    z-index: var(--z-nav);
    align-items: center;
    padding: 0 1rem;
    border: 1.5px solid var(--border-blue);
    overflow: visible;

    opacity: 0;
    animation: fadeUp 0.45s ease-out forwards;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  height: 100%;
  position: relative;
}

.nav__item {
  color: var(--text-dark);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav__item:hover {
  transform: translateY(-3px);
}

.nav__item i {
  font-size: 1.45rem;
  margin-bottom: 5px;
  color: var(--accent-blue);
}

.nav__item span {
  font-size: var(--tiny);
  font-weight: 600;
  color: var(--text-dark);
}

/* Cart Button Mobile */
.cart-wrapper {
  grid-column: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-top: -18px;
}

.cart-button {
  width: 75px;
  height: 75px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(25, 118, 210, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 4px solid var(--bg-blue);
  position: relative;
  overflow: visible;
}

.cart-button:hover {
  transform: translateY(-7px) scale(1.08);
  box-shadow: 0 16px 36px rgba(25, 118, 210, 0.25);
}

.cart-button i {
  font-size: 1.75rem;
  color: var(--accent-blue);
  margin-bottom: 2px;
}

.cart-button span.text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ff3b30;
  color: white;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: pulse 2s infinite;
  z-index: 11;
  pointer-events: none;
}

/* Language Expand Mobile */
.lang-expand {
  position: relative;
}

.lang-expand-list {
  position: absolute;
  bottom: 5.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(5rem) scale(0.1);
  background: var(--bg-blue);
  padding: 0.9rem 2rem;
  border-radius: 2.2rem;
  box-shadow: 0 10px 32px var(--shadow-blue);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: -1;
  opacity: 0;
  border: 1.5px solid var(--border-blue);
  transition: all 0.5s cubic-bezier(0.5, 1.8, 0.4, 0.8);
}

.lang-expand-list.show {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
}

.lang-expand-list a {
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 1.8rem;
}

.lang-expand-list a:hover {
  background: var(--border-blue);
}

.lang-expand-list img {
  width: 22px;
  border-radius: 4px;
}

@media (min-width: 1149px) {
  .nav {
    display: none !important;
  }
}

/* Overlay cart clear */
.overlay {
  position: fixed;
  background: #000000e3;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  overflow: hidden;
}

.overlay-content {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 15vh 0;
}

.overlay-content p {
  margin-top: 0;
  margin-bottom: 0px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
  z-index: var(--z-overlay);
}

@media only screen and (max-height: 600px) {
  .overlay-content {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
  }
}

@media only screen and (max-height: 400px) {
  .overlay a {
    padding: 5px;
    font-size: 20px;
  }
}

/* ==========================================
   BANNER SECTION
   ========================================== */
.banner {
  background: var(--primary-gradient);
  color: var(--white);
  padding-top: 5%;
}

.promo-title {
  max-width: 550px;
  min-width: 345px;
  font-size: 30px;
  font-weight: 700;
  margin-top: 1em;
}

.join-title {
  font-size: 1.44rem;
}

.play-btn {
  width: 35px;
  margin: 20px 0;
  margin-left: 1em;
  text-decoration: none !important;
  transition: transform 1.2s;
}

.play-btn:hover {
  color: #444;
  text-decoration: none !important;
  transform: scale(1.2);
}

.banner a {
  color: var(--white);
  text-decoration: none !important;
}

.img-fluid {
  margin: auto;
  border-radius: 1rem;
}

@media (max-width: 1149px) {
  .banner {
    padding-top: 35px;
  }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
  padding: 5px;
}

.services h4 {
  padding: 1em;
}

.service-img {
  margin-top: 2rem;
}

.services .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-blue);
  margin: 10px 0;
}

@media (max-width: 576px) {
  .services {
    flex: 0 0 100%;
    gap: 15px;
  }
}

.product-card-enhanced {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  flex-direction: column;
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image-container a {
  display: block;
  position: relative;
}

.product-content-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title-enhanced {
  font-size: 18px !important;
  font-weight: 600 !important;
  /* margin: 0 0 16px 0 !important; */
  line-height: 1.5 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
  color: var(--text-gray);
}

.product-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: row-reverse;
}

.price-available {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  direction: rtl;
}

.stock-badge {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  align-items: center;
  user-select: none;
}

.stock-supply {
  background: #bbdefb;
  color: #1976d2;
}

.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1976d2;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-add-to-cart:active {
  transform: translateY(0);
}

.btn-add-to-cart svg {
  flex-shrink: 0;
}

.empty-text-message {
  text-align: center;
  color: red;
}

/* Tablet */
@media (max-width: 991px) {
  .product-footer-info {
    flex-direction: row-reverse;
    gap: 12px;
  }

  .price-available {
    font-size: 17px;
    order: 1;
  }

  .btn-add-to-cart {
    /* width: 100%; */
    justify-content: center;
    order: 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .product-card-enhanced {
    margin-bottom: 20px;
  }

  .product-content-info {
    padding: 16px;
  }

  .product-footer-info {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: space-between;
  }

  .price-available {
    font-size: 16px;
    order: 1;
  }

  .stock-badge {
    font-size: 13px;
    padding: 10px 16px;
    width: 100%;
    justify-content: center;
    order: 2;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .price-available {
    font-size: 15px;
  }

  .btn-add-to-cart {
    font-size: 12px;
    padding: 9px 14px;
  }

  .btn-add-to-cart svg {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================
   TITLE STYLING
   ========================================== */
.title {
  text-align: center !important;
  font-size: 2em;
  padding-top: 1.2%;
}

.title::after {
  content: "";
  background: var(--primary-gradient);
  height: 8px;
  width: 50px;
  margin-bottom: 2.1%;
  margin-right: auto;
  margin-left: auto;
  display: block;
  border-radius: 70px;
  transform: translateY(23px);
}

/* ==========================================
   BUY SECTION
   ========================================== */
#buy {
  background-color: var(--bg-light);
  padding-top: 3rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
#about {
  padding: 60px 0;
  background: var(--bg-light);
  direction: rtl;
}

#about .row {
  align-items: center;
}

#about ul {
  text-align: justify;
  line-height: 1.8;
  padding-right: 20px;
}

#about ul li {
  margin-bottom: 15px;
}

#about img {
  width: 100%;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.about-title {
  font-size: 1.6em;
  margin-top: 8%;
  font-weight: 600;
}

@media (max-width: 767px) {
  #about .col-md-6 {
    margin-bottom: 15px;
  }

  #about .about {
    padding: 0 30px;
  }

  #about ul {
    padding-right: 20px;
  }
}

/* ==========================================
   TIZER SECTION
   ========================================== */
#tizer {
  background-color: var(--bg-gray);
  padding: 15px 0 20px 0;
  direction: rtl;
}

.player-container {
  width: 100%;
  max-width: 990px;
  margin: 30px auto 30px auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.player-container video {
  width: 100%;
  height: auto;
  display: block;
}

video {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.tizer-description {
  line-height: 1.8;
}

.tizer-description p {
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  .tizer-description {
    padding: 20px 10%;
  }
}

@media (max-width: 767px) {
  #tizer {
    padding: 5px 0 5px 0;
  }

  .player-container {
    margin-bottom: 20px;
  }

  .tizer-description {
    padding: 15px 5%;
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .tizer-description {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
#FAQ {
  background-color: var(--bg-light);
  padding: 10px 0 20px 0;
  margin: 0 auto;
  user-select: none;
}

.accordion {
  max-width: 85%;
  margin: 10px auto 10px;
}

.accordion li {
  border-bottom: 1px solid var(--accent-blue);
  position: relative;
}

.accordion li p {
  display: none;
  text-align: justify;
  padding: 1px 25px 20px;
  color: #000000;
}

.accordion a {
  width: 100%;
  display: block;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-indent: 15px;
  user-select: none;
  text-align: center;
  line-height: 3.5;
}

.accordion a:after {
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--accent-blue);
  border-bottom: 1px solid var(--accent-blue);
  position: absolute;
  right: 0.1%;
  content: " ";
  top: 19px;
  transform: rotate(-45deg);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.accordion p {
  font-size: 13px;
  line-height: 2;
  padding: 10px;
}

a.active:after {
  transform: rotate(135deg);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

/* ==========================================
   CONTACT US SECTION
   ========================================== */
#contact-us {
  background-color: var(--bg-gray);
  padding: 60px 0;
  direction: rtl;
}

.cantact {
  width: 990px;
  max-width: 85%;
  margin: 0 auto;
}

#contactform {
  margin-top: 30px;
}

input,
textarea {
  outline: none;
  border: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999999;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999999;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999999;
}

.wrap-input1 {
  position: relative;
  width: 100%;
  z-index: 1;
  margin-bottom: 20px;
}

input.input1 {
  height: 50px;
  border-radius: 25px;
  padding: 0 30px;
  padding-right: 3rem;
}

textarea.input1 {
  min-height: 150px;
  border-radius: 25px 25px 25px 0px;
  padding: 12px 30px;
  padding-right: 3rem;
}

.input1 {
  display: block;
  width: 100%;
  background: #e6e6e6;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.5;
  color: #666666;
  border: 2px solid transparent;
  transition: border-color 0.5s, box-shadow 1s;
}

.input1:focus {
  background-color: #f5f5f5;
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.user-label {
  position: absolute;
  right: 45px;
  top: 15px;
  color: #4a4a4a;
  pointer-events: none;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  background-color: transparent;
  padding: 0;
}

textarea.input1 ~ .user-label {
  top: 15px;
}

.input1:focus ~ .user-label,
.input1:valid ~ .user-label {
  transform: translateY(-27px) scale(0.8);
  background-color: #f5f5f5;
  border-radius: 5px;
  font-weight: 800;
  padding: 0 0.2em;
  color: var(--accent-blue);
}

.icon {
  position: absolute;
  right: 1rem;
  fill: none;
  width: 1.2rem;
  height: 1.2rem;
  stroke: 4a4a4a;
  pointer-events: none;
  transition: 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

textarea.input1 ~ .icon {
  top: 1.2rem;
  transform: translateY(0);
}

.input1:focus ~ .icon {
  stroke: var(--accent-blue);
}

.recaptcha-container {
  text-align: center;
  margin-top: 25px;
}

.recaptcha-note {
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
  font-family: var(--font-family);
}

.g-recaptcha {
  display: inline-block;
  margin-bottom: 20px;
}

#submit {
  border: 2px solid #00000024;
  color: var(--white);
  min-width: 193px;
  height: 45px;
  border-radius: 25px;
  background: var(--success-green);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px;
  margin: 0 auto;
  transition: all 0.4s;
}

#submit:hover {
  background-color: var(--accent-blue);
  cursor: wait;
}

#success {
  margin-top: 20px;
  text-align: center;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

input[type="submit"],
input[type="button"],
input.submit {
  outline: none !important;
  border: none;
  background: transparent;
}

input[type="submit"]:hover,
input[type="button"]:hover,
input.submit:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}

@media (max-width: 767px) {
  #contact-us {
    padding: 40px 0;
  }

  .cantact {
    max-width: 90%;
  }

  .recaptcha-note {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .cantact {
    max-width: 95%;
  }

  input.input1,
  textarea.input1 {
    font-size: 14px;
  }
}

/* ==========================================
   CART SYSTEM - DESKTOP ICON
   ========================================== */
.cart-icon {
  position: fixed;
  bottom: 52px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2a27da 0%, #00ccff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgb(0 95 255 / 66%);
  z-index: var(--z-cart);
  transition: transform 0.3s;
}

.cart-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 1149px) {
  .cart-icon {
    display: none !important;
  }
}

/* ==========================================
   CART TABLE & CHECKOUT
   ========================================== */
.mbt {
  padding: 8px;
  line-height: 1.428571429;
  vertical-align: top;
  border-top: 1px solid #ddd;
  color: black;
}

.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  table-layout: fixed;
  position: relative;
}

.cart-table th,
.cart-table td {
  padding: 12px 10px;
  text-align: right;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.cart-table th {
  background-color: var(--bg-gray);
  font-weight: 600;
  color: var(--text-gray);
  padding: 15px 10px;
  text-align: center !important;
}

.cart-table td {
  background-color: var(--bg-light);
  text-align: center;
}

.cart-table thead th:first-child {
  border-top-right-radius: 8px;
}

.cart-table thead th:last-child {
  border-top-left-radius: 8px;
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cart-table tbody {
  position: relative;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 5px;
  border-radius: 10px;
  width: fit-content;
}

.quantity-input {
  width: 60px;
  padding: 8px;
  border: none;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
}

.quantity-btn-minus {
  background-color: #ff6b6b;
  color: var(--white);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn-minus:hover {
  background-color: #d75b5b;
}

.quantity-btn {
  background-color: #3498db;
  color: var(--white);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: #2980b9;
}

.quantity-btn:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

.cart-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-gray);
  padding: 20px;
  text-align: left;
  background: #f8f9fa;
  border-radius: 15px;
  margin-top: 20px;
}

.cart-noitem-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 30px;
  font-size: 1.1rem;
  height: 100%;
}

.post-amount {
  background-color: #fffbe6;
  border: 2px solid var(--warning-yellow);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.checkout-amount {
  display: flex;
  font-size: 1.2rem;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-total-amount {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 15px;
  background: var(--bg-blue);
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

/* Remove Overlay Animation */
.remove-overlay {
  background: #e5e5e5ed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease;
  z-index: 5;
  pointer-events: auto;
}

.remove-overlay.show {
  opacity: 1;
  transform: translateY(0);
}

.remove-overlay.hide {
  opacity: 0;
  transform: scale(0.95);
}

.undo-text {
  color: var(--text-gray);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 8px;
}

.undo-text i {
  font-size: 1.1rem;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--text-gray) !important;
  width: 0%;
  border-radius: 0 0 6px 6px;
}

/* ==========================================
   CHECKOUT FORM
   ========================================== */
.checkout-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-gray);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #34495e;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
  padding: 14px 18px !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: #3498db !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2) !important;
}

.checkout-button {
  background-color: var(--success-green);
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: background-color 0.2s;
}

.checkout-button:hover {
  background-color: #2ecc71;
}

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  background: var(--primary-gradient);
  color: var(--white);
  user-select: none;
  padding: 40px 0 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-box {
  padding: 20px;
}

.footer-box img.logo {
  width: 4.5rem;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-box p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-box #contact {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-box a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-box a:hover {
  opacity: 0.8;
}

.footer-box .email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-box .email-link i {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
}

#social {
  margin-top: 20px;
}

#social > p {
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.social-icon:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.25);
}

.social-icon i {
  font-size: 20px;
  color: var(--white);
}

.social-icons a {
  text-decoration: none;
}

.svg-icons {
  margin-left: 0.5rem;
}

.svg-icons img {
  width: 32px;
  height: 32px;
}

/* E-namad Section */
.enemad {
  padding: 20px;
  text-align: center;
  margin-top: 0.5%;
  margin-bottom: 2%;
}

.enemad b {
  display: block;
  font-size: 16px;
  margin-bottom: 20px;
}

.enemad-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.enemad-badge {
  display: inline-block;
  background-color: white;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.3s ease;
  margin: 5px;
}

.enemad-badge:hover {
  transform: scale(1.05);
}

.enemad-badge img {
  cursor: pointer;
  display: block;
  width: 110px;
  height: 110px;
}

/* Footer Bottom */
.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 20px 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

.copyright {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.copyright a {
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s ease;
}

.copyright a:hover {
  text-decoration: none;
  color: #1723b1;
}

.footer-info {
  display: flex;
  gap: 20px;
  font-size: 14px;
  margin-top: 15px;
  justify-content: center;
  align-content: flex-end;
}

.footer-info a {
  color: var(--white);
  text-decoration: none;
}

.footer-info .fa-spin {
  animation: fa-spin 2s infinite linear;
}

@media (max-width: 1149px) {
  #footer {
    padding-bottom: 95px;
  }
}

@media (max-width: 770px) {
  .footer-info {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  #footer {
    padding: 30px 0 100px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-box {
    text-align: center;
    padding: 15px;
  }

  .footer-box img.logo {
    margin: 0 auto 20px;
  }

  .footer-box .email-link {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .enemad-container {
    gap: 10px;
  }

  .enemad-badge {
    margin: 5px;
  }

  .enemad-badge img {
    width: 100px;
    height: 100px;
  }
}

@media only screen and (max-width: 399px) {
  .copyright {
    font-size: 9px;
  }

  .footer-info {
    font-size: 10px;
    gap: 10px;
  }
}

/* ==========================================
   WAVES ANIMATION
   ========================================== */
.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -3%;
  min-height: 100px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }
}

/* ==========================================
   SNACKBAR NOTIFICATION
   ========================================== */
#snackbar {
  min-width: 250px;
  background-color: #ffffff;
  color: #ff3b30;
  border: solid 2px #ff3b30;
  display: flex;
  user-select: none;
  border-radius: 15px;
  padding: 16px;
  position: fixed;
  z-index: 9999999999;
  left: 50%;
  bottom: 8%;
  font-size: 17px;
  font-weight: 600;
  transform: translateX(-50%);
  visibility: hidden;
  justify-content: space-evenly;
  align-items: center;
}

#snackbar i {
  font-size: 30px;
}

#snackbar.show {
  visibility: visible;
  animation: fadeInOutGlow 3s ease forwards;
}

@media (max-width: 1149px) {
  #snackbar {
    bottom: 120px !important;
    font-size: 14px;
  }
  #snackbar i {
    font-size: 25px;
  }
}

/* ==========================================
   TRACK ORDER BUTTON
   ========================================== */
.btn-track-custom {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(238, 90, 36, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.truck-animate {
  font-size: 1.5rem;
  animation: truck-move 1.8s ease-in-out infinite;
}

.btn-track-custom:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 25px rgba(238, 90, 36, 0.4) !important;
  background: linear-gradient(135deg, #ee5a24, #ff6b6b) !important;
  color: var(--white) !important;
}

.btn-track-custom:hover .btn-track-text {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
}

.btn-track-custom:hover .truck-animate {
  animation-duration: 0.8s;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

.btn-track-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s;
}

.btn-track-custom:hover::before {
  left: 100%;
}

/* ==========================================
   RESPONSIVE - TABLET & MOBILE
   ========================================== */
@media (max-width: 992px) {
  .cart-table th,
  .cart-table td {
    padding: 10px;
    font-size: 0.9rem;
  }

  .checkout-amount {
    font-size: 1.1rem;
    gap: 6px;
  }

  .cart-total-amount {
    font-size: 1.3rem;
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .cart-table {
    display: block;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody {
    display: block;
  }

  .cart-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    align-items: center;
  }

  .cart-table td {
    padding: 8px 0;
    border: none;
    text-align: center;
  }

  .cart-table td:nth-child(1) {
    flex: 0 0 auto;
  }

  .cart-table td:nth-child(1) .cart-item-image {
    width: 100%;
    max-width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
  }

  .cart-table td:nth-child(2) {
    font-weight: 600;
    font-size: 1rem;
  }

  .cart-table td:nth-child(3) {
    color: #2980b9;
  }

  .cart-table td:nth-child(4) .quantity-control {
    justify-content: center;
  }

  .cart-table td:nth-child(5) .remove-item {
    display: block;
    margin: 0 auto;
  }

  .cart-total {
    text-align: center;
    font-size: 1.1rem;
  }

  .form-group {
    min-width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .checkout-button {
    padding: 10px;
    font-size: 0.95rem;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-close {
    font-size: 1.2rem;
  }

  .checkout-amount {
    font-size: 1rem;
    align-items: flex-start;
  }

  .cart-total-amount {
    font-size: 1.2rem;
    padding: 10px 14px;
  }
}

@media (max-width: 576px) {
  .header h1 {
    font-size: 1.5rem;
  }

  .header p {
    font-size: 0.9rem;
  }

  .cart-icon {
    font-size: 1.2rem;
    bottom: 20px;
    left: 20px;
  }

  .modal-content {
    width: 95%;
    margin: 2vh auto;
  }

  .cart-table td {
    font-size: 0.85rem;
  }

  .cart-table td:nth-child(1) .cart-item-image {
    width: 100%;
    max-width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
  }

  .payment-icon {
    font-size: 2.5rem;
  }

  .payment-message {
    font-size: 0.9rem;
  }

  .payment-id {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .cart-total-amount {
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 8px;
  }
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 80px 30px;
    opacity: 0;
  }
}

@keyframes fadeInOutGlow {
  0%,
  100% {
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 0, 0, 0);
  }
  25% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
  }
  75% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  }
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@keyframes truck-move {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(-6px) rotate(-8deg);
  }
}

.loader {
  --dim: 3rem;
  width: var(--dim);
  height: var(--dim);
  position: relative;
  margin-bottom: 3.5rem;
  animation: spin988 2s linear infinite;
}

.loader .circle {
  --color: #357bff;
  --dim: 1.2rem;
  width: var(--dim);
  height: var(--dim);
  background-color: var(--color);
  border-radius: 50%;
  position: absolute;
}

.loader .circle:nth-child(1) {
  top: 0;
  left: 0;
}

.loader .circle:nth-child(2) {
  top: 0;
  right: 0;
}

.loader .circle:nth-child(3) {
  bottom: 0;
  left: 0;
}

.loader .circle:nth-child(4) {
  bottom: 0;
  right: 0;
  --color: #26c491;
}

@keyframes spin988 {
  0% {
    transform: scale(1) rotate(0);
  }

  20%,
  25% {
    transform: scale(1.3) rotate(90deg);
  }

  45%,
  50% {
    transform: scale(1) rotate(180deg);
  }

  70%,
  75% {
    transform: scale(1.3) rotate(270deg);
  }

  95%,
  100% {
    transform: scale(1) rotate(360deg);
  }
}
