/* ==========================================================================
   RESPONSIVE CSS - รองรับทุกขนาดหน้าจอ
   ========================================================================== */

/* Mobile First Approach - Base styles for mobile */
:root {
    --mobile-padding: 15px;
    --tablet-padding: 25px;
    --desktop-padding: 40px;
    --mobile-font-size: 14px;
    --tablet-font-size: 16px;
    --desktop-font-size: 18px;
}

/* ==========================================================================
   BASE RESPONSIVE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    font-size: 14px; /* Mobile base */
}

body {
    overflow-x: hidden;
    font-size: var(--mobile-font-size);
    line-height: 1.6;
}

.container {
    padding-left: var(--mobile-padding);
    padding-right: var(--mobile-padding);
}

/* ==========================================================================
   NAVIGATION - RESPONSIVE
   ========================================================================== */
.navbar {
    padding: 0.5rem var(--mobile-padding);
}

.navbar-brand {
    font-size: 1.1rem;
}

.navbar-brand img {
    height: 35px !important;
    max-width: 35px !important;
}

.navbar-brand .fs-4 {
    font-size: 1.1rem !important;
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

/* Mobile menu improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
}

/* ==========================================================================
   HERO SECTION - RESPONSIVE
   ========================================================================== */
.zone.zone-foam {
    padding: 80px 0 40px;
    min-height: auto;
}

.hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-content .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.hero-content .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
}

.hero-product-image {
    text-align: center;
    margin-top: 2rem;
}

.hero-product {
    max-height: 250px !important;
    width: auto;
    margin-left: 0 !important;
}

.hero-product-fallback > div {
    height: 200px !important;
    width: 200px !important;
    margin-left: 0 !important;
}

/* ==========================================================================
   STATISTICS SECTION - RESPONSIVE
   ========================================================================== */
.zone.zone-donate {
    padding: 40px 0;
}

.section-badge .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.stats-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
}

.stats-icon {
    width: 50px;
    height: 50px;
    padding: 0.75rem !important;
}

.stats-icon i {
    font-size: 1.5rem !important;
}

.count {
    font-size: 2rem !important;
}

/* ==========================================================================
   GALLERY SECTION - RESPONSIVE
   ========================================================================== */
.zone.zone-news {
    padding: 40px 0;
}

.gallery-card {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay h6 {
    font-size: 1rem;
}

.gallery-overlay p {
    font-size: 0.8rem;
}

/* ==========================================================================
   CONTACT SECTION - RESPONSIVE
   ========================================================================== */
.zone.zone-contact {
    padding: 40px 0;
}

.contact-info-card {
    padding: 1.5rem !important;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem !important;
}

.contact-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem !important;
}

.map-container iframe {
    height: 250px !important;
}

/* ==========================================================================
   ADMIN DASHBOARD - RESPONSIVE
   ========================================================================== */
.admin-header {
    padding: 1rem 0;
}

.admin-header h1 {
    font-size: 1.5rem;
}

.admin-header .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
}

/* Admin tabs */
.nav-tabs {
    flex-wrap: wrap;
    border: none;
}

.nav-tabs .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Stats cards in admin */
.stats-row .stat-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.stat-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 1rem;
}

.stat-value {
    font-size: 1.8rem !important;
}

/* Form controls */
.form-control, .form-select {
    font-size: 0.9rem;
    padding: 0.75rem;
}

.btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* Table responsive */
.table-responsive {
    font-size: 0.8rem;
}

.table th, .table td {
    padding: 0.5rem;
    vertical-align: middle;
}

/* ==========================================================================
   SALES PAGE - RESPONSIVE
   ========================================================================== */
.hero-sales-section {
    padding: 80px 0 40px;
    min-height: 80vh;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.2;
}

.hero-features .feature-item {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.btn-hero-primary {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* Product cards */
.products-modern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-modern-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-modern-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.product-modern-content {
    padding: 1rem;
}

.product-modern-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.review-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ==========================================================================
   GALLERY PAGE - RESPONSIVE
   ========================================================================== */
.gallery-hero {
    padding: 80px 0 40px;
}

.masonry-grid {
    column-count: 1;
    column-gap: 1rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

/* ==========================================================================
   TABLET STYLES - 768px and up
   ========================================================================== */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
    
    body {
        font-size: var(--tablet-font-size);
    }
    
    .container {
        padding-left: var(--tablet-padding);
        padding-right: var(--tablet-padding);
    }
    
    /* Navigation */
    .navbar {
        padding: 1rem var(--tablet-padding);
    }
    
    .navbar-brand img {
        height: 40px !important;
        max-width: 40px !important;
    }
    
    .navbar-brand .fs-4 {
        font-size: 1.3rem !important;
    }
    
    /* Hero section */
    .zone.zone-foam {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-product {
        max-height: 300px !important;
    }
    
    .hero-product-fallback > div {
        height: 280px !important;
        width: 280px !important;
    }
    
    /* Stats */
    .zone.zone-donate {
        padding: 60px 0;
    }
    
    .stats-card {
        padding: 2rem !important;
    }
    
    .stats-icon {
        width: 60px;
        height: 60px;
    }
    
    .stats-icon i {
        font-size: 2rem !important;
    }
    
    .count {
        font-size: 2.5rem !important;
    }
    
    /* Gallery */
    .gallery-img {
        height: 250px;
    }
    
    .masonry-grid {
        column-count: 2;
    }
    
    /* Products grid */
    .products-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Reviews grid */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Admin stats */
    .stats-row .stat-card {
        padding: 2rem;
    }
    
    .stat-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .stat-value {
        font-size: 2.2rem !important;
    }
    
    /* Contact */
    .map-container iframe {
        height: 300px !important;
    }
}

/* ==========================================================================
   DESKTOP STYLES - 992px and up
   ========================================================================== */
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
    
    body {
        font-size: var(--desktop-font-size);
    }
    
    .container {
        padding-left: var(--desktop-padding);
        padding-right: var(--desktop-padding);
    }
    
    /* Navigation */
    .navbar {
        padding: 1rem var(--desktop-padding);
    }
    
    .navbar-brand img {
        height: 45px !important;
        max-width: 45px !important;
    }
    
    .navbar-brand .fs-4 {
        font-size: 1.5rem !important;
    }
    
    /* Hero section */
    .zone.zone-foam {
        padding: 120px 0 80px;
        min-height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .lead {
        font-size: 1.25rem;
    }
    
    .hero-product {
        max-height: 400px !important;
        margin-left: 2rem !important;
    }
    
    .hero-product-fallback > div {
        height: 320px !important;
        width: 320px !important;
        margin-left: 2rem !important;
    }
    
    /* Stats */
    .zone.zone-donate {
        padding: 80px 0;
    }
    
    .stats-card {
        padding: 2.5rem !important;
    }
    
    .stats-icon {
        width: 70px;
        height: 70px;
    }
    
    .stats-icon i {
        font-size: 2.5rem !important;
    }
    
    .count {
        font-size: 3rem !important;
    }
    
    /* Gallery */
    .gallery-img {
        height: 300px;
    }
    
    .masonry-grid {
        column-count: 3;
    }
    
    /* Products grid */
    .products-modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Reviews grid */
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Sales hero */
    .hero-sales-section {
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Contact */
    .map-container iframe {
        height: 350px !important;
    }
    
    /* Admin */
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2.5rem !important;
    }
}

/* ==========================================================================
   LARGE DESKTOP - 1200px and up
   ========================================================================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .stats-icon {
        width: 80px;
        height: 80px;
    }
    
    .stats-icon i {
        font-size: 3rem !important;
    }
    
    .count {
        font-size: 3.5rem !important;
    }
    
    .masonry-grid {
        column-count: 4;
    }
    
    .products-modern-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   EXTRA LARGE DESKTOP - 1400px and up
   ========================================================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .masonry-grid {
        column-count: 5;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .navbar,
    .btn,
    .admin-header {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* ==========================================================================
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: rgba(0,0,0,0.3);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid;
    }
    
    .card {
        border: 2px solid #333;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
    .mobile-mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .mobile-p-2 {
        padding: 0.5rem !important;
    }

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .modal,
    .admin-header,
    .nav-tabs {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .text-white {
        color: #000 !important;
    }
    
    .bg-primary,
    .bg-success,
    .bg-info,
    .bg-warning,
    .bg-danger {
        background: #f8f9fa !important;
        color: #000 !important;
    }
}

/* High DPI Display Support */
@media (min-resolution: 192dpi) {
    .hero-product-image img,
    .gallery-img,
    .product-modern-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .card {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .modal-content {
        background-color: #2d3748;
        color: #e2e8f0;
    }
    
    .table {
        color: #e2e8f0;
    }
    
    .table-light {
        background-color: #4a5568;
        color: #e2e8f0;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-sales-section {
        min-height: 60vh !important;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem;
    }
    
    .hero-features {
        margin-bottom: 1rem;
    }
    
    .stats-section {
        padding: 2rem 0 !important;
    }
}

/* Very Small Screens (< 360px) */
@media (max-width: 359.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .stats-card {
        padding: 0.75rem !important;
    }
    
    .count {
        font-size: 1.5rem !important;
    }
    
    .product-modern-card {
        margin-bottom: 1rem;
    }
    
    .product-image-container {
        height: 160px !important;
    }
    
    .modal-dialog {
        margin: 0.125rem;
    }
}

/* Large Screens Optimization */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem !important;
    }
    
    .product-image-container {
        height: 320px !important;
    }
    
    .gallery-item img {
        height: 300px !important;
    }
    
    .stats-card {
        padding: 2.5rem !important;
    }
    
    .count {
        font-size: 3.5rem !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible for Keyboard Navigation */
.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Touch Target Sizes for Mobile */
@media (max-width: 767.98px) {
    .btn,
    .nav-link,
    .form-control,
    .dropdown-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn-sm {
        min-height: 36px;
        min-width: 36px;
    }
    
    .gallery-card,
    .product-modern-card,
    .review-card {
        margin-bottom: 1rem;
        touch-action: manipulation;
    }
}

/* Hero Section Mobile Fixes - แก้ไขให้แสดงผลถูกต้อง */
@media (max-width: 768px) {
    /* Force Hero Section to show properly */
    #home {
        margin-top: 76px !important;
        padding: 2rem 0 !important;
        background: #ffffff !important;
        background-image: none !important;
        min-height: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .zone.zone-foam {
        background: #ffffff !important;
        background-image: none !important;
        padding: 2rem 0 !important;
        margin: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        /* ลบเอฟเฟคทั้งหมด */
        filter: none !important;
        transform: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    .hero-content {
        padding: 2rem 0.5rem !important;
        text-align: center !important;
        margin-top: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 2 !important;
        /* ลบเอฟเฟคทั้งหมด */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Force all hero elements to be visible */
    .hero-badge,
    .hero-content h1,
    .hero-content .lead,
    .hero-content .d-grid,
    .hero-content .btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit !important;
        position: relative !important;
        z-index: 3 !important;
        /* ลบเอฟเฟคทั้งหมด */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    /* Badge styling */
    .hero-badge {
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }
    
    .hero-badge .badge {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.5rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        background-color: rgba(40, 167, 69, 0.1) !important;
        color: #28a745 !important;
        border: 1px solid rgba(40, 167, 69, 0.2) !important;
        display: inline-block !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    /* Title styling */
    .hero-content h1,
    .hero-content .display-4 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        font-weight: 800 !important;
        text-align: center !important;
        color: #212529 !important;
        display: block !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        text-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    .hero-content h1 span,
    .hero-content .display-4 span {
        display: block !important;
        margin-bottom: 0.3rem !important;
        filter: none !important;
        transform: none !important;
    }
    
    .hero-content h1 .text-success,
    .hero-content .display-4 .text-success {
        color: #28a745 !important; /* เปลี่ยนจากสีเขียวเป็นสีเดียวกับคอม */
        text-shadow: none !important;
        filter: none !important;
    }
    
    .hero-content h1 .text-primary,
    .hero-content .display-4 .text-primary {
        color: #007bff !important; /* เปลี่ยนจาก #fffb00 เป็นสีน้ำเงินเดียวกับคอม */
        text-shadow: none !important;
        filter: none !important;
    }
    
    /* Lead text styling */
    .hero-content .lead {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
        line-height: 1.7 !important;
        color: #6c757d !important; /* เปลี่ยนจาก #ffffff เป็นสีเทาเหมือนคอม */
        font-weight: 400 !important;
        text-align: center !important;
        display: block !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        text-shadow: none !important;
    }
    
    .hero-content .lead strong {
        color: #ffc107 !important; /* เปลี่ยนจาก #fbff00 เป็นสีเหลืองเดียวกับคอม */
        font-weight: 700 !important;
        filter: none !important;
    }
    
    .hero-content .lead br {
        display: block !important;
    }
    
    /* Button container */
    .hero-content .d-grid {
        gap: 1rem !important;
        margin-top: 2.5rem !important;
        padding: 0 1rem !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    /* Button styling */
    .hero-content .btn {
        width: 100% !important;
        padding: 1.2rem 2rem !important;
        font-size: 1.1rem !important;
        border-radius: 25px !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        min-height: 65px !important;
        text-align: center !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        position: relative !important;
        overflow: hidden !important;
        border: none !important;
        text-decoration: none !important;
        /* ลบเอฟเฟคที่อาจบัค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        transition: box-shadow 0.3s ease !important;
    }
    
    .hero-content .btn:hover {
        transform: none !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    }
    
    .hero-content .btn i {
        font-size: 1.1rem !important;
        margin-right: 0.5rem !important;
        display: inline-block !important;
        filter: none !important;
    }
    
    .hero-content .btn span {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: inherit !important;
        display: inline-block !important;
        filter: none !important;
    }
    
    .btn-gradient-primary {
        background: linear-gradient(45deg, #007bff, #0056b3) !important;
        color: white !important;
        filter: none !important;
    }
    
    .btn-gradient-secondary {
        background: linear-gradient(45deg, #6c757d, #495057) !important;
        color: white !important;
        filter: none !important;
    }
    
    /* Hero Image */
    .hero-product-image {
        text-align: center !important;
        margin: 1.5rem 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 2 !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .hero-product {
        max-height: 280px !important;
        max-width: 85% !important;
        margin: 0 auto !important;
        display: block !important;
        /* ลบเอฟเฟคที่อาจบัค */
        filter: drop-shadow(0 8px 25px rgba(0,0,0,0.15)) !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .hero-product-fallback > div {
        height: 240px !important;
        width: 240px !important;
        margin: 0 auto !important;
        background: linear-gradient(135deg, #e3f2fd, #bbdefb) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    /* Statistics Section Mobile */
    #stats {
        padding: 3rem 0 !important;
        background: #ffffff !important;
        background-image: none !important;
        position: relative !important;
        z-index: 1 !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .zone.zone-donate {
        background: #ffffff !important;
        background-image: none !important;
        padding: 3rem 0 !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .stats-card {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem !important;
        border-radius: 20px !important;
        border: none;
        background: #ffffff !important;
        position: relative !important;
        /* ลบเอฟเฟคที่อาจบัค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
        transition: transform 0.3s ease !important;
    }
    
    .stats-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .stats-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .stats-icon i {
        font-size: 1.8rem !important;
        filter: none !important;
    }
    
    .stats-card .count {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem;
        font-weight: 800;
        filter: none !important;
    }
    
    .stats-card h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #6c757d !important;
        filter: none !important;
    }
    
    .stats-card p {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: #6c757d !important;
        filter: none !important;
    }
    
    /* Gallery Section Mobile */
    #gallery {
        padding: 3rem 0 !important;
        background: #f8f9fa !important;
        background-image: none !important;
        position: relative !important;
        z-index: 1 !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .zone.zone-news {
        background: #f8f9fa !important;
        background-image: none !important;
        padding: 3rem 0 !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .gallery-card {
        border-radius: 20px !important;
        overflow: hidden;
        margin-bottom: 1.5rem;
        height: 220px !important;
        position: relative;
        background: #ffffff !important;
        /* ลบเอฟเฟคที่อาจบัค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.3s ease !important;
    }
    
    .gallery-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
    }
    
    .gallery-img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover;
        border-radius: 20px;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)) !important;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        color: white !important;
        text-align: center;
        padding: 1.5rem;
        /* ลบเอฟเฟคที่อาจบัค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        transition: opacity 0.3s ease !important;
    }
    
    .gallery-card:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-overlay h6 {
        font-size: 1rem !important;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: white !important;
        filter: none !important;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem !important;
        margin-bottom: 0;
        color: white !important;
        filter: none !important;
    }
    
    .gallery-overlay .fs-2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem;
        color: white !important;
        filter: none !important;
    }
    
    /* Gallery Button */
    .text-center .btn-gradient-primary {
        width: 90% !important;
        max-width: 320px;
        margin: 0 auto;
        padding: 1.2rem 2rem !important;
        font-size: 1.1rem !important;
        border-radius: 25px !important;
        font-weight: 600;
        background: linear-gradient(45deg, #007bff, #0056b3) !important;
        border: none !important;
        color: white !important;
        /* ลบเอฟเฟคที่อาจบัค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3) !important;
    }
    
    /* Contact Section */
    #contact {
        padding: 3rem 0 !important;
        background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
        background-image: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
        position: relative;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .zone.zone-contact {
        background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
        background-image: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
        padding: 3rem 0 !important;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .contact-info-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
        /* ลบเอฟเฟคที่อาจบัค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .contact-item {
        margin-bottom: 2rem !important;
        filter: none !important;
    }
    
    .contact-icon {
        font-size: 1.3rem;
        width: 30px;
        text-align: center;
        margin-top: 0.2rem;
        filter: none !important;
    }
    
    .contact-item h6 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        color: white !important;
        filter: none !important;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9) !important;
        filter: none !important;
    }
    
    .contact-item a {
        color: inherit !important;
        text-decoration: none !important;
        filter: none !important;
    }
    
    .map-container {
        height: 280px !important;
        border-radius: 20px !important;
        overflow: hidden;
        /* ลบเอฟเฟค */
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    .map-container iframe {
        height: 280px !important;
        filter: none !important;
    }
    
    /* ลบเอฟเฟคจาก elements อื่นๆ */
    .section-badge,
    .display-6,
    .display-5,
    .display-4,
    .lead,
    .badge {
        filter: none !important;
        transform: none !important;
        animation: none !important;
        backdrop-filter: none !important;
    }
    
    /* Force ให้ทุกอย่างแสดงผลปกติ */
    * {
        -webkit-filter: none !important;
        -moz-filter: none !important;
        -ms-filter: none !important;
        -o-filter: none !important;
        filter: none !important;
        
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
        
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -ms-animation: none !important;
        -o-animation: none !important;
        animation: none !important;
        
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    
    /* ยกเว้นการ transition ที่จำเป็น */
    .btn,
    .stats-card,
    .gallery-card {
        transition: all 0.3s ease !important;
    }
    
    .gallery-overlay {
        transition: opacity 0.3s ease !important;
    }
}

/* Override colors specifically for mobile */
@media (max-width: 768px) {
    /* แก้ไขส่วน hero content ให้สีตรงกับคอม */
    .zone.zone-foam {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .hero-content h1 .text-success {
        color: #28a745 !important; /* สีเขียวเหมือนคอม */
    }
    
    .hero-content h1 .text-primary {
        color: #007bff !important; /* สีน้ำเงินเหมือนคอม */
    }
    
    .hero-content .lead {
        color: #ffffff !important; /* สีขาวเหมือนคอม */
    }
    
    .hero-content .lead strong {
        color: #ffc107 !important; /* สีเหลืองเหมือนคอม */
    }
}