/* ===== MIXWARES Clone Styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, Helvetica, sans-serif; color: #333; line-height: 1.6; }
a { color: #2b3c4f; text-decoration: none; }
a:hover { color: #1a2735; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo a img { height: 90px !important; width: auto !important; }
.main-nav ul { list-style: none; display: flex; gap: 0; }
.main-nav ul li { position: relative; }
.main-nav ul li a { display: block; padding: 38px 20px; font-weight: bold; font-size: 14px; color: #333; transition: color 0.3s; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: #2b3c4f; }
.mobile-toggle { display: none; flex-direction: column; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 2px; background: #333; margin: 4px 0; }

/* Hero/Banner */
.hero-banner { position: relative; overflow: hidden; }
.swiper-container { width: 100%; }
.swiper-wrapper { display: flex; }
.swiper-slide { flex-shrink: 0; width: 100%; }
.swiper-slide img { width: 100%; height: auto; min-height: 300px; object-fit: cover; }
.swiper-pagination { text-align: center; padding: 10px 0; }
.swiper-pagination .swiper-pagination-bullet { width: 10px; height: 10px; display: inline-block; border-radius: 50%; background: #ccc; margin: 0 5px; cursor: pointer; }
.swiper-pagination .swiper-pagination-bullet-active { background: #2b3c4f; }
.swiper-button-prev, .swiper-button-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 90px; background: rgba(0,0,0,0.3); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; z-index: 10; font-size: 20px; }
.swiper-button-prev { left: 20px; }
.swiper-button-next { right: 20px; }

/* Sections */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 28px; color: #2b3c4f; letter-spacing: 2px; }
.section-subtitle { font-size: 16px; color: #666; margin-top: 10px; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; }
.product-card { border: 1px solid #eee; border-radius: 9px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.product-img { height: 250px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f9f9f9; }
.product-img img { max-height: 100%; object-fit: cover; padding: 15px; }
.product-card h3 { padding: 15px; text-align: center; font-size: 14px; color: #333; }

/* View All */
.view-all { text-align: center; margin-top: 40px; }
.btn { display: inline-block; padding: 10px 25px; background: #2b3c4f; color: #fff !important; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; transition: background 0.3s; }
.btn:hover { background: #1a2735; }
.btn.active { background: #1a2735; }
.category-filter { text-align: center; margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Footer */
.site-footer { background: #2b3c4f; color: #ccc; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: #fff; }
.footer-col p { margin-bottom: 10px; font-size: 13px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #ccc; font-size: 13px; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 20px 0; font-size: 12px; }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-content h2 { font-size: 28px; color: #2b3c4f; margin-bottom: 20px; }
.about-content p { line-height: 1.8; margin-bottom: 20px; }
.about-image img { border-radius: 9px; }

/* Mission section */
.mission-item { padding: 30px 20px; }
.mission-item img { margin: 0 auto 15px; width: 200px; height: 200px !important; object-fit: cover; border-radius: 9px !important; }
.mission-item h4 { font-size: 13px; font-weight: normal; line-height: 1.6; }

/* Contact page */
.contact-info h2, .contact-form h2 { font-size: 24px; color: #2b3c4f; margin-bottom: 20px; }
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .about-grid, .contact-grid, .product-detail { grid-template-columns: 1fr; }
    .product-img { height: 180px; }
    .section { padding: 40px 0; }
}

/* Footer links white */

.site-footer a { color: #ccc !important; }

/* Admin checkbox fix */
.form-group label input[type="checkbox"] { width: auto; display: inline; margin-right: 4px; }
.form-group .is_hot_wrap label { font-weight: normal; display: inline; }

/* Admin form spacing fix */
.admin-card .form-group { margin-bottom: 8px !important; }
.admin-card .form-group img { margin-top: 5px !important; max-height: 80px; }
