body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fff !important;
    color: #000 !important;
    margin: 0;
}

html[data-theme="dark"] body {
    background-color: #000 !important;
    color: #fff !important
}

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* background: rgba(255, 255, 255, 0.7); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

html[data-theme="dark"] .header {
    /* background: rgba(0, 0, 0, 0.7); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-content,
.post-title,
.entry-content,
.entry-title {
    color: inherit !important;
}

html[data-theme="dark"] .main,
html[data-theme="dark"] .page,
html[data-theme="dark"] .post,
html[data-theme="dark"] .content {
    background: transparent !important;
}

.container {
    max-width: 760px;
    margin: auto;
    padding: 20px;
}

.post-entry {
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.post-entry:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.post img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.post h1 {
    font-size: 32px;
}

.content {
    line-height: 1.7;
    font-size: 18px;
}

.product-card {
    display: flex;
    gap: 20px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    background: #fff;
    color: #000;
}

.product-img img {
    width: 220px;
    border-radius: 8px;
}

.product-info {
    flex: 1;
}

.product-info ul {
    padding-left: 18px;
}

.buy-btn {
    display: inline-block;
    background: #ff9900;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}

.buy-btn:hover {
    background: #e68900;
    transform: scale(1.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    color: black;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.comparison-table th {
    background: #f5f5f5;
}

.post img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.cover-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    margin: 20px 0;
    border-radius: 10px;
}

/* 📱 Mobile font fixes */
@media (max-width: 768px) {

    /* Blog Title */
    .post-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    /* Content text */
    .post-content {
        font-size: 16px !important;
        line-height: 1.7;
    }

    /* Headings inside blog */
    .post-content h1 {
        font-size: 22px;
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-content h3 {
        font-size: 18px;
    }
}

.logo img {
    width: 42px;
    height: 42px;
    /* object-fit: cover; */
    border-radius: 50%;
    margin-top: 5px;
    /* margin-right: 20px;  */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo a {
    display: flex;
    align-items: center;
    /* text-decoration: none; */
    gap: 8px;
}

.logo a span {
    margin-left: 5px;
}

@media (max-width: 768px) {
    .logo img {
        display: none;
    }
}

#menu a {
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

#menu a.active {
    border-bottom: 2px solid #000;
    font-weight: bold;
}

html[data-theme="dark"] #menu a.active {
    border-bottom: 2px solid #fff;
}

#menu a:hover {
    /* background: rgba(0, 0, 0, 0.08); */
}

html[data-theme="dark"] #menu a:hover {
    /* background: rgba(255, 255, 255, 0.1); */
    border-bottom: rgba(53, 148, 186, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    right: 20px;
    top: 7px;
    transition: 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -260px;
    width: 280px;
    height: 100%;
    background: white;
    padding: 20px;
    z-index: 1000;
    transition: right 0.3s ease;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer a {
    display: block;
    margin: 15px 0;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid #000;
}

.mobile-drawer a:hover {
    background: #f5f5f5;
    padding-left: 5px;
    transition: 0.3s;
}

html[data-theme="dark"] .mobile-drawer {
    background: #333;
}

html[data-theme="dark"] .mobile-drawer a {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 10px 20px; */
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.overlay.active {
    display: block;
}

html[data-theme="dark"] .overlay {
    background: rgba(255, 255, 255, 0.7);
}

/* Close button */
.close-btn {
    text-align: right;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Mobile only */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        /* margin-bottom: 15px; */
    }

    #menu {
        display: none;
    }
}

.ads {
    margin: 25px 0;
    text-align: center;
}

.footer {
    margin-top: 40px;
    padding: 20px 0;
}

.footer span {
    opacity: 0.8;
    font-size: 14px;
}