/* FEF Vertical Video — reels-style shoppable video grid (mobile responsive) */

.fef-vv-wrap {
    width: 100%;
    position: relative;
    /* Placement custom-props (overridable by Elementor controls) */
    --fef-vv-mute-x: 10px;
    --fef-vv-mute-y: 10px;
    --fef-vv-expand-off: 10px;
}

.fef-vv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.fef-vv-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.fef-vv-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}
.fef-vv-ratio-9-16 .fef-vv-media { aspect-ratio: 9 / 16; }
.fef-vv-ratio-3-4  .fef-vv-media { aspect-ratio: 3 / 4; }
.fef-vv-ratio-1-1  .fef-vv-media { aspect-ratio: 1 / 1; }

.fef-vv-video,
.fef-vv-yt,
.fef-vv-yt-iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border: 0;
}
.fef-vv-yt { background-size: cover; background-position: center; cursor: pointer; }

/* Play glyph */
.fef-vv-play {
    position: absolute; inset: 0; margin: auto;
    width: 62px; height: 62px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .25s ease, transform .2s ease, background .2s ease;
    z-index: 3;
    backdrop-filter: blur(2px);
}
.fef-vv-play span { font-size: 22px; margin-left: 3px; }
.fef-vv-play:hover { transform: scale(1.08); }
.fef-vv-card.is-playing .fef-vv-play { opacity: 0; pointer-events: none; }

/* Fullscreen (hover) icon */
.fef-vv-expand {
    position: absolute;
    width: 40px; height: 40px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.5); color: #fff;
    cursor: pointer; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    z-index: 4;
    opacity: 0; transform: scale(.9);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    backdrop-filter: blur(2px);
}
.fef-vv-expand span { font-size: 18px; }
.fef-vv-card:hover .fef-vv-expand { opacity: 1; transform: none; }
.fef-vv-expand:hover { background: rgba(0,0,0,0.72); }
/* Placement (prefix_class on the widget wrapper) */
.fef-vv-expand-pos-tl .fef-vv-expand { top: var(--fef-vv-expand-off); left: var(--fef-vv-expand-off); }
.fef-vv-expand-pos-tr .fef-vv-expand { top: var(--fef-vv-expand-off); right: var(--fef-vv-expand-off); }
.fef-vv-expand-pos-bl .fef-vv-expand { bottom: var(--fef-vv-expand-off); left: var(--fef-vv-expand-off); }
.fef-vv-expand-pos-br .fef-vv-expand { bottom: var(--fef-vv-expand-off); right: var(--fef-vv-expand-off); }
/* Fallback if no placement class is present */
.fef-vv-wrap:not([class*="fef-vv-expand-pos-"]) .fef-vv-expand { bottom: var(--fef-vv-expand-off); right: var(--fef-vv-expand-off); }

/* View-count pill (grid) */
.fef-vv-viewpill {
    position: absolute; top: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 999px;
    background: rgba(0,0,0,0.5); color: #fff;
    font-size: 12px; font-weight: 600; line-height: 1;
    z-index: 4; backdrop-filter: blur(2px);
}
.fef-vv-viewpill .fef-vv-eye { font-size: 13px; }

/* Mute toggle */
.fef-vv-mute {
    position: absolute;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 34px; height: 34px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.5); color: #fff;
    cursor: pointer; font-size: 15px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    z-index: 4;
    transition: background .2s ease;
}
.fef-vv-mute:hover { background: rgba(0,0,0,0.72); }
/* Mute placement (class on the widget wrapper) */
.fef-vv-mute-pos-tr .fef-vv-mute { top: var(--fef-vv-mute-y); right: var(--fef-vv-mute-x); }
.fef-vv-mute-pos-tl .fef-vv-mute { top: var(--fef-vv-mute-y); left: var(--fef-vv-mute-x); }
.fef-vv-mute-pos-br .fef-vv-mute { bottom: var(--fef-vv-mute-y); right: var(--fef-vv-mute-x); }
.fef-vv-mute-pos-bl .fef-vv-mute { bottom: var(--fef-vv-mute-y); left: var(--fef-vv-mute-x); }

/* Bottom gradient */
.fef-vv-overlay-grad {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

/* Info + actions */
.fef-vv-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px;
    z-index: 3;
    display: flex; flex-direction: column; gap: 6px;
}
.fef-vv-title { font-size: 16px; font-weight: 700; line-height: 1.25; color: #fff; }
.fef-vv-sub { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,0.85); }

.fef-vv-actions {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}

.fef-vv-cart, .fef-vv-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    border: none;
    font-size: 13px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: transform .15s ease, filter .15s ease, opacity .15s ease;
    white-space: nowrap;
}
.fef-vv-cart { background: #111827; color: #fff; }
.fef-vv-btn { background: rgba(255,255,255,0.92); color: #111827; }
.fef-vv-cart:hover, .fef-vv-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.fef-vv-cart.is-loading { opacity: .7; cursor: progress; }
.fef-vv-cart:disabled { cursor: default; }

/* Buttons below the video instead of overlaid */
.fef-vv-btns-below .fef-vv-overlay-grad { background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 45%); }
.fef-vv-btns-below .fef-vv-info { position: static; padding: 12px; }
.fef-vv-btns-below .fef-vv-card { background: #111; }
.fef-vv-btns-below .fef-vv-title,
.fef-vv-btns-below .fef-vv-sub { color: #fff; }

/* Toast */
.fef-vv-toast {
    position: fixed; left: 50%; bottom: 26px;
    transform: translateX(-50%) translateY(16px);
    background: #111827; color: #fff;
    padding: 11px 18px; border-radius: 10px;
    font-size: 14px; box-shadow: 0 8px 26px rgba(0,0,0,0.28);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 999999;
}
.fef-vv-toast a { color: #93c5fd; text-decoration: underline; margin-left: 4px; }
.fef-vv-toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Setup card */
.fef-vv-setup {
    text-align: center; padding: 30px 18px;
    background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px;
    color: #475569; font-size: 14px;
}

/* Show hover affordances on touch devices (no hover state) */
@media (hover: none) {
    .fef-vv-expand { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
    .fef-vv-title { font-size: 15px; }
    .fef-vv-cart, .fef-vv-btn { padding: 8px 12px; font-size: 12px; }
    .fef-vv-toast { bottom: 16px; width: calc(100% - 32px); text-align: center; }
}


/* ══════════════════════════════════════════════════════════════════════
   FULLSCREEN GALLERY
   Overlay is appended to <body>; the widget's Elementor colour controls are
   forwarded as CSS custom properties copied onto the overlay by the JS.
   ══════════════════════════════════════════════════════════════════════ */

.fef-vv-fs {
    --fef-vv-fs-bg: rgba(8,8,10,0.96);
    --fef-vv-fs-accent: #ff2d55;
    --fef-vv-fs-nav-bg: rgba(255,255,255,0.14);
    --fef-vv-fs-nav-color: #ffffff;
    --fef-vv-fs-title: #ffffff;
    --fef-vv-fs-desc: rgba(255,255,255,0.86);
    --fef-vv-fs-meta: #ffffff;
    --fef-vv-fs-icon: 16px;
    /* Shoppable product card */
    --fef-vv-pc-bg: #ffffff;
    --fef-vv-pc-text: #111827;
    --fef-vv-pc-price: #111827;
    --fef-vv-pc-radius: 16px;
    --fef-vv-pc-add-bg: #0e8a6f;
    --fef-vv-pc-add-color: #ffffff;
    --fef-vv-pc-more-bg: #e5e7eb;
    --fef-vv-pc-more-color: #111827;
    /* Horizontal peek + progress bar */
    --fef-vv-peek: 16;
    --fef-vv-fs-progress: #0e8a6f;

    position: fixed; inset: 0;
    z-index: 2147483000;
    background: var(--fef-vv-fs-bg);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
    -webkit-tap-highlight-color: transparent;
}
.fef-vv-fs.is-open { opacity: 1; visibility: visible; }
body.fef-vv-fs-lock { overflow: hidden; }

/* Scroll track */
.fef-vv-fs-track {
    width: 100%; height: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.fef-vv-fs-track::-webkit-scrollbar { width: 0; height: 0; display: none; }

.fef-vv-fs-vertical .fef-vv-fs-track {
    overflow-y: auto; overflow-x: hidden;
    scroll-snap-type: y mandatory;
}
.fef-vv-fs-vertical .fef-vv-fs-slide {
    width: 100%; height: 100%;
    scroll-snap-align: center; scroll-snap-stop: always;
}
.fef-vv-fs-horizontal .fef-vv-fs-track {
    display: flex; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
}
.fef-vv-fs-horizontal .fef-vv-fs-slide {
    flex: 0 0 100%; width: 100%; height: 100%;
    scroll-snap-align: center; scroll-snap-stop: always;
}

.fef-vv-fs-slide {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

.fef-vv-fs-stage {
    position: relative;
    height: 100%; max-height: 100vh; max-width: 100vw;
    aspect-ratio: 9 / 16;
    display: flex; align-items: center; justify-content: center;
    background: #000; overflow: hidden;
}
.fef-vv-fs-stage video,
.fef-vv-fs-ytframe {
    width: 100%; height: 100%;
    object-fit: contain; background: #000; border: 0;
}
.fef-vv-fs-yt { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* Play / mute inside fullscreen */
.fef-vv-fs-play {
    position: absolute; inset: 0; margin: auto;
    width: 74px; height: 74px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.42); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 4;
    transition: opacity .25s ease, transform .2s ease;
    backdrop-filter: blur(2px);
}
.fef-vv-fs-play span { font-size: 26px; margin-left: 4px; }
.fef-vv-fs-stage.is-playing .fef-vv-fs-play { opacity: 0; pointer-events: none; }

.fef-vv-fs-mute {
    position: absolute; top: 14px; left: 14px;
    width: 40px; height: 40px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.5); color: #fff;
    font-size: 17px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 5; transition: background .2s ease;
}
.fef-vv-fs-mute:hover { background: rgba(0,0,0,0.72); }

/* Close */
.fef-vv-fs-close {
    position: fixed; top: 16px; right: 18px;
    width: 44px; height: 44px;
    border: none; border-radius: 50%;
    background: var(--fef-vv-fs-nav-bg); color: var(--fef-vv-fs-nav-color);
    font-size: 20px; cursor: pointer; z-index: 8;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.fef-vv-fs-close:hover { transform: scale(1.06); background: rgba(255,255,255,0.26); }

/* Prev / next navigation */
.fef-vv-fs-nav {
    position: fixed; z-index: 40;
    width: 52px; height: 52px;
    border: none; border-radius: 50%;
    background: var(--fef-vv-fs-nav-bg); color: var(--fef-vv-fs-nav-color);
    font-size: 24px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
    backdrop-filter: blur(4px);
}
.fef-vv-fs-nav:hover { background: var(--fef-vv-fs-accent); transform: scale(1.08); }
.fef-vv-fs-nav:disabled { opacity: .3; cursor: default; transform: none; }
/* Vertical: arrows stacked top / bottom centre */
.fef-vv-fs-vertical .fef-vv-fs-prev { top: 18px;  left: 50%; transform: translateX(-50%); }
.fef-vv-fs-vertical .fef-vv-fs-next { bottom: 18px; left: 50%; transform: translateX(-50%); }
.fef-vv-fs-vertical .fef-vv-fs-prev:hover,
.fef-vv-fs-vertical .fef-vv-fs-next:hover { transform: translateX(-50%) scale(1.08); }
/* Horizontal: arrows left / right centre */
.fef-vv-fs-horizontal .fef-vv-fs-prev { left: 18px;  top: 50%; transform: translateY(-50%); }
.fef-vv-fs-horizontal .fef-vv-fs-next { right: 18px; top: 50%; transform: translateY(-50%); }
.fef-vv-fs-horizontal .fef-vv-fs-prev:hover,
.fef-vv-fs-horizontal .fef-vv-fs-next:hover { transform: translateY(-50%) scale(1.08); }

/* Engagement rail */
.fef-vv-fs-rail {
    position: absolute; right: 16px; bottom: 104px;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    z-index: 6; color: var(--fef-vv-fs-meta);
}
.fef-vv-fs-rail button {
    background: transparent; border: none; cursor: pointer; padding: 0;
    color: inherit;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600;
}
.fef-vv-fs-rail .fef-vv-fs-views {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600;
}
.fef-vv-fs-rail .ic {
    width: calc(var(--fef-vv-fs-icon) + 30px);
    height: calc(var(--fef-vv-fs-icon) + 30px);
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    display: flex; align-items: center; justify-content: center;
    font-size: calc(var(--fef-vv-fs-icon) + 6px);
    transition: transform .18s ease, background .18s ease, color .18s ease;
    backdrop-filter: blur(3px);
}
.fef-vv-fs-rail button:hover .ic { background: rgba(255,255,255,0.24); }
.fef-vv-fs-like .ic { color: #fff; }
.fef-vv-fs-like.is-liked .ic { color: var(--fef-vv-fs-accent); background: rgba(255,45,85,0.16); }
.fef-vv-fs-like.pop .ic { animation: fefVvPop .32s ease; }
@keyframes fefVvPop { 0%{transform:scale(1);} 40%{transform:scale(1.28);} 100%{transform:scale(1);} }

/* Title + description */
.fef-vv-fs-meta {
    position: absolute; left: 18px; bottom: 30px;
    right: calc(var(--fef-vv-fs-icon) + 78px);
    z-index: 6; text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.fef-vv-fs-title { color: var(--fef-vv-fs-title); font-size: 18px; font-weight: 700; line-height: 1.3; }
.fef-vv-fs-desc {
    color: var(--fef-vv-fs-desc); font-size: 14px; line-height: 1.45; margin-top: 6px;
    max-height: 28vh; overflow-y: auto; scrollbar-width: thin;
    white-space: pre-line;
}

/* Comments drawer (session-local) */
.fef-vv-fs-comments {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: min(62%, 500px);
    background: #16171c; color: #fff;
    border-radius: 18px 18px 0 0;
    transform: translateY(101%);
    transition: transform .3s ease;
    z-index: 60;
    display: flex; flex-direction: column;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.4);
}
.fef-vv-fs-comments.is-open { transform: none; }
.fef-vv-fs-comments-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; font-weight: 700; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fef-vv-fs-comments-close {
    background: transparent; border: none; color: #fff; font-size: 18px; cursor: pointer;
    width: 30px; height: 30px; border-radius: 50%;
}
.fef-vv-fs-comments-close:hover { background: rgba(255,255,255,0.12); }
.fef-vv-fs-comments-list { flex: 1; overflow-y: auto; padding: 12px 18px; display: flex; flex-direction: column; gap: 14px; }
.fef-vv-fs-comments-empty { color: rgba(255,255,255,0.5); font-size: 14px; text-align: center; padding: 24px 0; }
.fef-vv-fs-comment-item { display: flex; gap: 10px; align-items: flex-start; }
.fef-vv-fs-comment-item .av {
    width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.fef-vv-fs-comment-item strong { font-size: 13px; }
.fef-vv-fs-comment-item .fef-vv-fs-c-ago { font-size: 11px; color: rgba(255,255,255,0.45); margin-left: 6px; }
.fef-vv-fs-comment-item p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.9); }

.fef-vv-fs-comments-form {
    display: flex; flex-direction: column; gap: 8px;
    padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.fef-vv-fs-comments-input,
.fef-vv-fs-c-name, .fef-vv-fs-c-contact {
    width: 100%; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06);
    color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; outline: none;
}
.fef-vv-fs-comments-input::placeholder,
.fef-vv-fs-c-name::placeholder, .fef-vv-fs-c-contact::placeholder { color: rgba(255,255,255,0.45); }
.fef-vv-fs-comments-input:focus,
.fef-vv-fs-c-name:focus, .fef-vv-fs-c-contact:focus { border-color: var(--fef-vv-fs-accent); }
.fef-vv-fs-c-details { display: flex; gap: 8px; }
.fef-vv-fs-c-details[hidden] { display: none; }
.fef-vv-fs-c-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fef-vv-fs-c-note { font-size: 12px; color: rgba(255,255,255,0.6); flex: 1; }
.fef-vv-fs-comments-send {
    border: none; border-radius: 999px; padding: 10px 20px;
    background: var(--fef-vv-fs-accent); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
    flex: 0 0 auto;
}
.fef-vv-fs-comments-send:hover { filter: brightness(1.05); }
.fef-vv-fs-comments-send:disabled { opacity: .6; cursor: default; }

@media (max-width: 480px) {
    .fef-vv-fs-c-details { flex-direction: column; }
}

@media (max-width: 767px) {
    .fef-vv-fs-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .fef-vv-fs-nav { width: 46px; height: 46px; font-size: 21px; }
    .fef-vv-fs-rail { right: 10px; bottom: 96px; gap: 16px; }
    .fef-vv-fs-meta { left: 14px; bottom: 24px; right: calc(var(--fef-vv-fs-icon) + 64px); }
    .fef-vv-fs-title { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════════════════
   SHOPPABLE PRODUCT CARD  (fullscreen preview)
   Two states share one container: a compact bar (.is-collapsed) that
   expands into a full card (.is-expanded). Sits over the bottom of the
   9:16 video stage, matching the reference shoppable window.
   ══════════════════════════════════════════════════════════════════════ */
.fef-vv-fs-product {
    position: absolute;
    left: 50%; bottom: 16px;
    transform: translateX(-50%);
    width: min(92%, 380px);
    z-index: 7;
    color: var(--fef-vv-pc-text);
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
}
.fef-vv-fs-product .fef-vv-pc-pill { display: none; }
.fef-vv-fs-product .fef-vv-pc-card { display: none; }
.fef-vv-fs-product.is-collapsed .fef-vv-pc-pill { display: block; }
.fef-vv-fs-product.is-expanded  .fef-vv-pc-card { display: block; }

/* Shared thumbnail */
.fef-vv-pc-thumb {
    flex: 0 0 auto;
    width: 52px; height: 52px;
    border-radius: 10px;
    background: #f1f5f9 center/cover no-repeat;
    display: inline-block;
}
.fef-vv-pc-thumb--empty { background: #e2e8f0; }
.fef-vv-pc-thumb--lg { width: 88px; height: 88px; border-radius: 12px; }

.fef-vv-pc-ext { font-size: 12px; opacity: .55; margin-left: 2px; }

/* ── Collapsed compact bar ── */
.fef-vv-pc-pill {
    background: var(--fef-vv-pc-bg);
    border-radius: var(--fef-vv-pc-radius);
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(0,0,0,0.30);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
.fef-vv-pc-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.36); }
.fef-vv-pc-pill:focus-visible { outline: 2px solid var(--fef-vv-pc-add-bg); outline-offset: 2px; }
.fef-vv-pc-pill-main {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
}
.fef-vv-pc-name {
    font-weight: 600; line-height: 1.3; color: var(--fef-vv-pc-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Expanded full card ── */
.fef-vv-pc-card {
    position: relative;
    background: var(--fef-vv-pc-bg);
    border-radius: var(--fef-vv-pc-radius);
    box-shadow: 0 14px 44px rgba(0,0,0,0.34);
    padding: 16px 16px 14px;
}
.fef-vv-pc-close {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px;
    border: none; border-radius: 50%;
    background: rgba(15,23,42,0.06); color: #111827;
    font-size: 14px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s ease;
}
.fef-vv-pc-close:hover { background: rgba(15,23,42,0.12); }
.fef-vv-pc-card-top {
    display: flex; gap: 14px; align-items: flex-start;
    padding-right: 30px;
}
.fef-vv-pc-card-info { min-width: 0; padding-top: 2px; }
.fef-vv-pc-name-lg {
    display: inline-block;
    font-weight: 700; line-height: 1.3; color: var(--fef-vv-pc-text);
    text-decoration: underline; text-underline-offset: 2px;
}
.fef-vv-pc-name-lg:hover { opacity: .82; }
.fef-vv-pc-price {
    margin-top: 8px;
    font-size: 18px; font-weight: 700; color: var(--fef-vv-pc-price);
}

/* Actions */
.fef-vv-pc-actions {
    display: flex; align-items: stretch; gap: 10px;
    margin-top: 14px;
}
.fef-vv-pc-add, .fef-vv-pc-more, .fef-vv-pc-bag {
    display: inline-flex; align-items: center; justify-content: center;
    border: none; border-radius: 10px;
    font-size: 14px; font-weight: 700; letter-spacing: .2px;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.fef-vv-pc-add {
    flex: 1 1 auto;
    padding: 12px 16px;
    background: var(--fef-vv-pc-add-bg); color: var(--fef-vv-pc-add-color);
    text-transform: uppercase;
}
.fef-vv-pc-more {
    flex: 0 1 auto;
    padding: 12px 16px;
    background: var(--fef-vv-pc-more-bg); color: var(--fef-vv-pc-more-color);
    text-transform: uppercase;
}
.fef-vv-pc-bag {
    flex: 0 0 auto;
    width: 46px;
    background: transparent; color: var(--fef-vv-pc-text);
    border: 1px solid rgba(15,23,42,0.18);
    font-size: 18px;
}
.fef-vv-pc-add:hover, .fef-vv-pc-more:hover { transform: translateY(-1px); filter: brightness(1.04); }
.fef-vv-pc-bag:hover { background: rgba(15,23,42,0.05); }
.fef-vv-pc-add.is-loading { opacity: .75; cursor: progress; }
.fef-vv-pc-add:disabled { cursor: default; }

/* Full-width teal strip under the collapsed bar */
.fef-vv-pc-add--bar {
    width: 100%; border-radius: 0;
    padding: 12px 16px; text-transform: uppercase;
    background: var(--fef-vv-pc-add-bg); color: var(--fef-vv-pc-add-color);
}
.fef-vv-pc-add--bar:hover { filter: brightness(1.05); transform: none; }

/* Lift the caption / rail so the card never sits on top of them */
.fef-vv-fs-slide.has-pc .fef-vv-fs-meta { bottom: 140px; }
.fef-vv-fs-slide.has-pc .fef-vv-fs-rail { bottom: 200px; }

@media (max-width: 767px) {
    .fef-vv-fs-product { width: calc(100% - 24px); bottom: 12px; }
    .fef-vv-pc-thumb--lg { width: 76px; height: 76px; }
    .fef-vv-pc-price { font-size: 17px; }
    .fef-vv-pc-add, .fef-vv-pc-more { padding: 11px 12px; font-size: 13px; }
    .fef-vv-fs-slide.has-pc .fef-vv-fs-meta { bottom: 132px; }
    .fef-vv-fs-slide.has-pc .fef-vv-fs-rail { bottom: 188px; }
}

/* ══════════════════════════════════════════════════════════════════════
   PROGRESS BAR  (optional — top of the video)
   ══════════════════════════════════════════════════════════════════════ */
.fef-vv-fs-progress {
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px; z-index: 6; overflow: hidden;
    background: rgba(255,255,255,0.18);
    pointer-events: none;
}
.fef-vv-fs-progress .bar {
    display: block; height: 100%; width: 0%;
    background: var(--fef-vv-fs-progress);
    border-radius: 0 3px 3px 0;
    transition: width .12s linear;
}

/* ══════════════════════════════════════════════════════════════════════
   ON-VIDEO ICON CLUSTER  (mute + close, top-right of the video)
   Rendered on every stage; only shown in the peek layout.
   ══════════════════════════════════════════════════════════════════════ */
.fef-vv-fs-stage-close {
    position: absolute; top: 14px; right: 14px;
    width: 40px; height: 40px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.5); color: #fff;
    font-size: 16px; line-height: 1; cursor: pointer;
    display: none; align-items: center; justify-content: center;
    z-index: 6; transition: background .2s ease, transform .2s ease;
}
.fef-vv-fs-stage-close:hover { background: rgba(0,0,0,0.72); transform: scale(1.06); }

/* ══════════════════════════════════════════════════════════════════════
   HORIZONTAL COVERFLOW  (overlap adjacent videos)
   The track is a positioning context; JS places each slide with a transform
   so the active video is centred and on top, and neighbours are scaled down,
   dimmed and tucked behind it — a cluster in the middle, overlapping.
   Slide transforms/opacity/z-index/width are set inline by layoutCoverflow().
   ══════════════════════════════════════════════════════════════════════ */
.fef-vv-fs-cover .fef-vv-fs-track {
    position: relative;
    display: block;
    overflow: visible;
    width: 100%; height: 100%;
    padding: 0;
    scroll-snap-type: none;
}
.fef-vv-fs-cover .fef-vv-fs-slide {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    margin: 0;
    height: 100%;
    touch-action: none;   /* deliver horizontal swipes to the JS handler on mobile */
    transform: translateX(-50%) scale(0.85);
    opacity: 0;
    transform-origin: center center;
    transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s ease;
    will-change: transform, opacity;
}
.fef-vv-fs-cover .fef-vv-fs-stage {
    width: 100%; max-width: 100%;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

/* Neighbours are clean, dimmed thumbnails — hide their controls & captions */
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-mute,
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-stage-close,
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-play,
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-rail,
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-meta,
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-progress,
.fef-vv-fs-peek .fef-vv-fs-slide:not(.is-active) .fef-vv-fs-product {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity .2s ease;
}

/* Peek presentation: icons on the video, rail centred on the right edge */
.fef-vv-fs-peek .fef-vv-fs-close { display: none; }
.fef-vv-fs-peek .fef-vv-fs-stage-close { display: flex; }
.fef-vv-fs-peek .fef-vv-fs-mute { left: auto; right: 60px; }
.fef-vv-fs-peek .fef-vv-fs-slide .fef-vv-fs-rail {
    top: 50%; bottom: auto; transform: translateY(-50%);
}
.fef-vv-fs-peek .fef-vv-fs-slide.has-pc .fef-vv-fs-rail {
    top: auto; bottom: calc(var(--fef-vv-fs-icon) + 190px); transform: none;
}

@media (max-width: 767px) {
    .fef-vv-fs-peek .fef-vv-fs-mute { right: 56px; }
    .fef-vv-fs-stage-close { width: 36px; height: 36px; }
}

/* ══════════════════════════════════════════════════════════════════════
   INLINE SLIDER / CAROUSEL  (normal video list)
   ══════════════════════════════════════════════════════════════════════ */
.fef-vv-slider { position: relative; }
.fef-vv-slider .fef-vv-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.fef-vv-slider .fef-vv-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
.fef-vv-slider .fef-vv-card {
    flex: 0 0 calc((100% - (var(--fef-vv-cols, 3) - 1) * var(--fef-vv-gap, 14px)) / var(--fef-vv-cols, 3));
    scroll-snap-align: start;
}
.fef-vv-slide-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 44px; height: 44px;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.55); color: #fff;
    cursor: pointer; line-height: 1; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, opacity .2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.fef-vv-slide-prev { left: 4px; }
.fef-vv-slide-next { right: 4px; }
.fef-vv-slide-nav:hover { background: rgba(0,0,0,0.75); }
.fef-vv-slide-nav:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
    .fef-vv-slide-nav { width: 38px; height: 38px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .fef-vv-play, .fef-vv-cart, .fef-vv-btn, .fef-vv-toast,
    .fef-vv-expand, .fef-vv-mute,
    .fef-vv-fs, .fef-vv-fs-nav, .fef-vv-fs-close, .fef-vv-fs-comments,
    .fef-vv-fs-rail .ic, .fef-vv-fs-play,
    .fef-vv-pc-pill, .fef-vv-pc-close, .fef-vv-pc-add, .fef-vv-pc-more, .fef-vv-pc-bag,
    .fef-vv-fs-stage-close, .fef-vv-fs-slide, .fef-vv-fs-stage, .fef-vv-slide-nav, .fef-vv-fs-progress .bar { transition: none; }
    .fef-vv-fs-like.pop .ic { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   THEME-PROOF ICONS
   Some themes style every <button> (green fills, square corners, shadows).
   Force the fullscreen controls to a plain transparent-black circle with a
   white glyph, regardless of the active theme. These win with !important.
   ══════════════════════════════════════════════════════════════════════ */
.fef-vv-fs button {
    -webkit-appearance: none; appearance: none;
    font-family: inherit; letter-spacing: normal; text-transform: none;
    box-shadow: none !important; text-shadow: none;
    min-width: 0; min-height: 0; outline: none;
}
.fef-vv-fs .fef-vv-fs-nav,
.fef-vv-fs .fef-vv-fs-close,
.fef-vv-fs .fef-vv-fs-stage-close,
.fef-vv-fs .fef-vv-fs-mute,
.fef-vv-fs .fef-vv-fs-rail .ic {
    background: rgba(0,0,0,0.45) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    flex: 0 0 auto;
    line-height: 1 !important;
    backdrop-filter: blur(2px);
}
/* Exact circles — themes often add padding/min-width that squeezes these */
.fef-vv-fs .fef-vv-fs-nav { width: 52px !important; height: 52px !important; font-size: 24px !important; }
.fef-vv-fs .fef-vv-fs-close { width: 44px !important; height: 44px !important; font-size: 20px !important; }
.fef-vv-fs .fef-vv-fs-stage-close,
.fef-vv-fs .fef-vv-fs-mute { width: 40px !important; height: 40px !important; }
.fef-vv-fs .fef-vv-fs-nav:hover,
.fef-vv-fs .fef-vv-fs-close:hover,
.fef-vv-fs .fef-vv-fs-stage-close:hover,
.fef-vv-fs .fef-vv-fs-mute:hover,
.fef-vv-fs .fef-vv-fs-rail button:hover .ic {
    background: rgba(0,0,0,0.68) !important;
}
.fef-vv-fs .fef-vv-fs-play {
    background: rgba(0,0,0,0.45) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50% !important;
    width: 74px !important;
    height: 74px !important;
    padding: 0 !important;
}
/* Rail buttons themselves stay bare — only the .ic bubble carries the fill */
.fef-vv-fs .fef-vv-fs-rail,
.fef-vv-fs .fef-vv-fs-rail button,
.fef-vv-fs .fef-vv-fs-rail .fef-vv-fs-views {
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
}
.fef-vv-fs .fef-vv-fs-rail { pointer-events: auto; z-index: 6; }
/* Liked = inverted bubble (clear, colourless feedback) */
.fef-vv-fs .fef-vv-fs-like.is-liked .ic {
    background: #ffffff !important;
    color: #111111 !important;
}
/* Comment drawer send button — neutral, never themed green */
.fef-vv-fs .fef-vv-fs-comments-send {
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
    border: 0 !important;
}