	   :root {
            --navy: #0b1e3f;
            --blue: #0057b8;
            --cyan: #00c2ff;
            --gray-bg: #f5f7fa;
            --text-dark: #1e293b;
            --text-muted: #64748b;
            --radius: 14px;
            --shadow: 0 12px 28px rgba(0,0,0,0.08);
        }
		        .back-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: var(--blue);
            color: #fff;
            padding: 12px 18px;
            border-radius: 8px;
            text-decoration: none;
            box-shadow: var(--shadow);
        }

			/* เอฟเฟกต์เมื่อเอาเมาส์ไปชี้ (Hover) */
			  .back-top:hover {
			  background-color: #555555; /* เปลี่ยนเป็นสีที่สว่างขึ้น */
			}

	  body {
            font-family: "Anuphan", sans-serif;
			margin: 0;
            padding: 0;
            background-color: #f9fbfd;
            color: #333;
        }

		.container {
			width: 100%;
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 24px;
		}

        h1 {
            font-size: 32px;
            margin-bottom: 40px;
            font-weight: bold;
        }
        h2 {
            font-size: 24px;
            margin: 0 0 12px 0;
            text-align: left;
            width: 100%;
        }
		        h3 {
            font-size: 18px;
            			margin: 0;
            padding: 0;
            text-align: left;
            width: 100%;
        }
		        h4 {
            font-size: 16px;
            margin: 0 0 12px 0;
            text-align: left;
            width: 100%;
        }

        p {
            font-size: 16px;
            line-height: 1.6;
            color: #000;
			opacity: 0.6;
            margin: 0;
            text-align: left;
        }
		a {
			  text-decoration: none;
			}
        .grid {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
        }

        .card {
            /* background: #ffffff; */
			background-color: var(--white);
            border-radius: 14px;
            padding: 24px;
            /* ─── ล็อคขนาดการ์ดไม่ให้ขยายเต็มแถว ─── */
            /* ใช้ flex: 0 0 เพื่อไม่ให้ขยาย (flex-grow: 0) และไม่ให้หด (flex-shrink: 0) */
            flex: 0 0 calc(50% - 12px); 
            box-sizing: border-box;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);*/
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* ─── ระบบซ่อนการ์ดอัตโนมัติด้วย CSS ─── */
        .card:has(p:empty) {
            display: none;
        }

        /* เมื่อดูในมือถือ ให้การ์ดกลับมาเต็ม 100% ตามปกติ */
        @media (max-width: 768px) {
            .card {
                flex: 0 0 100%;
            }
        }

        /* ─── แก้ไขปัญหารูปภาพขาด/ล้น บนหน้าจอมือถือ ─── */
        .card img, .image-placeholder {
            width: 100%;
            max-width: 742px;
            height: auto;
            aspect-ratio: 742 / 350;
              /* background-color: #e2e8f0;*/
            border-radius: 0px;
            margin: 0 0 12px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #718096;
            font-size: 14px;
        }
		.responsive-img {
		  width: 100%;       /* ขยายภาพให้เต็ม 100% ของกรอบ image-container */
		  height: auto;      /* ให้ความสูงปรับตามอัตราส่วนภาพโดยอัตโนมัติ ภาพไม่เบี้ยว */
		  display: block;    /* ลบช่องว่างปริศนาด้านล่างของรูปภาพ */
		  border-radius: 8px;/* (ตัวเลือกเสริม) ทำขอบมนให้ดูทันสมัย */
		}

        card p {
            font-size: 16px;
            line-height: 1.6;
            color: var(--charcoal-text);
            margin: 0;
            text-align: left;

        }

		/* ==========================================================================
   FOOTER
   ========================================================================== */
	      footer {
            margin-top: 60px;
            color: #000;
            padding: 50px 0;
            text-align: center;
        }
        footer h2 {
            color: #fff;
            margin-bottom: 10px;
        }
		 footer p {
            font-size: 16px;
            line-height: 1.6;
            color: #4a5568;
            margin: 0;
            text-align: left;
        }
		.copyright {
			text-align: center;
			color: var(--white);
			margin-top: 40px;
			padding-top: 20px;
			border-top: 1px solid rgba(255, 255, 255, 0.05);
			font-size: 12px;
			opacity: 0.6;
		}
/* ==========================================================================
   NAVIGATION
   ========================================================================== */
		header {
			width: 100%;
			left: 0; 
			padding: 0 20px;
			background-color: #047a7e; 
			backdrop-filter: blur(12px); 
			box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02); 
			position: sticky; 
			top: 0; 
			z-index: 1000; 
			color: #fff;
		}
		nav {
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 80px;
			padding: 15px 40px;
		}

		.logo {
			text-decoration: none;
			letter-spacing: -0.5px;
		}

		.nav-links {
			display: flex;
			list-style: none;
			gap: 24px;
		}

		.nav-links a {
			text-decoration: none;
			color: var(--charcoal-text);
			font-size: 0.95rem;
			padding-bottom: 5px;
			transition: var(--transition-smooth);
		}

		.nav-links a.active, .nav-links a:hover {
			color: #fff;
			border-bottom: 2px solid #fff;
		}
		.banner-container img {
		  width: 100%;
		  height: 240px;
		  object-fit: cover;
		  object-position: center;
		}

		.my-button {
		  text-decoration: none;
		  display: inline-flex;      /* ใช้ flex เพื่อจัดไอคอนและตัวหนังสือให้อยู่ตรงกลางพอดี */
		  align-items: center;
		  gap: 10px;                 /* เว้นระยะห่างระหว่างไอคอนกับข้อความ 10px */
		  padding: 12px 28px;
		  font-family: sans-serif;
		  color: white;
		  border-radius: 50px;
		  transition: all 0.3s ease;
		  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		   color: #000;

		.my-button:hover {
		  transform: translateY(-2px);
		  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
		}
		.custom-pill-tabs {
		  background-color: #047a7e; 
			padding: 6px;
			border-radius: 50px;
			display: inline-flex;
		}
		.custom-pill-tabs .nav-link {
			border-radius: 50px;
			color: #475569;
			font-weight: 500;
			padding: 8px 24px;
			transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		}
		.custom-pill-tabs .nav-link:hover {
			color: #0f172a;
		}
		/* สไตล์ปุ่มเมื่อกดเลือก จะเด่นออกมาพร้อมเงาซอฟต์ๆ */
		.custom-pill-tabs .nav-link.active {
			background-color: #ffffff;
			color: #2563eb;
			box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
		}
		.custom-tab-container {
			background: #ffffff;
			border: 1px solid #f1f5f9;
			border-radius: 20px;
			padding: 10px;
						margin: 0 auto;
			padding: 0 24px;
		}
		.tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.tab-item {
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    letter-spacing: 0.5px;
    position: relative;
}

.tab-item.active {
    color: #000000;
}

/* เส้นใต้สีดำหนาเฉพาะเมนูที่เลือก (Active Tab) */
.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000000;
}

/* --- ส่วนเลย์เอาต์หลักของสินค้า --- */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
/* ตั้งค่าเริ่มต้นสำหรับฟอนต์และพื้นหลัง */


/* --- แถบเมนูด้านบน (Tabs) --- */
.tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.tab-item {
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    letter-spacing: 0.5px;
    position: relative;
}

.tab-item.active {
    color: #000000;
}

/* เส้นใต้สีดำหนาเฉพาะเมนูที่เลือก (Active Tab) */
.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000000;
}

