* {
    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 {
	padding-left:80px;
    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 h2 {
	
	font-size:1.2rem;
	font-weight:400;
}
.product-header-section .text-overlay .btn-rounded {
	margin-top:20px;
}

@media (max-width: 768px) {
    .product-header-section {
        height: auto;
    }

    .product-header-section img.full-width-image {
		content: url('/z40/Z40-Banner-MB.jpg');
		height: auto;
        width: 100%;
        object-fit: cover;
		padding-left:0;
		padding-top:30px;
		
    }

    .product-header-section .text-overlay {
		padding:0px;
        top: 20px; /* Đảm bảo vị trí gần top trên màn hình nhỏ */
		left: 0;
		text-align: center;
    }
	.product-header-section .text-overlay h2 {
	padding:0 20px 0;
	
	}
	.product-header-section .text-overlay .btn-rounded {
	margin-top:0;
	}
}




#product-summary .selling-point {
    margin-bottom: 30px;
}

#product-summary .selling-box {
    border: 1px solid black;
    padding: 20px;
    border-radius: 10px;
    background-color: black;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#product-summary .selling-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-summary .selling-box p {
    margin-top: 10px;
    font-weight: bold;
    color: white;
}

@media (max-width: 768px) {
    #product-summary .selling-point {
        margin-bottom: 20px;
    }
    
    #product-summary .selling-box {
        padding: 15px;
    }

    #product-summary .selling-box img {
        max-height: 250px;
    }

   	#product-summary .row {
		margin-left: 0;
		margin-right: 0;
	}
}

#resolution {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

#resolution .row {
    margin-top: 30px;
}

#resolution .list-unstyled {
    display: flex;
    justify-content: space-between; /* Giãn đều các mục */
    align-items: center;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    flex-wrap: wrap; /* Đảm bảo các mục li nằm chung một hàng */
}

#resolution .list-unstyled li {
    display: flex;
    flex-direction: column; /* Hình ảnh phía trên, nội dung phía dưới */
    align-items: center;
    margin-bottom: 10px;
    text-align: center; /* Căn giữa nội dung */
    flex: 1 1 30%; /* Đảm bảo mỗi mục chiếm 30% chiều rộng */
    max-width: 30%; /* Giới hạn tối đa chiều rộng */
}

#resolution .list-unstyled li img {
    margin-bottom: 10px;
    width: 60px; /* Kích thước cố định cho các hình ảnh trong li */
    height: auto;
}

@media (max-width: 768px) {
	
	#resolution .row {
       	margin-left: 0;
		margin-right: 0;

    }
	#resolution .col-md-6 img.img-fluid {
        max-height: 300px;
    }

    #resolution .col-md-6:first-child {
        order: 2; /* Đưa cột chứa hình ảnh lên trên cùng */
    }
	
    #resolution .list-unstyled {
        justify-content: space-around; /* Đảm bảo các mục cách đều nhau */
    }

    #resolution .list-unstyled li {
        flex: 1 1 15%; /* Khi ở chế độ responsive, mỗi mục chiếm 45% chiều rộng */
        max-width: 45%; /* Giới hạn tối đa chiều rộng ở chế độ responsive */
        margin-bottom: 20px; /* Khoảng cách giữa các mục tăng lên ở chế độ responsive */
    }

    #resolution .list-unstyled li img {
        width: 50px; /* Kích thước icon nhỏ hơn khi xem trên màn hình nhỏ */
        height: 50px;
    }

    #resolution img.img-fluid {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        border-radius: 15px;
    }

    #resolution .special-heading {
        line-height: 2.5rem;
    }

    #resolution .gradient-text {
        font-size: 1.8rem;
    }
}

#front-rear {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}
@media (max-width: 768px) {
	#front-rear .special-heading {
        line-height: 2.5rem;
    }

    #front-rear .gradient-text {
        font-size: 1.8rem;
    }
}



.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-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;
	}
	
}


 
#design {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}


@media (max-width: 768px) {
	#design .special-heading {
    line-height: 2.5rem;
    }
	#design  .gradient-text {
		font-size:1.8rem;
	}
}

#gps {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

@media (max-width: 768px) {
	#gpsgps .special-heading {
    line-height: 2.5rem;
    }
	#gps  .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;
	}

}
	


#sense-reality {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}


@media (max-width: 768px) {
	#sense-reality  .special-heading {
        line-height: 2.5rem;
    }

    #sense-reality  .gradient-text {
        font-size: 1.8rem;
    }
}  
	
#share-content {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}
#share-content .col-md-6 {
	flex-direction:column;
	justify-content:center;

}
#share-content .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: 380px;
}

#share-content .list-inline-item img {
    width: 100px; /* Điều chỉnh kích thước ảnh */
    height: auto;
   
}

#share-content .img-fluid {
	height:100%;
	width:auto;
	object-fit: cover;
	
}

#share-content .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: left; /* Căn giữa văn bản */
}

#share-content .list-inline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px; /* Khoảng cách giữa các phần tử */
    padding: 0;
    margin: 0 auto;
    max-width: auto; /* Giới hạn chiều rộng tối đa của hàng */
}

@media (max-width: 768px) {
	
	#share-content .col-md-6:last-child {
        order: -1; /* Di chuyển box có h3 và li lên giữa */
        text-align: center;
    }
	
    #share-content .list-inline-item {
        flex-direction: column;
        align-items: center;
        flex: 1 1 55%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    #share-content .list-inline-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #share-content .list-inline {
        justify-content: center;
        gap: 20px;
    }
	#share-content .list-inline-item p {
    
    text-align: center; /* Căn giữa văn bản */
}
	#share-content .row {
	margin-left: 0;
    margin-right: 0;
	}
	#share-content .special-heading {
    line-height: 2.5rem;
    }
	#share-content  .gradient-text {
		font-size:1.8rem;
	}
}

#parking-mode {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

#parking-mode .parking-mode-key {
    margin-bottom: 30px;
}

#parking-mode .parking-box {
    border: 1px solid white;
    padding: 20px;
    border-radius: 10px;
    background-color: black;
    box-shadow: 0px 4px 8px rgba(255, 255,255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}


#parking-mode .parking-box p {
    margin-top: 10px;
    color: white;
}

@media (max-width: 768px) {
	#parking-mode .special-heading {
        line-height: 2.5rem;
    }

    #parking-mode  .gradient-text {
        font-size: 1.8rem;
    }
	
    #parking-mode .parking-mode-key {
        margin-bottom: 20px;
    }
    
    #parking-mode .parking-box {
        padding: 15px;
    }

   	#parking-mode .row {
		margin-left: 0;
		margin-right: 0;
	}
}

#emergency-recording {
    background-color: black;
    color: white;
    padding: 30px 0;
    width: 100%;
}

@media (max-width: 768px) {
	#emergency-recording  .special-heading {
        line-height: 2.5rem;
    }

    #emergency-recording   .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;
	}
}




.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;
	}
}

