/* CBM Promotions styles (extracted from snippet) */
.cbm-promotions {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.cbm-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.cbm-promotions__item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cbm-promotions__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.cbm-promotions__item-image {
  width: 100%;
  height: 600px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 10px;
  transition: transform 0.3s ease;
}
.cbm-promotions__item:hover .cbm-promotions__item-image {
  transform: scale(1.02);
}
.cbm-promotions__gallery {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cbm-promotions__thumbnail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cbm-promotions__main-preview {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cbm-promotions__main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.cbm-promotions__main-image:hover {
  transform: scale(1.02);
}
.cbm-promotions__main-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 10;
}
.cbm-promotions__main-nav:hover {
  background: rgba(255,255,255,1);
  transform: translateY(-50%) scale(1.1);
}
.cbm-promotions__main-prev {
  left: 20px;
}
.cbm-promotions__main-next {
  right: 20px;
}
.cbm-promotions__lightbox-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cbm-promotions__main-preview:hover .cbm-promotions__lightbox-indicator {
  opacity: 1;
}
.cbm-promotions__lightbox-text {
  font-size: 11px;
  white-space: nowrap;
}
.cbm-promotions__thumbnails {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.cbm-promotions__thumbnail {
  position: relative;
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}
.cbm-promotions__thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cbm-promotions__thumbnail.active {
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cbm-promotions__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cbm-promotions__thumbnail:hover .cbm-promotions__thumbnail-image {
  transform: scale(1.05);
}
.cbm-promotions__thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}
.cbm-promotions__thumbnail.active .cbm-promotions__thumbnail-overlay {
  background: rgba(0,123,255,0.2);
}
.cbm-promotions__slide {
  display: none;
  width: 100%;
  height: 400px;
  position: relative;
}
.cbm-promotions__slide.active {
  display: block;
}
.cbm-promotions__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cbm-promotions__image:hover {
  transform: scale(1.05);
}
.cbm-promotions__navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
}
.cbm-promotions__navigation:hover {
  background: rgba(255,255,255,1);
  transform: translateY(-50%) scale(1.1);
}
.cbm-promotions__prev {
  left: 10px;
}
.cbm-promotions__next {
  right: 10px;
}
.cbm-promotions__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.cbm-promotions__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s ease;
}
.cbm-promotions__dot.active {
  background: #007bff;
}
.cbm-promotions__empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}
.cbm-promotions__empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}
.cbm-promotions__empty-text {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cbm-promotions__empty-subtext {
  font-size: 1rem;
  opacity: 0.7;
}
.cbm-promotions__loading {
  text-align: center;
  padding: 40px;
  color: #666;
}
.cbm-promotions__spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.cbm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cbm-lightbox.active {
  display: flex;
  opacity: 1;
}
.cbm-lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}
.cbm-lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.cbm-lightbox__close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.cbm-lightbox__close:hover {
  background: rgba(255,255,255,0.3);
}
.cbm-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.cbm-lightbox__nav:hover {
  background: rgba(255,255,255,0.3);
}
.cbm-lightbox__prev {
  left: -70px;
}
.cbm-lightbox__next {
  right: -70px;
}
.cbm-lightbox__counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  background: rgba(0,0,0,0.5);
  padding: 8px 16px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .cbm-promotions__grid {
    grid-template-columns: 1fr;
  }
  .cbm-promotions__slide {
    height: 300px;
  }
  .cbm-promotions__navigation {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  .cbm-promotions__main-preview {
    height: 300px;
  }
  .cbm-promotions__main-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .cbm-promotions__main-prev {
    left: 10px;
  }
  .cbm-promotions__main-next {
    right: 10px;
  }
  .cbm-promotions__lightbox-indicator {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }
  .cbm-promotions__lightbox-text {
    display: none;
  }
  .cbm-promotions__thumbnails {
    gap: 10px;
  }
  .cbm-promotions__thumbnail {
    width: 80px;
    height: 60px;
  }
  .cbm-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .cbm-lightbox__prev {
    left: 10px;
  }
  .cbm-lightbox__next {
    right: 10px;
  }
  .cbm-lightbox__close {
    top: 20px;
    right: 20px;
  }
}
