/* Floating Shipping & Payment Widget */
.shipping-widget-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.shipping-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(45, 106, 79, 0.6);
}

.shipping-widget-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.shipping-widget-modal.show {
  display: flex;
}

.shipping-widget-content {
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
}

.widget-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  transition: all 0.3s ease;
}

.widget-close:hover {
  color: #ef4444;
  transform: scale(1.2);
}

.widget-header {
  text-align: center;
  margin-bottom: 30px;
}

.widget-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #2d6a4f;
  background: linear-gradient(135deg, #2d6a4f 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.widget-header p {
  color: #64748b;
  font-weight: 600;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.widget-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 25px;
  border: 2px solid rgba(45, 106, 79, 0.1);
  transition: all 0.3s ease;
}

.widget-card:hover {
  border-color: rgba(45, 106, 79, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(45, 106, 79, 0.1);
}

.widget-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(34, 197, 94, 0.1);
}

.widget-card-icon {
  font-size: 1.5rem;
}

.widget-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #2d6a4f;
}

.delivery-zone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.delivery-zone:last-child {
  border-bottom: none;
}

.zone-name {
  font-weight: 700;
  color: #2d6a4f;
}

.zone-details {
  text-align: right;
}

.zone-price {
  font-weight: 800;
  color: #16a34a;
  font-size: 1.1rem;
}

.zone-time {
  font-size: 0.85rem;
  color: #64748b;
}

.free-delivery {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  margin-top: 15px;
  border: 2px solid rgba(245, 158, 11, 0.2);
}

.free-delivery p {
  font-weight: 700;
  color: #92400e;
  margin: 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

.payment-method:last-child {
  border-bottom: none;
}

.payment-icon {
  font-size: 1.5rem;
}

.payment-details h4 {
  font-weight: 700;
  color: #2d6a4f;
  margin-bottom: 3px;
}

.payment-details p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.payment-status {
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  margin-left: auto;
}

@media (max-width: 768px) {
  .widget-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .shipping-widget-content {
    padding: 20px;
    margin: 10px;
  }
  
  .delivery-zone {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .zone-details {
    text-align: left;
  }
}