* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	max-width: 100%;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
	margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Đảm bảo không có tràn ngang */
    background-color: #f4f4f4;
}
.navbar-brand img {
    max-width: 150px;
}

.navbar-nav .nav-link {
    color: #252525 !important;
    font-weight: bold; /* Chữ in đậm */
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #e1e1e1; /* Màu đỏ khi hover */
    color: #fff !important;/* Màu chữ chuyển thành trắng khi hover */
    border-radius: 5px; /* Bo góc nhẹ khi hover */
    padding: 5px 10px; /* Thêm padding để có hiệu ứng đẹp hơn khi hover */
}

.special-heading {
    color: black; /* Màu đen */
    font-weight: bold; /* In đậm */
    text-align: center; /* Căn giữa */
    margin-bottom: 2rem; /* Khoảng cách dưới */
}
.note-text {
    font-size: 0.8rem;
	position: relative;
    z-index: 2;
    text-align: left;
    padding: 10px;
	
}

.product-header-section {
    position: relative;
    background-color: white;
    height: calc(100vh - 80px); /* Giới hạn chiều cao bao gồm menu chính */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-header-section .container-fluid {
    padding: 0; /* Đảm bảo không có khoảng trống xung quanh hình ảnh */
}

.product-header-section img.full-width-image {
	background-position:center center;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Đảm bảo ảnh tràn ra viền màn hình và không bị méo */
}

.product-header-section .text-overlay {
    position: absolute;
    top: 30%; /* Căn lề trên với khoảng cách 20px */
    left: 20%; /* Căn lề trái với khoảng cách 20px */
    color: black;
    text-align: left;
    padding: 20px; /* Thêm padding 20px cho phần nội dung */
	border-radius: 10px;
}

.product-header-section .text-overlay p {
    font-size:1.5rem;
}

@media (max-width: 768px) {
    .product-header-section {
        height: auto;
    }

    .product-header-section img.full-width-image {
		content: url('/z50/Z50-mb.jpg');
		height: 100vh;
        width: 100vw;
        object-fit: cover;
		
    }

    .product-header-section .text-overlay {
		padding:0px;
        top: 20px; /* Đảm bảo vị trí gần top trên màn hình nhỏ */
		text-align: center;
    }
}



.btn-rounded {
    border-radius: 25px;
}

.btn-outline-danger {
    color: #dc3545;
    background-color: transparent;
    background-image: none;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}


.gradient-text {
    font-size: 2.6rem; /* Kích thước chữ lớn */
    font-weight: bold;
    background: linear-gradient(to right, #daa520 0%, #daa520 40%, #ff69b4 50%, #ff69b4 60%, #8a2be2 100%);
    -webkit-background-clip: text; /* Cắt ảnh nền thành hình dạng của chữ */
    -webkit-text-fill-color: transparent; /* Làm cho phần text nền trong suốt */
    background-clip: text;
    text-fill-color: transparent;
    z-index: 2; /* Đảm bảo tiêu đề nằm trên nền */
}

#product-summary {
    background: black; /* Nền đen cho toàn bộ phần product-summary */
    padding: 30px 0;
    width: 100%;
}

#product-summary .gradient-text {
	font-size: 1.5rem; /* Kích thước chữ lớn */
    font-weight: bold;
	
}

#product-summary .special-heading {
    color: white; /* Màu đen */
}
    
.photoset {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Cột đầu tiên rộng hơn */
    grid-template-rows: auto;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.photoset-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    padding: 2px; /* Thêm khoảng cách giữa viền gradient và nội dung */
    border-radius: 10px;
    border: 1px solid transparent;
    background-image: linear-gradient(black, black), linear-gradient(to right, #FFD700, #c47d00);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ảnh phủ đầy khung hình */
    border-radius: 5px; /* Bo góc cho ảnh */
}

.selling-point-1 img {
    height: 100%; /* Đảm bảo ảnh phủ đầy khung hình */
}

.gallery-text {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 5px;
}



.selling-point-1 {
    grid-row: span 2;
}

@media (max-width: 768px) {
    .photoset {
        display: flex;
        flex-direction: column;
    }

    .photoset-2 {
        display: flex;
        flex-direction: column;
    }

    .photo {
        height: auto;
    }

    .gallery-text {
        font-size: 1.2rem;
    }
}





@media (max-width: 768px) {
    .photoset, .photoset-2 {
        display: flex;
        flex-direction: column;
    }

    .photo {
        height: auto;
    }

    .gallery-text {
        font-size: 1.2rem;
    }
}




#product-details {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

.info-box {
    margin-bottom: 30px;
}

.info-box h2 {
    font-size: 2rem; /* Increase font size */
    font-weight: bold;
    color: #FFD700;
}

.info-box p {
    font-size: 1.5rem; /* Increase font size */
    color: white;
}

.larger-img-container {
    max-width:100%; /* Increase container width */
}

.larger-img {
    width: 100%; /* Ensure image fills the container */
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    #product-details .row {
        flex-direction: column;
    }
	#product-details .special-heading {
    line-height: 2.5rem;
    }
	#product-details  .gradient-text {
		font-size:1.8rem;
	}
    .info-box {
        margin-bottom: 20px;
    }

    .larger-img-container {
        max-width: 90%; /* Slightly reduce size on smaller screens */
    }

    .img-fluid {
        margin: 20px 0;
    }

    .info-box h2 {
        font-size: 2rem;
    }

    .info-box p {
        font-size: 1.2rem;
    }
		
}

#realcube-image {
    background-color: black;
    color: white;
    padding: 30px 0;
}

#realcube-image .progress-heading {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 20px;
    line-height: 6rem;
}

#realcube-image hr {
    border: 1px solid #fff;
    width: 70%;
    margin: 20px auto;
}

#realcube-image .progress {
    height: 30px;
    background-color: #333; /* Background color for progress bar */
    border-radius: 15px;
    overflow: hidden; /* Ensure progress bar stays within its bounds */
}

#realcube-image .progress-bar {
    height: 30px;
    width: 0%; /* Start with width 0% */
    transition: width 1s ease-in-out; /* Animate the width */
}

.img-fluid {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    #realcube-image .row {
        flex-direction: column;
		margin-left: 0;
		margin-right: 0;

    }

    #realcube-image .img-fluid {
        width: 100%;
    }

    #realcube-image .progress-heading {
        font-size: 1.5rem;
    }

    #realcube-image hr {
        width: 30px;
    }
	#realcube-image .special-heading {
    line-height: 2.5rem;
    }
	#realcube-image  .gradient-text {
		font-size:1.8rem;
	}
	
}

#nightvis-technology {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

@media (max-width: 768px) {
    #nightvis-technology .row {
        flex-direction: column;
		margin-left: 0;
		margin-right: 0;

    }
	#nightvis-technology .special-heading {
    line-height: 2.5rem;
    }
	#nightvis-technology  .gradient-text {
		font-size:1.8rem;
	}
}

 
#fhd-recording {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}



#fhd-recording .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#fhd-recording .info-box {
    background-color: #1d1d1d;
    padding: 50px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: left; /* Canh giữa nội dung bên trong */
    width: 100%; /* Đảm bảo box không thay đổi kích thước */
}

#fhd-recording .info-box h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

#fhd-recording .info-box p {
    margin-bottom: 0;
    font-size: 1.2rem;
}

#fhd-recording .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
	#fhd-recording .row {
	margin-left: 0;
    margin-right: 0;
	}
    #fhd-recording .col-md-6 {
    justify-content: center;
    align-items: center;
	}


    #fhd-recording .info-box {
        width: 100%; /* Đảm bảo box chiếm 90% chiều rộng màn hình trên điện thoại */
		margin-left: auto; /* Căn giữa box */
        margin-right: auto; /* Căn giữa box */
    }
	#fhd-recording .special-heading {
    line-height: 2.5rem;
    }
	#fhd-recording  .gradient-text {
		font-size:1.8rem;
	}

}


#d2-save-storage {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}
@media (max-width: 768px) {
	#d2-save-storage .special-heading {
    line-height: 2.5rem;
    }
	#d2-save-storage  .gradient-text {
		font-size:1.8rem;
	}

}
	
#adas {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}
@media (max-width: 768px) {
	#adas .special-heading {
    line-height: 2.5rem;
    }
	#adas  .gradient-text {
		font-size:1.8rem;
	}

}

#sense-reality {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

.content-box {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.bordered-box {
    border: 1px solid #a78e02;
    border-radius: 15px; /* Bo góc cho border */
    border-image-slice: 1;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Khoảng cách giữa các box */
}

.content-row .content-box {
    flex: 1; /* Chia đều không gian giữa các content-box */
    min-width: calc(50% - 20px); /* Đảm bảo các box có cùng kích thước, trừ đi khoảng cách giữa các box */
}

#sense-reality img.img-fluid {
    max-height: 700px;
    object-fit: cover;
    width: 100%;
    border-radius: 15px; /* Bo góc cho hình ảnh trong các content-box */
}

#sense-reality .list-unstyled {
    list-style-type: none;
    padding-left: 0;
}

#sense-reality .list-unstyled li {
    display: flex;
    align-items: left;
    margin-bottom: 10px;
    justify-content: left; /* Canh giữa icon và text */
}

#sense-reality .list-unstyled li img {
    margin-right: 10px;
    width: 100px; /* Kích thước cố định cho các hình ảnh trong li */
    height: 100px;
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
	.content-box .gradient-text {
		font-size:1.8rem;
		
	}
    .content-row .content-box {
        min-width: 100%; /* Khi xem trên màn hình nhỏ, các box sẽ chiếm toàn bộ chiều ngang */
    }

    .content-row .content-box:last-child {
        order: -1; /* Di chuyển box có h3 và li lên giữa */
        text-align: center;
    }
	

    #sense-reality .list-unstyled li {
        flex-direction: column; /* Chuyển icon lên trên text */
		align-items: center;
		margin-bottom: 10px;
		justify-content: center;
    }

    #sense-reality .list-unstyled li img {
        margin-bottom: 10px;
        width: 50px; /* Kích thước icon nhỏ hơn khi xem trên màn hình nhỏ */
        height: 50px;
    }

    #sense-reality img.img-fluid {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        border-radius: 15px; /* Bo góc cho hình ảnh trong các content-box */
    }
}


#smart-parking {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

#smart-parking .list-inline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex: 1 1 22%; /* Đảm bảo các phần tử li có kích thước đều nhau */
    max-width: 200px;
}

#smart-parking .list-inline-item img {
    width: 50px; /* Điều chỉnh kích thước ảnh */
    height: auto;
    margin-right: 10px; /* Khoảng cách giữa ảnh và văn bản */
}

#smart-parking .list-inline-item p {
    margin: 0;
    font-size: 1rem; /* Kích thước văn bản hợp lý */
    word-wrap: break-word; /* Đảm bảo văn bản tự động xuống dòng */
    white-space: normal; /* Cho phép văn bản tự động xuống dòng khi không đủ chỗ */
    text-align: center; /* Căn giữa văn bản */
}

#smart-parking .list-inline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px; /* Khoảng cách giữa các phần tử */
    padding: 0;
    margin: 0 auto;
    max-width: 800px; /* Giới hạn chiều rộng tối đa của hàng */
}

@media (max-width: 768px) {
    #smart-parking .list-inline-item {
        flex-direction: column;
        align-items: center;
        flex: 1 1 35%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    #smart-parking .list-inline-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #smart-parking .list-inline {
        justify-content: center;
        gap: 20px;
    }
	#smart-parking .row {
	margin-left: 0;
    margin-right: 0;
	}
	#smart-parking .special-heading {
    line-height: 2.5rem;
    }
	#smart-parking  .gradient-text {
		font-size:1.8rem;
	}
}



#supercapacitor {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

@media (max-width: 768px) {
	#supercapacitor .special-heading {
    line-height: 2.5rem;
    }
	#supercapacitor  .gradient-text {
		font-size:1.8rem;
	}
}

#g-sensor {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}
#g-sensor .special-heading {
	line-height:4rem;
	text-align:left;
}


@media (max-width: 768px) {
	#g-sensor .special-heading {
    line-height: 2.5rem;
    }
	#g-sensor  .gradient-text {
		font-size:1.8rem;
	}
}

#microsd-card {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

#microsd-card .special-heading {
    line-height: 4rem;
    text-align: left;
}

#microsd-card .row {
    margin-top: 30px; /* Margin top 30px cho toàn bộ các row */
}

#microsd-card .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo hình ảnh hiển thị cover */
    border-radius: 15px; /* Bo góc cho hình ảnh */
}

#microsd-card .progress {
    background-color: #333; /* Màu nền của progress bar */
    height: 30px; /* Chiều cao của progress bar */
    border-radius: 15px; /* Bo góc */
    overflow: hidden;
}

#microsd-card .progress-bar {
    height: 100%;
    width: 0%; /* Start with width 0% */
    border-radius: 0px; /* Bo góc cho progress bar */
    transition: width 2s ease-in-out;
}

#microsd-card .col-md-6.d-flex {
    padding-left:50px;
    flex-direction: column; /* Đảm bảo các phần tử trong cột dọc */
}

@media (max-width: 768px) {
    #microsd-card .row {
		margin-left: 0;
		margin-right: 0;
        flex-direction: column;
    }

    #microsd-card .col-md-6 {
		
        margin-bottom: 20px;
    }
	#microsd-card .col-md-6.d-flex {
    padding-left:20px;
    flex-direction: column; /* Đảm bảo các phần tử trong cột dọc */
	}
	#microsd-card .special-heading {
    line-height: 2.5rem;
    }
	#microsd-card  .gradient-text {
		font-size:1.8rem;
	}
}


#recognizable {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

#recognizable .img-fluid {
	padding:30px;
	
}


@media (max-width: 768px) {
    #recognizable .row {
		margin-left: 0;
		margin-right: 0;
	}
	#recognizable .img-fluid {
	padding:0;
	}
	#recognizable  .gradient-text {
		font-size:1.8rem;
}
}

#connect-share {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

@media (max-width: 768px) {
    #connect-share .row {
		margin-left: 0;
		margin-right: 0;
	}
	#connect-share .img-fluid {
	padding:0;
	}
	#connect-share  .gradient-text {
		font-size:1.8rem;
}
}




.detail-highlight {
    display: block;
    color: #6a11cb;
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.position-relative {
    position: relative;
}

.full-width-image-section {
    position: relative;
    width: 100vw; /* Đảm bảo phần tử tràn ra toàn bộ chiều rộng của cửa sổ */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.full-width-image-section img.full-width-image {
    width: 100vw; /* Đảm bảo ảnh tràn ra toàn bộ chiều rộng của cửa sổ */
    height: auto;
    object-fit: cover; /* Đảm bảo ảnh dạng cover */
    min-height: 667px; /* Chiều cao tối thiểu cho điện thoại */
}

.overlay-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0); /* Tạo nền mờ cho văn bản */
    padding: 0px;
    text-align: center;
    border-radius: 10px;
    max-width: 90%;
}

.button-overlay {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.button-overlay a.btn {
    background-color: rgba(0, 0, 0, 0.5); /* Tạo nền mờ cho nút */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .full-width-image-section img.full-width-image {
        min-height: 667px; /* Chiều cao tối thiểu cho điện thoại */
    }

    .full-width-image-container img.full-width-image {
        height: auto; /* Đảm bảo ảnh dạng cover */
        min-height: 667px; /* Chiều cao tối thiểu */
    }

    .overlay-text {
        top: 10%; /* Điều chỉnh vị trí văn bản */
		left: 30%;
		margin-left:20px;
		text-align: left;
        transform: translate(-50%, 0%);
        font-size: 14px; /* Điều chỉnh kích thước chữ nhỏ lại cho phù hợp với màn hình nhỏ */
    }

    .overlay-text h3 {
        font-weight: bold;
		font-size: 1.5rem; /* Điều chỉnh kích thước chữ tiêu đề */
    }

    .overlay-text p {
        font-size: 1rem; /* Điều chỉnh kích thước chữ nội dung */
    }
	.button-overlay {
        flex-direction: column; /* Chuyển sang dạng cột trên điện thoại */
        top: 80%; /* Điều chỉnh vị trí nút */
    }

    .button-overlay a.btn {
        margin-bottom: 5px; /* Khoảng cách giữa các nút */
    }

    .button-overlay a.btn:last-child {
        margin-bottom: 0; /* Xóa khoảng cách cho nút cuối cùng */
    }
}


#product-packaging .section-title {
    color: black;
    text-align: left;
    font-weight: bold;
    font-size: 2rem;
    border-bottom: 2px solid #ddd; /* Border dưới */
    padding-bottom: 10px;
    margin-bottom: 30px;
}

#product-packaging .gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 2rem;
}

#product-packaging .packaging-item {
    margin-bottom: 30px;
}

#product-packaging .packaging-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#product-packaging .packaging-box img {
    height: auto; /* Maintain aspect ratio */
    max-height: none; /* Allow image to take its natural height */
    object-fit: contain; /* Ensure the image covers the area (optional) */
}

#product-packaging .packaging-box p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    #product-packaging .packaging-item {
        margin-bottom: 20px;
    }
    
    #product-packaging .packaging-box {
        padding: 15px;
    }

    #product-packaging .packaging-box img {
        max-height: 250px;
    }

    #product-packaging .section-title {
        font-size: 1.5rem;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }
	#product-packaging .row {
		margin-left: 0;
		margin-right: 0;
	}
}


#product-specifications .comparison-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#product-specifications .section-title {
    color: black;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid #ddd;
    text-align: left;
}

#product-specifications .spec-column {
    padding: 20px;
    background-color: transparent;
    text-align: left; /* Canh toàn bộ nội dung về bên trái */
}

#product-specifications .spec-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#product-specifications .spec-title {
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-align: left; /* Canh tiêu đề về bên trái */
}

#product-specifications .spec-detail {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
    height: 4.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: left; /* Canh nội dung về bên trái */
}

#product-specifications .spec-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    text-align: left; /* Canh toàn bộ nội dung trong box về bên trái */
}


#product-specifications .hidden-spec {
    visibility: hidden; /* Ẩn nút nhưng vẫn giữ không gian */
}

@media (max-width: 768px) {
    #product-specifications .comparison-section .row {
        flex-direction: column;
        align-items: center;
    }

    #product-specifications .col-md-3 {
        margin-bottom: 30px;
    }
	#    #product-specifications .row {
		margin-left: 0;
		margin-right: 0;
	}
}

