    /* CSS Reset & Variables */	
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    :root {
        --primary-color: #0284c7;
        --primary-dark: #0369a1;
        --text-color: #334155;
        --bg-color: #f1f5f9;
        --white: #ffffff;
        --border-color: #e2e8f0;
    }

    body {
        font-family: 'Sarabun', Tahoma, sans-serif;
        color: var(--text-color);
        background-color: var(--bg-color);
        line-height: 1.7;
        padding-bottom: 60px; /* เว้นระยะสำหรับ Mobile Bottom Bar บนมือถือ */
        -webkit-user-select: none; /* Safari */
        -moz-user-select: none;    /* Firefox */
        -ms-user-select: none;     /* IE 10+ / Edge */
        user-select: none;         /* Standard syntax */		
    }
	
	/* ป้องกันการลากรูปภาพ (Drag & Drop) ออกไปเซฟ */
    img {
      -webkit-user-drag: none;
      -khtml-user-drag: none;
      -moz-user-drag: none;
      -o-user-drag: none;
      user-drag: none;
      pointer-events: none; /* ป้องกันคลิกขวาที่รูปหรือเซฟรูป */
    }
	
    @media (min-width: 992px) {
        body {
            padding-bottom: 0;
        }
    }

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

    /* ================= TOP HEADER (โลโก้และสโลแกนเหนือเมนู - เห็นเฉพาะ Laptop) ================= */
	@font-face { font-family: Chonburi; src: url(./fonts-loveit/Chonburi-Regular.ttf);}
    @font-face { font-family: Abril_Fatface; src: url(./fonts-loveit/AbrilFatface-Regular.ttf);}
	
    .top-header-wrapper {
        background-color: var(--white);
        border-bottom: 1px solid var(--border-color);
        display: none; /* ซ่อนบนมือถือถาวร */
    }
    @media (min-width: 992px) {
        .top-header-wrapper {
            display: block; /* แสดงเฉพาะบน Laptop/Desktop */
        }
    }
    .top-header-inner {
        max-width: 1100px;
		height: 80px !important;
        margin: 0 auto;
        padding: 14px 18px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
		background-color: #FFFFFF;  
        text-align: center;
        text-decoration: none;
        line-height: 1.2 !important;	
    }
	.top-logo-left {
     text-align:left; 
     font-family: Chonburi, Helvetica, sans-serif;
     color:#02B243;
     font-weight: normal;
     font-size: 60px;
     float:left; 
     padding: 0px 1px; 
     display: block;
    }
    .top-logo-left a { 
	text-decoration: none;
	line-height: 1;
    display: inline-block;
	}
    .top-motto-right {
    text-align:right; 
    font-family: Abril_Fatface, Helvetica, sans-serif;
    color:#484A49;
    font-weight: normal;
    font-size: 22px;
    float:right; 
    padding-top:18px;
    margin-bottom:0px;
	line-height: 1;
    display: block;
    }

	.logolink a:link{ text-decoration: none;}
    .logolink a:visited {text-decoration: none;}
    .logolink a:hover {text-decoration: none;background-color: transparent;}
    .logolink a:active {text-decoration: none;}

	@media screen and (min-width: 802px) and (max-width: 970px) { 
    .top-logo-left { font-size: 54px; margin: auto; float: none; text-align:center;padding: 0px 5px;}
    .top-motto-right { font-size: 18px; margin: auto; float: none; text-align:center;padding: 0px 5px;}
    }

    @media screen and (min-width: 971px) and (max-width: 1190px) { 
    .top-logo-left { font-size: 52px; }
    .top-motto-right { font-size: 18px; }
    }

    @media screen and (min-width: 1191px) and (max-width: 1250px) { 
    .top-logo-left { font-size: 52px; }
    .top-motto-right { font-size: 18px; }
    }
	
	@media screen and (min-width: 1251px) and (max-width: 1450px) { 
    .top-logo-left { font-size: 60px; }
    .top-motto-right { font-size: 18px; }
    }
	
    /* ================= MAIN HEADER (แถบเมนูหลัก Sticky) ================= */
    #header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #234d20 !important; /* สีเขียวเข้ม */
        box-shadow: 0 1px 3px rgba(0,0,0,0.15);
        border-bottom: 1px solid #1a3c18;
        z-index: 1000;
		height: 50px; /* ล็อกความสูงรวมของแถบ Header ไว้ให้คงที่เสมอ */
    }
    .header-top {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 15px !important; /* เอา padding บน-ล่างออก ปล่อยให้ height ควบคุมความสูงแทน */
        height: 50px; /* ล็อกความสูงภายในให้เท่ากัน */
        display: flex;
        justify-content: flex-start; /* จัดเรียงชิดซ้ายตั้งแต่เริ่มต้น */
        align-items: center;
        gap: 25px; /* เว้นระยะห่างระหว่างชื่อเว็บกับเมนูเมื่อแสดงพร้อมกัน */
    }

    /* สไตล์คลาส headerleft (สำหรับแสดงโลโก้ข้อความใน Header) */
    .headerleft {
        text-align: left; 
        font-family: Chonburi, Helvetica, sans-serif !important;
        font-weight: normal;
        font-size: 24px !important; /* ปรับลดขนาดลงนิดหน่อยจาก 28px เพื่อให้บรรจุในบาร์สูง 50px ได้สวยงามไม่ล้น */
        display: block;
        padding: 0;
        margin: 0;
    }
    .headerleft a { 
        text-decoration: none;
        line-height: 50px;
        display: inline-block;
    }

    /* บน Laptop: เริ่มต้นซ่อนข้อความฝั่งซ้ายไว้ (ความกว้างเป็น 0 ไม่กินพื้นที่ เมนู 5 ลิงก์จะชิดซ้ายสุด) */
    @media (min-width: 992px) {
        #headerleft {
            display: none;
        }
        /* เมื่อเลื่อน scroll หน้าจอลงมาจนเป็น Sticky: แสดงชื่อเว็บทางซ้าย และ 5 ลิงก์จะเรียงต่อทันทีอย่างกลมกลืน */
        #header.is-sticky #headerleft {
            display: block !important;
        }
    }

    /* เมนูหลัก 5 ลิงก์บน Desktop */
    #menu ul {
        list-style: none;
        display: flex;
        gap: 15px;
        align-items: center;
    }
    #menu a {
        text-decoration: none;
        color: #90FA0F;
        font-size: 1.2rem;
        transition: color 0.2s;		
		float: left;
        display: inline-block;  
        padding: 12px 10px 6px 10px;
        text-align: center;  
        font-weight: bold;  
        white-space: nowrap;
    }
	#menu a:hover {
       text-decoration: none;
       color: #90FA0F;
       background-color: transparent;
    }
    #menu li.selected a, #menu a:hover {
        color: #9CFD0F;
        font-weight: 600;
    }

    /* ปุ่มเมนู 3 ขีด (แสดงเฉพาะมือถือ) */
    .menu-toggle {
        display: none;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #0f172a;
        border-radius: 2px;
    }

    /* ปุ่มปิดเมนู ✕ (ใช้เฉพาะในมือถือ) */
    .close-menu {
        display: none;
        text-align: right;
        font-size: 1.6rem;
        font-weight: bold;
        color: #64748b;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .menu-section-title {
        display: none;
        text-align: left;
    }

    .drawer-service-list {
        display: none !important;
    }

    /* ================= เมนูบริการ #pagemenu (สำหรับ Desktop - แยกอยู่นอก Header ด้านล่าง) ================= */
    #pagemenu {
        background: #F0F0F0 !important; /* พื้นหลังสีขาวแบบ Original */
        border-bottom: 1px solid var(--border-color);
        padding:0;		
		margin:0 0 20px 0;	
	    clear:both;	
	    width:100%;
	    font-size:0.8em;
    }
    #pagemenu .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0;
    }
    #pagemenu ul {
        list-style:none;
	    margin:0;
	    padding:0;
	    border-bottom: none !important;
	    height:26px;
    }
    #pagemenu a {
        text-decoration:none;
	    color:#666666;
    }
    #pagemenu ul li {
	    list-style-image:none;
	    float:left;
	    margin:3px 3px 0 3px;
	    padding:3px 10px 3px 10px;
	    background-color:#F0F0F0;
	    border:0;
    }
    #pagemenu ul .selected {
	    background-color:#FFFFFF;
	    border:1px solid #cccccc;
	    border-bottom: none !important;
    }
    #pagemenu ul .selected a {
	color:#003399;
    }

    /* ================= Responsive สำหรับมือถือ (Max-width: 991px) ================= */
    @media (max-width: 991px) {
        #header {
            position: fixed;
            top: 0;
            left: 0;
			height: 58px !important; /* ล็อกความสูงบนมือถือให้คงที่ (ปรับเพิ่มลดตัวเลขนี้ได้ตามต้องการ เช่น 55px - 60px) */
        }
        .header-top {
            padding: 0 15px !important;
            height: 58px !important; /* ล็อกความสูงภายในให้เท่ากันเป๊ะ */
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
        }
        /* คืนค่าข้อความ "ปลูกผมถาวร.com" บนมือถือ ให้แสดงฝั่งซ้ายเสมอ */
        #headerleft {
            display: block !important;
        }
        .headerleft {
            font-size: 22px !important; /* ปรับขนาดบนมือถือให้พอดี */
        }
        /* ปุ่ม 3 ขีด แสดงผลอยู่ฝั่งขวาสุดของ Header บนมือถือ */
        .menu-toggle {
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            width: 28px;
            height: 20px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        .menu-toggle span {
            width: 100%;
            height: 3px;
            background-color: #ffffff !important;
            border-radius: 2px;
            display: block;
        }
        #menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            max-height: 100vh;
            background-color: #1b3d19 !important;
            box-shadow: -2px 0 10px rgba(0,0,0,0.3);
            transition: right 0.3s ease;
            z-index: 1002;
             /* ปรับ padding-bottom ให้เพิ่มขึ้นเป็น 100px เพื่อเผื่อพื้นที่ให้เลื่อนดูเมนูอันล่างสุดได้พ้นขอบ */
            padding: 10px 20px 120px 20px !important; 
            overflow-y: auto;
            -webkit-overflow-scrolling: touch; /* ช่วยให้เลื่อนบน iOS ลื่นไหล */
            text-align: left;
			margin: 0 !important;
        }
        #menu.active {
            right: 0;
        }
        .close-menu {
            display: block !important;
            text-align: right;
            font-size: 2rem !important;
            font-weight: bold;
            color: #ffffff !important;
            cursor: pointer;
            margin-bottom: 10px !important;
            line-height: 1 !important;
        }
        #menu ul {
            flex-direction: column !important;
            gap: 0 !important;
            align-items: flex-start !important;
            width: 100% !important;
        }
        #menu li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; /* <--- คืนเส้นขีดใต้แต่ละลิงก์ */
            width: 100% !important;
            float: none !important;
            background: transparent !important;
        }
        #menu a {
            display: block !important;
            float: none !important;
            padding: 10px 0 !important;     
            font-size: 0.98rem !important;  
            color: #f1f5f9 !important;
            font-weight: 500 !important;
            text-align: left !important;
            white-space: normal !important;
			line-height: 1.3 !important;
        }
        #menu li.selected a, #menu a:hover {
            color: #4ade80 !important;
            font-weight: 600;
        }
        .menu-section-title {
            display: block;
            font-size: 0.88rem !important;
            text-transform: uppercase;
            color: #c5f04f !important;
            font-weight: bold;
            margin: 9px 0 4px 0 !important;
            padding-top: 0 !important;
            border-top: none !important; /* <--- สั่งปิดเส้นประ */
			border-bottom: none !important; /* <--- เพิ่มบรรทัดนี้เพื่อเคลียร์เส้นเขียวทึบใต้ตัวหนังสือ */
            text-align: left;
        }
        .drawer-service-list {
            display: block !important;
        }
        #pagemenu {
            display: none !important;
        }
        .main-wrapper {
            margin-top: 58px !important; /* ให้ตรงกับความสูงของ #header ด้านบน */
            padding-top: 10px !important;
        }
    }

    /* Backdrop บนมือถือ */
    .menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.4);
        z-index: 1001;
        display: none;
    }
    .menu-backdrop.active {
        display: block;
    }

    /* ================= MAIN CONTENT LAYOUT ================= */
    .main-wrapper {
        max-width: 1100px;
        margin: 15px auto;
        padding: 0 15px;
    }
    #content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 992px) {
        #content {
            grid-template-columns: 1fr 300px;
        }
    }

    /* คอลัมน์ซ้าย (.left) */
    .left {
        background: var(--white);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    @media (min-width: 768px) {
        .left {
            padding: 30px;
        }
    }
    .left h1 {
        font-size: 1.4rem;
        color: #1e293b;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    .left h3 {
        font-size: 1.1rem;
        color: #0f172a;
        margin: 25px 0 10px 0;
        border-left: 4px solid var(--primary-color);
        padding-left: 10px;
    }
    .msg {
        background: #f8fafc;
        padding: 15px;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        margin-bottom: 20px;
        font-size: 0.95rem;
        line-height: 1.8;
    }
    .keylist {
        list-style-type: disc;
        padding-left: 20px;
    }
    .keylist li {
        margin-bottom: 8px;
    }
    .keylist a {
        color: var(--primary-color);
        text-decoration: none;
    }
    .keylist a:hover {
        text-decoration: underline;
    }
    .smalltext {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: normal;
        display: block;
        margin-top: 3px;
    }
    @media (min-width: 768px) {
        .smalltext {
            display: inline;
            margin-top: 0;
        }
    }

    /* คอลัมน์ขวา (.right) */
    .right {
        background: var(--white);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        height: fit-content;
    }
    .right h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: #1e293b;
    }
    .siteimg {
        text-align: center;
        margin-bottom: 20px;
    }
    .articlelist {
        font-size: 0.9rem;
        line-height: 2;
    }
    .articlelist a {
        color: var(--text-color);
        text-decoration: none;
    }
    .articlelist a:hover {
        color: var(--primary-color);
    }

    /* ================= FOOTER ================= */
    #footer {
        background-color: #234d20;
        color: #94a3b8;
        padding:8px;
		font-family: Arial, Tahoma, sans-serif;
        font-size: 0.85rem;
        text-align: center;
        line-height:1.6em;
		width: 100%;
        display: block;
		margin-top:4px;
		border: 0px solid #545756;
    }
    .footerleft {
        max-width: 1100px;
        margin: 0 auto;
    }
    .footerleft a {
        color: #90FA0F;
        text-decoration: none;
        margin: 0 4px;
    }
    .footerleft a:hover {
        color: var(--white);
        text-decoration: underline;
    }

    /* ================= MOBILE BOTTOM BAR ================= */
    .mobile-bottom-bar {
       position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: #000000;
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    }
    .mobile-bottom-bar p {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        margin: 0 auto;
        padding: 0 10px;
        width: 100%;
        max-width: 450px;
    }
    .mobile-bottom-bar img {
        vertical-align: middle;
        display: inline-block;
    }
    a, img, button {
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-bottom-bar a,
    .mobile-bottom-bar img {
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
    .mobile-bottom-bar a:hover,
    .mobile-bottom-bar a:active,
    .mobile-bottom-bar a:focus {
        background-color: transparent !important;
        color: inherit !important;
    }
    .mobile-bottom-bar a {
        text-decoration: none;
        color: var(--text-color);
        font-size: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
    }
    .mobile-bottom-bar a:hover {
        color: var(--primary-color);
        background-color: #f8fafc;
    }
    @media (min-width: 992px) {
        .mobile-bottom-bar {
            display: none;
        }
    }

    .clear {
        clear: both;
    }