.woocommerce div.product div.summary {
  align-content: start !important;
}
.woocommerce-page div.product .woocommerce-tabs {
  margin-top: 10px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #1B542B;
    font-weight: 700;
    text-transform: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #1B542B;
}

.woocommerce div.product .woocommerce-tabs .panel {
    border-top: 1px solid rgba(27, 84, 43, 0.14);
    padding-top: 28px;
}

.vega-product-tab-content {
    color: inherit;
    line-height: 1.8;
}

.vega-product-tab-content h1,
.vega-product-tab-content h2,
.vega-product-tab-content h3,
.vega-product-tab-content h4 {
    color: #1B542B;
}

.vega-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.vega-video-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    transition: transform .2s ease, box-shadow .2s ease;
}

.vega-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.vega-video-card.is-short .vega-video-thumb-wrap {
    aspect-ratio: 9 / 16;
}

.vega-video-card.is-wide .vega-video-thumb-wrap {
    aspect-ratio: 16 / 9;
}

.vega-video-thumb-wrap {
    position: relative;
    display: block;
    width: 100%;
    background: #111;
    overflow: hidden;
}

.vega-video-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.vega-video-card:hover .vega-video-thumb {
    transform: scale(1.03);
}

.vega-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,.02) 45%, rgba(0,0,0,.10));
}

.vega-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.30));
}

.vega-video-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.vega-video-modal[hidden] {
    display: none !important;
}

.vega-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(2px);
}

.vega-video-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(94vw, 1220px);
    height: min(92vh, 860px);
    margin: 4vh auto;
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
}

.vega-video-modal__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vega-video-modal__topbar {
    display: block;
  justify-content: center;
  margin-bottom: 12px;
  position: absolute !important;
  top: 99% !important;
}

.vega-video-modal__count {
    min-width: 72px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}
.vega-video-modal__close, .vega-video-modal__nav {
  margin-left: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  font-size: 1.5em !important;
}

.vega-video-modal__player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.vega-video-modal__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vega-video-modal__close,
.vega-video-modal__nav {
    border: 0;
    cursor: pointer;
}

.vega-video-modal__close {
    position: absolute;
    right: 10px;
    top: -8px;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.vega-video-modal__nav {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: background .2s ease, transform .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vega-video-modal__nav:hover {
    background: rgba(255,255,255,.24);
    transform: scale(1.05);
}

.vega-video-modal__nav[disabled] {
    opacity: .38;
    cursor: default;
    transform: none;
}

body.vega-video-modal-open {
    overflow: hidden;
}

.vega-video-modal.vega-video-modal--short .vega-video-modal__dialog {
    width: min(94vw, 760px);
}

.vega-video-modal.vega-video-modal--short .vega-video-modal__player-wrap {
    width: min(100%, 430px);
    aspect-ratio: 9 / 16;
}

@media (max-width: 1199px) {
    .vega-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .vega-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vega-video-modal__dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
        grid-template-columns: 48px 1fr 48px;
        padding: 0 8px;
    }

    .vega-video-modal__player-wrap {
        border-radius: 14px;
    }

    .vega-video-modal__close {
        top: max(10px, env(safe-area-inset-top));
        right: 12px;
        background: rgba(0,0,0,.42);
    }

    .vega-video-modal__nav {
        width: 42px;
        height: 42px;
        font-size: 28px;
        background: rgba(0,0,0,.42);
    }
}

@media (max-width: 767px) {
    .vega-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vega-video-card {
        border-radius: 14px;
    }

    .vega-video-modal__dialog,
    .vega-video-modal.vega-video-modal--short .vega-video-modal__dialog {
        grid-template-columns: 40px 1fr 40px;
    }

    .vega-video-modal.vega-video-modal--short .vega-video-modal__player-wrap {
        width: min(100%, 92vw);
        max-height: calc(100vh - 110px);
    }
}
