/* css/pages/home_category.css */

/* ===========================================================
   CATEGORY PAGE CONTAINER
   =========================================================== */
.category-page {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 12px 20px;
    box-sizing: border-box;
}

/* ===========================================================
   CATEGORY HEADER
   =========================================================== */
.category-header {
    text-align: center;
    margin-bottom: 30px;
}
.category-header h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.category-header p {
    font-size: 1rem;
    color: #555;
}

/* ===========================================================
   CATEGORY GRID
   =========================================================== */
.category-page .mainBox_right_top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
}

/* Responsive breakpoints */
@media (max-width: 1400px) { .category-page .mainBox_right_top { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .category-page .mainBox_right_top { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .category-page .mainBox_right_top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .category-page .mainBox_right_top { grid-template-columns: 1fr; } }

/* ===========================================================
   BOTTOM NAVIGATION
   =========================================================== */
.mainBox_right_bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    gap: 12px;
}
#page-indicator {
    font-size: 1rem;
    color: #333;
}
.banner-btn {
    background: #fdf5e6;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.banner-btn:hover {
    background: #ffe0b2;
    transform: translateY(-2px);
}

/* ===========================================================
   STICKY NAVBAR
   =========================================================== */
.category-page .middle_navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    z-index: 1000;
    background-color: #fdf5e6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
