/* ==========================================
   CSS แกนหลักสำหรับแถบด้านบนสุด และ Navbar เมนู
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Prompt', sans-serif;
}

body {
    background-color: #ffffff;
}

/* แถบด้านบนสุด (Top Bar) */
.top-bar {
    background-color: #333333;
    color: #ffffff;
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    justify-content: flex-end;
}

.top-bar-right a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.lang-selector img {
    width: 20px;
    height: auto;
    vertical-align: middle;
}

/* แถบเมนูนำทาง (Navbar) & โลโก้ */
.navbar {
    background-color: #b5a494; /* สีน้ำตาลอมเทาตามแบบ */
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-circle {
    background-color: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dcdcdc;
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-grow: 1;
    flex-wrap: wrap;
}

.nav-btn {
    flex-grow: 1;
    flex-basis: 0;
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s;
    text-align: center;
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: #f0f0f0;
}
.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px; /* เว้นระยะจากขอบจอซ้ายขวา */
}
.breadcrumb {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 50px;
    font-family: 'Prompt', sans-serif;
}
.search-box-container {
    background-color: #b5a494; /* สีน้ำตาลธีมเดียวกับ Navbar */
    padding: 20px;            /* เว้นระยะห่างด้านในกล่อง */
    border-radius: 25px;       /* ความโค้งมนหนาของกล่องภายนอก */
    display: flex;             /* จัดให้ช่องกรอกและปุ่มเรียงแนวนอน */
    align-items: center;
    gap: 20px;                 /* ระยะห่างระหว่างช่องกรอกกับปุ่ม */
    width: 100%;
    max-width: 1000px;         /* ความยาวสูงสุดของกล่องค้นหา */
    margin: 40px auto;         /* จัดกล่องให้อยู่กึ่งกลางหน้าจอ */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.search-input {
    flex-grow: 1;              /* สั่งให้ช่องกรอกยาวเต็มพื้นที่ที่เหลือ */
    background-color: #ffffff;
    border: none;
    outline: none;
    padding: 15px 25px;
    border-radius: 18px;       /* ความโค้งมนของช่องกรอก */
    font-size: 20px;
    height: 70px;              /* ความสูงของช่องกรอก */
    font-family: 'Prompt', sans-serif;
}
.search-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    outline: none;
    padding: 0 45px;           /* ความกว้างด้านข้างของปุ่ม */
    border-radius: 18px;       /* ความโค้งมนของปุ่ม */
    font-size: 26px;           /* ขนาดตัวหนังสือคำว่า ค้นหา */
    font-weight: 500;
    height: 70px;              /* ความสูงของปุ่ม (เท่ากับช่องกรอก) */
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;       /* ล็อคตัวอักษรไม่ให้ตกบรรทัด */
    font-family: 'Prompt', sans-serif;
}
/* เวลาเอาเมาส์ชี้ปุ่มค้นหาให้เปลี่ยนสีเล็กน้อย */
.search-btn:hover {
    background-color: #f5f5f5;
}