* { margin: 0; padding: 0; box-sizing: border-box; }
form { margin: 0; }
body { font-family: system-ui, sans-serif; background: #fefcf9; color: #1f2937; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.top-stripes { display: flex; height: 4px; width: 100%; }
.stripe1 { background: #f86700; flex: 1; }
.stripe2 { background: #f99b00; flex: 1; }
.stripe3 { background: #00a4d8; flex: 1; }
.stripe4 { background: #007abf; flex: 1; }
.stripe5 { background: #034760; flex: 1; }

.site-header { background: white; border-bottom: 1px solid #f0ede8; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; flex-wrap: wrap; }
.logo-area { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.logo-area .logo-image { height: 42px; width: auto; display: block; object-fit: contain; }
.tagline { font-size: 0.65rem; color: #7a6e5f; }
.desktop-nav { display: flex; gap: 1.5rem; align-items: center; }
.nav-dropdown { position: relative; }
.nav-dropdown > span { font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 8px 0; display: inline-block; color: #2d2a24; }
.nav-dropdown > span:hover { color: #e55a1e; }
.dropdown-menu { position: absolute; top: 32px; left: -20px; background: white; border-radius: 20px; box-shadow: 0 15px 35px -12px rgba(0,0,0,0.15); padding: 12px 0; min-width: 200px; opacity: 0; visibility: hidden; transition: 0.2s; z-index: 200; border: 1px solid #f0e7df; max-height: 400px; overflow-y: auto; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a { display: block; padding: 8px 24px; text-decoration: none; color: #3a352c; font-size: 0.8rem; }
.dropdown-menu a:hover { background: #fef3e8; color: #cf4d0e; }
.user-actions { display: flex; gap: 10px; align-items: center; }
.user-btn { background: transparent; border: 1px solid #e3dbd0; padding: 5px 14px; border-radius: 40px; cursor: pointer; font-weight: 500; font-size: 0.75rem; }
.search-icon { background: #f5f2ef; border-radius: 40px; padding: 5px 12px; display: flex; align-items: center; gap: 6px; }
.search-icon input { border: none; background: transparent; outline: none; width: 130px; font-size: 0.75rem; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; padding: 6px; color: #2d2a24; line-height: 1; }

.mobile-category-collapse { display: none; background: white; border-bottom: 1px solid #f0e7df; position: sticky; top: 60px; z-index: 105; }
.collapse-trigger { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; cursor: pointer; font-weight: 600; font-size: 0.85rem; color: #2d2a24; background: white; border-bottom: 1px solid #f0e7df; }
.collapse-trigger .arrow-icon { transition: transform 0.25s ease; font-size: 0.8rem; }
.collapse-trigger.open .arrow-icon { transform: rotate(180deg); }
.collapse-content { max-height: 0; overflow: hidden; transition: max-height 0.35s; background: white; }
.collapse-content.open { max-height: 500px; overflow-y: auto; }

.category-group { border-bottom: 1px solid #f0e7df; }
.category-group-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; cursor: pointer; background: white; font-weight: 600; font-size: 0.9rem; }
.category-group-header:hover { background: #fefaf5; }
.category-group-header .group-arrow { transition: transform 0.2s; font-size: 0.7rem; color: #b0a69a; }
.category-group-header.open .group-arrow { transform: rotate(90deg); }
.category-sub-items { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #fefcf9; }
.category-sub-items.open { max-height: 400px; overflow-y: auto; }
.cat-chip { display: inline-block; background: white; border: 1px solid #e8e2db; border-radius: 40px; padding: 8px 16px; margin: 6px 8px; font-size: 0.75rem; cursor: pointer; text-decoration: none; color: inherit; }
.cat-chip:hover { background: #f15a24; color: white; border-color: #f15a24; }
.sub-items-container { padding: 8px 12px 16px 20px; display: flex; flex-wrap: wrap; }

.mobile-sidebar { position: fixed; top: 0; left: -100%; width: 85%; max-width: 320px; height: 100vh; background: white; z-index: 2000; transition: left 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); box-shadow: 4px 0 25px rgba(0,0,0,0.1); overflow-y: auto; padding: 20px 0; }
.mobile-sidebar.open { left: 0; }
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1999; opacity: 0; visibility: hidden; transition: 0.2s; }
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.close-sidebar { text-align: right; padding: 12px 20px; font-size: 1.4rem; cursor: pointer; }
.mobile-nav-section { border-bottom: 1px solid #f0e7df; }
.mobile-nav-section-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; cursor: pointer; font-weight: 600; }
.mobile-nav-section-header .arrow { transition: transform 0.2s; }
.mobile-nav-section-header.open .arrow { transform: rotate(90deg); }
.mobile-nav-sub { max-height: 0; overflow: hidden; transition: max-height 0.3s; padding-left: 20px; }
.mobile-nav-sub.open { max-height: 300px; overflow-y: auto; }
.mobile-nav-sub a { display: block; padding: 10px 0; text-decoration: none; color: #3a352c; font-size: 0.85rem; }

@media (max-width: 880px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-category-collapse { display: block; }
    .activity-bar { top: 106px; }
    .tagline { display: none; }
    .logo-area .logo-image { height: 36px; }
    .search-icon input { width: 100px; }
}
@media (min-width: 881px) { .mobile-category-collapse { display: none !important; } }

.activity-bar { background: white; border-bottom: 1px solid #f0e7df; padding: 10px 0; margin-bottom: 24px; position: sticky; top: 68px; z-index: 100; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 4px 20px; }
.filter-pill { background: #f4f0ea; border-radius: 40px; padding: 6px 20px; font-size: 0.8rem; cursor: pointer; border: none; }
.filter-pill.active { background: #1e293b; color: white; }

.site-footer { border-top: 2px solid #f4ede6; margin-top: 48px; padding: 32px 0 24px; background: white; }
.footer-flex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.social-links a, .footer-links a { margin-right: 20px; text-decoration: none; color: #6b5c4b; font-size: 0.8rem; }
.footer-copy { text-align: center; margin-top: 24px; font-size: 0.7rem; color: #af9e8c; }

.hidden { display: none; }
