* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

body {
  background: #0f172a;
  color: #f8fafc;
  direction: rtl;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
}

.announcement-bar {
  background: linear-gradient(90deg, #d97706, #b45309);
  color: #ffffff;
  text-align: center;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.95rem;
}

.hero-card, .details-card, .order-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .hero-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }
  .product-gallery, .product-details {
    flex: 1;
  }
}

.product-gallery {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ef4444;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(239,68,68,0.4);
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid #334155;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
}

.gallery-thumbs img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-thumbs img.active {
  border-color: #f59e0b;
  transform: scale(1.05);
}

.product-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #f8fafc;
  line-height: 1.4;
  margin-bottom: 10px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

.rating-count {
  color: #94a3b8;
  font-size: 0.85rem;
}

.pricing-card {
  background: #0f172a;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #334155;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.curr-price {
  font-size: 2rem;
  font-weight: 900;
  color: #10b981;
}

.old-price {
  font-size: 1.2rem;
  color: #64748b;
  text-decoration: line-through;
}

.stock-alert {
  display: block;
  color: #f59e0b;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 6px;
}

.timer-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.timer-label {
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.countdown-display {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.time-unit {
  background: #0f172a;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #334155;
}

.time-unit span {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ef4444;
}

.time-unit small {
  font-size: 0.7rem;
  color: #94a3b8;
}

.guarantee-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}

.g-box {
  flex: 1;
  background: #0f172a;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #334155;
}

.g-box span {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 4px;
}

.g-box p {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
}

.cta-pulse-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s;
}

.cta-pulse-btn:hover {
  transform: translateY(-2px);
}

.sub-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 12px;
  text-align: center;
}

.description-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .features-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feat-item {
  background: #0f172a;
  border: 1px solid #334155;
  border-right: 4px solid #f59e0b;
  padding: 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
}

.form-main-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  color: #f8fafc;
}

.form-sub-title {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.field-group input, .field-group select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1rem;
  outline: none;
}

.field-group input:focus, .field-group select:focus {
  border-color: #f59e0b;
}

.submit-order-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.submit-order-btn:hover {
  opacity: 0.95;
}

.main-footer {
  text-align: center;
  padding: 24px;
  color: #64748b;
  font-size: 0.85rem;
}
