 /* Container tùy chỉnh */
 .container-custom {
     max-width: 1200px;
     margin: 0 auto;
 }

 /* Lớp nền trắng cho Section */
 .section-white {
     background: #fff;
     border-radius: 2px;
     margin-bottom: 20px;
     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
 }

 /* Hiệu ứng cuộn ngang mượt mà */
 .mobile-scroll-x {
     display: flex;
     overflow-x: auto;
     scroll-snap-type: x mandatory;
     -webkit-overflow-scrolling: touch;
     gap: 16px;
     padding: 16px;
 }

 .mobile-scroll-x::-webkit-scrollbar {
     height: 6px;
 }

 .mobile-scroll-x::-webkit-scrollbar-thumb {
     background: #e0e0e0;
     border-radius: 10px;
 }

 .mobile-scroll-x>* {
     flex: 0 0 auto;
     scroll-snap-align: start;
 }

 /* Video Card */
 .video-card {
     width: 160px;
     height: 240px;
     position: relative;
     border-radius: 8px;
     overflow: hidden;
     background: #000;
     cursor: pointer;
     transition: transform 0.2s;
 }

 .video-card:hover {
     transform: scale(1.02);
 }

 .video-card img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* Lớp phủ thông tin */
 .video-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     padding: 10px;
     background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
     color: white;
     font-size: 12px;
 }

 .video-title {
     font-weight: bold;
     margin-bottom: 4px;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
 }

 .video-stats {
     font-size: 11px;
     opacity: 0.9;
 }
 /*
 .section-header {
     padding: 15px;
     border-bottom: 1px solid #f0f0f0;
     color: #555;
     font-weight: bold;
      font-size: 0.9rem;
 }
 */


 /* CSS dành riêng cho Video Short trong Modal clip.js*/

 .clip-modal-dialog {
     width: min(520px, 100vw);
     height: min(92vh, 900px);
     margin: 1rem auto;
 }

 .clip-modal-content {
     background: #000;
     border: 0;
     border-radius: 14px;
     overflow: hidden;
 }

 .clip-modal-header {
     border: 0;
     padding: 0.5rem 0.75rem;
 }

 .clip-modal-title {
     color: #fff;
     font-weight: 600;
     font-size: 0.95rem;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     max-width: 70%;
 }

 .clip-modal-body {
     padding: 0;
 }

 .clip-reel {
     position: relative;
     width: 100%;
     height: min(92vh, 900px);
 }

 .clip-video-wrap {
     position: absolute;
     inset: 0;
 }

 .clip-video {
     width: 100%;
     height: 100%;
     object-fit: cover;
     background: #000;
 }

 .clip-tap-layer {
     position: absolute;
     inset: 0;
     border: 0;
     background: transparent;
 }

 .clip-right-actions {
     position: absolute;
     right: 10px;
     bottom: 140px;
     display: flex;
     flex-direction: column;
     gap: 12px;
     z-index: 20;
     align-items: center;
 }

 .clip-action-btn,
 .clip-avatar {
     border: 0;
     background: transparent;
     color: #fff;
     padding: 0;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 4px;
 }

 .clip-action-btn i {
     font-size: 22px;
     line-height: 1;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
 }

 .clip-action-text {
     font-size: 12px;
     opacity: 0.95;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
 }

 .clip-avatar {
     width: 44px;
     height: 44px;
     border-radius: 999px;
     overflow: hidden;
     border: 2px solid rgba(255, 255, 255, 0.8);
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
 }

 .clip-avatar-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     background: #222;
     display: block;
 }

 .clip-bottom {
     position: absolute;
     left: 12px;
     right: 74px;
     bottom: 14px;
     z-index: 20;
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .clip-desc {
     color: #fff;
     font-size: 14px;
     line-height: 1.35;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
 }

 .clip-product-pill {
     border: 1px solid rgba(255, 255, 255, 0.7);
     background: rgba(0, 0, 0, 0.25);
     color: #fff;
     border-radius: 999px;
     padding: 8px 12px;
     max-width: 100%;
     text-align: left;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     backdrop-filter: blur(8px);
 }

 .clip-product-popup {
     position: absolute;
     left: 12px;
     bottom: 92px;
     z-index: 25;
     width: min(270px, calc(100% - 24px));
     border-radius: 14px;
     background: rgba(15, 15, 15, 0.85);
     color: #fff;
     border: 1px solid rgba(255, 255, 255, 0.14);
     backdrop-filter: blur(10px);
 }

 .clip-popup-body {
     display: grid;
     grid-template-columns: 56px 1fr;
     gap: 10px;
     padding: 12px;
     align-items: center;
 }

 .clip-popup-img {
     width: 56px;
     height: 56px;
     border-radius: 10px;
     object-fit: cover;
     background: #222;
 }

 .clip-popup-name {
     font-weight: 600;
     font-size: 13px;
     line-height: 1.2;
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
 }

 .clip-popup-price {
     font-size: 13px;
     opacity: 0.95;
     margin-top: 2px;
 }

 .clip-popup-close {
     position: absolute;
     top: 8px;
     right: 8px;
     border: 0;
     background: rgba(255, 255, 255, 0.12);
     color: #fff;
     border-radius: 10px;
     width: 34px;
     height: 34px;
     display: grid;
     place-items: center;
 }

 .clip-sheet-backdrop {
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0.35);
     z-index: 29;
     opacity: 0;
     pointer-events: none;
     transition: opacity 180ms ease;
 }

 .clip-product-sheet {
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     height: 50%;
     background: #fff;
     color: #111;
     z-index: 30;
     border-top-left-radius: 18px;
     border-top-right-radius: 18px;
     transform: translateY(105%);
     transition: transform 220ms ease;
     display: flex;
     flex-direction: column;
 }

 .clip-modal.clip-sheet-open .clip-product-sheet {
     transform: translateY(0);
 }

 .clip-modal.clip-sheet-open .clip-sheet-backdrop {
     opacity: 1;
     pointer-events: auto;
 }

 .clip-sheet-header {
     padding: 15px 12px;
     border-bottom: 1px solid #eee;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
 }

 .clip-sheet-title {
     font-weight: 700;
     font-size: 14px;
 }

 .clip-sheet-list {
     padding: 10px 12px 18px 12px;
     overflow: auto;
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .clip-product-row {
     display: grid;
     grid-template-columns: 56px 1fr auto;
     gap: 10px;
     align-items: center;
     background: #fafafa;
     border: 1px solid #eee;
     border-radius: 14px;
     padding: 10px;
 }

 .clip-product-thumb {
     width: 56px;
     height: 56px;
     border-radius: 12px;
     object-fit: cover;
     background: #eee;
 }

 .clip-product-meta {
     min-width: 0;
     display: flex;
     flex-direction: column;
     gap: 6px;
 }

 .clip-product-name {
     font-size: 13px;
     line-height: 1.2;
     font-weight: 600;
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
 }

 .clip-product-price {
     font-size: 13px;
     display: flex;
     align-items: baseline;
     gap: 8px;
 }

 .clip-product-sell {
     color: #e30272;
     font-weight: 700;
 }

 .clip-product-old {
     color: #777;
     text-decoration: line-through;
     font-size: 12px;
 }

 .clip-product-buy {
     white-space: nowrap;
 }

 @media (max-width: 575.98px) {
     .clip-modal-dialog {
         width: 100vw;
         height: 100vh;
         margin: 0;
         max-width: 100vw;
     }

     .clip-modal-content {
         border-radius: 0;
         height: 100vh;
     }

     .clip-reel {
         height: 100vh;
     }

     .clip-right-actions {
         bottom: 120px;
     }
 }