/* ==========================================================================
   Honey Jar · 玻璃蜂蜜罐液体与微交互专用样式 (css/honey-jar.css)
   ========================================================================== */

.honey-jar-svg-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glass reflections and rim */
.jar-cork {
  fill: #A86E3B;
  stroke: #714B2C;
  stroke-width: 3;
}

.jar-rim {
  fill: #714B2C;
}

.jar-glass-body {
  fill: rgba(255, 249, 236, 0.45);
  stroke: #714B2C;
  stroke-width: 4;
}

.jar-reflection {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 5;
  stroke-linecap: round;
}

.jar-reflection-thin {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Honey Liquid Mask & Surface */
.honey-liquid {
  transition: transform 0.8s cubic-bezier(0.34, 1.25, 0.64, 1), height 0.8s cubic-bezier(0.34, 1.25, 0.64, 1);
}

/* Animated Honey Surface Waves */
@keyframes honeyWave {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-25px);
  }
  100% {
    transform: translateX(0);
  }
}

.wave-path {
  animation: honeyWave 4s ease-in-out infinite;
}

/* Floating Honey Bubbles */
@keyframes honeyBubble {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-40px) scale(1.1);
    opacity: 0;
  }
}

.bubble-1 {
  animation: honeyBubble 3s ease-in infinite;
  animation-delay: 0.5s;
}

.bubble-2 {
  animation: honeyBubble 4s ease-in infinite;
  animation-delay: 1.8s;
}

.bubble-3 {
  animation: honeyBubble 3.5s ease-in infinite;
  animation-delay: 2.4s;
}

/* Hanging Wooden Tag on the Jar */
.jar-wooden-tag {
  filter: drop-shadow(0 4px 8px rgba(113, 75, 44, 0.2));
  transform-origin: 50% 0%;
  animation: tagSway 4s ease-in-out infinite;
}

@keyframes tagSway {
  0%, 100% {
    transform: rotate(-1.5deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

/* Mini Jars in Package Cards */
.mini-jar-svg {
  width: 80px;
  height: 95px;
  transition: transform 0.3s ease;
}

/* Golden Halo Pulsing */
@keyframes goldenHaloPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

.glowing-halo {
  animation: goldenHaloPulse 2.5s ease-in-out infinite;
}
