/**
 * ChimiYummy Items Carousel Frontend Styles
 * Reusable, clean, modular architectural design
 */

.chimiyummy-carousel-container {
  position: relative;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.cy-swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.chimiyummy-carousel-container .swiper-wrapper {
  overflow: visible;
}

.cy-swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.cy-swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

/* Card layout & cathedral arches style */
.chimiyummy-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
  outline: none;
}

.chimiyummy-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.4s ease, border-width 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  z-index: 2;
  background-color: #f4f3ef;
  border-radius: 180px 180px 0px 0px;
}

.chimiyummy-card:hover {
  /*
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  */
}

/* Rounded arched top */
.chimiyummy-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  margin-top: 15px;
  z-index: 3;
}

.chimiyummy-image-wrapper img {
  display: block;
  max-width: 100%;
  height: 320px;
  object-fit: contain;
  margin: 0 auto;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chimiyummy-card:hover .chimiyummy-image-wrapper img {
  transform: scale(1.06) rotate(1deg);
}

/* Typography styles */
.chimiyummy-info-box {
  padding: 15px 10px 35px 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  background: transparent;
}

.chimiyummy-item-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  color: #1f3d24;
  word-wrap: break-word;
  max-width: 90%;
}

.chimiyummy-item-price {
  font-size: 16px;
  font-weight: 500;
  color: #1f3d24;
  margin: 0;
  padding: 0;
}

/* Waves overlay background style matching user branding */
.chimiyummy-wave-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.95;
}

.chimiyummy-wave-overlay svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrow default Elementor style rules */
.chimiyummy-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chimiyummy-arrow svg {
  fill: currentColor;
}

.chimiyummy-arrow:hover {}

.chimiyummy-arrow-prev {
  left: -20px;
}

.chimiyummy-arrow-next {
  right: -20px;
}

/* Bullets pagination customization */
.chimiyummy-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 25px;
}

.cy-swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cy-swiper-pagination-bullet-active {
  transform: scale(1.3);
}

/* Responsive arrow positions */
.chimiyummy-arrows-inside .chimiyummy-arrow-prev {
  left: 20px;
}

.chimiyummy-arrows-inside .chimiyummy-arrow-next {
  right: 20px;
}

/* Fraction pagination */
.cy-swiper-pagination-fraction {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #1f3d24;
}