/********** সাইটের স্টাইল **********/
:root {
    --font-body: 'Hind Siliguri', sans-serif;
    --font-heading: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
    --bs-font-sans-serif: 'Hind Siliguri', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-3, .display-5 {
    font-family: var(--font-heading);
    line-height: 1.35;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.ff-secondary {
    font-family: 'Galada', 'Hind Siliguri', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.brand-text {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 800;
    white-space: nowrap;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 32px 0;
    font-size: 16px;
    color: var(--light) !important;
    font-weight: 500;
    outline: none;
    white-space: nowrap;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-nav .nav-link:focus-visible,
.cart-button:focus-visible {
    outline: 2px solid var(--primary);
}

.navbar-dark .navbar-brand img {
    max-height: 55px;
}

.nav-cta {
    white-space: nowrap;
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--primary);
    color: #fff;
}

.cart-button {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: var(--light);
}

.cart-button:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .navbar.is-stuck {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
    }

    .navbar-dark .navbar-collapse {
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .nav-cta {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }

    .navbar-dark.is-stuck {
        position: fixed;
        background: var(--dark) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
    }

    .navbar-dark.is-stuck .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-left: 14px;
        font-size: 15px;
    }

    .brand-text {
        font-size: 1.4rem;
    }

    .nav-cta {
        font-size: 14px;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../static/images/ui/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header .hero-plate {
    animation: imgRotate 50s linear infinite;
}

.hero-header h1 {
    font-size: clamp(2.1rem, 6vw, 4.2rem);
}

.hero-header.page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

@media (max-width: 991.98px) {
    .hero-header .hero-plate {
        max-width: min(320px, 75%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-header .hero-plate,
    .animated,
    .video .btn-play:before {
        animation: none !important;
    }
}

.breadcrumb-item a {
    color: var(--primary);
}

@keyframes imgRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.menu-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.menu-tab {
    display: flex;
    align-items: center;
    margin: 0 8px;
    padding: 0 4px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    white-space: nowrap;
}

.menu-tab.active {
    border-bottom-color: var(--primary);
}

.menu-tab-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 575.98px) {
    .menu-tab i {
        font-size: 1.4em;
    }
}

.menu-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    border-radius: 8px;
    color: inherit;
    text-align: left;
    transition: .3s;
}

.menu-row:hover {
    background: var(--light);
}

.menu-row-link {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 16px;
    min-width: 0;
    color: inherit;
}

.menu-row-link:hover {
    color: inherit;
}

.menu-row-add {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    transition: .3s;
}

.menu-row-add:hover,
.menu-row-add:focus-visible {
    background: var(--primary);
    color: #fff;
}

.menu-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.menu-row-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.menu-row-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 400px) {
    .menu-row img {
        width: 64px;
        height: 64px;
    }

    .menu-row-head {
        font-size: 1rem;
    }
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

@media (max-width: 991.98px) {
    .video {
        min-height: 280px;
        height: 45vw;
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

@media (max-width: 575.98px) {
    .team-item .h5 {
        font-size: 1rem;
    }

    .team-item .btn-square {
        width: 32px;
        height: 32px;
        margin-left: 2px !important;
        margin-right: 2px !important;
    }
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin: 0 6px 6px 0;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-decoration: none;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    transform: translateX(4px);
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** অতিরিক্ত: ফুটার ***/
.newsletter .form-control {
    min-width: 0;
}

.footer .footer-menu a:hover {
    color: var(--primary);
}

.back-to-top {
    right: 24px;
    bottom: 24px;
}


/*** অ্যানিমেশন ও টেস্টিমোনিয়াল ***/
.testimonial-avatar {
    width: 50px !important;
    height: 50px;
    object-fit: cover;
}

.testimonial-carousel:not(.owl-loaded) {
    display: block;
}


/*** খাবারের কার্ড ***/
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 35px rgba(0, 0, 0, .08);
    text-align: left;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .13);
}

.product-card.is-unavailable img {
    filter: grayscale(1);
}

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--light);
}

.product-card-media img,
.gallery-stage > img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ছোট ছবির জন্য ঝাপসা পটভূমি */
.is-small-image::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--image) center / cover;
    filter: blur(14px) brightness(.75);
}

.product-card-media.is-small-image > img,
.gallery-stage.is-small-image > img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 70%;
    max-width: 80%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

.gallery-stage.is-small-image > img {
    height: 55%;
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 2px 10px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}


/*** মেনু ফিল্টার ***/
.chip-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.chip-scroller > :first-child {
    margin-left: auto;
}

.chip-scroller > :last-child {
    margin-right: auto;
}

.chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid #dee2e6;
    border-radius: 30px;
    background: #fff;
    color: var(--dark);
    font-weight: 600;
}

.chip.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}


/*** প্রোডাক্ট ডিটেলস ***/
.gallery-stage {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
    background: var(--light);
    touch-action: pan-y;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--dark);
    transform: translateY(-50%);
}

.gallery-arrow-left {
    left: 12px;
}

.gallery-arrow-right {
    right: 12px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex: 0 0 76px;
    height: 76px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--light);
    opacity: .65;
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars i {
    margin-right: 2px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.attribute-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.attribute-grid div {
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--light);
}

.attribute-grid dt {
    font-size: 13px;
    font-weight: 500;
}

.attribute-grid dd {
    margin: 0;
    font-weight: 700;
    color: var(--dark);
}

.option-title {
    float: none;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.option-pill {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    color: var(--dark);
    cursor: pointer;
    line-height: 1.5;
}

.btn-check:checked + .option-pill {
    border-color: var(--primary);
    background: rgba(254, 161, 22, .1);
}

.btn-check:focus-visible + .option-pill {
    outline: 2px solid var(--dark);
}

.addon-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    color: var(--dark);
    cursor: pointer;
}

.addon-row .form-check-input {
    flex-shrink: 0;
    margin: 0;
}

.form-check-input:checked {
    border-color: var(--primary);
    background-color: var(--primary);
}

.buy-bar {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    background: #fff;
}

@media (max-width: 991.98px) {
    /* ছোট পর্দায় অর্ডার বাটন নিচে আটকে থাকে */
    .buy-bar {
        position: sticky;
        bottom: 0;
        z-index: 100;
    }

    body[data-page="product"] .back-to-top {
        bottom: 96px;
    }
}

.qty-stepper {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.qty-stepper button {
    width: 42px;
    height: 100%;
    min-height: 42px;
    border: 0;
    background: transparent;
    color: var(--dark);
}

.qty-stepper output {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    color: var(--dark);
}

.qty-sm button {
    width: 34px;
    min-height: 36px;
}

.product-tabs .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.product-tabs .nav-link {
    white-space: nowrap;
    color: var(--dark);
    font-weight: 600;
}

.product-tabs .nav-link.active {
    border-top: 3px solid var(--primary);
}

.ingredient-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review + .review {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}


/*** ঝুড়ি ও চেকআউট ***/
.cart-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, .07);
}

.cart-line img {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-line-info {
    flex: 1;
    min-width: 150px;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.cart-line-total {
    min-width: 70px;
    text-align: right;
    color: var(--dark);
}

.checkout-card,
.contact-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 35px rgba(0, 0, 0, .08);
}

.contact-map {
    min-height: 350px;
    border: 0;
}


/*** টোস্ট ***/
.app-toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 100000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--dark);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
    transition: .3s;
}

.app-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.app-toast a {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

/* iOS-এ ইনপুটে ট্যাপ করলে যেন জুম না হয় */
@media (max-width: 575.98px) {
    .form-control,
    .form-select {
        font-size: 16px;
    }
}

/* মোবাইলে সূক্ষ্ম সমন্বয় */
@media (max-width: 575.98px) {
    .menu-tabs {
        scrollbar-width: none;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .menu-tab small {
        display: none !important;
    }

    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 991.98px) {
    body[data-page="product"] .back-to-top {
        visibility: hidden;
    }

    .buy-bar {
        border-top: 1px solid #eee;
    }
}


/*** স্প্যাম ধরার লুকানো ঘর ***/
.form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}


/*** দ্রুত যোগ পপআপ ***/
.quick-add,
.video-modal {
    z-index: 99999;
}

.quick-add .modal-header {
    align-items: center;
}

.quick-add-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
}

.quick-add .qty-stepper {
    align-self: stretch;
}

@media (max-width: 400px) {
    .menu-row,
    .menu-row-link {
        gap: 8px;
    }

    .menu-row-add {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 992px) {
    .menu-tabs {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px;
    }
}


/*** ভিডিও ***/
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: var(--dark);
    box-shadow: 0 10px 30px rgba(15, 23, 43, .18);
}

.is-vertical .video-frame,
.video-frame-vertical {
    aspect-ratio: 9 / 16;
}

.video-frame iframe,
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-poster {
    padding: 0;
    background: var(--dark);
}

.video-poster img,
.gallery-thumb-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.video-poster:hover img {
    transform: scale(1.04);
    opacity: .85;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(254, 161, 22, .3);
}

.gallery-thumb-video {
    position: relative;
    background: var(--dark);
    opacity: 1;
}

.gallery-thumb-video .play-badge {
    width: 30px;
    height: 30px;
    font-size: 11px;
    box-shadow: none;
}

.card-video {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

.video-modal .video-vertical {
    max-width: min(380px, calc((100vh - 110px) * .5625));
    margin-left: auto;
    margin-right: auto;
}
