
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Microsoft YaHei', sans-serif; }

body { background-color: #f5f7fa; padding-bottom: 90px; }



/* 1. ئۈستىدىكى توق كۆك قىسىم */

.top-header-bg { background-color: #0f1c4d; padding: 20px 20px 60px; border-radius: 0 0 24px 24px; position: relative; z-index: 1; }



/* ئىزدەش رامكىسى */

.header-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }

.menu-icon { color: #fff; font-size: 24px; font-weight: bold; }

.search-box { flex: 1; padding: 12px 20px; border-radius: 25px; border: none; background: #fff; outline: none; font-size: 14px; }

.bell-icon { color: #fff; font-size: 22px; }



/* 2. ئايلانما سۈرەت (توق كۆك ئىچىدە) */

.banner-wrap { width: 100%; height: 170px; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

.banner-wrap img { width: 100%; height: 100%; object-fit: cover; }



/* 3. تۈرلەر (ئىكونكىلار) */

.categories-card { background: #fff; margin: -40px 20px 20px; border-radius: 16px; padding: 20px 10px; display: flex; justify-content: space-around; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; z-index: 2; }

.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #333; font-weight: bold; }

.cat-icon { width: 44px; height: 44px; background: #f8f9fa; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #0f1c4d; }



/* 4. ئۇچۇرلار تىزىملىكى */

.feed-container { padding: 0 20px; }

.post-card { background: #fff; border-radius: 16px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; display: flex; gap: 15px; cursor: pointer; transition: 0.3s; align-items: flex-start; }

.post-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }



.post-image { width: 110px; height: 110px; border-radius: 12px; background: #eee; flex-shrink: 0; overflow: hidden; }

.post-image img { width: 100%; height: 100%; object-fit: cover; }



.post-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 110px; }

.post-title { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.post-price { color: #ff6b00; font-size: 18px; font-weight: bold; margin-bottom: 5px; }

.post-meta { font-size: 13px; color: #888; margin-bottom: 5px; }



/* كۇنۇپكىلارنىڭ قۇرۇلمىسى */

.post-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }

.post-region { font-size: 12px; color: #0f1c4d; background: #e6eefc; padding: 4px 8px; border-radius: 6px; }



.action-buttons { display: flex; gap: 10px; }

.btn-favorite { background: none; border: none; font-size: 20px; cursor: pointer; color: #ccc; transition: 0.3s; }

.btn-favorite.active { color: #ff4757; }

.btn-contact { background: #ff6b00; color: #fff; border: none; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; cursor: pointer; box-shadow: 0 2px 8px rgba(255,107,0,0.3); transition: 0.3s; }

.btn-contact:hover { background: #e65c00; }



/* 5. Tabbar */

.tabbar { position: fixed; bottom: 0; left: 0; width: 100%; height: 70px; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -2px 20px rgba(0,0,0,0.05); display: flex; justify-content: space-around; align-items: center; z-index: 100; }

.tab-item { display: flex; flex-direction: column; align-items: center; color: #888; font-size: 12px; text-decoration: none; width: 30%; }

.tab-item.active { color: #0f1c4d; font-weight: bold; }

.tab-center { width: 30%; display: flex; justify-content: center; position: relative; }

.btn-plus { position: absolute; top: -30px; width: 64px; height: 64px; background: #ff6b00; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; box-shadow: 0 4px 15px rgba(255,107,0,0.4); text-decoration: none; border: 4px solid #fff; }

