/* Store Closed Modal Styles */
.closed-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.closed-modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.closed-modal-icon {
  width: 64px;
  height: 64px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #6b7280;
}

.closed-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  font-family: var(--font-heading, inherit);
}

.closed-modal-message {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.closed-modal-hours {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.closed-modal-hours-title {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.closed-modal-hours-list {
  font-family: monospace;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.closed-modal-current-time {
  background: #e5e7eb;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #374151;
  display: inline-block;
}

.closed-modal-next-opening {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #1e40af;
}

.closed-modal-close {
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.closed-modal-close:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.closed-modal-close:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .closed-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .closed-modal-title {
    font-size: 1.25rem;
  }
  
  .closed-modal-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* Disabled state for buttons when store is closed */
.store-closed .add-cart-btn:not(.sold-out) {
  background: #9ca3af !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.store-closed .add-cart-btn:not(.sold-out):hover {
  background: #9ca3af !important;
  transform: none !important;
  box-shadow: none !important;
}

.store-closed .add-cart-btn:not(.sold-out):active {
  background: #9ca3af !important;
  transform: none !important;
}
