.vlog-post-thumbnail:hover .vlog-thumb-hover {
    opacity: 1 !important;
}
.idoshorts .play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    cursor: pointer;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    color: white;
}
.idoshorts .play-button-overlay:hover {
    background-color: #000;
}

.idoshorts .share-options {
    position: absolute;
    right: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 1rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.idoshorts .share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.idoshorts .share-option span {
    font-size: 12px;
    margin-top: 4px;
}

.idoshorts .share-buttons i {
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.idoshorts.video-is-playing {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.idoshorts .vlog-shortbox-buttons h3 {
    font-size: 28px;
}

.idoshorts .active .overbuttons {
    z-index: 888;
    left: 20px;
    right: 20px;
    bottom: 100px;
    white-space: wrap !important;
    width: -webkit-fill-available;
}

.idoshorts .vlog-shortbox-buttons .fa {
    font-size: 24px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.idoshorts .vlog-shortbox-buttons .fa:hover {
    opacity: 1;
}

.idoshorts.video-is-playing .vlog-shortbox-buttons {
    position: fixed;
    display: flex !important;
    flex-direction: column;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    z-index: 999999;
}

.idoshorts.video-is-playing .vlog-shortbox-buttons i {
    display: block;
    padding: 20px;
    text-shadow: 2px 2px 4px #000;
    font-size: 40px;
    color: #ddd;
    cursor: pointer;
}

.idoshorts.video-is-playing .vlog-shortbox-buttons i:hover {
    color: #fff;
}


.idoshorts .vlog-shortbox-video, 
.idoshorts.idoshorts.video-is-playing .vlog-date-top-left,
.idoshorts.idoshorts.video-is-playing .cccc {
    display: none;
}
.idoshorts.idoshorts.video-is-playing img {
    z-index: 0;
    width: auto;
}
.idoshorts.video-is-playing .vlog-shortbox-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.idoshorts.video-is-playing .play-button-overlay {
    display: none !important;
}

.idoshorts.video-is-playing div.active {
    display: flex !important;
}

.idoshorts.video-is-playing > div:not(.active) {
    display: none !important;
}

.idoshorts.video-is-playing .vlog-shortbox-buttons i.sound-control,
.idoshorts i.bag-icon {
    color: #fff;
}

.idoshorts .overbuttons {
    display: none;
}

.idoshorts.video-is-playing .overbuttons {
    display: flex !important;
    justify-content: space-evenly;
    align-items: stretch;
}

.idoshorts .overbuttons {
    width: 100%;
    max-width: calc(100vh * 9 / 16);
    aspect-ratio: 9/16;
    position: absolute;
    bottom: 40px;
    height: 44px;
}

.vlog-categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.vlog-categories::-webkit-scrollbar {
    height: 8px;
}

.vlog-posts > .video-container {
box-sizing: border-box;
border-radius: 8px;
transition: box-shadow 0.2s;
margin-bottom: 0;
display: flex;
flex-direction: column;
min-width: 0;
}

.vlog-posts {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 10px;
}

/* Floating related product on post video */
.related-product-float {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.related-product-float.visible {
  opacity: 1;
  transform: translateY(0);
}
.related-product-float .rp-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  text-decoration: none;
  color: inherit;
}
.related-product-float img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}
.related-product-float .rp-name {
  font-weight: 600;
  line-height: 1.2;
}
.related-product-float .rp-price {
  font-size: 12px;
  color: #666;
}
.related-product-float .rp-cta {
  background: #2fb5d2;
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
}
.related-product-float .rp-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  line-height: 20px;
  cursor: pointer;
}

/* Elastic layout for post row */
.vlog-post-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .vlog-post-row .vlog-single-main {
    order: 2;
    flex: 1 1 auto;
    min-width: 300px;
  }
  .vlog-post-row .vlog-single-video-wrapper {
    order: 1;
    flex: 0 0 auto;
    width: auto;
  }
}
