/* Order button: Sea Wave + Blink */
.product-action-wrap a.add_to_cart_button {
  /* 3 layers: front wave, back wave, sea color */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath d='M0 25 Q50 5 100 25 T200 25 V50 H0Z' fill='white' fill-opacity='0.30'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath d='M0 25 Q50 45 100 25 T200 25 V50 H0Z' fill='%2390e0ef' fill-opacity='0.45'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #0077b6, #023e8a) !important;
  background-size: 120px 70%, 180px 85%, 100% 100% !important;
  background-repeat: repeat-x, repeat-x, no-repeat !important;
  background-position: 0 100%, 0 100%, 0 0;
  background-color: #023e8a !important;

  /* Button style */
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);

  /* Run both animations */
  animation:
    sea-wave 3s linear infinite,
    sea-blink 1.2s ease-out infinite;
}

/* Wave movement animation */
@keyframes sea-wave {
  from { background-position: 0 100%, 0 100%, 0 0; }
  to   { background-position: 240px 100%, -180px 100%, 0 0; }
}

/* Blink / Glow animation */
@keyframes sea-blink {
  0%   { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.9); filter: brightness(1); }
  50%  { filter: brightness(1.3); }
  100% { box-shadow: 0 0 0 12px rgba(0, 180, 216, 0); filter: brightness(1); }
}

/* Faster animation on mouse hover */
.product-action-wrap a.add_to_cart_button:hover {
  color: #fff !important;
  animation-duration: 1.2s, 0.8s;
}

/* Outer glow/blink turned off; the wave inside the button keeps moving */
.product-action-wrap a.add_to_cart_button { animation: sea-wave 3s linear infinite; box-shadow: none; }
.product-action-wrap a.add_to_cart_button:hover { animation-duration: 1.2s; }
