@font-face {
    font-family: 'DB Airy';
    src: url('../fonts/dbeairy.woff2') format('woff2'),
         url('../fonts/dbeairy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* บังคับใช้งานฟอนต์ DB Airy ทั่วทั้งเว็บไซต์ทั้งหน้าบ้านและหลังบ้าน */
html, body, h1, h2, h3, h4, h5, h6, input, button, select, textarea {
    font-family: 'DB Airy', sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fdfdfd;
    color: #222;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* แถบเมนูบน (Navbar) */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #000;
    text-decoration: none;
}
.nav-menu {
    display: flex;
    align-items: center;
}
.nav-menu a {
    text-decoration: none;
    color: #444;
    margin-left: 25px;
    font-size: 1rem;
    transition: 0.2s ease;
}
.nav-menu a:hover {
    color: #c8a27c;
}

/* บล็อกแบนเนอร์หน้าแรก (บน-กลาง-ล่าง) */
.banner-block {
    width: 100%;
    background: #f7f7f7;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: 0.3s ease;
}
.banner-block:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.banner-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ส่วนหัวข้อเซกชันสินค้าและระบบกริด */
.section-title {
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    position: relative;
    padding-left: 15px;
    border-left: 4px solid #000;
    letter-spacing: 1px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}
.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}