:root {
    --primary-green: #2d6a4f;
    --light-green: #52b788;
    --cream-white: #fefae0;
}

body {
    background-color: var(--cream-white);
    margin: 0;
    font-family: sans-serif;
}

/* A. Header */
.header {
    background: var(--primary-green);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.search-bar {
    padding: 8px;
    border-radius: 20px;
    border: none;
    width: 50%;
}

/* B. Banner */
.banner {
    background: var(--light-green);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

/* C. Categories */
/* Categories Section ကို စနစ်တကျ ပြင်ဆင်ခြင်း */
.categories {
    display: flex;
    /* ကတ်တဂိုရီများကို ဘေးတိုက် စီရန် */
    overflow-x: auto;
    /* ဘေးတိုက် scroll ဆွဲလို့ရစေရန် */
    -webkit-overflow-scrolling: touch;
    /* ဖုန်းမှာ scroll ဆွဲတဲ့အခါ ချောမွေ့စေရန် */
    padding: 15px 0;
    /* အပေါ်အောက် Gap */
    background: white;
    /* Category background */
    border-bottom: 1px solid #ddd;
    /* အောက်ခြေမျဉ်း */
}

/* Category item တစ်ခုချင်းစီကို Styling လုပ်ခြင်း */
.cat-item {
    flex: 0 0 auto;
    /* Item တွေက ကျုံ့မသွားဘဲ မူလအရွယ်အစားအတိုင်း ရှိနေစေရန် */
    padding: 10px 20px;
    /* Item တစ်ခုချင်းစီရဲ့ Gap */
    margin: 0 5px;
    /* Item တွေကြား Gap */
    background: var(--light-green);
    /* Item background */
    color: white;
    /* စာသားအရောင် */
    border-radius: 10px;
    /* Item ကို ဝိုင်းစေရန် */
    font-size: 14px;
    /* စာလုံးဆိုဒ် */
    font-weight: bold;
    /* Bold စာလုံး */
    text-decoration: none;
    /* လင့်ခ်အောက်ကမျဉ်းကို ဖယ်ရန် */
    transition: background 0.3s;
    /* Hover လုပ်ရင် အရောင်ပြောင်းရန် */
}

.cat-item:hover {
    background: var(--primary-green);
    /* Hover အရောင် */
}

/* Category section မှာ scrollbar ကို ဖျောက်ထားရန် (Option) */
.categories::-webkit-scrollbar {
    display: none;
    /* scrollbar ကို ဖျောက်ထားရန် */
}

/* D. Product Grid (Professional Look) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* F. Mobile Nav */
/* Mobile Nav Styling */
.mobile-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 2px solid var(--primary-green);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    /* Icon နဲ့ စာ အပေါ်အောက် ဖြစ်စေရန် */
    align-items: center;
    text-decoration: none;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: bold;
}

.nav-icon {
    font-size: 20px;
    /* Icon ဆိုဒ် */
    margin-bottom: 4px;
}

.nav-text {
    line-height: 1;
}

.section-container {
    padding: 20px;
}

.section-title {
    color: var(--primary-green);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-green);
    padding-left: 10px;
}

.arrival-section {
    padding: 15px;
    background: white;
    margin-top: 10px;
}

.section-header {
    margin-bottom: 10px;
    font-weight: bold;
    color: #2d6a4f;
}

/* ဘေးတိုက် Scroll ဖြစ်စေရန် */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.lazflash-section {
    padding: 15px;
    background: white;
    margin: 10px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* New Arrivals Section Style */
.arrival-section {
    padding: 15px;
    background: #fff;
    margin-top: 10px;
}


/* ပုံတွေ ဘေးတိုက် Scroll ဖြစ်စေရန် */
.horizontal-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
    margin-bottom: 70px;
    /* အောက်က Nav bar နဲ့ ထပ်မသွားအောင် */
    /* ဒါလေးထည့်ပေးပါ */
}

/* ပုံတွေ ဘေးတိုက် Scroll ဖြစ်စေရန် (Card) */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    /* ဒါက ပုံအောက်က အပိုနေရာကို ဖယ်ပေးတယ် */
}

.cat-item {
    display: inline-block;
    padding: 8px 16px;
    background: #2d6a4f;
    color: white;
    /* စာသားအရောင် */
    border-radius: 20px;
    text-decoration: none;
    margin: 5px;
}

/* New Arrivals ကို Grid ဖြစ်စေရန် */
#new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
    margin-bottom: 70px;
    /* အောက်က Nav bar နဲ့ ထပ်မသွားအောင် */
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Mobile Nav Bar အတွက် Barcode ကို အလယ်ပို့ရန် */
.mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    padding: 10px 0;
    border-top: 1px solid #ddd;
}

/* Barcode ခလုတ် အထူးပြုရန် */
.barcode-btn {
    background: #2d6a4f;
    color: white;
    padding: 15px;
    border-radius: 50%;
    margin-top: -30px;
    /* အပေါ်ကို ခပ်တက်တက်ဖြစ်စေရန် */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

.fa-rocket {
    transform: rotate(-42deg);
    /* လိုအပ်ရင် ဒီဒီဂရီကို -90 သို့မဟုတ် 90 နဲ့ စမ်းကြည့်ပါ */
    display: inline-block;
}