
/* หลักการพื้นฐาน */
:root {
    --primary-color: #D2051E;
    --secondary-color: #ffffff;
    --accent-color: #222222;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Prompt', 'Sarabun', sans-serif;
}

body {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ส่วนหัว */
header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: var(--light-gray);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 24px;
    cursor: pointer;
}

/* ส่วนปุ่มติดต่อ */
.contact-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

/* ส่วนแบนเนอร์ */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/600') center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--secondary-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-button:hover {
    background-color: #b10016;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ส่วนเกี่ยวกับเรา */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 25%;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}

/* ส่วนสินค้าและบริการ */
.products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    background: var(--medium-gray);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-details p {
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.product-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-button:hover {
    background-color: #b10016;
}

/* ส่วนคำถามที่พบบ่อย */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    padding: 15px 20px;
    background-color: var(--secondary-color);
    color: var(--dark-gray);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.accordion-header:hover {
    background-color: var(--light-gray);
    border-left: 3px solid var(--primary-color);
}

.accordion-header.active {
    background-color: var(--light-gray);
    border-left: 3px solid var(--primary-color);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 15px 20px;
    max-height: 200px;
}

/* ส่วนติดต่อ */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #b10016;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    background-color: #b10016;
}

/* ส่วนท้าย */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--light-gray);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ปรับการแสดงผลสำหรับอุปกรณ์เคลื่อนที่ */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        visibility: hidden;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        flex: none;
        width: 100%;
    }
}

    /* โครงสร้างหลักของหน้าสินค้า */
    .products-container {
        display: flex;
        gap: 30px;
        margin: 40px 0;
    }
    
    .categories-sidebar {
        width: 280px;
        flex-shrink: 0;
    }
    
    .products-display {
        flex-grow: 1;
    }
    
    /* สไตล์สำหรับหมวดหมู่ด้านซ้าย */
    .categories-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e1e1e1;
    }
    
    .categories-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .categories-list li {
        margin-bottom: 8px;
    }
    
    .categories-list a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #555;
        padding: 8px 5px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .categories-list a:hover, .categories-list a.active {
        background-color: #f5f5f5;
        color: #D2051E;
    }
    
    .categories-list a i {
        margin-right: 8px;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }
    
    .categories-list a:hover i, .categories-list a.active i {
        transform: translateX(3px);
    }
    
    /* ส่วนควบคุมการแสดงผลสินค้า */
    .product-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e1e1e1;
    }
    
    .product-filter select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: #fff;
        cursor: pointer;
    }
    
    .view-options {
        display: flex;
        gap: 5px;
    }
    
    .view-options button {
        background: #f5f5f5;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 6px 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .view-options button.active {
        background-color: #D2051E;
        color: white;
        border-color: #D2051E;
    }
    
    /* ส่วนแสดงสินค้า */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    /* สไตล์สำหรับมุมมองรายการ */
    .products-grid.list-view {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .list-view .product-card {
        display: flex;
        border: 1px solid #e1e1e1;
    }
    
    .list-view .product-image {
        width: 200px;
        flex-shrink: 0;
    }
    
    .list-view .product-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
        width: 100%;
    }
    
    .list-view .product-description {
        display: block;
    }
    
    /* สไตล์สำหรับการ์ดสินค้า */
    .product-card {
        border: 1px solid #e1e1e1;
        border-radius: 6px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background-color: #fff;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .product-image {
        position: relative;
        height: 200px;
        overflow: hidden;
    }
    
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .product-card:hover .product-image img {
        transform: scale(1.05);
    }
    
    .wishlist-button {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .wishlist-button:hover {
        background-color: #fff;
        transform: scale(1.1);
    }
    
    .wishlist-button i {
        color: #ff5757;
        font-size: 1rem;
    }
    
    .product-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: #ff5757;
        color: white;
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: bold;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.1rem;
        margin: 0 0 5px 0;
        color: #333;
    }
    
    .product-category {
        color: #666;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .product-description {
        display: none;
        margin-bottom: 15px;
        color: #555;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .product-price {
        display: flex;
        align-items: baseline;
        margin-bottom: 15px;
    }
    
    .price {
        font-size: 1.2rem;
        font-weight: bold;
        color: #D2051E;
    }
    
    .old-price {
        font-size: 1rem;
        color: #999;
        text-decoration: line-through;
        margin-right: 8px;
    }
    
    .unit {
        font-size: 0.85rem;
        color: #666;
        margin-left: 5px;
    }
    
    .product-actions {
        display: flex;
        gap: 10px;
    }
    
    .add-to-cart-button {
        flex-grow: 1;
        background-color: #D2051E;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    
    .add-to-cart-button:hover {
        background-color: #D2051E;
    }
    
    .view-details-button {
        background-color: #f5f5f5;
        color: #333;
        border: 1px solid #ddd;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .view-details-button:hover {
        background-color: #e5e5e5;
    }
    
    /* ส่วนการแบ่งหน้า */
    .pagination {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        gap: 5px;
    }
    
    .pagination-button {
        background-color: #f5f5f5;
        border: 1px solid #ddd;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .pagination-button.active {
        background-color: #D2051E;
        color: white;
        border-color: #D2051E;
    }
    
    .pagination-button:hover:not(.active) {
        background-color: #e5e5e5;
    }
    
    /* การตอบสนองสำหรับมือถือ */
    @media (max-width: 992px) {
        .products-container {
            flex-direction: column;
        }
        
        .categories-sidebar {
            width: 100%;
            margin-bottom: 30px;
        }
    }
    
    @media (max-width: 768px) {
        .products-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 576px) {
        .products-grid {
            grid-template-columns: 1fr;
        }
        
        .product-controls {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
        
        .list-view .product-card {
            flex-direction: column;
        }
        
        .list-view .product-image {
            width: 100%;
        }
    }

        /* สไตล์สำหรับหน้าผลงาน */
        .portfolio-header {
            background-color: #f5f7fa;
            padding: 60px 0;
            text-align: center;
            margin-bottom: 50px;
        }

        .portfolio-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #D2051E;
        }

        .portfolio-header p {
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
            color: #555;
        }

        .portfolio-filter {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }

        .filter-button {
            background-color: #f5f5f5;
            border: 1px solid #ddd;
            padding: 8px 20px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .filter-button.active {
            background-color: #D2051E;
            color: white;
            border-color: #D2051E;
        }

        .filter-button:hover:not(.active) {
            background-color: #e5e5e5;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        .portfolio-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            background-color: #fff;
            position: relative;
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
        }

        .portfolio-image {
            height: 250px;
            overflow: hidden;
            position: relative;
        }

        .portfolio-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .portfolio-item:hover .portfolio-image img {
            transform: scale(1.05);
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 86, 179, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }

        .overlay-icons {
            display: flex;
            gap: 15px;
        }

        .overlay-icon {
            width: 45px;
            height: 45px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #D2051E;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .overlay-icon:hover {
            transform: scale(1.1);
            background-color: #f5f5f5;
        }

        .portfolio-content {
            padding: 20px;
        }

        .portfolio-category {
            font-size: 0.85rem;
            color: #D2051E;
            margin-bottom: 8px;
            font-weight: bold;
        }

        .portfolio-title {
            font-size: 1.3rem;
            margin: 0 0 10px 0;
            color: #333;
        }

        .portfolio-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .portfolio-metadata {
            display: flex;
            justify-content: space-between;
            color: #888;
            font-size: 0.85rem;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }

        .portfolio-location {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .portfolio-date {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .portfolio-cta {
            text-align: center;
            margin: 50px 0;
        }

        .portfolio-cta h2 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #333;
        }

        .portfolio-cta p {
            font-size: 1.1rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto 25px auto;
        }

        .cta-button {
            display: inline-block;
            background-color: #D2051E;
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid #D2051E;
        }

        .cta-button:hover {
            background-color: transparent;
            color: #D2051E;
        }

        .cta-button i {
            margin-left: 5px;
        }

        /* การตอบสนองสำหรับมือถือ */
        @media (max-width: 768px) {
            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 576px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .portfolio-header {
                padding: 40px 0;
            }

            .portfolio-header h1 {
                font-size: 2rem;
            }
        }    

    /* สไตล์หลักสำหรับหน้า FAQ */
    .faq-header {
        background-color: #f5f7fa;
        padding: 60px 0;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .faq-header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: #D2051E;
    }
    
    .faq-header p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
        color: #555;
    }
    
    .faq-content {
        margin-bottom: 60px;
    }
    
    /* ส่วนค้นหาคำถาม */
    .faq-search {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .faq-search h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: #333;
    }
    
    .search-box {
        display: flex;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .search-box input {
        flex-grow: 1;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
        font-size: 1rem;
    }
    
    .search-box button {
        background-color: #D2051E;
        color: white;
        border: none;
        padding: 0 20px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }
    
    /* ส่วนหมวดหมู่คำถาม */
    .faq-categories {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .category-button {
        background-color: #f5f5f5;
        border: 1px solid #ddd;
        padding: 8px 15px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .category-button.active {
        background-color: #D2051E;
        color: white;
        border-color: #D2051E;
    }
    
    .category-button:hover:not(.active) {
        background-color: #e5e5e5;
    }
    
    /* ส่วนรายการคำถาม */
    .faq-list {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .accordion-item {
        margin-bottom: 15px;
        border: 1px solid #e1e1e1;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .accordion-header {
        background-color: #f9f9f9;
        padding: 15px 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
        margin: 0;
        color: #333;
        flex-grow: 1;
    }
    
    .accordion-icon {
        color: #D2051E;
        transition: transform 0.3s ease;
    }
    
    .accordion-header.active .accordion-icon {
        transform: rotate(180deg);
    }
    
    .accordion-content {
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .accordion-content.active {
        padding: 20px;
        max-height: 1000px;
    }
    
    .accordion-content p, .accordion-content ul, .accordion-content ol {
        margin-top: 0;
        color: #555;
        line-height: 1.6;
    }
    
    .accordion-content ul, .accordion-content ol {
        padding-left: 20px;
    }
    
    .accordion-content li {
        margin-bottom: 8px;
    }
    
    /* ส่วนถามคำถามเพิ่มเติม */
    .faq-more-questions {
        max-width: 900px;
        margin: 50px auto;
        text-align: center;
    }
    
    .faq-more-questions h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: #333;
    }
    
    .faq-more-questions p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 30px;
    }
    
    .contact-options {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .contact-option {
        display: flex;
        align-items: center;
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        min-width: 250px;
    }
    
    .contact-icon {
        background-color: #D2051E;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        margin-right: 15px;
    }
    
    .contact-details {
        text-align: left;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
        margin: 0 0 8px 0;
        color: #333;
    }
    
    .contact-details p {
        margin: 0 0 5px 0;
        font-size: 0.95rem;
        color: #666;
    }
    
    .quick-contact-form {
        max-width: 600px;
        margin: 0 auto;
        background-color: #f9f9f9;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
        text-align: left;
    }
    
    .quick-contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        color: #333;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #555;
    }
    
    .form-group input, .form-group textarea {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1rem;
    }
    
    .form-group textarea {
        resize: vertical;
    }
    
    .submit-button {
        background-color: #D2051E;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: bold;
        width: 100%;
        transition: background-color 0.3s ease;
    }
    
    .submit-button:hover {
        background-color: #D2051E;
    }
    
    /* การตอบสนองสำหรับมือถือ */
    @media (max-width: 768px) {
        .faq-header {
            padding: 40px 0;
        }
        
        .faq-header h1 {
            font-size: 2rem;
        }
        
        .contact-options {
            flex-direction: column;
            align-items: center;
        }
        
        .contact-option {
            width: 100%;
        }
    }        

    /* สไตล์หลักสำหรับหน้าเกี่ยวกับเรา */
    .about-header {
        background-color: #f5f7fa;
        padding: 60px 0;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .about-header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: #D2051E;
    }
    
    .about-header p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
        color: #555;
    }
    
    .about-content {
        margin-bottom: 60px;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: #333;
        position: relative;
        padding-bottom: 15px;
    }
    
    .about-content h2::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: #D2051E;
    }
    
    /* ประวัติความเป็นมา */
    .about-intro {
        display: flex;
        gap: 40px;
        align-items: center;
        margin-bottom: 60px;
    }
    
    .about-image {
        flex: 1;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .about-text {
        flex: 1;
    }
    
    .about-text p {
        color: #555;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    /* วิสัยทัศน์และพันธกิจ */
    .vision-mission {
        display: flex;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .vision, .mission {
        flex: 1;
        background-color: #f9f9f9;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .icon-box {
        width: 70px;
        height: 70px;
        background-color: #D2051E;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .icon-box i {
        color: white;
        font-size: 1.8rem;
    }
    
    .vision p, .mission p {
        color: #555;
        line-height: 1.7;
    }
    
    .mission ul {
        padding-left: 20px;
        color: #555;
        line-height: 1.7;
    }
    
    .mission li {
        margin-bottom: 10px;
    }
    
    /* ค่านิยมองค์กร */
    .core-values {
        margin-bottom: 60px;
        text-align: center;
    }
    
    .core-values h2 {
        text-align: left;
    }
    
    .values-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
    }
    
    .value-item {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
        background-color: #f9f9f9;
        padding: 30px 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }
    
    .value-item:hover {
        transform: translateY(-10px);
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        background-color: #D2051E;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 20px auto;
    }
    
    .value-icon i {
        color: white;
        font-size: 1.5rem;
    }
    
    .value-item h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #333;
    }
    
    .value-item p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* ทีมผู้บริหาร */
    .management-team {
        margin-bottom: 60px;
    }
    
    .team-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .team-member {
        flex: 1;
        min-width: 300px;
        display: flex;
        background-color: #f9f9f9;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
        overflow: hidden;
        border-radius: 50%;
        margin: 20px;
    }
    
    .member-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .member-info {
        padding: 20px 20px 20px 0;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
        margin: 0 0 5px 0;
        color: #333;
    }
    
    .member-position {
        color: #D2051E;
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }
    
    .member-desc {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* การเติบโตและความสำเร็จ */
    .growth-achievements {
        margin-bottom: 60px;
    }
    
    .timeline {
        position: relative;
        max-width: 1200px;
        margin: 40px auto;
    }
    
    .timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background-color: #e1e1e1;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }
    
    .timeline-item {
        padding: 10px 40px;
        position: relative;
        width: 50%;
        box-sizing: border-box;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 50%;
    }
    
    .timeline-dot {
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: #D2051E;
        border-radius: 50%;
        top: 15px;
        z-index: 1;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: -10px;
    }
    
    .timeline-date {
        position: absolute;
        width: 100px;
        padding: 8px 10px;
        background-color: #D2051E;
        color: white;
        text-align: center;
        border-radius: 4px;
        top: 12px;
        font-weight: bold;
    }
    
    .timeline-item:nth-child(odd) .timeline-date {
        right: -150px;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: -150px;
    }    

    .timeline-content {
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
        margin: 0 0 10px 0;
        color: #333;
    }
    
    .timeline-content p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }
    
    /* รางวัลและการรับรอง */
    .awards-certifications {
        margin-bottom: 60px;
    }
    
    .awards-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .award-item {
        flex: 1;
        min-width: 300px;
        display: flex;
        align-items: center;
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .award-icon {
        width: 60px;
        height: 60px;
        background-color: #D2051E;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 20px;
    }
    
    .award-icon i {
        color: white;
        font-size: 1.5rem;
    }
    
    .award-info h3 {
        font-size: 1.2rem;
        margin: 0 0 10px 0;
        color: #333;
    }
    
    .award-info p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }
    
    /* พันธมิตรทางธุรกิจ */
    .business-partners {
        margin-bottom: 60px;
        text-align: center;
    }
    
    .business-partners h2 {
        text-align: left;
    }
    
    .business-partners > p {
        color: #555;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .partners-logo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .partner-logo {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }
    
    .partner-logo:hover {
        transform: scale(1.05);
    }
    
    .partner-logo img {
        max-width: 150px;
        max-height: 80px;
    }
    
    /* ความรับผิดชอบต่อสังคม */
    .social-responsibility {
        margin-bottom: 60px;
    }
    
    .csr-content {
        display: flex;
        gap: 40px;
        align-items: center;
    }
    
    .csr-image {
        flex: 1;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .csr-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .csr-text {
        flex: 1;
    }
    
    .csr-text p {
        color: #555;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .csr-text ul {
        padding-left: 20px;
        color: #555;
        line-height: 1.7;
    }
    
    .csr-text li {
        margin-bottom: 10px;
    }
    
    /* การตอบสนองสำหรับมือถือ */
    @media (max-width: 992px) {
        .about-intro, .vision-mission, .csr-content {
            flex-direction: column;
        }
        
        .timeline::after {
            left: 31px;
        }
        
        .timeline-item {
            width: 100%;
            padding-left: 70px;
            padding-right: 25px;
        }
        
        .timeline-item:nth-child(even) {
            left: 0;
        }
        
        .timeline-dot {
            left: 21px;
            right: auto;
        }
        
        .timeline-item:nth-child(odd) .timeline-date,
        .timeline-item:nth-child(even) .timeline-date {
            right: auto;
            left: 70px;
            top: -30px;
        }
        
        .timeline-content {
            margin-top: 45px;
        }
    }
    
    @media (max-width: 768px) {
        .about-header {
            padding: 40px 0;
        }
        
        .about-header h1 {
            font-size: 2rem;
        }
        
        .about-content h2 {
            font-size: 1.5rem;
        }
        
        .team-member {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .member-info {
            padding: 0 20px 20px 20px;
        }
    }    

    /* สไตล์หลักสำหรับหน้าติดต่อเรา */
    .contact-header {
        background-color: #f5f7fa;
        padding: 70px 0;
        text-align: center;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .contact-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(0, 86, 179, 0.05) 0%, rgba(0, 86, 179, 0.1) 100%);
        z-index: 1;
    }
    
    .contact-header .container {
        position: relative;
        z-index: 2;
    }
    
    .contact-header h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        color: #D2051E;
        font-weight: bold;
        position: relative;
        display: inline-block;
    }
    
    .contact-header h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: #D2051E;
        border-radius: 2px;
    }
    
    .contact-header p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 20px auto 0;
        color: #555;
        line-height: 1.6;
    }
    
    .contact-content {
        margin-bottom: 80px;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    
    /* ส่วนโครงสร้างหลัก */
    .contact-main-section {
        display: flex;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .contact-left {
        flex: 2;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-right {
        flex: 3;
    }
    
    /* แผนที่ */
    .contact-map {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        position: relative;
        height: 400px;
    }
    
    .contact-map::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
        pointer-events: none;
        border-radius: 12px;
    }
    
    .contact-map img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* ข้อมูลบริษัท */
    .company-details {
        display: flex;
        align-items: center;
        background-color: #f9f9f9;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }
    
    .company-logo {
        background-color: #D2051E;
        color: white;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        margin-right: 25px;
        flex-shrink: 0;
    }
    
    .company-name h2 {
        font-size: 1.6rem;
        margin: 0 0 10px 0;
        color: #333;
    }
    
    .company-name p {
        color: #666;
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* ส่วนข้อมูลติดต่อ */
    .contact-info-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .info-card {
        display: flex;
        background-color: #fff;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }
    
    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-color: #D2051E;
    }
    
    .info-icon {
        background-color: #D2051E;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.4rem;
        margin-right: 20px;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }
    
    .info-card:hover .info-icon {
        transform: scale(1.1);
    }
    
    .info-details {
        flex-grow: 1;
    }
    
    .info-details h3 {
        font-size: 1.3rem;
        margin: 0 0 15px 0;
        color: #333;
        position: relative;
        padding-bottom: 10px;
    }
    
    .info-details h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background-color: #D2051E;
        border-radius: 1.5px;
    }
    
    .info-details p {
        margin: 0 0 8px 0;
        color: #555;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .info-details a {
        color: #D2051E;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .info-details a:hover {
        color: #D2051E;
        text-decoration: underline;
    }
    
    /* สไตล์โซเชียลมีเดีย */
    .social-media {
        background-color: #fff;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }
    
    .social-media:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-color: #D2051E;
    }
    
    .social-media h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
        color: #333;
        text-align: center;
        position: relative;
        padding-bottom: 15px;
    }
    
    .social-media h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: #D2051E;
        border-radius: 1.5px;
    }
    
    .social-icons {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }
    
    .social-icon {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px 10px;
        border-radius: 12px;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .social-icon i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .social-icon span {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .social-icon.facebook {
        background-color: #1877f2;
    }
    
    .social-icon.line {
        background-color: #06c755;
    }
    
    .social-icon.youtube {
        background-color: #ff0000;
    }
    
    .social-icon.instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }
    
    .social-icon:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* ส่วนท้าย CTA */
    .contact-cta {
        background-color: #D2051E;
        color: white;
        padding: 30px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .contact-cta p {
        font-size: 1.3rem;
        margin: 0;
        font-weight: 500;
    }
    
    .call-button {
        background-color: white;
        color: #D2051E;
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
    }
    
    .call-button:hover {
        background-color: #f0f0f0;
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* การตอบสนองสำหรับมือถือ */
    @media (max-width: 992px) {
        .contact-main-section {
            flex-direction: column;
        }
        
        .contact-info-container {
            grid-template-columns: 1fr;
        }
        
        .social-icons {
            flex-wrap: wrap;
        }
        
        .social-icon {
            min-width: calc(50% - 8px);
        }
    }
    
    @media (max-width: 768px) {
        .contact-header {
            padding: 50px 0;
        }
        
        .contact-header h1 {
            font-size: 2.2rem;
        }
        
        .contact-header p {
            font-size: 1.1rem;
        }
        
        .contact-cta {
            flex-direction: column;
            text-align: center;
            gap: 20px;
        }
        
        .contact-cta p {
            font-size: 1.1rem;
        }
    }
    
    @media (max-width: 576px) {
        .company-details {
            flex-direction: column;
            text-align: center;
        }
        
        .company-logo {
            margin-right: 0;
            margin-bottom: 15px;
        }
        
        .social-icons {
            flex-direction: column;
        }
        
        .social-icon {
            width: 100%;
        }
    }    

    /* สไตล์สำหรับส่วนแบรนด์สินค้า */
    .brands {
        padding: 70px 0;
        background-color: #f9f9f9;
        position: relative;
    }

    .brands::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(0, 86, 179, 0.03) 0%, rgba(0, 86, 179, 0.06) 100%);
        z-index: 0;
    }

    .brands .container {
        position: relative;
        z-index: 1;
    }

    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2.2rem;
        color: #333;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: #D2051E;
        border-radius: 1.5px;
    }

    .section-header p {
        max-width: 700px;
        margin: 0 auto;
        color: #666;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .brands-slider {
        margin: 40px 0;
        overflow: hidden;
        position: relative;
    }

    .brands-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }

    .brand-item {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }

    .brand-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-color: #D2051E;
    }

    .brand-item img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        padding: 20px;
        background-color: white;
        display: block;
        transition: transform 0.3s ease;
    }

    .brand-item:hover img {
        transform: scale(1.05);
    }

    .brand-info {
        padding: 20px;
        border-top: 1px solid #f0f0f0;
    }

    .brand-info h3 {
        font-size: 1.3rem;
        margin: 0 0 10px 0;
        color: #333;
    }

    .brand-info p {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0;
    }

    .brands-cta {
        text-align: center;
        margin-top: 30px;
    }

    .brands-cta p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 15px;
    }

    .btn-outline {
        display: inline-block;
        padding: 12px 30px;
        background-color: transparent;
        border: 2px solid #D2051E;
        color: #D2051E;
        font-weight: 600;
        text-decoration: none;
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    .btn-outline:hover {
        background-color: #D2051E;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
    }

    /* การตอบสนองสำหรับมือถือ */
    @media (max-width: 992px) {
        .brands-container {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .brands {
            padding: 50px 0;
        }
        
        .section-header h2 {
            font-size: 1.8rem;
        }
        
        .brands-container {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
    }

    @media (max-width: 576px) {
        .brands-container {
            grid-template-columns: 1fr;
        }
        
        .brand-item img {
            height: 100px;
        }
    }    

    /* สไตล์สำหรับส่วนแบรนด์สินค้า */
    .brands-title {
        margin-top: 30px;
    }

    .brand-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 15px;
    }

    .brand-logo-item {
        display: block;
        background-color: white;
        border: 1px solid #e1e1e1;
        border-radius: 6px;
        padding: 10px;
        transition: all 0.3s ease;
        text-align: center;
    }

    .brand-logo-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        border-color: #D2051E;
    }

    .brand-logo-item img {
        max-width: 100%;
        max-height: 40px;
        object-fit: contain;
    }

    .all-brands-link {
        grid-column: span 2;
        text-align: center;
        color: #D2051E;
        text-decoration: none;
        margin-top: 10px;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 8px;
        background-color: #f5f5f5;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .all-brands-link:hover {
        background-color: #e5e5e5;
    }

    .all-brands-link i {
        font-size: 0.7rem;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .all-brands-link:hover i {
        transform: translateX(3px);
    }

    /* ปรับการแสดงผลบนมือถือ */
    @media (max-width: 992px) {
        .brand-logos {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .all-brands-link {
            grid-column: span 3;
        }
    }

    @media (max-width: 576px) {
        .brand-logos {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .all-brands-link {
            grid-column: span 2;
        }
    }    

    .logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #fff;
    }
    
    .logo-image {
        height: 40px; /* ปรับขนาดตามความเหมาะสม */
        width: auto;
        margin-right: 10px;
    }
    
    /* สำหรับการแสดงผลบนมือถือ */
    @media (max-width: 768px) {
        .logo-image {
            height: 30px; /* ลดขนาดลงเล็กน้อยบนมือถือ */
        }
    }    

    /* สไตล์สำหรับเมนู active */
    #main-nav ul li.active a {
        color: #fff; /* สีข้อความเมื่อ active */
        font-weight: 600; /* ตัวหนาเมื่อ active */
        position: relative; /* สำหรับการเพิ่ม indicator ด้านล่าง */
    }

    /* เพิ่มเส้นข้างใต้เมนูที่ active */
    #main-nav ul li.active a::after {
        content: '';
        position: absolute;
        bottom: -5px; /* ระยะห่างจากข้อความ */
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff; /* สีเส้นข้างใต้ - ควรเป็นสีเดียวกับข้อความ */
        border-radius: 1px;
    }

    /* สไตล์เสริมสำหรับเวลา hover เมนูอื่นๆ */
    #main-nav ul li a:hover {
        color: #fff;
    }

    /* เพิ่มการเปลี่ยนสถานะเมื่อ active บนมือถือ */
    @media (max-width: 768px) {
        #main-nav ul li.active {
            background-color: rgba(0, 86, 179, 0.1); /* พื้นหลังเมื่อ active บนมือถือ */
        }
        
        #main-nav ul li.active a::after {
            display: none; /* ซ่อนเส้นข้างใต้บนมือถือ */
        }
    }    

    /* สไตล์สำหรับหัวข้อหมวดหมู่ที่เลือก */
    .category-display {
        flex-grow: 1;
    }

    .selected-category {
        font-size: 1.5rem;
        color: #333;
        margin: 0 0 5px 0;
    }

    .category-description {
        color: #666;
        font-size: 0.95rem;
        margin: 0;
    }

    /* ปรับขนาดใหม่สำหรับส่วนควบคุมการแสดงผล */
    .product-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e1e1e1;
    }

    /* การตอบสนองบนมือถือ */
    @media (max-width: 768px) {
        .product-controls {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .view-options {
            margin-top: 10px;
            align-self: flex-end;
        }
    }    

    .hero {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 100px 0;
        color: white;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        line-height: 1.6;
    }
    
    .hero-button {
        display: inline-block;
        background-color: #D2051E;
        color: white;
        padding: 12px 30px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid #D2051E;
    }
    
    .hero-button:hover {
        background-color: transparent;
        border-color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    @media (max-width: 768px) {
        .hero {
            padding: 70px 0;
        }
        
        .hero h1 {
            font-size: 2.2rem;
        }
        
        .hero p {
            font-size: 1rem;
        }
    }    

    /* CSS สำหรับเมนูหมวดหมู่สินค้า */
    .categories-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .categories-list li {
        margin-bottom: 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .categories-list a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #555;
        padding: 10px 12px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .categories-list a i {
        margin-right: 8px;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
        color: #999;
    }

    /* สไตล์สำหรับ hover */
    .categories-list li:hover a {
        background-color: #f5f5f5;
        color: #D2051E;
    }

    .categories-list li:hover a i {
        transform: translateX(3px);
        color: #D2051E;
    }

    /* สไตล์สำหรับเมนูที่ active */
    .categories-list li.active {
        background-color: #D2051E;
    }

    .categories-list li.active a {
        color: white;
        font-weight: 600;
    }

    .categories-list li.active i {
        color: #D2051E;
        transform: translateX(3px);
    }

    /* เพิ่ม transition เพื่อความสวยงาม */
    .categories-list li.active a,
    .categories-list li.active i {
        transition: all 0.3s ease;
    }

    /* ปรับปรุงสำหรับการแสดงผลบนมือถือ */
    @media (max-width: 768px) {
        .categories-list a {
            padding: 12px 15px;
        }
        
        .categories-list a i {
            font-size: 0.8rem;
        }
    }    

    /* สไตล์สำหรับหน้ารายละเอียดสินค้า */

    /* Breadcrumb */
    .breadcrumb-container {
        background-color: #f5f5f5;
        padding: 15px 0;
        margin-bottom: 30px;
    }

    .breadcrumb {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
    }

    .breadcrumb li {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        color: #666;
    }

    .breadcrumb li:not(:last-child)::after {
        content: '/';
        margin: 0 10px;
        color: #999;
    }

    .breadcrumb a {
        color: #D2051E;
        text-decoration: none;
    }

    .breadcrumb a:hover {
        text-decoration: underline;
    }

    .breadcrumb .active {
        color: #333;
        font-weight: 600;
    }

    /* ส่วนข้อมูลสินค้า */
    .product-detail-section {
        padding: 0 0 60px 0;
    }

    .product-detail-container {
        display: flex;
        gap: 40px;
        margin-bottom: 40px;
    }

    /* ส่วนรูปภาพสินค้า */
    .product-gallery {
        flex: 1;
        max-width: 500px;
    }

    .main-image {
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .main-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .thumbnail-images {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
        border: 1px solid #eee;
        border-radius: 4px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .thumbnail:hover {
        opacity: 0.9;
    }

    .thumbnail.active {
        border-color: #D2051E;
        opacity: 1;
    }

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

    /* ส่วนข้อมูลสินค้า */
    .product-info {
        flex: 1;
    }

    .product-title {
        font-size: 2rem;
        margin: 0 0 15px 0;
        color: #333;
    }

    .product-category,
    .product-brand {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .product-category span,
    .product-brand span {
        color: #666;
        margin-right: 5px;
    }

    .product-category a,
    .product-brand a {
        color: #D2051E;
        text-decoration: none;
    }

    .product-category a:hover,
    .product-brand a:hover {
        text-decoration: underline;
    }

    .product-price {
        margin: 20px 0;
    }

    .price {
        font-size: 1.5rem;
        font-weight: bold;
        color: #D2051E;
    }

    .product-description {
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .product-promotion {
        background-color: #fffbea;
        border: 1px solid #ffe58f;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .product-promotion h3 {
        font-size: 1.1rem;
        margin: 0 0 10px 0;
        color: #d48806;
    }

    .promotion-content {
        color: #555;
        line-height: 1.6;
    }

    .product-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 30px;
    }

    .line-button,
    .call-button {
        display: inline-flex;
        align-items: center;
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .line-button {
        background-color: #06C755;
        color: white;
    }

    .call-button {
        background-color: #D2051E;
        color: white;
    }

    .line-button:hover,
    .call-button:hover {
        opacity: 0.9;
        transform: translateY(-3px);
    }

    .line-button i,
    .call-button i {
        margin-right: 8px;
    }

    /* ส่วนรายละเอียดสินค้า */
    .product-full-details {
        margin-bottom: 50px;
    }

    .product-full-details h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        color: #333;
    }

    .detail-content {
        color: #555;
        line-height: 1.7;
    }

    .detail-content p {
        margin-bottom: 15px;
    }

    .detail-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 15px 0;
    }

    /* ส่วนสินค้าที่เกี่ยวข้อง */
    .related-products h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        color: #333;
    }

    /* การตอบสนองบนมือถือ */
    @media (max-width: 992px) {
        .product-detail-container {
            flex-direction: column;
        }
        
        .product-gallery {
            max-width: 100%;
        }
    }

    @media (max-width: 576px) {
        .product-title {
            font-size: 1.5rem;
        }
        
        .product-actions {
            flex-direction: column;
        }
        
        .line-button,
        .call-button {
            width: 100%;
            justify-content: center;
        }
        
        .thumbnail {
            width: 60px;
            height: 60px;
        }
    }    

/* สไตล์สำหรับการ์ดสินค้า */
.product-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #333;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #D2051E;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.product-description a {
    color: #666;
    text-decoration: none;
}

.product-price {
    margin-top: auto;
    font-weight: bold;
    font-size: 1.1rem;
    color: #D2051E;
}

.product-button {
    display: inline-block;
    background-color: #D2051E;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
}

.product-button:hover {
    background-color: #004494;
}

/* สำหรับ responsive */
@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }
    
    .product-details {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
}    

    /* สไตล์สำหรับหน้ารายละเอียดผลงาน */

    /* Breadcrumb */
    .breadcrumb-container {
        background-color: #f5f5f5;
        padding: 15px 0;
        margin-bottom: 30px;
    }

    .breadcrumb {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
    }

    .breadcrumb li {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        color: #666;
    }

    .breadcrumb li:not(:last-child)::after {
        content: '/';
        margin: 0 10px;
        color: #999;
    }

    .breadcrumb a {
        color: #0056b3;
        text-decoration: none;
    }

    .breadcrumb a:hover {
        text-decoration: underline;
    }

    .breadcrumb .active {
        color: #333;
        font-weight: 600;
    }

    /* หัวข้อผลงาน */
    .portfolio-category-badge {
        display: inline-block;
        margin-bottom: 15px;
    }

    .portfolio-category-badge a {
        background-color: #0056b3;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .portfolio-category-badge a:hover {
        background-color: #D2051E;
    }

    .portfolio-date {
        color: #777;
        font-size: 0.95rem;
    }

    .portfolio-date i {
        margin-right: 5px;
    }

    /* รายละเอียดผลงาน */
    .portfolio-detail-container {
        margin-bottom: 50px;
    }

    .portfolio-featured-image {
        margin-bottom: 30px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .portfolio-featured-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .portfolio-description {
        font-size: 1.1rem;
        line-height: 1.7;
        color: #555;
        margin-bottom: 30px;
    }

    .portfolio-content {
        color: #555;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .portfolio-content p {
        margin-bottom: 15px;
    }

    .portfolio-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 15px 0;
    }

    .portfolio-content h2 {
        font-size: 1.8rem;
        margin: 30px 0 15px 0;
        color: #333;
    }

    .portfolio-content h3 {
        font-size: 1.4rem;
        margin: 25px 0 15px 0;
        color: #333;
    }

    .portfolio-content ul, .portfolio-content ol {
        margin-bottom: 15px;
        padding-left: 20px;
    }

    .portfolio-content li {
        margin-bottom: 8px;
    }

    /* แชร์ผลงาน */
    .portfolio-share {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .portfolio-share span {
        margin-right: 15px;
        font-weight: 600;
        color: #555;
    }

    .share-buttons {
        display: flex;
        gap: 10px;
    }

    .share-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: white;
        text-decoration: none;
        transition: transform 0.3s ease;
    }

    .share-button:hover {
        transform: translateY(-3px);
    }

    .share-button.facebook {
        background-color: #1877f2;
    }

    .share-button.twitter {
        background-color: #1da1f2;
    }

    .share-button.line {
        background-color: #06C755;
    }

    /* CTA */
    .portfolio-cta {
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 40px;
        text-align: center;
        margin-bottom: 50px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .portfolio-cta h2 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 15px;
    }

    .portfolio-cta p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 25px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .cta-button {
        display: inline-flex;
        align-items: center;
        padding: 12px 30px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .cta-button.primary {
        background-color: #0056b3;
        color: white;
    }

    .cta-button.primary:hover {
        background-color: #D2051E;
    }

    .cta-button.line {
        background-color: #06C755;
        color: white;
    }

    .cta-button.line:hover {
        background-color: #05a648;
    }

    .cta-button i {
        margin-right: 8px;
    }

    /* ผลงานที่เกี่ยวข้อง */
    .related-portfolios {
        margin-bottom: 50px;
    }

    .related-portfolios h2 {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 25px;
        text-align: center;
    }

    /* ปุ่มกลับ */
    .back-to-portfolios {
        text-align: center;
        margin-bottom: 50px;
    }

    .back-button {
        display: inline-flex;
        align-items: center;
        padding: 10px 20px;
        background-color: #f5f5f5;
        color: #333;
        border-radius: 4px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .back-button:hover {
        background-color: #e5e5e5;
    }

    .back-button i {
        margin-right: 8px;
    }

    /* การตอบสนองบนมือถือ */
    @media (max-width: 992px) {
        .portfolio-header h1 {
            font-size: 2rem;
        }
        
        .portfolio-cta {
            padding: 30px;
        }
        
        .portfolio-cta h2 {
            font-size: 1.7rem;
        }
    }

    @media (max-width: 768px) {
        .portfolio-header h1 {
            font-size: 1.8rem;
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .cta-button {
            width: 100%;
            max-width: 300px;
            justify-content: center;
        }
    }

    @media (max-width: 576px) {
        .portfolio-share {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .portfolio-share span {
            margin-bottom: 10px;
        }
    }

    /* CSS สำหรับแผนที่แบบ responsive */
    .contact-map {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 56.25%; /* อัตราส่วน 16:9 */
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
    }

    .contact-map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    @media (max-width: 768px) {
        .contact-map {
            padding-top: 75%; /* อัตราส่วนสูงขึ้นสำหรับมือถือ */
        }
    }    

    .product-details p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 10px;
        line-height: 1.5;
        max-height: 4.5em; /* 1.5 line-height × 3 lines */
    }    