/* Global */

@media (min-width: 1600px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1540px;
    }

    .container.original {
        max-width: 1320px;
    }
}

body {
    font-family: outfit;
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    background: linear-gradient(#000000cf, transparent);
    z-index: 99;
}

.search-form input {
    background: transparent !important;
    border: none;
    box-shadow: none !important;
    color: #fff !important;
    max-width: 180px;
}

.search-form {
    border: 2px solid #fff;
    border-radius: 20px;
}

.search-form .btn,
.search-form .form-control::placeholder {
    color: #fff;
}

.search-form {
    position: relative;
}

.search-result {
    right: 0;
    top: 110%;
    width: min(230px, 90vw);
    max-height: 400px;
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ececec;
    z-index: 999;
}

.search-result .result-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f4;
}

.search-result .result-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-result a {
    color: inherit;
}

.search-result .result-meta {
    font-size: 12px;
    color: #999;
}

@media (max-width: 767px) {
    .search-form {
        width: 100%;
        margin-top: 10px;
    }
}

.top-header {
    background: #640000;
}

.top-header .nav-link {
    color: #fff;
    /* original max: 18px → vw = 18*100/1920 = 0.9375 */
    font-size: clamp(16px, 0.9375vw, 18px);
}

.top-header .nav-link:hover,
.top-header .nav-link.active {
    color: #fbb3b3;
}

.navbar-toggler {
    color: #fff;
    border: none;
    box-shadow: none !important;
    font-size: 24px;
}

.red-btn {
    /* original max: 25px → vw = 25*100/1920 ≈ 1.3021 */
    font-size: clamp(20px, 1.3021vw, 25px);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    background: #640000;
    min-width: 160px;
    text-align: center;
    border: 1px solid #640000;
}

.red-btn:hover {
    color: #640000;
    background: #fff;
}

.black-overlay {
    position: relative;
}

.red-text {
    color: #640000;
}

.red-list {
    padding: 0px 20px;
    list-style-image: url(../images/red-dot.png);
    font-weight: 500;
}

.black-overlay::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #00000070;
    display: block;
    position: absolute;
    z-index: 0;
}

.section-title {
    /* max: 65px → 65*100/1920 ≈ 3.3854 */
    font-size: clamp(40px, 3.3854vw, 65px);
    font-weight: 600;
}

.section-sub-title,
.inside-title {
    /* max: 48px → 48*100/1920 = 2.5 */
    font-size: clamp(38px, 2.5vw, 48px);
    font-weight: 600;
    text-transform: uppercase;
}

.video-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 1.8;
}

.vdo-btn {
    background: #640000a6;
    padding: 15px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-content: center;
}

.vdo-btn svg {
    width: 40px;
    height: 40px;
}

.vdo-btn:hover {
    background: #000000a6;
}

.products {
    padding: 0 80px;
}

.letest-product-wrap .each-product {
    min-height: 465px;
}

.each-product .shop {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* max: 40px → 40*100/1920 ≈ 2.0833 */
    font-size: clamp(32px, 2.0833vw, 40px);
    background: linear-gradient(#0000, #15151599);
}

.each-product .product-title {
    /* max: 30px → 30*100/1920 = 1.5625 */
    font-size: clamp(24px, 1.5625vw, 30px);
    font-weight: 500;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.each-product .shop a {
    color: #fff;
    display: none;
}

.each-product:hover .shop {
    background: linear-gradient(#64000099);
}

.each-product:hover .shop a {
    display: inline-block;
}

.letest-product-wrap .owl-nav {
    position: absolute;
    top: 0;
    left: -80px;
    width: calc(100% + 160px);
    height: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 40px;
    color: #640000;
    pointer-events: none;
    align-items: center;
}

.letest-product-wrap .owl-nav:hover {
    color: #000;
}

.letest-product-wrap .owl-nav button {
    pointer-events: all;
}

.product-page .each-product {
    min-height: 470px;
    background-size: cover;
    background-position: center;
}

.product-title a {
    color: #000;
    padding: 15px;
    display: block;
    text-decoration: none;
    border: 1px solid #000;
}

.home .product-title a {
    border: none;
}

.product-page .each-product {
    min-height: 470px;
    background-size: cover;
    background-position: center;
    border: 1px solid #000;
    border-bottom: 0;
}

.product-wrap:hover {
    .product-title a {
        color: #640000;
    }

    .each-product .shop {
        background: linear-gradient(#64000099);
    }

    .each-product .shop a {
        display: inline-block;
    }
}

.s-icon a:hover {
    background: #640000;
    color: #fff;
}


/* Footer */

footer {
    background: #282828;
    color: #fff;
}

.f-logo {
    max-width: 235px;
}

.s-icon a {
    display: inline-block;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    /* max: 20px → 20*100/1920 ≈ 1.0417 */
    font-size: clamp(16px, 1.0417vw, 20px);
    color: #000;
    border-radius: 50%;
}

.f-title {
    /* max: 24px → 24*100/1920 = 1.25 */
    font-size: clamp(19px, 1.25vw, 24px);
}

.f-contact a {
    color: #b1b1b1;
    /* max: 18px → 18*100/1920 = 0.9375 */
    font-size: clamp(16px, 0.9375vw, 18px);
    text-decoration: none;
}

.bottom-strip input {
    max-width: 80%;
    width: 360px;
    border-radius: 0;
    padding: 15px;
    box-shadow: none !important;
}

.bottom-strip form button {
    background: #fff;
    padding: 15px;
    border-radius: 0;
    color: #000000;
    /* max: 18px → 18*100/1920 = 0.9375 */
    font-size: clamp(16px, 0.9375vw, 18px);
    min-width: 20%;
}

.bottom-strip form button:hover {
    background: #640000;
}

.footer-bottom {
    color: #b1b1b1;
    border-top: 1px solid #424242;
    /* original max: 15px (<16), so lock to 16px but keep vw from 16: 16*100/1920 ≈ 0.8333 */
    font-size: clamp(16px, 0.8333vw, 16px);
}

.footer-bottom a {
    color: #b1b1b1;
}

.f-contact a:hover,
.footer-bottom a:hover {
    color: #fff;
}


/* inner-page */

.inner-banner {
    min-height: 660px;
    background-size: cover;
    background-position: center;
}

.text {
    font-size: clamp(16px, 0.9375vw, 18px);
    color: #6f6f6f;
    line-height: clamp(2px, 2.0833vw, 40px);
}

.title-text {
    font-size: clamp(24px, 1.5625vw, 30px);
}


@media screen and (max-width:991px) {
    header {
        display: flex;
        flex-direction: row-reverse;
        position: relative;
        background: #640000;
        justify-content: space-between;
        align-items: center;
    }

    #navbarNav {
        position: absolute;
        right: 0;
        width: 100vw;
        transform: translate(0%, 100%);
        bottom: 0;
    }

    .site-logo {
        width: 180px;
    }

    .letest-product-wrap .each-product {
        min-height: 320px;
        background-size: cover;
        background-position: center;
    }

    .navbar-nav {
        background: #fff;
    }

    .top-header .nav-link {
        color: #640000;
        padding: 10px;
    }

    .top-header .nav-link:hover,
    .top-header .nav-link.active {
        color: #ffffff;
        background: #640000;
    }

    .inner-banner {
        min-height: 400px;
    }

    .product-title a {
        padding: 12px;
        font-size: 20px;
    }

    .product-page .each-product {
        min-height: 280px;
    }
}

@media screen and (max-width:740px) {
    .products {
        padding: 0 60px;
    }

    .letest-product-wrap .owl-nav {
        left: -60px;
        width: calc(100% + 120px);
        font-size: 30px;
    }

    .inner-banner {
        min-height: 320px;
    }

    .product-title a {
        padding: 10px;
        font-size: 16px;
    }

    .product-page .each-product {
        min-height: 240px;
    }

    .f-logo {
        max-width: 180px;
    }
}

#home {
    .top-banner {
        min-height: 100vh;
        z-index: 1;
    }

    .banner-wrap {
        top: 0;
        left: 0;
        z-index: 0;
    }

    .top-banner-wrap .each-banner {
        background-size: cover;
        background-position: top center;
        min-height: 100vh;
    }

    .banner2 .container {
        min-height: 765px;
    }

    .banner3 .container {
        min-height: 973px;
        padding-bottom: 130px;
    }

    .banner4 .container {
        min-height: 612px;
    }

    .feature-product .product-term {
        min-height: 525px;
        background-size: cover;
    }

    @media screen and (max-width:991px) {

        .banner2 .container,
        .banner3 .container,
        .banner4 .container,
        .video-banner .container {
            min-height: 420px;
            padding: 60px 15px;
        }

        .feature-product .product-term {
            min-height: 360px;
        }
    }
}

#about {
    .main-img {
        min-height: 980px;
        background-size: cover;
        background-position: top center;
    }

    .video-container {
        min-height: 759px;
        font-size: 55px;
        background-size: cover;
        background-position: top center;
    }

    @media screen and (max-width:991px) {

        .video-container,
        .main-img {
            min-height: 280px;
        }
    }
}

#product-single {
    .owl-theme .owl-dots .owl-dot {
        display: inline-block;
        zoom: 1;
    }

    /* Style the image inside the dot */
    .owl-theme .owl-dots .owl-dot img {
        width: 105px;
        /* Adjust size as needed for thumbnails */
        height: 105px;
        display: block;
        margin: 5px;
        cursor: pointer;
        border: 2px solid transparent;
        object-fit: cover;
        opacity: 0.5;
    }

    /* Style the active dot */
    .owl-theme .owl-dots .owl-dot.active img,
    .owl-theme .owl-dots .owl-dot img:hover {
        border-color: #640000;
        opacity: 1;
    }

    .video-wrapper.playing .custom-play-button {
        opacity: 0;
    }

    .custom-play-button {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        font-size: 75px;
        color: #fff;
    }

    .product-slider .item {
        min-height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #000;
    }

    .product-slider .owl-stage {
        display: flex;
    }

    .product-slider .owl-dots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 20px;
    }

    .product-form {
        background: #202020;
    }

    .product-form button {
        border-radius: 0;
    }

    .product-form button:hover {
        color: #640000;
        background: #fff;
    }

    .product-form textarea,
    .product-form input {
        background: transparent;
        width: 100%;
        box-shadow: none;
        outline: none;
        border: 1px solid #868686;
        color: #fff;
        padding: 15px;
        border-radius: 0;
    }

    .product-form ::placeholder {
        color: #fff;
        opacity: 1;
    }

    @media screen and (max-width:991px) {
        .owl-theme .owl-dots .owl-dot img {
            width: 80px;
            height: 80px;
        }

        .custom-play-button {
            font-size: 50px;
        }
    }
}

#events {
    .event .date {
        background: #000;
    }

    .event .address {
        font-size: 18px;
        color: #535353;
        font-weight: 500;
    }

    .event .red-btn {
        font-size: 18px;
    }

    .event .address svg {
        font-size: 22px;
    }

    .event .event-img {
        height: 240px;
        max-width: 230px;
        object-fit: cover;
        object-position: top center;
        width: 100%;
    }

    @media screen and (max-width:740px) {
        .event .event-img {
            height: 240px;
            max-width: 180px;
        }
    }
}

#events-single {
    .container.event-single {
        max-width: 1010px;
    }

    .event.info,
    .event.info.dtls {
        border-color: #000 !important;
        border-top: 0 !important;
    }

    .event.info .date {
        background: #000;
    }

    .event-card {
        background-color: #640000;
        color: #ffffff;
        padding: 40px;
        border: 1px solid #ddd;
    }

    .event-card .ui-state-active,
    .ui-widget-content .ui-state-active,
    .ui-widget-header .ui-state-active,
    a.ui-button:active,
    .ui-button:active,
    .ui-button.ui-state-active:hover {
        border: 1px solid #640000;
        background: #640000;
    }

    .event-card .form-control,
    .event-card .form-select,
    .event-card textarea.form-control {
        background-color: #640000;
        border-color: rgb(202, 88, 88);
        color: #ffffff;
        padding: 15px;
        border-radius: 0;
        box-shadow: none;
    }

    .event-card .form-control::placeholder {
        color: #dddddd;
    }

    .btn-submit {
        background-color: #ffffff;
        color: #640000;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 140px;
        border-radius: 0;
        font-size: clamp(20px, 1.3021vw, 25px)
    }

    .btn-submit:hover {
        background-color: #e6e6e6;
        color: #640000;
    }

    /* Date picker with calendar icon */
    .date-picker-wrapper {
        position: relative;
    }

    .date-picker-wrapper .form-control {
        padding-right: 3rem;
        /* space for the icon */
    }

    .date-picker-wrapper .date-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        font-size: 18px;
        color: #ffffff;
    }

    /* Time select with clock icon */
    .time-select-wrapper {
        position: relative;
    }

    .time-select-wrapper .form-select {
        padding-right: 3rem;
        /* space for the icon */
    }

    .time-select-wrapper .time-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        font-size: 18px;
        color: #ffffff;
    }

    /* Remove arrows from number inputs (Chrome, Safari, Edge, Opera) */
    input[type=number]::-webkit-outer-spin-button,
    input[type=number]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    #event_time,
    #event_date {
        background: #824949;
        border-color: #824949;
    }

    /* Remove arrows from number inputs (Firefox) */
    input[type=number] {
        -moz-appearance: textfield;
    }

    @media screen and (max-width:991px) {
        .event-card {
            padding: 15px;
        }

        .event-card .form-control,
        .event-card .form-select,
        .event-card textarea.form-control {
            padding: 12px;
        }
    }

}

#contact {
    .contact-info svg {
        color: #640000;
        font-size: 24px;
    }

    .contact-info .text {
        line-height: normal;
    }

    .contact-info .text a {
        color: #6f6f6f;
        text-decoration: none;
    }

    .contact-info .black-bg {
        background: #000;
    }

    .contact-info .text a:hover {
        color: #640000;
    }

    .black-border {
        border-color: #000 !important;
    }

    .contact-form button {
        border-radius: 0;
    }

    .contact-form button:hover {
        color: #640000;
        background: #c9c9c9;
    }

    .contact-form textarea,
    .contact-form input {
        background: transparent;
        width: 100%;
        box-shadow: none;
        outline: none;
        border: 1px solid #868686;
        color: #9f9f9f;
        padding: 15px;
        border-radius: 0;
    }

    .contact-form ::placeholder {
        color: #9f9f9f;
        opacity: 1;
    }

    @media screen and (max-width:740px) {
        iframe {
            height: 240px;
        }
    }

    .contact-form-wrap {
        background: #640000;
    }

    .contact-form-wrap .form-control {
        background: transparent;
        border: 1px solid #fff8f8;
        border-radius: 0;
        padding: 12px 16px;
        color: #fff;
        box-shadow: none;
    }

    .contact-form-wrap .form-control::placeholder {
        color: #f3dcdc;
    }

    .contact-form-wrap textarea.form-control {
        min-height: 180px;
    }

    .contact-submit-wrap {
        text-align: center;
        margin-top: 30px;
    }

    .contact-submit-wrap .btn-submit {
        background: #fff;
        color: #640000;
        border: none;
        border-radius: 0;
        padding: 10px 40px;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 2px;
    }

    @media (min-width: 1600px) {
        .contact-form-wrap .container {
            max-width: 1010px;
        }
    }

    .contact-form-wrap .btn-submit {
        background-color: #ffffff;
        color: #640000;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 0;
        font-size: clamp(20px, 1.3021vw, 25px);
    }

    .btn-submit:hover {
        background-color: #e7e7e7;
    }
}
