.omega-hierarchical-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 12px;
  color: #000;
  text-align: center;
}

.omega-hierarchical-subtitle {
  text-align: center;
  padding-bottom: 15px;
}

.omega-hierarchical-btn-follow-us-top,
.omega-hierarchical-btn-follow-us-bottom {
  display: none;
  background-color: white;
  border: 1px solid black;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 25px;
}

.omega-hierarchical-btn-follow-us-bottom {
  margin-top: 25px;
}

.omega-hierarchical-btn-follow-us-top:hover {
  box-shadow: 0 0 0 1px black;
}

.omega-hierarchical-btn-follow-us-bottom:hover {
  box-shadow: 0 0 0 1px black;
}

.omega-hierarchical-list {
  position: relative;
  width: 100%;
  overflow: hidden;
  scrollbar-width: thin;
  z-index: 0;
}

.omega-hierarchical-prev,
.omega-hierarchical-next {
  width: 35px;
  height: 35px;
  transform: translateY(-50%);
  background: transparent;
  top: 50%;
  border: none;
  justify-self: center;
  outline: none;
  z-index: 5;
  cursor: pointer;
  background-repeat: no-repeat;
}

.omega-hierarchical-prev {
  left: 10px;
  background-image: url("https://cdn.shopify.com/s/files/1/0931/0466/8987/files/carousel_button_prev.png?v=1751610316");
}

.omega-hierarchical-next {
  right: 10px;
  background-image: url("https://cdn.shopify.com/s/files/1/0931/0466/8987/files/carousel_button_next.png?v=1751610306");
}

.omega-modal-hierarchical {
  display: none;
  position: fixed;
  z-index: 99990;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  transition: all 1.4s;
}

.omega-hierarchical-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.omega-hierarchical-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.omega-hierarchical-top-row {
  display: flex;
  gap: 16px;
}

.large-square {
  flex: 1;
  aspect-ratio: 1 / 1;
}

.omega-hierarchical-right-col {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.large-horizontal {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 282px;
}

.omega-hierarchical-small-row {
  display: flex;
  gap: 16px;
  max-height: 282px;
}

.small {
  flex: 1;
  aspect-ratio: 1 / 1;
}

.omega-hierarchical-bottom-row {
  display: flex;
  gap: 16px;
}

.omega-hierarchical-bottom-row .left {
  flex: 2;
}

.omega-hierarchical-bottom-row .right {
  flex: 0.96;
}

.media-wrapper-hierarchical {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
}

.media-video,
.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-wrapper-hierarchical:hover .omega-hierarchical-play-button {
  opacity: 0;
}

.media-wrapper-hierarchical video:paused ~ .omega-hierarchical-play-button {
  opacity: 1;
}

.omega-hierarchical-header,
.omega-hierarchical-footer {
  text-align: center;
  margin-bottom: 16px;
}

.omega-hierarchical-footer {
  margin-top: 16px;
  margin-bottom: 0;
}

/* Empty state for editor */
.omega-widget-empty {
  border: 1px dashed #ccc;
  padding: 20px;
  text-align: center;
  width: 100%;
  color: #666;
}
.omega-widget-empty_text {
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 5px 0;
}

.omega-hierarchical-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-image: url("https://cdn.shopify.com/s/files/1/0931/0466/8987/files/instafeed_play_button.png?v=1751614594");
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
  z-index: 4;
  display: flex;
}

.media-wrapper-hierarchical:hover .omega-highlight-play-button {
  display: none;
}
