/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen Reader Only - สำหรับ SEO H1 tags */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:root {
    --primary-color: #0066FF;
    --primary-dark: #0044CC;
    --primary-darker: #0033AA;
    --primary-light: #0052E6;
    --primary-lighter: #3385FF;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 102, 255, 0.1);
    --shadow-hover: rgba(0, 102, 255, 0.2);
    --keyword-color: #0052E6;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Prevent layout shift */
img {
    aspect-ratio: attr(width) / attr(height);
}

/* Custom Scrollbar - เข้ากับธีมเว็บไซต์ */
/* สำหรับ Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #e8e8e8;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    border-radius: 6px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 8px rgba(0, 51, 170, 0.4);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--primary-darker) 0%, #002288 100%);
}

/* สำหรับ Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-dark) #e8e8e8;
}

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

/* Top Header Bar */
.top-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide Top Header Bar on Mobile */
@media (max-width: 768px) {
    .top-header {
        display: none;
    }
}

.top-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-header-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0.9;
}

.top-header-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.top-header-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.top-header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-icon:hover svg {
    fill: var(--white);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-right: 0.5rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.language-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.language-text {
    font-weight: 500;
}

.language-arrow {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.language-switcher.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden;
    pointer-events: none;
}

.language-switcher.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    font-weight: 400;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.language-option.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 500;
}

.language-option.active:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    padding-left: 1rem;
}

.language-option .flag {
    font-size: 1.2rem;
    line-height: 1;
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .language-text {
        display: none;
    }
    
    .language-dropdown {
        right: 0;
        min-width: 140px;
    }
    
    /* Page Header Tablet/Mobile Optimization */
    .page-header,
    .page-header-blog,
    .page-header-contact,
    .page-header-product {
        min-height: 300px;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .page-header .container {
        padding: 3rem 20px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    /* Product Hero Mobile Optimization - Copy from Blog page */
    .product-hero {
        min-height: 300px;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

/* Facebook specific color on hover */
.social-icon[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
}

/* LINE specific color on hover */
.social-icon[aria-label="LINE"]:hover {
    background: #00C300;
    border-color: #00C300;
}

/* TikTok specific color on hover */
.social-icon[aria-label="TikTok"]:hover {
    background: #000000;
    border-color: #000000;
}

/* WhatsApp specific color on hover */
.social-icon[aria-label="WhatsApp"]:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.dropdown {
    position: relative;
}

.dropdown > a span {
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px var(--shadow);
    list-style: none;
    min-width: 250px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    border-radius: 8px;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/home/BannerHome.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    overflow: hidden;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.4s both;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 20s infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Features Section */
.features {
    background: var(--bg-light);
    padding: 5rem 0;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.features-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.features-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

.features-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.features-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.features-about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: -4rem;
}

.features-design-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-design-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: -0.5rem;
}

.features-design-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-text-list-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 1rem;
}

.features-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.features-design-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    margin: 0 0 1rem 0;
    word-spacing: normal;
    letter-spacing: normal;
}

.features-design-text:last-child {
    margin-bottom: 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 10px var(--shadow);
}

.feature-item:hover {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.05) 0%, var(--white) 100%);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.feature-item-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.features-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-image {
    width: 100%;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    position: relative;
}

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

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

.features-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Categories Section */
.categories {
    background: var(--white);
    padding: 5rem 0;
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-light);
    padding: 5rem 0;
}

/* Reviews & FAQ Section */
.reviews-faq {
    background: var(--white);
    padding: 5rem 0;
}

.reviews-section {
    margin-bottom: 5rem;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.review-avatar-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.review-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.3rem 0;
}

.review-rating {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s;
}

.faq-item.active {
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(0, 102, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    padding-top: 1rem;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-choose-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: inline-block;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

.why-choose-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.why-choose-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.why-choose-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.categories-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.categories-brand {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.categories-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    display: inline-block;
}

.categories-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.category-card {
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.category-image {
    height: 400px;
    position: relative;
    overflow: hidden;
}

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

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

.category-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.category-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.category-detail-btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Kanit', sans-serif;
    white-space: nowrap;
}

.category-card:hover .category-detail-btn {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-image: url('images/about/bannerabout.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    padding: 4rem 20px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Blog Page Header - Specific styling for blog page */
.page-header-blog {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-image: url('images/blog/bannerblog.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Page Header - Specific styling for contact page */
.page-header-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-image: url('images/contact/Bannercontact.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Page Header - Specific styling for product page */
.page-header-product {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-image: url('images/product/Bannerproduct.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Categories */
.product-categories {
    padding: 4rem 0;
}

.product-category {
    margin-bottom: 5rem;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: inline-block;
}

.category-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.category-header .btn {
    margin-top: 0.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
    width: 100%;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-specs span {
    padding: 0.3rem 0.8rem;
    background: var(--bg-light);
    border-radius: 20px;
}

/* About Section */
.about-content {
    padding: 4rem 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    height: 400px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Values Section */
.values {
    background: var(--bg-light);
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Team Section */
.team {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.team-image {
    height: 250px;
    width: 100%;
}

.team-card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
}

.team-card p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Blog Section */
.blog-content {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

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

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-date span:first-child {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.blog-date span:last-child {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.blog-info {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.blog-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

/* Blog Detail Page */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

.blog-detail-content {
    padding: 4rem 0;
}

.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.blog-detail-main {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.blog-detail-header {
    padding: 2.5rem 2.5rem 1.5rem;
}

.blog-detail-category {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.blog-detail-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-detail-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-body {
    padding: 2.5rem;
}

.blog-detail-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.blog-detail-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
}

.blog-detail-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.blog-detail-body p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.blog-detail-image-inline {
    margin: 2.5rem 0;
}

.blog-detail-image-inline img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.image-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.8rem;
}

.blog-detail-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.tag-label {
    font-weight: 600;
    color: var(--text-dark);
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.blog-detail-navigation {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-back:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(-5px);
}

/* Blog Detail Sidebar */
.blog-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.sidebar-widget p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 10px;
}

.related-post:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.related-post-image {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-post-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-content {
    padding: 4rem 0;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
    transition: all 0.3s ease;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.info-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.contact-line-button {
    margin-top: 2.5rem;
    text-align: center;
}

.line-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06C755 0%, #00B04F 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    text-decoration: none;
}

.line-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    background: linear-gradient(135deg, #00B04F 0%, #06C755 100%);
}

.line-contact-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-form-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.map-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    display: inline-block;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.map-instructions {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.map-instructions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.map-instructions p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.map-instructions ol {
    margin-left: 1.5rem;
    color: var(--text-dark);
    line-height: 2;
}

.map-instructions li {
    margin-bottom: 0.5rem;
}

.map-instructions a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.map-instructions a:hover {
    text-decoration: underline;
}

.map-placeholder {
    height: 400px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px var(--shadow);
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    border-left: 5px solid rgba(255, 255, 255, 0.8);
    display: inline-block;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-lighter);
    padding-left: 5px;
}

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

/* LINE FAB Button */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fab-button {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C300 0%, #00A000 100%);
    box-shadow: 0 4px 20px rgba(0, 195, 0, 0.4), 0 8px 30px rgba(0, 195, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: visible;
}

.fab-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 195, 0, 0.5), 0 12px 40px rgba(0, 195, 0, 0.4);
    background: linear-gradient(135deg, #00D300 0%, #00B000 100%);
}

.fab-button:active {
    transform: translateY(-2px) scale(1.05);
}

.fab-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s;
}

.fab-button:hover .fab-icon {
    transform: scale(1.1);
}

.fab-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--primary-color);
}

.fab-button:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* FAB Pulse Animation */
@keyframes fabPulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 195, 0, 0.4), 0 8px 30px rgba(0, 195, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 195, 0, 0.6), 0 8px 30px rgba(0, 195, 0, 0.5), 0 0 0 10px rgba(0, 195, 0, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 195, 0, 0.4), 0 8px 30px rgba(0, 195, 0, 0.3);
    }
}

.fab-button {
    animation: fabPulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Top Header Mobile */
    .top-header {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }

    .top-header-wrapper {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .top-header-left {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .top-header-item {
        justify-content: center;
    }

    .top-header-right {
        gap: 0.8rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .hamburger {
        display: flex;
    }
    
    /* Hero Section Mobile Optimization */
    .hero {
        min-height: auto;
        aspect-ratio: 16 / 9; /* ใช้ aspect ratio 16:9 */
        height: auto;
        background-size: contain;
        background-position: center center;
    }
    
    .slide {
        background-size: contain;
        background-position: center center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        touch-action: pan-y;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Prevent body scroll when menu is active */
    body.menu-open {
        position: fixed !important;
        width: 100% !important;
        overflow: hidden !important;
        height: 100% !important;
        touch-action: none;
    }
    
    body.menu-open * {
        -webkit-overflow-scrolling: auto;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        border-radius: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-section.reverse {
        direction: ltr;
    }

    .contact-wrapper {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-item {
        padding: 1.2rem;
    }
    
    .info-icon {
        width: 55px;
        height: 55px;
    }
    
    .info-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .line-contact-btn {
        width: 100%;
        padding: 1rem 2rem;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 100%;
    }

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

    .categories-main-title {
        font-size: 2rem;
    }

    .categories-description {
        font-size: 1rem;
    }

    .category-image {
        height: 300px;
    }

    .category-info {
        padding: 1.2rem;
    }

    .category-info h3 {
        font-size: 1.3rem;
    }

    /* Why Choose Mobile */
    .why-choose-title {
        font-size: 2rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-choose-item {
        padding: 1.5rem;
    }

    .why-choose-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .why-choose-text {
        font-size: 1rem;
    }

    /* Features Mobile */
    .features-main-title {
        font-size: 1.8rem;
    }

    .features-intro {
        font-size: 1rem;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-right {
        position: static;
    }

    .features-image {
        height: 400px;
    }

    .features-about-title {
        font-size: 2.5rem;
    }

    .features-design-title {
        font-size: 1.5rem;
    }

    .features-design-subtitle {
        font-size: 1.1rem;
    }

    .features-text-list-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item-icon {
        width: 28px;
        height: 28px;
    }

    .feature-item span {
        font-size: 1rem;
    }

    /* Reviews & FAQ Mobile */
    .reviews-title,
    .faq-title {
        font-size: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section Small Mobile */
    .hero {
        min-height: auto;
        aspect-ratio: 16 / 9; /* ใช้ aspect ratio 16:9 */
        height: auto;
        background-size: contain;
        background-position: center center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn {
        text-align: center;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Page Header Mobile Optimization */
    .page-header,
    .page-header-blog,
    .page-header-contact,
    .page-header-product {
        min-height: 250px;
        max-height: 300px;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .page-header .container {
        padding: 2rem 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Product Hero Small Mobile Optimization - Copy from Blog page */
    .product-hero {
        min-height: 250px;
        max-height: 300px;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }

    /* Blog Detail Mobile */
    .blog-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-detail-header h1 {
        font-size: 1.8rem;
    }

    .blog-detail-image {
        height: 300px;
    }

    .blog-detail-body {
        padding: 1.5rem;
    }

    .blog-detail-body h2 {
        font-size: 1.5rem;
    }

    .blog-detail-body h3 {
        font-size: 1.3rem;
    }

    .blog-detail-intro {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .blog-detail-image-inline img {
        height: 250px;
    }

    .blog-detail-header {
        padding: 1.5rem;
    }

    .blog-detail-navigation {
        padding: 1.5rem;
    }

    /* FAB Mobile */
    .fab-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .fab-button {
        width: 56px;
        height: 56px;
    }

    .fab-icon {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .fab-tooltip {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .fab-button:hover .fab-tooltip {
        right: 70px;
    }
}

/* Product Page Enhanced Styles */
.product-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.product-hero .container {
    position: relative;
    z-index: 2;
    padding: 4rem 20px;
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.85) 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.product-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.product-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.product-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.product-intro {
    padding: 5rem 0;
    background: var(--bg-light);
}

.product-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.product-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-intro-image {
    position: relative;
}

.product-intro-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
}

.product-features {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.product-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.product-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.product-feature-icon svg {
    width: 40px;
    height: 40px;
}

.product-feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-feature-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.product-why-choose {
    padding: 5rem 0;
    background: var(--bg-light);
}

.product-why-choose-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.product-why-choose-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.product-why-choose-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    min-width: 60px;
}

.product-why-choose-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-why-choose-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.product-process {
    padding: 5rem 0;
}

.product-process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.product-process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.product-process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.product-process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-process-step p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.product-process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.product-specs span {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Product Quick Benefits */
.product-quick-benefits {
    padding: 3rem 0;
    background: var(--white);
}

.quick-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.quick-benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.quick-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-benefit-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.quick-benefit-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Product Badges */
.product-badge-sale {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.product-card {
    position: relative;
}

/* Product Price */
.product-price {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
    font-size: 0.95rem;
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
}

.product-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.product-actions .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Special Offer Section */
.product-special-offer {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.special-offer-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.special-offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.special-offer-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.special-offer-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.special-offer-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.special-offer-benefits span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Urgency CTA */
.cta-urgency {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: var(--white);
}

.cta-urgency .cta-content h2,
.cta-urgency .cta-content p {
    color: var(--white);
}

.urgency-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.urgency-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.cta-trust {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-trust p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    opacity: 0.9;
}

.product-hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive for Product Pages */
@media (max-width: 768px) {
    .product-hero {
        min-height: 300px;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .product-hero-title {
        font-size: 2.5rem;
    }

    .product-hero-subtitle {
        font-size: 1.1rem;
    }

    .product-intro-content {
        grid-template-columns: 1fr;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
    }

    .product-why-choose-content {
        grid-template-columns: 1fr;
    }

    .product-process-steps {
        flex-direction: column;
    }

    .product-process-arrow {
        transform: rotate(90deg);
    }

    .product-hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn-outline,
    .btn-primary {
        width: 100%;
    }

    .quick-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .special-offer-box {
        padding: 2rem 1.5rem;
    }

    .special-offer-box h2 {
        font-size: 1.8rem;
    }

    .special-offer-benefits {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Product Detail Page Styles */
.product-detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.product-detail-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.product-detail-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-detail-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.product-detail-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.product-detail-quick-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.quick-info-item {
    text-align: center;
}

.quick-info-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.quick-info-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-detail-main {
    padding: 4rem 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.product-detail-images {
    margin-bottom: 3rem;
}

.product-main-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    flex: 1;
    height: 100px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-detail-description {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.product-detail-description h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.product-detail-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.product-features-list {
    list-style: none;
    padding: 0;
}

.product-features-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--bg-light);
}

.product-order-box {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    position: sticky;
    top: 100px;
    margin-bottom: 2rem;
}

.order-box-header {
    text-align: center;
    margin-bottom: 2rem;
}

.order-box-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.order-box-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.order-box-price {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.price-main {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.price-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.order-box-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--bg-light);
}

.benefit-item:last-child {
    border-bottom: none;
}

.order-box-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-box-urgency {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.order-box-urgency p {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
}

.product-specifications-box {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.product-specifications-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--bg-light);
}

.spec-table td {
    padding: 1rem 0;
    font-size: 1rem;
}

.spec-table td:first-child {
    color: var(--text-light);
    font-weight: 500;
}

.spec-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

@media (max-width: 968px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .product-order-box {
        position: static;
    }

    .product-detail-quick-info {
        gap: 2rem;
    }
}

/* Product Detail Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.product-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-modal.active .product-modal-container {
    transform: scale(1);
}

.product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.product-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 90vh;
}

.product-modal-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-modal-main-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-gallery-wrapper {
    position: relative;
    width: 100%;
}

.product-modal-gallery {
    display: flex;
    gap: 0.75rem;
    overflow-x: hidden;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    max-width: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x proximity; /* Snap to items */
    will-change: scroll-position; /* Optimize for smooth scrolling */
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
    left: -20px;
}

.gallery-nav-next {
    right: -20px;
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.modal-gallery-thumb {
    flex: 0 0 calc(25% - 0.5625rem);
    aspect-ratio: 1;
    min-width: calc(25% - 0.5625rem);
    max-width: calc(25% - 0.5625rem);
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start; /* Snap alignment */
}

.modal-gallery-thumb:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.modal-gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2), 0 4px 12px rgba(0, 102, 255, 0.3);
}

.product-modal-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    max-height: 90vh;
    padding-right: 0.5rem;
}

.product-modal-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.product-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-modal-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-modal-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.product-modal-details h3,
.product-modal-contact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-modal-specs {
    margin-top: 0;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-modal-specs h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-modal-basic-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.modal-basic-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-basic-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.modal-basic-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 400;
}

.product-modal-rooms {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-room-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border-radius: 6px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s;
}

.modal-room-item:last-child {
    border-bottom: none;
}

.modal-room-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.modal-room-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.modal-room-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.room-name {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
}

.room-size {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
}

.product-modal-details {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--bg-light);
}

.product-modal-details p {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 1rem;
}

.product-modal-contact {
    padding-top: 0;
    border-top: none;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0;
    border: 1px solid var(--bg-light);
}

.product-modal-contact h3 {
    margin-bottom: 1.25rem;
    text-align: center;
}

.product-modal-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal-contact-buttons .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.product-modal-contact-buttons .btn-primary {
    background: linear-gradient(135deg, #00C300 0%, #00A000 100%);
    color: var(--white);
    border: none;
}

.product-modal-contact-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #00A000 0%, #008000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 195, 0, 0.3);
}

.product-modal-contact-buttons .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-modal-contact-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}

@media (max-width: 968px) {
    .product-modal-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .product-modal-main-image {
        height: 300px;
    }

    .product-modal-gallery-wrapper {
        padding: 0 40px;
    }

    .product-modal-gallery {
        gap: 0.5rem;
    }

    .modal-gallery-thumb {
        flex: 0 0 calc(25% - 0.375rem);
        min-width: calc(25% - 0.375rem);
        max-width: calc(25% - 0.375rem);
    }

    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .gallery-nav-prev {
        left: 0;
    }

    .gallery-nav-next {
        right: 0;
    }

    .product-modal-header h2 {
        font-size: 2rem;
    }

    .product-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .product-modal-right {
        max-height: none;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .product-modal-gallery-wrapper {
        padding: 0 35px;
    }

    .product-modal-gallery {
        gap: 0.5rem;
    }
    
    .modal-gallery-thumb {
        flex: 0 0 calc(25% - 0.375rem);
        min-width: calc(25% - 0.375rem);
        max-width: calc(25% - 0.375rem);
    }

    .gallery-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .gallery-nav-prev {
        left: 0;
    }

    .gallery-nav-next {
        right: 0;
    }
}

/* SEO Keyword Styling */
.keyword {
    color: var(--keyword-color);
    font-weight: 500;
}

.keyword-subtle {
    color: #4A7BC8;
    font-weight: 400;
}

/* Price Range Section */
.price-range-section {
    background: var(--bg-light);
    padding: 4rem 0;
    margin: 3rem 0;
}

.price-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-range-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-range-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.price-range-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price-range-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Service Areas Section */
.service-areas-section {
    padding: 4rem 0;
    background: var(--white);
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-area-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-area-item:hover {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.service-area-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* House Types Section */
.house-types-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 3rem 0;
}

.house-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.house-type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.house-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.house-type-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Phayao Special Section */
.phayao-section {
    background: var(--white);
    padding: 4rem 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.phayao-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.phayao-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.phayao-content p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.phayao-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.phayao-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phayao-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .price-range-section,
    .house-types-section,
    .service-areas-section,
    .phayao-section {
        padding: 2.5rem 0;
    }
    
    .price-range-grid,
    .house-types-grid {
        grid-template-columns: 1fr;
    }
    
    .service-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
