* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    overflow-x: hidden;
}
.main-layout {
    width: 100%;
    min-height: 100vh;
    padding: 2rem 2.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* 🎯 ปลดล็อก 1: สั่งเคลียร์แผ่นโครงในให้โปร่งแสง เพื่อเปิดทางให้รหัสสี var() จากฐานข้อมูลสาดแสงทะลุขึ้นมาโชว์หน้าบ้านได้ครับ */
    background-color: transparent !important;
    background: transparent !important;
}
.layout-center {
    width: 100%;
    max-width: 1200px;
    background-color: transparent;
}

.nav-bar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.nav-block-first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 2.5%;
}
.nav-left, .nav-right {
    flex: 1;
    display: flex;
}
.nav-right {
    justify-content: flex-end;
}
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}
.btn-register {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-register:hover { 
    cursor: pointer;
}
.btn-login {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;   
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-login:hover {
    cursor: pointer;
}
.nav-logo {
    max-height: 3rem;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.nav-block-second {
    width: 100%;
    padding: 0.6rem 2.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* 🎯 ปลดล็อก 2: สั่งโปร่งแสงเส้นขอบบนตัดขัดสายตาออก เพื่อให้สีแผงเมนูกระดอนเปลี่ยนตามธีมหลังบ้านได้อย่างเนียนตาไร้รอยต่อครับ */
    border-top: 1px solid transparent !important;
    box-shadow: none !important;
}
