/* ============================================
   DELIVERY CHOICE - Modern Light Theme 2026
   ============================================ */

.delivery-widget {
  max-width: 600px;
  margin: var(--space-xl, 2rem) auto;
  padding: var(--space-xl, 2rem);
  background: var(--bg-primary, #FDFBF7);
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  border-radius: var(--radius-xl, 16px);
  box-shadow: 0 8px 40px var(--shadow-soft, rgba(45, 41, 38, 0.08));
  color: var(--text-primary, #2D2926);
  position: relative;
  overflow: hidden;
}

/* Decorative accent line */
.delivery-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold, #C9A456), var(--accent-terracotta, #C67B5C));
}

.delivery-widget h2 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  text-align: center;
  margin-bottom: var(--space-xs, 0.25rem);
  color: var(--text-primary, #2D2926);
  font-weight: 700;
  font-size: var(--fs-h2, 1.75rem);
}

.delivery-sub {
  text-align: center;
  color: var(--text-secondary, #5C5550);
  font-size: var(--fs-small, 0.9rem);
  line-height: 1.45;
  margin: 0 auto var(--space-xl, 2rem);
  max-width: 360px;
}

/* Grid with buttons */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg, 1.5rem);
}

.delivery-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md, 1rem);
  padding: var(--space-xl, 2rem);
  background: var(--bg-secondary, #F5F0E8);
  text-align: center;
  border-radius: var(--radius-lg, 12px);
  color: var(--text-primary, #2D2926);
  text-decoration: none;
  font-size: var(--fs-body, 1rem);
  font-weight: 600;
  border: 2px solid var(--bg-tertiary, #EDE6DA);
  transition: all var(--transition-base, 200ms ease);
  position: relative;
  overflow: hidden;
}

.delivery-button i {
  font-size: 2rem;
  color: var(--brand-gold, #C9A456);
  transition: transform var(--transition-spring, 300ms cubic-bezier(0.34, 1.56, 0.64, 1));
}

.delivery-button:hover {
  border-color: var(--brand-gold, #C9A456);
  background: var(--bg-primary, #FDFBF7);
  box-shadow: 0 8px 30px var(--shadow-soft, rgba(45, 41, 38, 0.12));
  transform: translateY(-4px);
}

.delivery-button:hover i {
  transform: scale(1.2);
}

/* Active/selected state */
.delivery-button.active,
.delivery-button:active {
  background: var(--brand-gold-light, #E5D4A4);
  border-color: var(--brand-gold, #C9A456);
}

/* Shimmer effect on hover */
.delivery-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left var(--transition-slow, 400ms ease);
}

.delivery-button:hover::before {
  left: 100%;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
  .delivery-widget {
    margin: var(--space-md, 1rem);
    padding: var(--space-lg, 1.5rem);
    border-radius: var(--radius-lg, 12px);
  }

  .delivery-widget h2 {
    font-size: var(--fs-h3, 1.25rem);
    margin-bottom: var(--space-lg, 1.5rem);
  }

  .delivery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md, 1rem);
  }

  .delivery-button {
    padding: var(--space-lg, 1.5rem);
    min-height: 100px;
  }

  .delivery-button i {
    font-size: 1.75rem;
  }
}

/* ============================================
   RTL SUPPORT (Hebrew)
   ============================================ */

html[lang="he"] .delivery-widget {
  direction: rtl;
}
