
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,  
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
    text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Header Styles */

header .tab-dask {
	justify-content: center;
}
header .navbar {
     padding: 0;
}

header .navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

header .navbar-nav {
    align-items: center;
}

header .nav-item {
    position: relative;
}

header .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #333;
}

header .search-form {
    position: relative;
    width: 250px;
}

header .search-form .form-control {
    padding-right: 40px;
}

header .search-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        width: 100%;
        height: auto;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        align-items: flex-start;
    }

    header .nav-item {
        width: 100%;
        margin: 0 !important;
        border-bottom: 1px solid #eee;
    }

    header .tab-dask {
        justify-content: space-between;
    }

    .nav-link {
        padding: 12px 0;
    }

    .search-form {
        width: 100%;
        margin: 10px 0;
    }

    .d-flex.align-items-center {
        flex-direction: row;
        width: 100%;
    }

    .cart-icon {
        margin: 10px 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 30px;
    }

    .search-form .form-control {
        font-size: 14px;
    }
}

/* Banner styles */
.banner {
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.banner-slide {
    width: 100%;
    height: 100%;
}

.banner-content {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-text {
    max-width: 600px;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.banner-desc {
    font-size: 20px;
    margin-bottom: 30px;
    color: #666;
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.banner-btn:hover {
    background: #333;
}

/* Navigation arrows */
.banner-nav {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

@media (max-width: 768px) {
    .banner-content {
        height: 300px; /* Chiều cao giảm xuống trên mobile */
    }
}

@media (max-width: 576px) {
    .banner-content {
        height: 200px; /* Chiều cao nhỏ hơn nữa cho điện thoại nhỏ */
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .header .menu-toggle {
        display: block;
    }

    .header .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header .nav-menu.active {
        display: block;
    }

    .header .nav-item {
        margin: 10px 0;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-desc {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .banner-title {
        font-size: 32px;
    }

    .banner-desc {
        font-size: 16px;
    }
}

/* Services Section */
.services {
    background-color: #fff;
}

.service-item {
    border: 1px solid;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: #333;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {

}

/* Categories Section */
.categories {
    background-color: #f8f9fa;
}

.category-item {
    padding: 15px;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-link {
    text-decoration: none;
    color: #333;
}

.category-img {
    height:200px !important;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-count {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Swiper Navigation */
.categories-slider .swiper-button-next,
.categories-slider .swiper-button-prev {
    color: #333;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.categories-slider .swiper-button-next:after,
.categories-slider .swiper-button-prev:after {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-item {
        margin-bottom: 20px;
    }
}

/* Categories Navigation Buttons */
.categories {
    position: relative;
}

.categories .swiper-button-next,
.categories .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.categories .swiper-button-next {
    right: 0;
}

.categories .swiper-button-prev {
    left: 0;
}

.categories .swiper-button-next:after,
.categories .swiper-button-prev:after {
    font-size: 18px;
    color: #333;
}

@media (max-width: 768px) {
    .categories .swiper-button-next,
    .categories .swiper-button-prev {
        display: none;
    }
}

/* News Section */
.news {
    background: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #333;
}

.news-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.news-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    background: #fff;
}

.news-title {
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* Giới hạn 3 dòng */
  overflow: hidden;
  text-overflow: ellipsis;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-desc {
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* Giới hạn 3 dòng */
  overflow: hidden;
  text-overflow: ellipsis;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.news-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.news-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.news-link:hover:after {
    width: 100%;
}

/* Danh mục tin tức */
.news-category h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745 !important;
    text-transform: uppercase;
}

.search-box .input-group {
    width: 300px;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body .btn {
    margin-top: auto;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
}

.card-text {
    color: #666;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px;
}

.btn-success {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

@media (max-width: 768px) {
    .search-box .input-group {
        width: 100%;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* News Navigation */
.news .swiper-button-next,
.news .swiper-button-prev {
    color: #333;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news .swiper-button-next:after,
.news .swiper-button-prev:after {
    font-size: 18px;
}

.news .swiper-pagination-bullet {
    background: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .news-img {
        height: 180px;
    }
}

/* Dropdown menu styles */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: #333;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #28a745;
    border-left-color: #28a745;
    padding-left: 2rem;
}

/* Hiệu ứng mở dropdown */
.dropdown:hover .dropdown-menu {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: #fff;
}

.about-video {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content .section-title {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}



.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .about-video iframe {
        height: 300px;
    }
    
    .about-content .section-title {
        font-size: 1.5rem;
    }
}

.search-form {
    position: relative;
}

.search-form .form-control {
    padding: 8px 35px 8px 15px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    width: 250px;
    box-shadow: none;
    border-color: #ddd;
}

.search-form .btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-form .btn:hover {
    color: #333;
}

/* Gallery Section */
.gallery {
    background-color: #fff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery Navigation */
.gallery .swiper-button-next,
.gallery .swiper-button-prev {
    color: #333;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery .swiper-button-next:after,
.gallery .swiper-button-prev:after {
    font-size: 18px;
}

.gallery .swiper-pagination-bullet {
    background: #333;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
    }
}

/* Products Section */
.products {
    background-color: #fff;
}

.product-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-img .img-hover {
    opacity: 0;
}

.product-item:hover .img-main {
    opacity: 0;
}

.product-item:hover .img-hover {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-info {
    background-color: #f8f9fa;
}

.product-info .nav-tabs {
    border: none;
}

.product-info .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 2rem;
    position: relative;
}

.product-info .nav-tabs .nav-link.active {
    color: #dc3545;
    background: none;
    border: none;
}

.product-info .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dc3545;
}

/* .product-info .product-description {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
} */

.product-info .product-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-info .product-description ul {
    padding-left: 1.5rem;
}

.product-info .product-description ul li {
    margin-bottom: 0.5rem;
}

.product-info .specs-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.product-info .table th {
    width: 30%;
    font-weight: 500;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-new {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff4444;
}

.price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .product-item {
        margin-bottom: 20px;
    }
}

/* Cart Styles */
.cart .table-responsive {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.cart table {
    margin-bottom: 0;
}

.cart th {
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid #eee;
}

.cart td {
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.cart tr:last-child td {
    border-bottom: none;
}

.cart .quantity .form-control {
    text-align: center;
    border-radius: 5px;
}

.cart .quantity .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.cart small.text-danger {
    cursor: pointer;
}

.cart small.text-danger:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cart .table-responsive {
        padding: 10px;
    }
    
    .cart td {
        padding: 0.5rem;
    }
    
    .cart .quantity .form-control {
        width: 40px;
    }
}

/* Fixed Contact Buttons */
.fixed-contact {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.contact-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: calc(100% + 15px);
}

/* Màu sắc cho từng nút */
.contact-btn.scroll-top {
    background-color: #333;
}

.contact-btn.phone {
    background-color: #ff0000;
}

.contact-btn.zalo {
    background-color: #0068ff;
}

.contact-btn.messenger {
    background-color: #0084ff;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-btn::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
    }
}

/* Products Section */
.products {
    background-color: #fff;
}

.product-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-img .img-hover {
    opacity: 0;
}

.product-item:hover .img-main {
    opacity: 0;
}

.product-item:hover .img-hover {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-info {
    background-color: #f8f9fa;
}

.product-info .nav-tabs {
    border: none;
}

.product-info .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 2rem;
    position: relative;
}

.product-info .nav-tabs .nav-link.active {
    color: #dc3545;
    background: none;
    border: none;
}

.product-info .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dc3545;
}

/* .product-info .product-description {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
} */

.product-info .product-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-info .product-description ul {
    padding-left: 1.5rem;
}

.product-info .product-description ul li {
    margin-bottom: 0.5rem;
}

.product-info .specs-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.product-info .table th {
    width: 30%;
    font-weight: 500;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-new {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff4444;
}

.price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .product-item {
        margin-bottom: 20px;
    }
}

/* Cart Styles */
.cart .table-responsive {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.cart table {
    margin-bottom: 0;
}

.cart th {
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid #eee;
}

.cart td {
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.cart tr:last-child td {
    border-bottom: none;
}

.cart .quantity .form-control {
    text-align: center;
    border-radius: 5px;
}

.cart .quantity .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.cart small.text-danger {
    cursor: pointer;
}

.cart small.text-danger:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cart .table-responsive {
        padding: 10px;
    }
    
    .cart td {
        padding: 0.5rem;
    }
    
    .cart .quantity .form-control {
        width: 40px;
    }
}

/* Pagination styles */
.pagination {
    margin-bottom: 0;
}

.pagination .page-link {
    color: black;
    border: 1px solid #28a745;
    padding: 8px 16px;
    margin: 0 4px;
}

.pagination .page-link:hover {
    background-color: #298397;
    color: black;
    border-color: #28a745;
}

.pagination .page-item.active .page-link {
    background-color: #298397;
    border-color: #28a745;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: #dee2e6;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-info:hover,
.contact-form:hover {
    transform: translateY(-5px);
}

.contact-info {

    padding: 30px;
}

.contact-info h3,
.contact-form h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.contact-info h3::after,
.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #0dcaf0);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(13, 110, 253, 0.1);
}

.info-item i {
    font-size: 1.4rem;
    color: #0d6efd;
    margin-right: 15px;
    margin-top: 3px;
}

.info-item span {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    padding: 30px;
}

.contact-form .form-floating {
    margin-bottom: 20px;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    height: auto;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

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

.contact-form .btn-primary {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 10px;
    background-color: #298397;
    border: none;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Map container styles */
.contact-info iframe {
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }

    .contact-section .contact-rever{
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .info-item {
        padding: 10px;
    }
}

/* Footer Styles */
.footer {
    background-color: #298397 !important;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.footer-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form .btn {
    padding: 8px 20px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-title {
        margin-top: 20px;
    }
}

.cart-icon a {
    font-size: 1.2rem;
    text-decoration: none;
}

.cart-count {
    font-size: 0.7rem;
    transform: translate(-50%, -50%) !important;
}

.cart-icon:hover {
    opacity: 0.8;
}

/* Nav Tabs */
.product-tabs {
    background-color: white;
    padding-top: 10px;
  }
  .product-tabs .nav-tabs .nav-link {
    font-weight: bold;
    color: #198754;
  }
  .product-tabs .nav-tabs .nav-link.active {
    background-color: #198754;
    color: white;
  }
  
  /* Danh sách sản phẩm */
  .product-card {
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
  }
  .product-card:hover {
    transform: scale(1.05);
  }
  .product-card .badge {
    font-size: 14px;
  }
  .product-card .rating {
    color: gold;
  }

  /* Product Detail Styles */
.product-detail {
    background-color: #fff;
}

.product-detail .product-image-container {
    position: relative;
}

.product-detail .main-image {
    border: 1px solid #eee;
    position: relative;
}

.product-detail .stock-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.product-detail .thumbnail {
    border: 2px solid transparent;
    cursor: pointer;
}
.product-detail .img-fluids {
    width: 100%;
    height: 450px;
}
.product-detail .thumbnail.active {
    border-color: white;
}

.product-detail .thumbnail.active {
    border-color: white;
}

.product-detail .product-title {
    height: auto !important;
    font-size: 1.5rem;
    font-weight: 600;
}

.product-detail .product-meta {
    font-size: 0.9rem;
}

.product-detail .new-price {
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-detail .old-price {
    font-size: 1rem;
}

.product-detail .discount-badge {
    background: #dc3545;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.product-detail .quantity-selector .form-control {
    border-left: 0;
    border-right: 0;
}

.product-detail .quantity-selector .btn {
    min-width: 40px;
}

.product-detail .support-info {
    border-radius: 8px;
}

.product-detail .support-info strong {
    color: #dc3545;
}



.progress-container {
    position: relative;
    padding: 20px 0;
    max-width: 600px;
    margin: 0 auto;
}

.progress {
    background-color: #e9ecef;
    position: relative;
    overflow: visible;
    margin: 30px 0;
    height: 2px !important;
}

.progress-bar {
    background: linear-gradient(45deg, #198754, #25a567);
    height: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: width 0.8s ease-in-out;
}

.step-circles {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.step {
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.circle {
    width: 55px;
    height: 55px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    transition: all 0.5s ease;
    font-weight: 500;
    color: #666;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.circle::before {
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.step.active .circle::before {
    transform: translate(-50%, -50%) scale(1);
}

.step.active .circle {
    background: #298397;
    border-color: #298397;
    color: #fff;
    transform: scale(1.1);
}

.step-label {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step.active .step-label {
    color: #198754;
    opacity: 1;
    transform: scale(1.05);
}

/* Hover Effects */
.step:hover .circle {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.step.active:hover .circle {
    transform: scale(1.15);
}

/* Animation for Step Change */
@keyframes stepComplete {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.1);
    }
}

.step.active .circle {
    animation: stepComplete 0.5s ease-out;
}

/* Progress Bar Animation */
@keyframes progressFill {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}

.progress-bar {
    background-size: 200% 200%;
    animation: progressFill 2s linear infinite;
}

/* Form Styles */
.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.form-label {
    font-weight: 500;
}

/* Order Confirmation Styles */
.success-animation {
    animation: fadeInDown 0.5s ease-out;
}

.order-details {
    animation: fadeInUp 0.5s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Detail Styles */
.news-detail {
    background-color: #fff;
    padding: 80px 0;
}

/* Sidebar Styles */
.sidebar-news {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0d6efd;
}

.related-news-item {
    transition: all 0.3s ease;
}

.related-news-item:hover {
    transform: translateX(5px);
}

.related-news-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.related-news-content h6 {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-news-item:hover .related-news-content h6 {
    color: #0d6efd;
}

.related-news-content small {
    font-size: 0.8rem;
}

/* Main Content Styles */
.news-detail .blog-post {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 991px) {
    .sidebar-news {
        margin-bottom: 30px;
    }
    
    .related-news-img {
        width: 60px;
        height: 60px;
    }

    .news-detail .news-rever{
        flex-direction: column-reverse;
    }
}

/* About Images Section */
.about-images {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-images .sidebar-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.about-images .sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0d6efd;
}

.about-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-gallery img {
        height: 100px;
    }
}
.views {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.views i {
    color: #298397;
}

.views span {
    font-weight: 500;
}

/* Header Navigation Styles */
header .navbar-nav .nav-item {
    position: relative;
}

header .navbar-nav .nav-item .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

header .navbar-nav .nav-item .nav-link:hover {
    color: #298397;
}

header .navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #298397;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

header .navbar-nav .nav-item:hover::after {
    width: 100%;
}

/* Dropdown hover styles */
header .navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

header .navbar-nav .dropdown-item {
    color: #333;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
}

header .navbar-nav .dropdown-item:hover {
    color: #298397;
    background-color: rgba(41, 131, 151, 0.1);
}