/* Hettich Videos CSS */
/* Main container */
.hettich-banner {
    display: flex;
    max-width: 1200px;
    margin: 56px auto 56px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.hettich-banner-image {
    flex: 0 0 30%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hettich-banner-image img {
    max-width: 100%;
    height: auto;
}

.hettich-banner-content {
    flex: 1;
    padding: 20px 20px 20px 0;
}

.hettich-banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    background-color: #231f20;
    color: white;
    display: inline-block;
    padding: 10px 20px;
}

.hettich-banner-description {
    font-size: 20px;
    line-height: 1.5;
    color: #212529;
}

/* Video Grid */
.hettich-video-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.hettich-video-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* Video Card */
.hettich-video-card {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hettich-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hettich-video-card.blue {
    background-color: #1959a6;
    color: white;
}

/* Thumbnail */
.hettich-video-thumbnail {
    position: relative;
    height: 180px;
}

.hettich-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hettich-video-thumbnail .hettich-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

/* Content */
.hettich-video-content {
    padding: 20px;
}

.hettich-video-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hettich-video-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Stats */
.hettich-stats-divider {
    height: 1px;
    background-color: currentColor;
    opacity: 0.2;
    margin-bottom: 15px;
}

.hettich-stats-container {
    display: flex;
    justify-content: space-between;
    gap: 38px;
}

.hettich-views,
.hettich-likes {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* Pagination */
.hettich-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.hettich-pagination-number,
.hettich-pagination-prev,
.hettich-pagination-next,
.hettich-pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hettich-pagination-number:hover,
.hettich-pagination-prev:hover,
.hettich-pagination-next:hover {
    background-color: #f5f5f5;
}

.hettich-pagination-number.active {
    background-color: #231f20;
    color: white;
    border-color: #231f20;
}

/* Responsive */
@media (max-width: 992px) {
    .hettich-banner {
        flex-direction: column;
    }

    .hettich-banner-image {
        padding: 20px 20px 0;
    }

    .hettich-video-row {
        flex-wrap: wrap;
    }

    .hettich-video-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hettich-video-card {
        flex: 0 0 100%;
    }
}

.sidebar {
    width: 300px;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    background-color: #222;
    color: white;
    padding: 15px;
    font-weight: bold;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
}

.main-content.col.large-9.small-12.medium-9 {
    flex: 1;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.form-container {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.section-header {
    background-color: #222;
    color: white;
    padding: 10px 15px;
    margin: 20px 0 15px 0;
    font-weight: bold;
}

.form-row {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    min-height: 150px;
    resize: vertical;
}

.hettich-categories a.active {
    color: #1959A6;
    font-weight: normal;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.danh-muc-san-pham:hover .category-list {
    background-color: #FFF;
}

.product-in-shop .product-item {
    width: calc(33.333% - 20px);
}

.nav-left {
    gap: 60px !important;
}

.danh-muc-san-pham>a {
    font-weight: normal;
    color: #FFF !important;
    padding: 10px !important;
    font-size: 20px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.image-upload {
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    color: #999;
    cursor: pointer;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: block;
}

.product-price bdi {
    color: #ed1c24;
}

.submit-btn:hover {
    background-color: #0052a3;
}

.hettich-product-info:hover p {
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .form-grid,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
}

.hettich-products-row {
    gap: 24px !important;
}

.hettich-product-card {
    box-shadow: none !important;
}

.hettich-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
/*     width: 40px;
    height: 40px; */
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hettich-pagination .page-numbers.current {
    background: var(--fs-color-secondary);
    color: #FFF !important;
}

.moi-nhat.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.moi-nhat .news-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    text-decoration: none;
    flex-direction: row;
    color: inherit;
}

.moi-nhat.news-meta a {
    white-space: nowrap;
}

.moi-nhat .news-card.large {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
}

.moi-nhat .news-image {
    flex: 1;
    min-height: 250px;
    height: auto;
    background-size: cover;
    background-position: center;
}

.moi-nhat .news-card.large .news-image {
    height: 350px;
    border-radius: 7px;
}

.moi-nhat .news-content {
    padding: 20px;
}

.moi-nhat .news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: unset !important;
}

.moi-nhat .news-card:not(:first-child) .news-content {
    width: 370px;
}

.moi-nhat .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.moi-nhat .news-date {
    margin-right: 20px;
}

.moi-nhat .news-views {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.moi-nhat .news-views::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
    background-size: contain;
    margin-right: 5px;
}

.moi-nhat .news-category {
    display: flex;
    align-items: center;
}

.moi-nhat .news-category::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z'/%3E%3C/svg%3E");
    background-size: contain;
    margin-right: 5px;
}

.moi-nhat .news-description {
    color: #444;
    line-height: 1.5;
    font-size: 14px;
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .moi-nhat .news-grid {
        grid-template-columns: 1fr;
    }

    .moi-nhat .news-card.large {
        grid-column: auto;
        grid-row: auto;
    }

    h1 {
        font-size: 32px;
    }
}

.header .nav {
    display: flex;

    margin-bottom: 20px;
}

.nav-item {
    padding: 10px 20px;
    color: #999;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-item.active {
    color: #1959a6;
    font-weight: bold;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 40px;
}

.news-card {
    border-radius: 16px;
    border: 1px solid rgba(35, 31, 32, 0.50);
    background: var(--white, #FFF);
    transition: transform 0.3s, box-shadow 0.3s;

}

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

.news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0px 0px;
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;
}

.news-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
}

.news-date {
    margin-right: 15px;
}

.news-views {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.news-views::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.news-category {
    display: flex;
    align-items: center;
}

.news-category::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.news-description {
    color: #444;
    line-height: 1.5;
    font-size: 14px;
    margin-top: auto;
}


span.news-category {
    display: block;
    overflow: hidden;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    max-width: 100%;
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 10px 0;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 28px;
    }
}

.news-meta {
    justify-content: space-between;
}