
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

 

/* CSS cho body và nền */




 body {
            font-family: Arial, sans-serif;
            margin: 0px;
            padding: 0px;
            height: auto;
            background: #f3f3f3;
        }


        #v3 {
            background-color: #999999;
            margin: 0px;
            padding: 0px;
        }

        .mySlides {
            display: none
        }

        .img {
            vertical-align: middle;
            
        }

    .slideshow-container {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9; /* 👈 khung sẽ tự động cao theo tỷ lệ này */
        margin: auto;
        overflow: hidden;
        border-radius: 0px;
    }
    .mySlides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


        /* Next & previous buttons */
        .prev, .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.9); /* nền trắng */
            border-radius: 50%; /* tròn đều */
            color: #777; /* màu mũi tên */
            font-size: 30px;
            font-weight: bold;
            text-align: center;
            line-height: 40px; /* căn giữa icon */
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.25);
            z-index: 1000;
        }

        /* Vị trí cân đối hai bên */
        .prev {
            left: 25px;
        }

        .next {
            right: 25px;
        }

    /* Hiệu ứng hover */
    .prev:hover, .next:hover {
        background-color: #fff;
        color: #333;
        transform: translateY(-50%) scale(1.1);
    }


            /* On hover, add a black background color with a little bit see-through */
        .prev:hover, .next:hover {
                background-color: rgba(26, 24, 24, 0.8);
            }
        .numbertext {
            color: #1b1818;
            font-size: 12px;
            padding: 8px 12px;
            position: absolute;
            top: 0;
        }

        /* The dots/bullets/indicators */
        .dot {
            cursor: pointer;
            height: 15px;
            width: 14px;
            margin: 4px 6px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
        }

        .active, .dot:hover {
                background-color: #717171;
        }

        /* Fading animation */
        .fade {
            animation-name: fade;
            animation-duration: 1.5s;
        }

        @keyframes fade {
            from {
                opacity: .4
            }

            to {
                opacity: 1
            }
        }
        /* On smaller screens, decrease text size */
        @media only screen and (max-width: 300px) {
            .prev, .next, .text {
                font-size: 11px
            }
        }

        #story_v4{
        display: flex;
        flex-direction: column;  
        justify-content: center; 
        align-items: center;     
        text-align: center;      
        padding: 50px 20px;
                   }
        .title H1{
            text-align: center;
            margin-bottom: 20px;
        }
        .story h2{
            margin-bottom: 12px;
            text-align: left;
            }

        .story_input ,.btn_menu  {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        max-width: 1150px;
        width: 100%;
        margin: auto;
        flex-wrap: wrap; 
        }

        /* Phần nội dung bên trái (text) */
        .story {
        flex: 1;
        min-width: 280px;
        text-align: left;
        }

        .story h2 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #333;
        }

        .story p {
        font-size: 18px;
        line-height: 2.0;
        color: #555;
        font-family: 'Beau Sweet Sans';
        font-weight: unset;
        text-align: justify;
        }

        /* Phần ảnh bên phải */
        .img_story {
        flex: 1;
        text-align: center;
        }


        /* CSS cho nút */
        .btn, .btn_menu_product {
        background-color: #676862;
        border: none;
        color: white;
        padding: 15px 32px;
        text-align: center;
        margin-bottom: 13px;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
     
        
        
        }

        .btn:hover,.btn_menu_product:hover {
        background-color: #414137;
        transform: translateY(3px);
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        }

        .btn:active,.btn_menu_product:active {
        background-color: #626a62;
        transform: translateY(1px);
        }

        /* Ẩn ban đầu */
#story_v4 .story,
#story_v4 .img_story,
#story_v4 .title_right,
#story_v4 .btn {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Khi hiện ra */
#story_v4.show .story {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

#story_v4.show .img_story {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

#story_v4.show .title_right {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

#story_v4.show .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}



        .img_story img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
        margin-bottom: 10px;
        }
        
        #v4 {
            padding: 0px;
            margin: 0px;
        }
        .title_right h1{
            margin-bottom: 10px;

        }

        .v4_menu {
            display: flex;
            justify-content: space-between;
            width: 80%;
            margin: auto;
            text-align: center;
        }

        .v4_tab a {
            text-decoration: none;
            color: #000000;
            font-size: 22px;
            text-align: center;
            padding: 0;
            margin: 1px;
            line-height: 0px;
        }

        .v4_tab {
            background: #fff;
            border: 1px solid rgb(23 25 22 / 7%);
            border-radius: 7px;
            padding: 15px;
        }

        #v5 {
            margin: 19px 0px 0px 153px;
        }

        .v5_marketting {
            width: 178%;
            margin: auto;
            margin-left: -12px;
        }

        #v6{
                display: flex;
            justify-content: center;
        }
           
        .giamgia-review {
             width: 80%;            
            }


        .gia {
            color: #d0021c;
            font-size: 20px;
            font-weight: bolder;
            margin-top: 0px;
            text-align: center;
        }

        .review-box {
            display: flex;
            overflow: hidden;
            transition: transform 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
            position: relative;
            background-color: #fef6f6;
           transition: 0.4s;
            padding: 5px 0px;
            margin-top: 0px;
        }

        .review {
            margin-top: var(--spacing-3);
            overflow: hidden;
            width: 80%;
            margin: auto;
            position: relative;
        }
     
        .btnLeft {
            position: absolute;
            z-index: 1;
            top: 43%;
            left: 0;
            display: block;
            background: rgba(32, 23, 23, 0.8);
            width: 40px;
            height: 72px;
            align-items: center;
            padding-top: 19px;
            padding-left: 15px;
            font-size: 31px;
        }

        .btnRight {
            position: absolute;
            z-index: 1;
            top: 43%;
            right: 0;
            display: block;
            font-size: 31px;
            background: rgba(32, 23, 23, 0.8);
            width: 40px;
            justify-items: center;
            height: 72px;
            padding-top: 19px;
            padding-left: 15px;
        }
        .btn:hover{
            background-color: #7a868d;
        }
               /* Hover nhẹ cho ảnh */
        .product-img  img {
            transition: transform 0.6s ease;
        }

        .product-img  img:hover {
            transform: scale(1.02);
        }

        .product:hover .box_img {
            transform: scale(1.02);
        }
            
        .box {
            transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
            border-radius: 5px;
            flex-shrink: 0;
            padding: var(--spacing-3) var(--spacing-2) var(--spacing-3);
            display: flex;
            flex-direction: column;
            background-color: #fff;
          
            padding-bottom: 16px;
            height: auto;
            width: 100%;
            line-height: 35px;
            align-items: center;
            overflow: hidden;
    
        }

        .box a {
                text-decoration: none;
                color: #000;
        }
        .box_img {
            width: 100%;
            height: auto;
         }  

        .btn_box {
            background-color: #8e9396; /* Màu nền */
            color: white; /* Màu chữ */
            padding: 15px 32px; /* Khoảng cách giữa chữ và biên của nút */
            text-align: center; /* Canh giữa chữ trong nút */
            text-decoration: none; /* Loại bỏ gạch chân */
            display: inline-block; /* Hiển thị nút như một phần tử inline */
            font-size: 16px; /* Kích thước chữ */
            border: none; /* Loại bỏ viền mặc định */
            border-radius: 5px; /* Bo góc cho nút */
            cursor: pointer; /* Hiển thị con trỏ chuột kiểu bàn tay */
            transition: background-color 0.3s; /* Hiệu ứng chuyển màu nền */
            width: 100%;
            max-width: 220px;
            }

        /* Hiệu ứng hover (di chuột vào nút) */
        .btn_row:hover {
        background-color: #0d0e0e; /* Màu nền khi di chuột */
        }

 
    .qty-input_box {
        width: 41px;
        text-align: center;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 3px;
    }

    .add-cart-btn_box {
        margin-top: 0px;
        margin-bottom: 4px;
        padding: 8px 10px;
       
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
        height: 30px;
        margin-bottom:12px ;
        
    }

      
        /* Create four equal columns that floats next to each other */
        .column {
            float: left;
            width: 100%;
            padding: 4px;
            min-height: 480px;
            height: auto;
           
            border-radius: 12px;
            background: #fff; 
            line-height: 42px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: 0.3s;
            border: 1px solid #eee;
        }
        .column img{
                    width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 10px;
        transition: 0.3s;
        }
        .column:hover img{
        transform:scale(1.03);
        transition: 0.5s;
        }
            .row {    
            margin-top: 15px;
            padding: 6px; 
            margin: 10px;
            display:grid;
            grid-template-columns:repeat(4,1fr);
           

            
                }

        
        .gia-goc {
        text-decoration: line-through; /* Tạo đường gạch ngang */
        color: rgb(13, 13, 13); /* Màu chữ gạch ngang (có thể thay đổi) */
        }
        .gia-moi {
        color: rgb(255, 0, 0); /* Màu chữ mới */
        font-weight: bold; /* Làm đậm chữ */
        }
        /* Clear floats after the columns */
        .row:after {
            content: "";
            display: table;
            clear: both;
        }

     
        .v8_menu {
            margin: 0 10%;
            padding-top: 0px;
            margin-top: 0px;
            padding-bottom: 0px;
            background: #ffffff;
            border-radius: 0px;
            height: auto;
        }

        
        .v8_backround {
            padding: 20px;
     
        }

        .khung {
            border: 1px solid #eaeaea;
            background: #eaeaea;
            border-radius: 1px;
        }
        
        .v8_menu img{
          width: 100%;
          border: radius 12px;
          
         }

        .v8_right, .v8_left {
            border: 1px solid #e0e0e0;
            border-radius: 2px;
            color: #333;
            display: inline-block;
            font-size: 14px;
            line-height: 13px;
            margin-right: 5px;
            padding: 5px 5px;
            white-space: nowrap;
            margin-top: 2px;
        }
        .tab-btn {
        padding: 8px 20px;
        border: none;
        background-color: #ddd;
        border-radius: 10px;
        margin: 5px;
        cursor: pointer;
        transition: 0.3s;
        border-bottom: outset;
        }

        .tab-btn.active {
        background-color: #6a4c36;
        color: white;
        }
        .btn_row {
        background-color: #8e9396;
        color: white; 
        width: 100%;
        padding: 15px 32px;
        box-sizing: border-box;
        display: inline-block;
        text-align: center; 
        text-decoration: none;
        border: none; 
        max-width: none;
        border-radius: 5px;
        font-size: 16px; 
        cursor: pointer; /* Hiển thị con trỏ chuột kiểu bàn tay */
        transition: background-color 0.3s; /* Hiệu ứng chuyển màu nền */
            }

        .box h3, .column h3 {
            font-size: 20px;
            font-weight: 600;
            text-align: center;
            color: #222;
            white-space: normal;
            word-wrap: break-word;
            overflow-wrap: break-word;
            margin: 10px 0;
            padding: 0 8px;
            line-height: 1.4;
            }

        .btn_row:hover, .btn_box:hover {
        background: linear-gradient(45deg, #665252, #a69f9c);
        box-shadow: 0 0 5px rgba(32, 31, 31, 0.8);
        transform: translateY(-3px);
        }

        .btn_row:active, .btn_box:active {
        transform: scale(0.95);
        }

             
        .column a {
            text-decoration: none;
            color: #000;
            text-align: center;
        }

        #myBtn { 
            display: none;
            position: fixed;
            bottom: 20px;
            right: 30px;
            z-index: 99;
            font-size: 18px;
            border: none;
            outline: none;
            color: #333;
            cursor: pointer;
            padding: 15px;
            border-radius: 9px;
            background: #ffff00;
            font-weight: 600;
        }
     
       
        
        #myBtn:hover {
            background-color: #999999;
        }

        .product-v8 {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 10px;
        }
        .quantity-box-cart {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap; /* ✅ Cho phép xuống dòng nếu màn hình nhỏ */
            gap: 8px; /* Khoảng cách giữa các phần tử */
            margin-top: 0px;
            
        }
        .quantity-box {
       
            margin-top: 10px;
            }

            
.quantity-box-cart button {
    position: relative;
    overflow: hidden;
    background-color: #a59d9d;
    border: none;
    cursor: pointer;
}

/* Ánh sáng */
.quantity-box-cart button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-20deg);
}

/* Khi hover → ánh sáng lướt qua */
.quantity-box-cart button:hover::before {
    animation: shine 0.7s ease-in-out;
    
}

@keyframes shine {
    from {
        left: -75%;
    }
    to {
        left: 125%;
    }
}

        .qty-btn {
            width: 30px;/* */
            height: 30px;
            background-color: #625c58;
            color: white;
            border: none;
            border-radius: 20%;
            font-size: 18px;
            cursor: pointer;
            transition: 0.3s;
            transition: background-color 0.3s ease, transform 0.3s ease;
            }

        .quantity-box-cart button:hover {
            background-color: #4e4946;
            }

        .qty-input {
            width: 50px;
            text-align: center;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 8px;
            padding: 3px;
            }

        .add-cart-btn {
            margin-top: 0px;
            margin-bottom: 8px;
            padding: 8px 32px;
            background-color:  #625c58;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            height: 29px;
            }

        .add-cart-btn:hover {
            background-color: #553726;
            }


        #v9_a ,#v9_b{
            padding: 10px 12px;
        }

        .v9_text {
            display: block;
            overflow: hidden;
            padding: 15px 22px;
            font-size: 22px;
            line-height: 36px;
            color: #333;
            text-transform: uppercase;
        }

        .technology {
            display: flex;
            justify-content: space-between;
            width: 82%;
            margin: auto;
            border-radius: 25px;
            background: #fff;
            border: none;
            border-bottom: outset;
            border-top: outset;
           
        }

        .v9_tab {
            border-radius: 20px;
            width: 26%;
            padding: 13px;
            border: none;
            background: #fff;
            margin-top: 0px;
        }

        .v9_img {
            width: 100%;
            border-radius: 12px;
            height: 160px;
        }

   

        .v9_textCn {
            background: #e8e8d8;
            width: 100%;
            max-width: 300px;
            height: 55px;
            
            padding-top: 15px;
            border-bottom: outset;
            margin: 0 9%;
            border-radius: 13px;
            text-align: center;
            
        }

        .v9_tab p {
            font-size: 15px;
            line-height: 25px;
            color: #333;
        }

        .technology a {
            text-decoration: none;
        }
        .v9_img_sony {
            height: 149px;
            padding: 2px;
        }


        /* Hover nhẹ cho ảnh */
        .v9_tab img {
            transition: transform 0.6s ease;
        }

        .v9_tab img:hover {
            transform: scale(1.05);
        }

        

@media (max-width: 768px) {

    /* Menu header */

    .search-box {
        width: 90%;
    }

    .v1_tab_menu ul {
        text-align: center;
    }

    .v1_tab_menu li {
        display: block;
        margin: 8px 0;
    }
    /* Navbar */
    .navbar {
        flex-direction: column;
    }

    .navbar a,
    .subnav .subnavbtn {
        width: 100%;
        padding: 12px;
    }
    .subnav-content{
        right: 34%;
    }

    /* Story section */
    .story_input {
        flex-direction: column;
        text-align: center;
        gap: 0px;
    }

    .img_story img {
        max-width: 100%;
    }

    .v8_menu{
        width: 100%;
        margin: 0px;
    }
    .row{
    grid-template-columns: repeat(2,1fr);
    gap:12px;

    }
        .column{
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    transition:0.3s;
    border:1px solid #eee;
    min-height: 350px;
    }
    .column img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:10px;

    transition:0.3s;
    }
    .column h3{
    font-size:18px;
    font-weight:600;
    margin-bottom:6px;
    color:#333;
    }
    .column:hover img{
    transform:scale(1.03);
    }
    .quantity-box-cart{
    width: 100%;
    text-align: center;
    }
    .column .quantity-box{
        margin: 0px;
    }

    /* Technology section */
    .technology {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .v9_textCn{
        margin: 0px;
        max-width: none;
        background: linear-gradient(182.34deg, #FAE594 -30.67%, #f9dededd 22.5%)
    }
    .v9_tab {
        width: 100%;
    }
    /*Box mobie*/
    /* khoảng cách tổng */
    .review {
        padding:0 0px;
        width: 100%;
    
    }

    /* card sản phẩm */
    .box{
        border-radius:12px;
        overflow:hidden;
    }

    /* ảnh sản phẩm */
    .box img{
        width:100%;
        height:auto;
        object-fit:cover;
    }

    /* tên sản phẩm */
    .box h3{
        font-size:16px;
        margin:8px 0;
    }

    /* label giảm giá */
    .box .v8_left, .v8_right{
        font-size:12px;
        padding:8px 8px;
        font-weight: 600;
        font-family: unset;
    }

    /* giá cũ */
    .gia{
        font-size:19px;
    }
    .quantity-box{
        width: 100%;
    }

    .qty-input_box{ width: 29px;}
    .qty-btn{
    max-width: 25px;
    width: 100%;
    }

    /* khu vực số lượng */

    .giamgia-review
    {
    width: 100%;
    height: 110px;
    object-fit: fill;

    }



    /* nút slider */
    .btnLeft,
    .btnRight{
            height: 39px;
            border-radius: 38px;
            font-size: 19px;
            text-align: center;
            padding: 11px
    }


    }

