/* HOT OFFERS SECTION - BILINGUAL & ENHANCED */
.hot-offers-section {
  background: linear-gradient(135deg, #fff9e6 0%, #fff0cc 50%, #ffe6b3 100%);
  padding: 60px 0;
  margin: 0;
  border-bottom: 1px solid #e6cc99;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hot-offers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0033a0, #ff9900, #0033a0);
}

.hot-offers-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.hot-offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.hot-offers-title {
  color: #0033a0;
  font-size: 36px;
  font-weight: 800;
  font-family: 'Tajawal', 'Roboto', sans-serif;
  margin: 0;
  position: relative;
  padding-bottom: 12px;
}

.hot-offers-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #ff9900;
  border-radius: 2px;
}

[dir="rtl"] .hot-offers-title::after {
  left: auto;
  right: 0;
}

.hot-offers-subtitle {
  color: #666;
  font-size: 16px;
  margin-top: 8px;
  font-weight: 400;
  max-width: 600px;
}

.hot-offers-view-all {
  background: #0033a0;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #0033a0;
}

.hot-offers-view-all:hover {
  background: white;
  color: #0033a0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 51, 160, 0.2);
}

.hot-offers-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 51, 160, 0.1);
  touch-action: pan-y pan-x; /* ALLOW BOTH VERTICAL AND HORIZONTAL */
}

.hot-offers-track {
  display: flex;
  gap: 24px;
  padding: 10px 24px;

  /* Faster + smoother animation */
  transition: transform 0.10s ease-out;
  will-change: transform;
}


.hot-offers-slide {
  flex: 0 0 auto;
  width: 320px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  position: relative;
}

.hot-offers-slide:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #0033a0;
}

.hot-offers-image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.hot-offers-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hot-offers-slide:hover img {
  transform: scale(1.05);
}

.hot-offers-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(90deg, #0033a0, #0055cc);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 51, 160, 0.2);
}

[dir="rtl"] .hot-offers-tag {
  left: auto;
  right: 15px;
}

.hot-offers-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.hot-offers-title-inner {
  font-size: 18px;
  font-weight: 700;
  color: #0033a0;
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SPECS (AGE ONLY) */
.hot-offers-specs {
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hot-offers-specs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

.hot-offers-spec-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
}

.hot-offers-spec-text {
  flex: 1;
}

[dir="rtl"] .hot-offers-specs-row {
  flex-direction: row-reverse;
  text-align: right;
}

.hot-offers-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.hot-offers-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hot-offers-price-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.hot-offers-price {
  font-size: 26px;
  font-weight: 800;
  color: #2e7d32;
}

.hot-offers-stock {
  background: #f0f9ff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #0066cc;
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: center;
}

.hot-offers-stock::before {
  content: '✓';
  font-size: 12px;
  background: #0066cc;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-order-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.whatsapp-order-btn:hover {
  background: linear-gradient(90deg, #1da851, #0d7a5c);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-order-btn::before {
  content: '';
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='white' d='M12 2C6.48 2 2 6.48 2 12c0 1.85.48 3.59 1.32 5.12L2 22l5.02-1.32C8.59 21.52 10.23 22 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2zm0 18c-1.75 0-3.39-.5-4.79-1.38l-.34-.2-3.58.94.94-3.58-.2-.34C4.5 15.39 4 13.75 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8-3.59 8-8 8zm4-11c-.41 0-.75.34-.75.75v3.63c0 .41.34.75.75.75s.75-.34.75-.75v-3.63c0-.41-.34-.75-.75-.75zm-6 0c-.41 0-.75.34-.75.75v3.63c0 .41.34.75.75.75s.75-.34.75-.75v-3.63c0-.41-.34-.75-.75-.75z'/%3E%3C/svg%3E") no-repeat center;
  width: 20px;
  height: 20px;
  display: block;
}

/* Navigation arrows */
.hot-offers-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #0033a0;
  color: #0033a0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 26px;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 51, 160, 0.15);
}

.hot-offers-prev { left: -24px; }
.hot-offers-next { right: -24px; }

.hot-offers-nav:hover {
  background: #0033a0;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 51, 160, 0.25);
}

.hot-offers-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hot-offers-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.hot-offers-dot:hover {
  background: #0033a0;
  transform: scale(1.2);
}

.hot-offers-dot.active {
  background: #0033a0;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.2);
}

/* RTL Support */
[dir="rtl"] .hot-offers-track {
  direction: rtl;
}

[dir="ltr"] .hot-offers-track {
  direction: ltr;
}

[dir="rtl"] .hot-offers-prev {
  left: auto;
  right: -24px;
}

[dir="rtl"] .hot-offers-next {
  right: auto;
  left: -24px;
}

[dir="rtl"] .hot-offers-view-all {
  flex-direction: row-reverse;
}

[dir="rtl"] .whatsapp-order-btn {
  flex-direction: row-reverse;
}

/* Language Indicator */
.hot-offers-language-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 51, 160, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #0033a0;
  display: none;
}

[dir="rtl"] .hot-offers-language-indicator {
  right: auto;
  left: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hot-offers-slide {
    width: 300px;
  }
  
  .hot-offers-image-container {
    height: 180px;
  }
}

@media (max-width: 992px) {
  .hot-offers-section {
    padding: 50px 0;
  }
  
  .hot-offers-title {
    font-size: 32px;
  }
  
  .hot-offers-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hot-offers-view-all {
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  .hot-offers-section {
    padding: 40px 0;
  }
  
  .hot-offers-container {
    padding: 0 16px;
  }
  
  .hot-offers-title {
    font-size: 28px;
  }
  
  .hot-offers-slide {
    width: 280px;
  }
  
  .hot-offers-image-container {
    height: 160px;
  }
  
  .hot-offers-content {
    padding: 20px;
  }
  
  .hot-offers-title-inner {
    font-size: 16px;
    min-height: 44px;
  }
  
  .hot-offers-price {
    font-size: 22px;
  }
  
  .hot-offers-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  
  .hot-offers-prev {
    left: -16px;
  }
  
  .hot-offers-next {
    right: -16px;
  }
  
  [dir="rtl"] .hot-offers-prev {
    left: auto;
    right: -16px;
  }
  
  [dir="rtl"] .hot-offers-next {
    right: auto;
    left: -16px;
  }
}

@media (max-width: 576px) {
  .hot-offers-section {
    padding: 30px 0;
  }
  
  .hot-offers-title {
    font-size: 24px;
  }
  
  .hot-offers-slide {
    width: 260px;
  }
  
  .hot-offers-image-container {
    height: 150px;
  }
  
  .hot-offers-content {
    padding: 16px;
  }
  
  .hot-offers-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .hot-offers-nav {
    display: none;
  }
  
  .hot-offers-dots {
    margin-top: 20px;
  }
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hot-offers-slide {
  animation: slideIn 0.5s ease forwards;
  animation-delay: calc(var(--slide-index, 0) * 0.1s);
}

/* Performance optimization */
.hot-offers-image-container img {
  content-visibility: auto;
}

/* Focus styles for accessibility */
.hot-offers-nav:focus,
.hot-offers-dot:focus,
.whatsapp-order-btn:focus {
  outline: 3px solid #0033a0;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .hot-offers-section {
    background: none !important;
    padding: 20px 0 !important;
  }
  
  .hot-offers-carousel {
    overflow: visible !important;
    box-shadow: none !important;
  }
  
  .hot-offers-track {
    transform: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .hot-offers-slide {
    break-inside: avoid;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
}
@media (max-width: 768px) {

    .hot-offers-slide {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}
