body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

:root {
  --navbar-h: 60px;
  --categories-h: 60px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff5f2;
  color: #000;
  padding: 0 4px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 1100;
  box-shadow: 0 2px 6px rgb(0, 255, 162);
  border-bottom: 3px solid #00ff00;
}

.categories-header {
  color: #0b0b0b;
  position: fixed;
  top: calc(var(--navbar-h) - 10px);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--categories-h);
  padding: 0 20px;
  background: #ffffff;

  z-index: 1000;
}

.categories-header span {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.categories-header button {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

#menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1100;
}

#categoriesMenu {
  position: fixed;
  top: 50px;
  right: -470px;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 1200;
  border-radius: 0;
  padding: 20px;
  overflow-y: auto;
  transition: right 0.35s ease;
}

#categoriesMenu.active {
  right: 0;
}

#categoriesMenu .close-btn1 {
  font-size: 22px;
  cursor: pointer;
  margin-bottom: 15px;
  display: block;
  text-align: left;
  color: #444;
}

#categoriesMenu .categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#categoriesMenu .categories button {
  padding: 12px 15px;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-align: right;
  font-size: 16px;
  cursor: pointer;
}
#categoriesMenu .categories button:hover {
  background: #eee;
}

@media (max-width: 480px) {
  #categoriesMenu {
    width: 70%;
    padding: 15px;
  }
  #categoriesMenu .categories button {
    font-size: 15px;
    padding: 12px 14px;
  }
}

.products {
  margin-top: 120px;
}

.logo {
  font-size: 25px;
  font-weight: bold;
  white-space: nowrap;
  text-align: right;
  flex: 0;
}

@media (max-width: 768px) {
  .logo {
    text-align: center;
    flex: 100%;
  }
}

.nav-links {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff4747;
}

.menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000000;
  border-radius: 3px;
  transition: 0.3s;
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    transition: color 0.3s, background 0.3s;
  }

  .nav-links a:hover {
    color: #ffffff;
    background-color: #007bff;
    border-radius: 5px;
    padding-left: 10px;
  }
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    background: #ffffff;
    flex-direction: column;
    width: 200px;
    height: 100vh;
    padding: 20px;
    transition: 0.3s;
    justify-content: flex-start;
    gap: 10px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-btn {
    display: flex;
    z-index: 99999;
  }
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: repeat(2, minmax(162px, 1fr));
    gap: 12px;
    padding: 15px;
  }
}
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, minmax(162px, 1fr));
    gap: 12px;
    padding: 15px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1201px) {
  .products {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: scale(1.05);
}
@media (hover: none) {
  .card:hover {
    transform: none !important;
  }
}
@media (max-width: 768px) and (max-width: 600px) {
  .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 5px;
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}
.card h3 {
  margin: 10px 0 5px;
  font-size: 16px;
}
.card p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}
.card {
  overflow: hidden;
}

.card img {
  object-fit: cover;
  transition: transform 0.9s ease;
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover img {
    transform: scale(1.02);
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.popup-content {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: "Cairo", sans-serif;
}
.popup-content button {
  background: linear-gradient(90deg, #2980b9, #3498db);
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.popup-content button:hover {
  background: linear-gradient(90deg, #3498db, #2980b9);
}

.popup img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .popup img {
    max-height: 200px;
  }
}
.popup img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.loading {
  display: none;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.site-footer {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 20px 10px;
  box-sizing: border-box;
}

:root {
  --ft-bg: #122539;
  --ft-muted: #1b263b;
  --ft-text: #f8f9fa;
  --ft-sub: #aebacb;
  --ft-accent: #ffd60a;
  --ft-border: #415a77;
  --ft-link: #ffd60a;
  --ft-link-hover: #ff4d4d;
}

.site-footer {
  background: var(--ft-bg);
  color: var(--ft-text);
  padding: 20px 10px;
  border-top: 1px solid var(--ft-border);
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  width: 100%;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ft-accent);
}

.site-footer__top {
  max-width: 1200px;
  margin: 0 auto 28px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
}

.site-footer__brand .site-footer__logo {
  display: inline-block;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--ft-accent), #9aaeff);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffffff;
}

.site-footer__desc {
  color: var(--ft-sub);
  margin: 10px 0 16px;
  line-height: 1.8;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--ft-muted);
  border: 1px solid var(--ft-border);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  margin-inline-end: 8px;
}
.site-footer__social a:hover {
  transform: translateY(-2px);
  border-color: var(--ft-accent);
}
.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer__links h3,
.site-footer__contact h3,
.site-footer__newsletter h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--ft-text);
}

.site-footer__links ul,
.site-footer__contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li,
.site-footer__contact li {
  margin: 10px 0;
  color: var(--ft-sub);
}

.site-footer__newsletter p {
  color: var(--ft-sub);
  margin: 6px 0 12px;
}

.site-footer__form {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--ft-muted);
  border: 1px solid var(--ft-border);
  padding: 8px;
  border-radius: 14px;
}
.site-footer__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ft-text);
  padding: 10px 8px;
  font-family: inherit;
}
.site-footer__form input::placeholder {
  color: #7f86a6;
}
.site-footer__form button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--ft-accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.site-footer__form button:hover {
  filter: brightness(1.05);
}

.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px dashed var(--ft-border);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-footer__bottom p {
  margin: 0;
  color: var(--ft-sub);
}

.site-footer__legal {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.site-footer__legal a {
  color: var(--ft-sub);
}
.site-footer__legal a:hover {
  color: var(--ft-accent);
}

@media (max-width: 992px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 40px 16px 16px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
  }

  .site-footer__top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    align-items: center;
  }

  .site-footer__top > div {
    width: 100%;
  }

  .site-footer__social {
    display: flex;
    justify-content: center;
  }

  .site-footer__bottom {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 8px;
  }
}

.cart-icon {
  font-size: 22px;
  text-decoration: none;
  color: #000;
  position: absolute;
  top: 12px;
}

.cart-icon span {
  background: red;
  color: white;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  margin-right: 4px;
}

@media (min-width: 769px) {
  .cart-icon {
    left: 20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .cart-icon {
    right: 20px;
    left: auto;
  }
}

.notification-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #27ae60;
  color: #fff;
  padding: 14px 25px;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  font-weight: bold;
  z-index: 999999;
  text-align: center;
  min-width: 250px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.notification-bar .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #fff;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 7s linear;
}
.related-products {
  margin-top: 20px;
}

.related-products h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.related-item {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.related-item img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 5px;
}

.related-item:hover {
  transform: scale(1.05);
  border-color: #ddd;
}
.bottom-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  z-index: 9999;
}

.bottom-navbar .nav-item {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  text-align: center;
  flex: 1;
  position: relative;
}

.bottom-navbar .nav-item i {
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}

.bottom-navbar .nav-item .cart-badge {
  position: absolute;
  top: 2px;
  right: 25%;
  background: #002244;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}
@media (min-width: 768px) {
  .bottom-navbar {
    display: none;
  }
}
.back-btn {
  padding: 10px 20px;
  background: #f57c00;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.back-btn:hover {
  background: #ff914d;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link h3 {
  text-decoration: none;
  color: #333;
}
.section-title {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  color: #333;
}
.gift-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #a60000;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.gift-btn img {
  width: 35px;
  height: 35px;
  transition: transform 0.6s ease;
}

.gift-btn:hover img {
  transform: rotate(360deg);
}

@media (max-width: 767px) {
  .gift-btn {
    bottom: 70px;
  }
}

.features {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.feature {
  text-align: center;
  max-width: 800px;
}

.feature img {
  width: 700px;
  height: 700px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .features {
    margin-bottom: 50px;
  }
}
.card button {
  padding: 8px 15px;
  border: none;
  background: #ff6f91;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-page {
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
  flex: 1;
}
.features img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.popup-details {
  overflow-y: auto;
}
.related-item:hover img {
  transform: scale(1.05);
}
.price {
  font-size: 20px;
  font-weight: bold;
  color: #27ae60;
  margin: 10px 0;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
}

.quantity-control button {
  padding: 8px 15px;
  font-size: 18px;
  cursor: pointer;
}

.add-btn {
  position: relative;
  background: #4a6cf7 !important;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;

  margin-top: -11px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.add-btn:hover {
  background: #3a57d6 !important;
}

@media (max-width: 768px) {
  .popup-grid {
    grid-template-columns: 1fr;
  }
  .popup-details {
    margin-top: 15px;
  }
}

.related-products {
  margin-top: 30px;
}

.related-products h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.related-item {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.related-item:hover {
  transform: scale(1.05);
}

.related-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .related-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .related-item img {
    height: 120px;
  }
  .related-item {
    border: 1px solid #ddd;
    padding: 5px;

    border-radius: 20zpx;
  }

  .related-item:hover {
    transform: none;
  }
}

.share-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 8px;
  text-align: right;
}

.share-title {
  font-size: 13px;
  margin-bottom: 4px;
  color: #555;
  font-weight: bold;
}

.share-icons {
  display: flex;
  gap: 8px;
}

.share-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.share-icons a:hover img {
  transform: scale(1.2);
}
.site-footer__brand,
.site-footer__top,
.site-footer__bottom {
  margin-right: auto;
  margin-left: auto;
}
.add-to-cart-btn {
  position: relative;
  background-color: #4a6cf7 !important;
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #3a57d6 !important;
  color: rgb(255, 255, 255);
}
@media (max-width: 768px) {
  .add-to-cart-btn {
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 5px;
  }
}
.quantity-box {
  display: inline-flex;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  font-family: sans-serif;
}

.box-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s;
}

.box-number {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  font-size: 18px;
}
.fav-text {
  text-align: right;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
  margin-top: 10px;
}
.fav-text:hover {
  color: #ff4d4d;
}
.fav-text.active {
  color: #ff4d4d;
  font-weight: bold;
}
#popupImageMain {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
}
.popup-image {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

#popupThumbnails {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 5px 0 !important;
  max-width: 90% !important;
  margin: 0 !important;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 18px;
  color: #333;
}
.card {
  position: relative;
  overflow: hidden;
}

.discount-ribbon {
  position: absolute;
  top: 10px;
  right: -40px;
  background: #e60023;
  color: #fff;
  padding: 6px 50px;
  font-size: 14px;
  font-weight: bold;
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.9s ease;
  z-index: 5;
}
.card:hover .discount-ribbon {
  transform: rotate(45deg) scale(1.05);
}
.popup-img-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.popup-img-box .discount-ribbon {
  position: absolute;
  top: 10px;
  right: -40px;
  background: #e60023;
  color: #fff;
  padding: 6px 50px;
  font-size: 16px;
  font-weight: bold;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 5;
  transition: transform 0.3s ease;
}
.top-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px; /* مسافة قبل الخط */
  border-bottom: 5px solid #7ec8ff; /* خط أزرق فاتح وعريض */
  margin-bottom: 14px; /* مسافة بعد الخط */
}

.m1 {
  font-size: 18px;
}

.close-btn1 {
  cursor: pointer;
  font-size: 20px;
  opacity: 0.7;
  transition: 0.2s;
}

.close-btn1:hover {
  opacity: 1;
}

.popup-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: none;
}

.popup-arrow.left {
  right: 10px;
}

.popup-arrow.right {
 
   left: 10px;
}
