@charset "UTF-8";
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FAF0E6;
  color: #2C1810 !important;
  line-height: 1.6;
  /* تحسين أداء التمرير */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* تحسين أداء الصور */
img {
  /* تحسين عرض الصور */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* منع layout shift */
  height: auto;
  max-width: 100%;
}

/* تحسين الصور في البطاقات */
.card img,
.hero-img,
.img-thumbnail {
  /* ضغط GPU للصور */
  transform: translateZ(0);
  will-change: transform;
  /* تحسين الانتقالات */
  transition: transform 0.3s ease;
}

/* تحسين الكاروسيل */
.carousel-inner {
  /* تحسين الرسوم المتحركة */
  transform: translateZ(0);
  will-change: transform;
}

.carousel-item {
  /* منع تأخير الصور */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #D4AF37;
}

/* Shipping Options Styles */
.shipping-options {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.shipping-options .form-check {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.shipping-options .form-check:last-child {
  margin-bottom: 0;
}

.shipping-options .form-check-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
  padding-left: 10px;
}

.shipping-options .shipping-location {
  font-size: 16px;
  color: #333;
}

/* تحسين الـ radio buttons */
a {
  color: #D4AF37;
  text-decoration: none;
}
a:hover {
  color: rgb(177.7777777778, 144.8888888889, 38.2222222222);
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(222, 184, 135, 0.5) !important;
  transition: box-shadow 0.2s ease-in-out !important;
  border-color: rgba(222, 184, 135, 0.8) !important;
}

header {
  background-color: #2C1810 !important;
  color: #FFFFFF;
  padding: 1rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
header .container h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #D4AF37;
}
@media (max-width: 576px) {
  header .container h1 {
    font-size: 1.2rem;
  }
}

.hero {
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}
.hero .carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero .carousel .carousel-inner {
  height: 100%;
}
.hero .carousel .carousel-inner .carousel-item {
  height: 100%;
}
.hero .carousel .carousel-inner .carousel-item .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(0.6);
}
.hero .carousel .carousel-inner .carousel-item .hero-img[src*="logo.jpg"] {
  object-position: center center;
}
@media (min-width: 768px) {
  .hero .carousel .carousel-inner .carousel-item .hero-img[src*="logo.jpg"] {
    object-position: center 40%;
  }
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}
.hero .hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F4E4BC;
}
.hero .hero-content p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}
.hero .hero-content .btn-primary {
  font-size: 1rem;
  padding: 10px 25px;
  border-radius: 50px;
  background-color: #D4AF37;
  border: none;
}
.hero .hero-content .btn-primary:hover {
  background-color: rgb(177.7777777778, 144.8888888889, 38.2222222222);
}
.hero .hero-content .offer-badge {
  display: inline-block;
  background-color: #d4af37;
  color: #2C1810;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
}
.hero .hero-content .offer-badge i {
  color: red;
}
@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
  .hero .hero-content p {
    font-size: 1rem;
  }
  .hero .hero-content .btn-primary {
    font-size: 0.95rem;
    padding: 8px 20px;
  }
}
@media (max-width: 576px) {
  .hero {
    min-height: 60vh;
  }
  .hero .hero-content {
    padding: 40px 15px;
  }
  .hero .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero .hero-content p {
    font-size: 0.95rem;
  }
  .hero .hero-content .btn-primary {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
}

.features {
  background-color: #fff;
  padding: 60px 20px;
}
.features h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.features p {
  color: #8B7355;
  font-size: 1.1rem;
}
.features .feature-box {
  background-color: #fcfcfc;
  border-radius: 20px;
  padding: 30px 20px;
  transition: all 0.3s ease-in-out;
}
.features .feature-box i {
  color: #D4AF37;
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: inline-block;
}
.features .feature-box h5 {
  font-size: 1.3rem;
  margin-top: 10px;
}
.features .feature-box p {
  font-size: 1rem;
  margin-top: 8px;
}
@media (max-width: 576px) {
  .features h2 {
    font-size: 1.6rem;
  }
  .features p {
    font-size: 1rem;
  }
  .features .feature-box {
    padding: 20px 15px;
  }
  .features .feature-box h5 {
    font-size: 1.1rem;
  }
  .features .feature-box p {
    font-size: 0.95rem;
  }
  .features .feature-box i {
    font-size: 2rem;
  }
}

.product-card {
  border: 1px solid #dee2e6;
  border-radius: 16px;
  overflow: hidden;
  background-color: #FFFFFF;
  transition: transform 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.product-card:hover {
  transform: scale(1.02);
}
.product-card .carousel-inner img {
  height: 300px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .product-card .carousel-inner img {
    max-height: 250px;
  }
}
@media (max-width: 576px) {
  .product-card .carousel-inner img {
    height: 220px;
  }
}
.product-card .card-body {
  position: relative;
  min-height: 350px;
}
.product-card .card-body .description-container {
  position: relative;
  margin-bottom: 1rem;
}
.product-card .card-body .description-container .product-description {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #666;
  margin: 0;
}
.product-card .card-body .description-container .see-more-link {
  display: inline-block;
  font-size: 0.75rem;
  color: #D4AF37;
  text-decoration: none;
}
.product-card .card-body .description-container .see-more-link:hover {
  text-decoration: underline;
}
.product-card .card-body .description-container .full-description-popup {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 1rem;
  padding-bottom: 3rem;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.5s ease-in-out;
  max-height: 250px;
  overflow-y: auto;
}
.product-card .card-body .description-container .full-description-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.product-card .card-body .description-container .full-description-popup .full-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2rem;
  white-space: pre-line;
}
.product-card .card-body .description-container .full-description-popup .see-less-link {
  position: sticky;
  bottom: -30px;
  right: 0;
  float: right;
  background: #FFFFFF;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 11;
  cursor: pointer;
  font-size: 0.75rem;
  color: #D4AF37;
  margin: 10px;
}
.product-card .card-body .description-container .full-description-popup .see-less-link:hover {
  text-decoration: underline;
}
.product-card .card-body .description-container .full-description-popup::-webkit-scrollbar {
  width: 6px;
}
.product-card .card-body .description-container .full-description-popup::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.product-card .card-body .description-container .full-description-popup::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 3px;
}
.product-card .card-body .description-container .full-description-popup::after {
  content: "";
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .product-card .card-body .description-container {
    font-size: 0.75rem;
  }
}
.product-card .card-body h5 {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 700;
  min-height: 25px;
}
.product-card .card-body .small {
  font-size: 0.8rem;
  min-height: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.product-card .card-body .product-price {
  max-height: 16px;
  margin-bottom: 5px !important;
}
.product-card .card-body .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}
.product-card .card-body .form-select {
  font-size: 0.8rem;
  padding: 0.3rem 0.5rem;
}
.product-card .card-body .en-numbers {
  font-size: 0.8rem;
  direction: ltr;
  unicode-bidi: plaintext;
}
@media (max-width: 768px) {
  .product-card {
    max-height: 600px !important;
  }
}
.product-card .size-select,
.product-card .color-select {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.product-card .size-btn {
  width: 40px;
  height: 32px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.product-card .size-btn.selected {
  border-color: orange;
  color: orange;
}
.product-card .size-btn:hover:not(.selected) {
  background-color: #f9f9f9;
}
.product-card .size-btn:disabled {
  cursor: not-allowed;
  background-color: #f0f0f0;
  color: #999;
  border-color: #ddd;
}
.product-card .color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 2px solid transparent black;
  background-color: var(--color);
  cursor: pointer;
  transition: 0.2s;
}
.product-card .color-swatch.selected {
  border: 3px solid #D4AF37;
}
.product-card .color-swatch:hover {
  opacity: 0.85;
}

.order-form {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirm-order-btn {
  background-color: #D4AF37 !important;
  color: #FFFFFF !important;
  font-size: 1.2rem !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  border: none;
}
.confirm-order-btn:hover {
  background-color: rgb(177.7777777778, 144.8888888889, 38.2222222222) !important;
}

sup {
  color: red;
}

#cart-items .btn {
  margin: 0 2px;
}

.footer {
  background-color: #2C1810;
}
.footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #ffc107;
}
.footer i {
  vertical-align: middle;
}
.footer p {
  margin-bottom: 0.5rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 20px;
  padding: 12px 16px;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.whatsapp-float:hover {
  background-color: rgb(29.3911290323, 167.6088709677, 81.0241935484);
  text-decoration: none;
}

#floating-cart-btn {
  transition: opacity 0.3s ease;
  background-color: #D4AF37;
  color: #FFFFFF;
  border: none;
}

#cart-count-badge {
  font-size: 0.75rem;
  padding: 4px 6px;
}

#langToggleBtn {
  min-width: 50px;
  border-color: #D4AF37;
  color: #D4AF37;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem !important;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 4px 0 !important;
}
#langToggleBtn:active, #langToggleBtn.active, #langToggleBtn:focus {
  background-color: transparent !important;
  border-color: #D4AF37 !important;
  color: #D4AF37 !important;
}
#langToggleBtn:hover {
  background-color: #D4AF37 !important;
  color: #FFFFFF !important;
  border-color: #D4AF37 !important;
}

.highlight {
  animation: highlightProduct 2s ease-out;
}

@keyframes highlightProduct {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }
}

/*# sourceMappingURL=style.css.map */
