/*
Theme Name: Đại lý không độc quyền CVF
Theme URI: https://choviengfood.com
Author: CVF
Description: Landing page đại lý không độc quyền
Version: 1.0
*/

        @font-face {
            font-family: "SF Pro Display";
            src: url("./fonts/SF-Pro-Display-Semibold.otf") format("opentype");
            font-weight: 600;
            font-style: normal;
        }
@font-face {
            font-family: "FS-Magistral-ExtraBold";
            src: url("./fonts/FS-Magistral-ExtraBold.ttf") format("opentype");
            font-weight: 600;
            font-style: normal;
        }


        * {
            box-sizing: border-box;
            padding: 0;
            margin: 0;
        }
body{
font-family: "SF Pro Display";
}


        img {
            max-width: 100%;
            width: auto;
            vertical-align: middle;
            height: auto;
            object-fit: cover;
            object-position: center;
        }

        .wrapper {
            max-width: 420px;
            width: 100%;
            margin: auto;
overflow-x: hidden;
        }

        .section-form {
            padding: 30px 20px;
background-image: url("./images/nenform.png");
        }

        .section-form h2 {
            color: #9A1A12;
text-align: center;
    line-height: 2;
        }

        .section-form p {
            color: #5D5D5D;
text-align: center;
        }

.section-form h4 {
            text-align: center;
    color: #9A1A12;
    margin: 15px 0px;
        }

.fg input, .fg select {
    width: 100%;
    border: 1px solid #9A1A12;
    padding: 12px 10px;
    border-radius: 5px;
    margin: 7px 0px 13px 0px;
font-family: 'SF Pro Display';
outline: none;
}
.fg p {
    text-align: left;
color: #9A1A12;
}
span.wpcf7-spinner {
    display: none;
}
.form-dk .wpcf7-submit {
    background: url("./images/bg-bt.png") no-repeat center;
    background-size: 100% 100%;
    font-family: "FS-Magistral-ExtraBold", sans-serif;
    font-size: 18px;
    color: #FCF4C4;
    padding: 14px 40px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
margin-top: 15px;
}
.fg input,
.fg select,
.fg textarea{
    font-size:16px;
}

.site-header{
    position: fixed;
    top: -80px; /* ẩn header lên trên */
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    z-index: 999;
    background:#9A1A12;
    transition: top .3s ease;
}

.site-header.show{
    top:0; /* khi scroll thì hiện */
}

.header-inner{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:12px 15px;
}

.logo-text{
    color:#fff;
    font-size:16px;
    font-weight:600;
}

.btn-dk{
    background:#FCF4C4;
    color:#9A1A12;
    padding:8px 16px;
    border-radius:6px;
    text-decoration:none;
    font-size:16px;
    font-family:"FS-Magistral-ExtraBold";
    animation: zoomBtn 1.2s infinite;
}

@keyframes zoomBtn{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.12);
    }
    100%{
        transform: scale(1);
    }
}
html{
scroll-behavior:smooth;
}
.video-section{
    width:100%;
    margin:0px 0;
}

.video-section iframe{
    width:100%;
    height:236px; /* chuẩn tỉ lệ 16:9 cho 420px */
}
@media (max-width: 768px) {
  /* CSS cho mobile */
        .section-form h2 {
            font-size: 20px;
        }
}