/* ============================================================
   KABAR.id - Main Stylesheet v2.0
   ============================================================ */

:root {
  --red: #e01b1b;
  --red-dark: #b01010;
  --orange: #f47b20;
  --dark: #111;
  --gray-900: #1a1a1a;
  --gray-800: #2d2d2d;
  --gray-700: #444;
  --gray-500: #777;
  --gray-300: #ccc;
  --gray-100: #f5f5f5;
  --white: #fff;
  --blue: #1565c0;
  --green: #2e7d32;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Inter', sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,.12);
  --radius: 6px;
  --transition: .2s ease;
}

/* DARK MODE */
body.dark-mode {
  --gray-100: #1a1a1a;
  --white: #242424;
  --dark: #f0f0f0;
  --gray-700: #ccc;
  --gray-500: #aaa;
  --gray-300: #555;
  background: #111;
  color: #eee;
}
body.dark-mode .sidebar-widget,
body.dark-mode .news-card,
body.dark-mode .email-banner,
body.dark-mode .article-header,
body.dark-mode .author-box,
body.dark-mode .single-article { background: #1e1e1e; border-color: #333; }
body.dark-mode .topbar { background: #000; }
body.dark-mode .news-list-item { border-color: #333; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); background: var(--gray-100); color: var(--dark); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-ui); cursor: pointer; }
ul { list-style: none; }

/* ========== TOPBAR ========== */
.topbar { background: var(--dark); color: #aaa; font-size: 12px; padding: 6px 0; border-bottom: 1px solid #333; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar a { color: #aaa; transition: color var(--transition); }
.topbar a:hover { color: #fff; }
.topbar .divider { color: #444; }
.topbar-menu { display: flex; gap: 16px; }
.topbar-menu li a { color: #aaa; font-size: 12px; }
.topbar-menu li a:hover { color: #fff; }

/* ========== HEADER ========== */
header { background: var(--dark); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,.4); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; flex-direction: column; cursor: pointer; }
.logo-text { font-family: var(--font-head); font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.logo-text span { color: var(--red); }
.logo-tagline { font-size: 9px; letter-spacing: 3px; color: #888; text-transform: uppercase; margin-top: 2px; }
.logo img { height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-subscribe { background: var(--red); color: #fff; border: none; border-radius: 4px; padding: 8px 16px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: background var(--transition); }
.btn-subscribe:hover { background: var(--red-dark); }
.btn-icon { background: transparent; border: 1px solid #444; color: #ccc; border-radius: 4px; padding: 7px 10px; font-size: 14px; transition: all var(--transition); display: flex; align-items: center; position: relative; }
.btn-icon:hover { background: #222; color: #fff; }
.notif-dot { position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; border: 1px solid var(--dark); }
.search-bar { display: flex; align-items: center; background: #222; border: 1px solid #444; border-radius: 4px; overflow: hidden; flex: 1; max-width: 320px; }
.search-bar input { background: transparent; border: none; outline: none; color: #fff; padding: 8px 12px; font-size: 13px; font-family: var(--font-ui); width: 100%; }
.search-bar input::placeholder { color: #666; }
.search-bar button { background: transparent; border: none; color: #888; padding: 8px 12px; font-size: 13px; transition: color var(--transition); }
.search-bar button:hover { color: var(--red); }

/* CART ICON */
.btn-cart { position: relative; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: none; align-items: center; justify-content: center; padding: 0 3px; }
.cart-count.has-items { display: flex; }

/* ========== NAV ========== */
nav { background: var(--gray-900); border-bottom: 1px solid #333; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-item { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; font-size: 13px; font-weight: 500; color: #ccc; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; transition: all var(--transition); }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-item.active, .nav-item.current-menu-item { color: #fff; border-bottom-color: var(--red); }

/* ========== BREAKING ========== */
.breaking { background: var(--red); color: #fff; padding: 8px 0; overflow: hidden; }
.breaking-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.breaking-label { background: #fff; color: var(--red); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 1px; white-space: nowrap; }
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker { display: flex; gap: 48px; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker span { font-size: 13px; font-weight: 500; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========== MAIN WRAP ========== */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; }

/* ========== HERO ========== */
.hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 12px; margin-bottom: 24px; }
.hero-main { grid-row: span 2; position: relative; overflow: hidden; border-radius: var(--radius); }
.hero-link { display: block; height: 100%; }
.img-box { width: 100%; height: 420px; overflow: hidden; }
.img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-main:hover .img-box img { transform: scale(1.03); }
.hero-main .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 50%, transparent 100%); pointer-events: none; }
.hero-main .content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.cat-badge { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; letter-spacing: .5px; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-card { position: relative; overflow: hidden; border-radius: var(--radius); flex: 1; }
.hero-card a { display: block; height: 100%; }
.hero-card img, .hero-card .img-placeholder { width: 100%; height: 100%; min-height: 185px; object-fit: cover; transition: transform .4s; }
.hero-card:hover img { transform: scale(1.05); }
.hero-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.1) 60%, transparent); }
.hero-card .content { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; }

/* ========== SECTION HEADER ========== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--dark); }
.section-title { font-family: var(--font-head); font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; display: block; width: 4px; height: 20px; background: var(--red); border-radius: 2px; }
.see-all { font-size: 12px; color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.see-all:hover { text-decoration: underline; }

/* ========== NEWS GRID ========== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.news-card { cursor: pointer; }
.news-card a { display: block; }
.news-card:hover .news-title { color: var(--red); }
.news-card-img { overflow: hidden; border-radius: 5px; margin-bottom: 10px; }
.news-card-img img, .news-card-img .img-placeholder { width: 100%; height: 165px; object-fit: cover; transition: transform .3s; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-cat { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: .5px; margin-bottom: 5px; text-transform: uppercase; }
.news-title { font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.45; margin-bottom: 6px; transition: color var(--transition); }
.news-meta { font-size: 11px; color: var(--gray-500); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ========== TABS ========== */
.tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid #e5e5e5; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--gray-500); transition: all var(--transition); white-space: nowrap; background: transparent; border-top: none; border-left: none; border-right: none; }
.tab.active { color: var(--red); border-bottom-color: var(--red); }
.tab:hover { color: var(--dark); }

/* ========== IMG PLACEHOLDER ========== */
.img-placeholder { background: linear-gradient(135deg, #1a1a2e, #16213e 50%, #0f3460 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 28px; }

/* ========== SIDEBAR ========== */
.sidebar-widget { background: #fff; border-radius: var(--radius); border: 1px solid #e5e5e5; margin-bottom: 20px; overflow: hidden; }
.widget-header { background: var(--dark); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.widget-header i { color: var(--red); font-size: 14px; }
.widget-body { padding: 14px; }

/* Trending */
.trending-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; align-items: flex-start; }
.trending-item:last-child { border-bottom: none; }
.trending-number { font-size: 22px; font-weight: 900; color: var(--red); opacity: .3; min-width: 28px; font-family: var(--font-head); line-height: 1; }
.trending-text { flex: 1; }
.trending-title { font-size: 13px; font-weight: 600; line-height: 1.4; display: block; margin-bottom: 4px; }
.trending-title:hover { color: var(--red); }
.trending-time { font-size: 11px; color: var(--gray-500); }
.trending-thumb { width: 60px; height: 44px; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }

/* Category list */
.category-list li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.category-list li:last-child a { border-bottom: none; }
.category-list li a:hover { color: var(--red); }
.cat-count { background: var(--gray-100); color: var(--gray-500); font-size: 11px; padding: 2px 7px; border-radius: 10px; }

/* ========== AD SLOTS ========== */
.ad-slot { text-align: center; margin: 16px 0; }
.ad-slot img { max-width: 100%; margin: 0 auto; }
.ad-anchor-wrap { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: #fff; border-top: 1px solid #e5e5e5; padding: 8px; text-align: center; box-shadow: 0 -2px 12px rgba(0,0,0,.1); }
.ad-anchor-close { position: absolute; top: 4px; right: 8px; background: var(--gray-100); border: none; border-radius: 50%; width: 24px; height: 24px; font-size: 12px; cursor: pointer; }

/* ========== LOAD MORE ========== */
.btn-load-more { background: #fff; border: 2px solid var(--red); color: var(--red); padding: 10px 28px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-load-more:hover { background: var(--red); color: #fff; }

/* ========== SINGLE ARTICLE ========== */
.single-article { background: #fff; border-radius: var(--radius); padding: 28px; }
.single-content-area { min-width: 0; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--gray-500); }
.breadcrumb ol li { color: var(--gray-500); }
.breadcrumb ol li a { color: var(--gray-500); text-decoration: none; transition: color var(--transition); }
.breadcrumb ol li a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--gray-300); }
/* Dark mode breadcrumb */
body.dark-mode .breadcrumb ol { color: #888; }
body.dark-mode .breadcrumb ol li { color: #888; }
body.dark-mode .breadcrumb ol li a { color: #888; }
body.dark-mode .breadcrumb ol li a:hover { color: var(--red); }
body.dark-mode .breadcrumb .sep { color: #444; }
.article-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.article-cat-badge { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: .5px; text-transform: uppercase; }
.article-title { font-family: var(--font-head); font-size: 30px; font-weight: 900; line-height: 1.25; margin-bottom: 12px; }
.article-excerpt { font-size: 16px; color: var(--gray-500); font-style: italic; border-left: 3px solid var(--red); padding-left: 14px; margin-bottom: 16px; }
.article-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }
.article-author-mini { display: flex; align-items: center; gap: 8px; }
.author-mini-avatar { width: 32px; height: 32px; border-radius: 50%; }
.author-mini-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.author-mini-name:hover { color: var(--red); }
.author-verified-inline { display: inline-flex; align-items: center; }
.article-date, .article-read-time, .article-views { font-size: 12px; color: var(--gray-500); display: flex; align-items: center; gap: 5px; }

/* Share */
.article-share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.share-btn { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 4px; font-size: 13px; font-weight: 600; border: none; transition: all var(--transition); }
.share-wa { background: #25d366; color: #fff; }
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #000; color: #fff; }
.share-tg { background: #0088cc; color: #fff; }
.share-copy { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.share-save { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.share-btn:hover { opacity: .88; transform: translateY(-1px); }

.article-featured-img { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.article-featured-img img { width: 100%; max-height: 480px; object-fit: cover; }
.article-featured-img figcaption { font-size: 12px; color: var(--gray-500); padding: 8px 12px; background: #f9f9f9; font-style: italic; }
.article-body { font-family: var(--font-body); font-size: 17px; line-height: 1.8; color: var(--gray-700); margin-bottom: 24px; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-family: var(--font-head); font-size: 22px; margin: 28px 0 14px; }
.article-body h3 { font-family: var(--font-head); font-size: 18px; margin: 24px 0 12px; }
.article-body blockquote { border-left: 4px solid var(--red); margin: 24px 0; padding: 14px 20px; background: #fff5f5; font-style: italic; font-size: 18px; }
.article-body img { border-radius: 6px; margin: 16px 0; max-width: 100%; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.article-tag { background: var(--gray-100); color: var(--gray-700); font-size: 12px; padding: 4px 12px; border-radius: 20px; transition: all var(--transition); }
.article-tag:hover { background: var(--red); color: #fff; }
.article-share-bottom { padding: 20px 0; border-top: 1px solid #f0f0f0; margin-bottom: 24px; }
.article-share-bottom h3 { font-size: 15px; margin-bottom: 12px; }
.article-comments { margin-top: 28px; border-top: 2px solid var(--dark); padding-top: 24px; }

/* ========== AUTHOR BOX ========== */
.author-box { display: flex; gap: 18px; background: #f9f9f9; border-radius: var(--radius); padding: 20px; border: 1px solid #e5e5e5; margin: 24px 0; align-items: flex-start; }
.author-avatar-wrap { position: relative; flex-shrink: 0; }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.author-verified-badge { position: absolute; bottom: 0; right: 0; display: flex; }
.author-info { flex: 1; min-width: 0; }
.author-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.author-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.author-name:hover { color: var(--red); }
.author-title { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.author-bio { font-size: 13px; color: var(--gray-700); line-height: 1.6; margin-bottom: 10px; }
.author-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.author-post-count { font-size: 12px; color: var(--gray-500); }
.author-social-link { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; transition: opacity var(--transition); }
.author-twitter { background: #000; }
.author-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.author-social-link:hover { opacity: .82; }
.author-all-posts { font-size: 12px; color: var(--red); font-weight: 600; margin-left: auto; }
.author-all-posts:hover { text-decoration: underline; }

/* ========== SOCIAL ICONS ========== */
.social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.social-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--social-color, #555); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform var(--transition), opacity var(--transition); }
.social-icon:hover { transform: scale(1.12); opacity: .88; }
.social-icons--footer .social-icon { width: 38px; height: 38px; font-size: 15px; }

/* ========== FOOTER ========== */
.site-footer { background: #111; color: #aaa; margin-top: 40px; }
.footer-top { padding: 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1px; margin-bottom: 8px; }
.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 11px; letter-spacing: 2px; color: #666; text-transform: uppercase; margin-bottom: 12px; }
.footer-about { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #333; }
.footer-menu li a { font-size: 13px; color: #888; display: block; padding: 5px 0; transition: color var(--transition); }
.footer-menu li a:hover { color: #fff; }
.app-store-btn { display: inline-flex; align-items: center; gap: 7px; background: #222; color: #ddd; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background var(--transition); }
.app-store-btn:hover { background: #333; color: #fff; }
.footer-apps { margin-top: 16px; }
.footer-bottom { background: #0a0a0a; padding: 16px 0; border-top: 1px solid #222; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #666; transition: color var(--transition); }
.footer-bottom-links a:hover { color: #fff; }

/* ========== MOBILE NAV ========== */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #e5e5e5; z-index: 500; padding: 6px 0 env(safe-area-inset-bottom, 0); box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
.mobile-nav-inner { display: flex; justify-content: space-around; }
.mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 12px; font-size: 10px; color: #888; cursor: pointer; transition: color var(--transition); flex: 1; background: transparent; border: none; }
.mobile-nav-item i { font-size: 22px; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--red); }

/* ========== SCROLL TOP ========== */
.scroll-top { position: fixed; bottom: 80px; right: 20px; width: 40px; height: 40px; background: var(--red); color: #fff; border: none; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 16px; box-shadow: var(--shadow); transition: all var(--transition); z-index: 400; }
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ========== SEARCH OVERLAY ========== */
.search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9500; display: none; flex-direction: column; align-items: center; padding-top: 80px; }
.search-overlay.show { display: flex; }
.search-overlay-inner { width: 100%; max-width: 640px; padding: 0 20px; }
.search-overlay input { width: 100%; font-size: 22px; padding: 14px 18px; border: none; border-radius: var(--radius); background: #fff; color: var(--dark); outline: none; font-family: var(--font-ui); }
.search-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-tag { padding: 6px 14px; background: rgba(255,255,255,.1); color: #ddd; border-radius: 20px; font-size: 13px; cursor: pointer; transition: all var(--transition); }
.search-tag:hover { background: var(--red); color: #fff; }
.search-results { margin-top: 16px; }
.search-result-item { display: flex; gap: 10px; padding: 12px; background: rgba(255,255,255,.05); border-radius: 8px; margin-bottom: 8px; cursor: pointer; align-items: center; }
.search-result-item:hover { background: rgba(255,255,255,.1); }
.search-result-item img { width: 56px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.search-result-cat { font-size: 11px; color: var(--red); font-weight: 700; }
.search-result-title { font-size: 14px; color: #fff; }
.search-result-time { font-size: 11px; color: #888; }

/* ========== SUBSCRIBE MODAL ========== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 9000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); padding: 20px; }
.modal-overlay.show { display: flex; }
.sub-modal { background: #fff; border-radius: 16px; overflow: hidden; width: 100%; max-width: 440px; position: relative; }
.sub-modal-hero { background: linear-gradient(135deg, var(--red), #ff6b35); padding: 32px 24px; text-align: center; color: #fff; }
.sub-modal-hero i { font-size: 44px; margin-bottom: 12px; display: block; }
.sub-modal-hero h3 { font-family: var(--font-head); font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.sub-modal-hero p { font-size: 13px; opacity: .85; }
.sub-modal-body { padding: 24px; }
.sub-feature { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.sub-feature i { color: var(--green); }
.sub-price { text-align: center; margin: 16px 0; }
.sub-price .price { font-size: 34px; font-weight: 900; font-family: var(--font-head); color: var(--red); }
.sub-price .period { font-size: 13px; color: var(--gray-500); }
.btn-sub-full { background: var(--red); color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 15px; font-weight: 700; width: 100%; transition: background var(--transition); }
.btn-sub-full:hover { background: var(--red-dark); }
.modal-close { background: rgba(255,255,255,.2); border: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ========== PWA BANNER ========== */
.pwa-banner { position: fixed; bottom: 70px; left: 12px; right: 12px; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.15); z-index: 800; animation: slideUp .3s ease; }
.pwa-banner-inner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.pwa-banner-icon img { border-radius: 10px; }
.pwa-banner-text { flex: 1; }
.pwa-banner-text strong { display: block; font-size: 14px; font-weight: 700; }
.pwa-banner-text span { font-size: 12px; color: var(--gray-500); }
.btn-pwa-install { background: var(--red); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.btn-pwa-close { background: transparent; border: none; color: var(--gray-500); font-size: 20px; padding: 4px; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ========== PAGINATION ========== */
.pagination { text-align: center; margin: 24px 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e5e5e5; border-radius: 4px; margin: 0 2px; font-size: 14px; transition: all var(--transition); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--red); color: var(--red); }

/* ========== EMAIL BANNER ========== */
.email-banner { background: #fff; border: 1px solid #e5e5e5; border-radius: var(--radius); padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.email-banner p { font-size: 13px; color: var(--gray-700); }
.btn-email { background: var(--blue); color: #fff; border: none; border-radius: 4px; padding: 9px 18px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* ========== CART TOAST ========== */
.cart-toast { position: fixed; top: 80px; right: 20px; background: #2e7d32; color: #fff; padding: 12px 18px; border-radius: 8px; display: flex; align-items: center; gap: 10px; font-size: 14px; z-index: 9999; transform: translateX(120%); transition: transform .3s ease; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.cart-toast.show { transform: translateX(0); }
.cart-toast-link { color: #fff; text-decoration: underline; white-space: nowrap; }

/* ========== SHOP STYLES ========== */
.shop-hero-banner { background: linear-gradient(135deg, var(--red), #b01010); padding: 32px 16px; }
.shop-hero-inner { max-width: 1200px; margin: 0 auto; }
.shop-hero-text h1 { font-family: var(--font-head); font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.shop-hero-text p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 20px; }
.shop-search-bar { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 12px 16px; gap: 10px; max-width: 560px; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.shop-search-bar i { color: var(--gray-500); font-size: 16px; }
.shop-search-bar input { flex: 1; border: none; outline: none; font-size: 15px; font-family: var(--font-ui); }
.shop-toolbar { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 72px; z-index: 100; }
.shop-toolbar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-filter-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.shop-filter-chips::-webkit-scrollbar { display: none; }
.filter-chip { padding: 6px 14px; border: 1.5px solid #e5e5e5; border-radius: 20px; font-size: 13px; font-weight: 500; background: #fff; cursor: pointer; white-space: nowrap; transition: all var(--transition); }
.filter-chip.active, .filter-chip:hover { border-color: var(--red); color: var(--red); background: #fff5f5; }
.shop-sort select { padding: 7px 12px; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 13px; outline: none; cursor: pointer; }
.shop-products-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px; }
.kabarid-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.kabarid-product-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; position: relative; transition: box-shadow var(--transition), transform var(--transition); }
.kabarid-product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.product-badge { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; z-index: 1; }
.product-img-wrap { display: block; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.kabarid-product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-info { padding: 12px; }
.product-name { font-size: 13px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; color: var(--dark); }
.product-name:hover { color: var(--red); }
.product-price { font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.product-price ins { text-decoration: none; }
.product-price del { font-size: 12px; color: #999; font-weight: 400; }
.product-meta-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.product-rating { font-size: 12px; color: #f9a825; display: flex; align-items: center; gap: 3px; }
.product-sold { font-size: 11px; color: #999; }
.product-location { font-size: 11px; color: #999; margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.btn-add-cart { width: 100%; background: #fff; border: 1.5px solid var(--red); color: var(--red); padding: 7px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-add-cart:hover, .btn-add-cart:disabled { background: var(--red); color: #fff; }
.shop-empty { text-align: center; padding: 60px 20px; color: var(--gray-500); grid-column: 1 / -1; }
.shop-empty i { font-size: 64px; opacity: .2; display: block; margin-bottom: 16px; }

/* Single Product */
.single-product-area { padding: 0; background: transparent; }
.single-product-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px; }
.single-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.product-main-img { border-radius: 10px; overflow: hidden; position: relative; margin-bottom: 10px; }
.product-main-img img { width: 100%; height: 380px; object-fit: cover; }
.product-sale-badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.product-thumbnails { display: flex; gap: 8px; flex-wrap: wrap; }
.product-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.product-thumb.active, .product-thumb:hover { border-color: var(--red); }
.product-info-panel { background: #fff; border-radius: 10px; padding: 24px; border: 1px solid #e5e5e5; }
.product-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.product-location-row { font-size: 13px; color: #888; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.product-rating-row { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13px; }
.review-count, .sold-count { color: #999; }
.product-price-box { border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; padding: 14px 0; margin-bottom: 16px; }
.product-original-price { font-size: 13px; color: #999; text-decoration: line-through; }
.product-sale-info { display: flex; gap: 6px; align-items: center; }
.discount-pct { background: #fff3e0; color: #e65100; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; }
.product-current-price { font-size: 26px; font-weight: 900; color: var(--red); margin-top: 4px; }
.product-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.qty-label { font-size: 14px; font-weight: 600; }
.qty-control { display: flex; align-items: center; border: 1.5px solid #e5e5e5; border-radius: 6px; overflow: hidden; }
.qty-btn { width: 36px; height: 36px; border: none; background: #f5f5f5; font-size: 18px; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.qty-btn:hover { background: var(--red); color: #fff; }
.qty-input { width: 50px; height: 36px; border: none; text-align: center; font-size: 16px; font-weight: 600; outline: none; }
.stock-info { font-size: 12px; color: #888; }
.product-action-btns { display: flex; gap: 10px; margin-bottom: 20px; flex-direction: column; }
.btn-add-cart-full { background: #fff; border: 2px solid var(--red); color: var(--red); padding: 13px; border-radius: 8px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all var(--transition); }
.btn-add-cart-full:hover { background: var(--red); color: #fff; }
.btn-buy-now-wa { background: #25d366; border: none; color: #fff; padding: 13px; border-radius: 8px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-buy-now-wa:hover { background: #1da851; }
.out-of-stock-notice { background: #fff3e0; color: #e65100; padding: 12px; border-radius: 6px; text-align: center; font-weight: 600; }
.product-shipping-info { border-top: 1px solid #f0f0f0; padding-top: 16px; margin-bottom: 16px; }
.shipping-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.shipping-row i { color: var(--red); font-size: 16px; width: 20px; flex-shrink: 0; margin-top: 2px; }
.shipping-row strong { display: block; font-size: 13px; margin-bottom: 2px; }
.shipping-row span { font-size: 12px; color: #888; }
.payment-methods { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #888; }
.pay-badge { background: #f5f5f5; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.wa-badge { background: #e8f5e9; color: #2e7d32; }
.product-tabs-section { background: #fff; border-radius: 10px; padding: 0; border: 1px solid #e5e5e5; margin-bottom: 24px; overflow: hidden; }
.product-tabs-nav { display: flex; border-bottom: 1px solid #e5e5e5; }
.ptab { flex: 1; padding: 14px; border: none; background: #f9f9f9; font-size: 14px; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--transition); }
.ptab.active { background: #fff; color: var(--red); border-bottom-color: var(--red); }
.ptab-content { padding: 20px; }
.spec-table { width: 100%; }
.spec-table tr:nth-child(even) { background: #f9f9f9; }
.spec-table td { padding: 10px 12px; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.spec-table td:first-child { font-weight: 600; color: #555; width: 35%; }
.related-products-section { margin-bottom: 24px; }
.shop-pagination { margin-top: 24px; }
.kabarid-shop-wrap { max-width: 1200px; margin: 0 auto; padding: 0; }
.kabarid-shop-main { width: 100%; }

/* WooCommerce overrides */
.woocommerce-breadcrumb { display: none; }
.woocommerce-ordering { display: none; }
.woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; }

/* ========== DARK MODE TOGGLE ========== */
#dark-mode-toggle i { transition: transform .3s; }
body.dark-mode #dark-mode-toggle i { transform: rotate(180deg); }

/* ========== ARCHIVE ========== */
.archive-section { background: #fff; border-radius: var(--radius); padding: 20px; }
.archive-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; border-left: 3px solid var(--red); padding-left: 12px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-wrap { grid-template-columns: 1fr; padding: 12px; }
  .sidebar { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-main { grid-row: 1; }
  .hero-side { flex-direction: row; }
  .img-box { height: 280px !important; }
  .img-box img { height: 280px !important; }
  .news-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .mobile-nav { display: block; }
  body { padding-bottom: 64px; }
  .scroll-top { bottom: 78px; }
  .article-title { font-size: 22px; }
  .single-product-layout { grid-template-columns: 1fr; }
  .header-actions .btn-subscribe span { display: none; }
  .search-bar { max-width: 160px; }
  .logo-text { font-size: 24px; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-meta-row { justify-content: center; }
  .author-all-posts { margin-left: 0; }
  .kabarid-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .article-share-row { gap: 6px; }
  .share-btn { padding: 6px 10px; font-size: 12px; }
  .article-title { font-size: 20px; }
}

/* ================================================================
   SIDE DRAWER (hamburger menu — mobile icon panel)
   ================================================================ */
.header-mobile-right {
  display: none;
  align-items: center;
  gap: 6px;
}
.btn-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 8px 9px;
  cursor: pointer;
  width: 38px;
  height: 38px;
}
.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #ccc;
  border-radius: 2px;
  transition: all 0.22s ease;
}
.btn-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.btn-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* overlay */
.side-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1990;
  backdrop-filter: blur(2px);
}
.side-drawer-overlay.is-open { display: block; animation: fadeIn .2s ease; }

/* drawer panel */
.side-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--dark, #111);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,.5);
}
.side-drawer.is-open { transform: translateX(0); }

.side-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  background: var(--dark, #111);
  z-index: 1;
}
.side-drawer-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.side-drawer-close {
  background: transparent;
  border: none;
  color: #888;
  font-size: 18px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: color .15s;
}
.side-drawer-close:hover { color: #fff; }

/* search inside drawer */
.side-drawer-search {
  display: flex;
  margin: 14px 18px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
}
.side-drawer-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font-ui, sans-serif);
}
.side-drawer-search input::placeholder { color: #555; }
.side-drawer-search button {
  background: transparent;
  border: none;
  color: #888;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: color .15s;
}
.side-drawer-search button:hover { color: var(--red); }

/* action buttons grid */
.side-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px 16px;
  border-bottom: 1px solid #1e1e1e;
}
.drawer-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #ccc;
  padding: 14px 8px;
  font-size: 11px;
  font-family: var(--font-ui, sans-serif);
  cursor: pointer;
  text-align: center;
  transition: all .15s;
  position: relative;
  text-decoration: none;
}
.drawer-action-btn i { font-size: 18px; color: #aaa; }
.drawer-action-btn:hover { background: #222; border-color: #444; color: #fff; }
.drawer-action-btn:hover i { color: var(--red); }
.drawer-action-subscribe { grid-column: span 2; background: rgba(224,27,27,.12); border-color: rgba(224,27,27,.3); }
.drawer-action-subscribe i { color: #e8a000; }
.drawer-action-subscribe:hover { background: rgba(224,27,27,.22); }
.notif-dot-drawer {
  position: absolute;
  top: 10px; right: 10px;
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
}

/* nav links inside drawer */
.side-drawer-nav {
  padding: 16px 18px;
  flex: 1;
}
.side-drawer-nav-title {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 10px;
  font-family: var(--font-ui, sans-serif);
}
.drawer-nav-list {
  list-style: none;
  margin: 0; padding: 0;
}
.drawer-nav-list li a,
.drawer-nav-list a {
  display: block;
  padding: 11px 0;
  color: #bbb;
  font-size: 14px;
  font-family: var(--font-ui, sans-serif);
  border-bottom: 1px solid #1e1e1e;
  transition: color .15s, padding-left .15s;
  text-decoration: none;
}
.drawer-nav-list li a:hover,
.drawer-nav-list a:hover {
  color: #fff;
  padding-left: 6px;
}

/* mobile search wrap under header */
.mobile-search-wrap {
  background: #181818;
  border-top: 1px solid #2a2a2a;
  padding: 10px 16px;
}
.mobile-search-inner {
  display: flex;
  background: #222;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  overflow: hidden;
}
.mobile-search-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 9px 12px;
  font-size: 14px;
}
.mobile-search-inner input::placeholder { color: #555; }
.mobile-search-inner button {
  background: transparent;
  border: none;
  color: #888;
  padding: 9px 14px;
  font-size: 15px;
  cursor: pointer;
}
.mobile-search-inner button:hover { color: #fff; }

@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

/* hide desktop search/actions on mobile, show hamburger */
@media (max-width: 768px) {
  .header-search-desktop  { display: none !important; }
  .header-actions-desktop { display: none !important; }
  .header-mobile-right    { display: flex; }
}
/* on desktop hide mobile-only elements */
@media (min-width: 769px) {
  .header-mobile-right  { display: none; }
  .side-drawer          { display: none; }
  .side-drawer-overlay  { display: none !important; }
  .mobile-search-wrap   { display: none !important; }
}


/* ================================================================
   SINGLE ARTICLE — clean minimal redesign (sa- prefix)
   ================================================================ */
.single-article {
  background: #fff;
  border-radius: 10px;
  padding: 32px 32px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
body.dark-mode .single-article { background: #1e1e1e; }

/* category badge */
.sa-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sa-cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  text-decoration: none;
}

/* title */
.sa-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--gray-900, #111);
}
body.dark-mode .sa-title { color: #f0f0f0; }

/* standfirst */
.sa-standfirst {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 14px;
  margin-bottom: 18px;
}
body.dark-mode .sa-standfirst { color: #999; }

/* meta row */
.sa-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.sa-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sa-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 2px solid #f0f0f0;
  object-fit: cover;
}
.sa-author-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900, #111);
  text-decoration: none;
}
.sa-author-name:hover { color: var(--red); }
body.dark-mode .sa-author-name { color: #e0e0e0; }
.sa-verified { flex-shrink: 0; }
.sa-meta-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.sa-dot { color: #ccc; }

/* share compact icons (top right of meta) */
.sa-share-top {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sa-share-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e8e8e8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all .16s;
  color: #555;
}
body.dark-mode .sa-share-icon { background: #2a2a2a; border-color: #3a3a3a; color: #aaa; }
.sa-share-wa:hover  { background: #25d366; border-color: #25d366; color: #fff; }
.sa-share-fb:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.sa-share-tw:hover  { background: #000;    border-color: #000;    color: #fff; }
.sa-share-tg:hover  { background: #0088cc; border-color: #0088cc; color: #fff; }
.sa-share-copy:hover{ background: #666;    border-color: #666;    color: #fff; }
.sa-share-save:hover{ background: var(--red); border-color: var(--red); color: #fff; }

/* divider */
.sa-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 16px 0;
}
body.dark-mode .sa-divider { border-color: #2e2e2e; }

/* featured image */
.sa-featured {
  margin: 0 -32px 28px;
  position: relative;
  overflow: hidden;
}
.sa-featured img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.sa-figcaption {
  font-size: 12px;
  color: #888;
  text-align: center;
  padding: 8px 16px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}
body.dark-mode .sa-figcaption { background: #1a1a1a; border-color: #2a2a2a; }

/* article body */
.sa-body {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 28px;
}
body.dark-mode .sa-body { color: #ccc; }
.sa-body p  { margin-bottom: 1.2em; }
.sa-body h2 { font-family: var(--font-head); font-size: 22px; font-weight: 800; margin: 1.8em 0 .6em; }
.sa-body h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 1.4em 0 .5em; }
.sa-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 1em 0; }
.sa-body blockquote {
  border-left: 4px solid var(--red);
  margin: 1.4em 0;
  padding: 12px 20px;
  background: #fafafa;
  font-style: italic;
  color: #555;
  border-radius: 0 6px 6px 0;
}
body.dark-mode .sa-body blockquote { background: #1a1a1a; color: #999; }
.sa-body ul, .sa-body ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.sa-body li { margin-bottom: .45em; }

/* tags */
.sa-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sa-tags-icon { color: #aaa; font-size: 13px; }
.sa-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 100px;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: all .15s;
}
.sa-tag:hover { background: var(--red); border-color: var(--red); color: #fff; }
body.dark-mode .sa-tag { background: #2a2a2a; border-color: #3a3a3a; color: #aaa; }

/* share bottom */
.sa-share-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 28px;
}
body.dark-mode .sa-share-bottom { border-color: #2a2a2a; }
.sa-share-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #aaa;
  flex-shrink: 0;
}
.sa-share-bottom-btns { display: flex; gap: 7px; flex-wrap: wrap; }
.sa-share-full {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #444;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-ui, sans-serif);
}
body.dark-mode .sa-share-full { background: #1e1e1e; border-color: #3a3a3a; color: #ccc; }
.sa-share-full.sa-share-wa:hover  { background: #25d366; border-color: #25d366; color: #fff; }
.sa-share-full.sa-share-fb:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.sa-share-full.sa-share-tw:hover  { background: #000;    border-color: #000;    color: #fff; }
.sa-share-full.sa-share-tg:hover  { background: #0088cc; border-color: #0088cc; color: #fff; }
.sa-share-full.sa-share-copy:hover{ background: #555;    border-color: #555;    color: #fff; }

/* related posts */
.sa-related { margin-top: 8px; }

/* comments wrapper */
.sa-comments { margin-top: 32px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
body.dark-mode .sa-comments { border-color: #2a2a2a; }

/* ---- mobile single ---- */
@media (max-width: 768px) {
  .single-article { padding: 20px 16px 16px; }
  .sa-title { font-size: 21px; }
  .sa-standfirst { font-size: 14px; }
  .sa-featured { margin: 0 -16px 20px; }
  .sa-body { font-size: 15px; }
  .sa-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sa-share-top { flex-wrap: wrap; }
  .sa-share-full { padding: 6px 10px; font-size: 11px; }
}


/* ================================================================
   REACTION BAR
   ================================================================ */
.reaction-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: 24px 0;
  flex-wrap: wrap;
}
body.dark-mode .reaction-bar { border-color: #2a2a2a; }

.reaction-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #aaa;
  flex-shrink: 0;
}
.reaction-emojis {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.reaction-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #f7f7f7;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all .18s ease;
  min-width: 44px;
  font-family: inherit;
}
body.dark-mode .reaction-btn { background: #1e1e1e; }
.reaction-btn:hover {
  background: #fff;
  border-color: #e8e8e8;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
body.dark-mode .reaction-btn:hover { background: #2a2a2a; border-color: #3a3a3a; }
.reaction-btn.reacted {
  background: #fff3f3;
  border-color: var(--red, #e01b1b);
}
body.dark-mode .reaction-btn.reacted { background: rgba(224,27,27,.12); }
.reaction-emoji { font-size: 22px; line-height: 1; }
.reaction-count {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  min-height: 14px;
  line-height: 14px;
}
.reaction-btn.reacted .reaction-count { color: var(--red, #e01b1b); }

/* pop animation */
@keyframes reactionPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35) translateY(-6px); }
  70%  { transform: scale(.9) translateY(-2px); }
  100% { transform: scale(1); }
}
.reaction-btn.reaction-pop { animation: reactionPop .4s cubic-bezier(.36,.07,.19,.97) both; }


/* ================================================================
   DONASI BOX
   ================================================================ */
.donasi-box {
  background: linear-gradient(135deg, #fff8f8 0%, #fff 60%);
  border: 1.5px solid #f5d0d0;
  border-radius: 14px;
  padding: 24px;
  margin: 24px 0;
}
body.dark-mode .donasi-box {
  background: linear-gradient(135deg, #1e1212 0%, #1a1a1a 60%);
  border-color: rgba(224,27,27,.25);
}

.donasi-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.donasi-icon {
  font-size: 28px;
  color: var(--red, #e01b1b);
  flex-shrink: 0;
  margin-top: 2px;
}
.donasi-title {
  font-family: var(--font-head, serif);
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0 0 4px;
  line-height: 1.3;
}
body.dark-mode .donasi-title { color: #f0f0f0; }
.donasi-sub {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.5;
}
body.dark-mode .donasi-sub { color: #888; }

.donasi-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.donasi-amount-btn {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all .16s;
  font-family: inherit;
}
body.dark-mode .donasi-amount-btn { background: #222; border-color: #333; color: #bbb; }
.donasi-amount-btn:hover {
  border-color: var(--red, #e01b1b);
  color: var(--red, #e01b1b);
  background: #fff8f8;
}
.donasi-amount-btn.active {
  background: var(--red, #e01b1b);
  border-color: var(--red, #e01b1b);
  color: #fff;
}

.donasi-custom-wrap { margin-bottom: 12px; }
.donasi-custom-label { font-size: 12px; color: #aaa; display: block; margin-bottom: 6px; }
.donasi-custom-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  transition: border-color .15s;
}
.donasi-custom-input:focus-within { border-color: var(--red, #e01b1b); }
body.dark-mode .donasi-custom-input { background: #222; border-color: #333; }
.donasi-custom-input span { font-size: 13px; color: #888; font-weight: 600; flex-shrink: 0; }
.donasi-custom-input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #111;
  font-size: 14px;
  padding: 10px 0;
  font-family: inherit;
  min-width: 0;
}
body.dark-mode .donasi-custom-input input { color: #f0f0f0; }
.donasi-custom-input input::placeholder { color: #bbb; }

.donasi-name-wrap { margin-bottom: 16px; }
.donasi-name-input {
  width: 100%;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #111;
  background: #fff;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
  box-sizing: border-box;
}
.donasi-name-input:focus { border-color: var(--red, #e01b1b); }
body.dark-mode .donasi-name-input { background: #222; border-color: #333; color: #f0f0f0; }
.donasi-name-input::placeholder { color: #bbb; }

.donasi-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--red, #e01b1b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: all .18s;
  letter-spacing: .3px;
}
.donasi-submit-btn:hover { background: #c51515; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224,27,27,.3); }
.donasi-submit-btn:disabled { opacity: .65; transform: none; box-shadow: none; cursor: not-allowed; }

.donasi-note {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.donasi-thanks {
  text-align: center;
  padding: 20px 0 4px;
}
.donasi-thanks-icon { font-size: 48px; margin-bottom: 12px; }
.donasi-thanks h3 { font-family: var(--font-head, serif); font-size: 20px; font-weight: 800; margin: 0 0 8px; color: #111; }
body.dark-mode .donasi-thanks h3 { color: #f0f0f0; }
.donasi-thanks p { font-size: 14px; color: #666; margin: 0; line-height: 1.6; }
body.dark-mode .donasi-thanks p { color: #999; }

@media (max-width: 480px) {
  .donasi-box { padding: 18px 14px; }
  .donasi-amounts { gap: 6px; }
  .donasi-amount-btn { padding: 7px 11px; font-size: 12px; }
}


/* ================================================================
   FB-STYLE COMMENTS
   ================================================================ */
.fb-comments-wrap {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}
body.dark-mode .fb-comments-wrap { border-color: #2a2a2a; }

.fbc-header { margin-bottom: 18px; }
.fbc-title {
  font-family: var(--font-head, serif);
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.dark-mode .fbc-title { color: #f0f0f0; }
.fbc-title i { color: var(--red, #e01b1b); font-size: 17px; }
.fbc-count { color: #aaa; font-size: 14px; font-weight: 600; }

/* ---- Avatar letter fallback ---- */
.fbc-avatar-letter {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  font-family: var(--font-head, serif);
}
.fbc-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}

/* ---- Main comment form ---- */
.fbc-form-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.fbc-reply-form-wrap { margin: 10px 0 0 0; }

.fbc-form { flex: 1; min-width: 0; }
.fbc-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 8px 8px 8px 14px;
  border: 1.5px solid transparent;
  transition: border-color .15s, background .15s;
}
body.dark-mode .fbc-input-wrap { background: #1e1e1e; }
.fbc-input-wrap:focus-within { background: #fff; border-color: #e0e0e0; }
body.dark-mode .fbc-input-wrap:focus-within { background: #242424; border-color: #3a3a3a; }

.fbc-input {
  flex: 1;
  outline: none;
  min-height: 20px;
  max-height: 120px;
  overflow-y: auto;
  font-size: 14px;
  color: #111;
  line-height: 1.5;
  word-break: break-word;
  font-family: inherit;
}
body.dark-mode .fbc-input { color: #f0f0f0; }
.fbc-input:empty::before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
  display: block;
}
.fbc-send-btn {
  background: var(--red, #e01b1b);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.fbc-send-btn:disabled { background: #ccc; cursor: not-allowed; }
.fbc-send-btn:not(:disabled):hover { background: #c51515; transform: scale(1.08); }
.fbc-hint { font-size: 11px; color: #bbb; margin-top: 5px; padding-left: 4px; display: block; }

/* ---- Sort bar ---- */
.fbc-sort-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.fbc-sort-btn {
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
body.dark-mode .fbc-sort-btn { border-color: #333; color: #666; }
.fbc-sort-btn.active, .fbc-sort-btn:hover { background: var(--red, #e01b1b); border-color: var(--red, #e01b1b); color: #fff; }

/* ---- Comment items ---- */
.fbc-comment {
  margin-bottom: 16px;
  animation: fadeInUp .22s ease;
}
.fbc-reply { margin-bottom: 10px; animation: fadeInUp .2s ease; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fbc-item-inner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.fbc-item-body { flex: 1; min-width: 0; }

.fbc-bubble {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 10px 14px;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}
body.dark-mode .fbc-bubble { background: #1e1e1e; }
.fbc-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 3px;
  font-family: var(--font-head, serif);
}
body.dark-mode .fbc-name { color: #f0f0f0; }
.fbc-text {
  font-size: 14px;
  color: #333;
  line-height: 1.55;
  margin: 0;
  white-space: pre-line;
}
body.dark-mode .fbc-text { color: #ccc; }

/* ---- Actions below bubble ---- */
.fbc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 4px 2px;
  flex-wrap: wrap;
}
.fbc-like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  padding: 0;
  transition: color .15s;
  font-family: inherit;
}
.fbc-like-btn:hover { color: var(--red, #e01b1b); }
.fbc-like-btn.liked { color: var(--red, #e01b1b); }
.fbc-like-btn i { font-size: 13px; }

.fbc-reply-toggle,
.fbc-view-replies {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  padding: 0;
  transition: color .15s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fbc-reply-toggle:hover,
.fbc-view-replies:hover { color: #555; }
body.dark-mode .fbc-reply-toggle:hover,
body.dark-mode .fbc-view-replies:hover { color: #bbb; }

.fbc-time {
  font-size: 11px;
  color: #bbb;
  margin-left: auto;
}

/* ---- Replies ---- */
.fbc-replies { padding-left: 44px; margin-top: 6px; }
.fbc-reply-form { padding-left: 44px; }
.fbc-reply .fbc-bubble { border-radius: 12px; }
.fbc-reply .fbc-input-wrap { border-radius: 16px; }

/* ---- Loading / empty ---- */
.fbc-loading {
  text-align: center;
  padding: 32px;
  color: #bbb;
  font-size: 22px;
}
.fbc-empty {
  text-align: center;
  padding: 32px 20px;
  color: #bbb;
}
.fbc-empty i { font-size: 36px; display: block; margin-bottom: 10px; opacity: .4; }
.fbc-empty p { font-size: 14px; margin: 0; }

/* ---- Load more ---- */
.fbc-load-more-wrap { text-align: center; margin-top: 16px; }
.fbc-load-more-btn {
  background: transparent;
  border: 1.5px solid #e0e0e0;
  border-radius: 100px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
body.dark-mode .fbc-load-more-btn { border-color: #333; color: #888; }
.fbc-load-more-btn:hover { border-color: var(--red, #e01b1b); color: var(--red, #e01b1b); }

/* ================================================================
   MOBILE RESPONSIVE — final pass
   ================================================================ */
@media (max-width: 768px) {
  /* reaction */
  .reaction-bar { gap: 8px; }
  .reaction-emoji { font-size: 20px; }
  .reaction-btn { padding: 6px 8px; min-width: 38px; }

  /* donasi */
  .donasi-box { padding: 16px 14px; margin: 20px 0; }
  .donasi-title { font-size: 16px; }
  .donasi-amounts { gap: 6px; }
  .donasi-amount-btn { padding: 6px 10px; font-size: 12px; }

  /* comments */
  .fb-comments-wrap { margin-top: 24px; }
  .fbc-bubble { max-width: calc(100vw - 80px); }
  .fbc-replies { padding-left: 36px; }
  .fbc-reply-form { padding-left: 36px; }
  .fbc-actions { gap: 10px; }
}

@media (max-width: 480px) {
  .reaction-emojis { gap: 4px; }
  .reaction-btn { min-width: 34px; padding: 5px 6px; }
  .reaction-emoji { font-size: 18px; }
  .fbc-replies { padding-left: 28px; }
  .fbc-reply-form { padding-left: 28px; }
}

/* =================================================================
   SHOPEE-STYLE SHOP PAGE (2-COLUMN GRID)
   ================================================================= */

/* --- Hero banner toko (Shopee-style) --- */
.shop-hero-banner { background: linear-gradient(135deg, var(--red), #b01010); padding: 20px 16px 24px; }
.shop-hero-inner { max-width: 1200px; margin: 0 auto; }
.shop-hero-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-brand-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 3px solid rgba(255,255,255,.4); }
.shop-brand-avatar img { width: 100%; height: 100%; object-fit: cover; }
.shop-brand-initials { font-size: 22px; font-weight: 900; color: var(--red); letter-spacing: -1px; }
.shop-brand-info { flex: 1; min-width: 0; }
.shop-brand-name { font-family: var(--font-head); font-size: 22px; font-weight: 900; color: #fff; margin: 0 0 4px; }
.shop-brand-sub { color: rgba(255,255,255,.8); font-size: 13px; margin: 0 0 8px; }
.shop-brand-stats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.85); }
.shop-brand-stats span { display: flex; align-items: center; gap: 4px; }
.shop-brand-actions { flex-shrink: 0; }
.btn-follow-shop { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--red); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 20px; text-decoration: none; transition: all .16s; }
.btn-follow-shop:hover { background: #f0f0f0; }
.shop-search-bar { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 0 16px 0 16px; gap: 10px; max-width: 600px; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.shop-search-bar i { color: var(--gray-500); font-size: 15px; flex-shrink: 0; }
.shop-search-bar input { flex: 1; border: none; outline: none; font-size: 14px; font-family: var(--font-ui); padding: 12px 0; background: transparent; }
.shop-search-btn { background: var(--red); color: #fff; border: none; border-radius: 0 6px 6px 0; padding: 12px 16px; font-size: 13px; font-weight: 600; cursor: pointer; margin-right: -16px; transition: background .15s; }
.shop-search-btn:hover { background: var(--red-dark); }

/* --- Shopee 2-column product grid --- */
.shopee-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

@media (min-width: 640px)  { .shopee-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .shopee-products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .shopee-products-grid { grid-template-columns: repeat(5, 1fr); } }

.shopee-product-card { background: #fff; border-radius: 8px; overflow: hidden; position: relative; transition: box-shadow .2s, transform .2s; cursor: pointer; display: flex; flex-direction: column; }
.shopee-product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.13); transform: translateY(-2px); }
body.dark-mode .shopee-product-card { background: #1e1e1e; border: 1px solid #2a2a2a; }

/* Image */
.shopee-img-wrap { position: relative; width: 100%; overflow: hidden; background: #f5f5f5; aspect-ratio: 1; }
.shopee-img-wrap a { display: block; width: 100%; height: 100%; }
.shopee-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.shopee-product-card:hover .shopee-img-wrap img { transform: scale(1.06); }
.shopee-badge-sale { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; line-height: 1.2; padding: 4px 7px; border-radius: 0 0 6px 0; text-align: center; }

/* Quick actions */
.shopee-quick-actions { position: absolute; top: 6px; right: 6px; display: flex; flex-direction: column; gap: 5px; opacity: 0; transition: opacity .2s; }
.shopee-product-card:hover .shopee-quick-actions { opacity: 1; }
.shopee-wish-btn, .shopee-share-btn { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; color: #777; transition: all .15s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.shopee-wish-btn:hover, .shopee-wish-btn.active { color: #e01b1b; background: #fff; }
.shopee-wish-btn.active i { color: #e01b1b; }
.shopee-share-btn:hover { color: #1565c0; }

/* Product info */
.shopee-product-info { padding: 10px; display: flex; flex-direction: column; flex: 1; }
.shopee-product-name { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--dark); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; transition: color .15s; }
.shopee-product-name:hover { color: var(--red); }
body.dark-mode .shopee-product-name { color: #e0e0e0; }
.shopee-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; }
.shopee-price-current { font-size: 15px; font-weight: 800; color: var(--red); }
.shopee-price-original { font-size: 11px; color: #aaa; text-decoration: line-through; }
.shopee-meta-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.shopee-rating { font-size: 11px; color: #f9a825; display: flex; align-items: center; gap: 2px; font-weight: 600; }
.shopee-sold { font-size: 11px; color: #999; }
.shopee-location { font-size: 11px; color: #999; margin-bottom: 8px; display: flex; align-items: center; gap: 3px; }
.shopee-action-row { display: flex; gap: 6px; margin-top: auto; }
.shopee-btn-cart { width: 34px; height: 34px; border: 1.5px solid var(--red); background: #fff; color: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; transition: all .15s; flex-shrink: 0; }
.shopee-btn-cart:hover { background: var(--red); color: #fff; }
body.dark-mode .shopee-btn-cart { background: transparent; }
.shopee-btn-buy { flex: 1; background: var(--red); color: #fff; border: none; border-radius: 6px; font-size: 12px; font-weight: 700; text-align: center; padding: 8px 4px; text-decoration: none; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.shopee-btn-buy:hover { background: var(--red-dark); }

/* Dark mode shop */
body.dark-mode .shop-toolbar { background: #1a1a1a; border-color: #2a2a2a; }
body.dark-mode .shop-sort select { background: #1e1e1e; color: #ddd; border-color: #333; }
body.dark-mode .filter-chip { background: #1e1e1e; border-color: #333; color: #aaa; }
body.dark-mode .filter-chip.active { background: rgba(224,27,27,.15); border-color: var(--red); color: var(--red); }

/* Share modal */
.share-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; align-items: flex-end; justify-content: center; }
.share-modal-overlay.show { display: flex; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.share-modal-box { background: #fff; border-radius: 16px 16px 0 0; padding: 20px 20px 32px; width: 100%; max-width: 480px; animation: slideUp .25s; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
body.dark-mode .share-modal-box { background: #1e1e1e; }
.share-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.share-modal-header strong { font-size: 15px; color: var(--dark); }
.share-modal-header button { background: none; border: none; font-size: 18px; cursor: pointer; color: #888; }
.share-modal-title { font-size: 13px; color: #888; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-modal-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-around; }
.share-modal-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 60px; font-size: 11px; font-weight: 600; text-decoration: none; background: none; border: none; cursor: pointer; color: #555; transition: transform .15s; }
.share-modal-btn:hover { transform: scale(1.1); }
.share-modal-btn i { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; }
.share-wa  i { background: #25d366; }
.share-fb  i { background: #1877f2; }
.share-tg  i { background: #0088cc; }
.share-tw  i { background: #000; }
.share-copy-btn i { background: #555; }
body.dark-mode .share-modal-btn { color: #aaa; }

/* =================================================================
   DONASI ICON TAMBAHAN
   ================================================================= */
.donasi-icon-wrap { background: rgba(224,27,27,.1); border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-donate-btn { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, var(--red), #b01010); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-decoration: none; transition: opacity .15s; margin-left: 4px; }
.author-donate-btn:hover { opacity: .85; }
.donasi-mini-cta { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #fff8f8, #fff); border: 1.5px solid #f5d0d0; border-radius: 12px; padding: 16px 18px; margin: 16px 0; flex-wrap: wrap; }
body.dark-mode .donasi-mini-cta { background: linear-gradient(135deg,#1e1212,#1a1a1a); border-color: rgba(224,27,27,.25); }
.donasi-mini-icon { font-size: 28px; color: var(--red); flex-shrink: 0; }
.donasi-mini-text { flex: 1; min-width: 0; }
.donasi-mini-text strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 3px; }
.donasi-mini-text span { font-size: 12px; color: #777; }
body.dark-mode .donasi-mini-text strong { color: #f0f0f0; }
.donasi-mini-btn { flex-shrink: 0; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 20px; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: opacity .15s; }
.donasi-mini-btn:hover { opacity: .85; }

/* =================================================================
   DISKUSI PRODUK
   ================================================================= */
.diskusi-wrap { padding: 4px 0; }
.diskusi-header { margin-bottom: 16px; }
.diskusi-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.diskusi-sub { font-size: 12px; color: #888; }
.diskusi-form { margin-bottom: 20px; }
.diskusi-input { width: 100%; border: 1.5px solid #e5e5e5; border-radius: 8px; padding: 10px 14px; font-size: 13px; font-family: var(--font-ui); resize: vertical; outline: none; transition: border-color .15s; box-sizing: border-box; }
.diskusi-input:focus { border-color: var(--red); }
body.dark-mode .diskusi-input { background: #222; border-color: #333; color: #eee; }
.diskusi-form-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.diskusi-btn-wa { display: inline-flex; align-items: center; gap: 6px; background: #25d366; color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 6px; text-decoration: none; transition: background .15s; }
.diskusi-btn-wa:hover { background: #1da851; }
.diskusi-btn-send { background: var(--red); color: #fff; border: none; padding: 9px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); transition: background .15s; }
.diskusi-btn-send:hover { background: var(--red-dark); }
.diskusi-list { display: flex; flex-direction: column; gap: 12px; }
.diskusi-empty { text-align: center; padding: 30px 20px; color: #aaa; }
.diskusi-empty i { font-size: 36px; display: block; margin-bottom: 8px; opacity: .4; }
.diskusi-empty p { font-size: 13px; }
.diskusi-item { display: flex; gap: 10px; align-items: flex-start; }
.diskusi-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #888; flex-shrink: 0; }
.diskusi-bubble { background: #f5f5f5; border-radius: 0 8px 8px 8px; padding: 8px 12px; flex: 1; }
body.dark-mode .diskusi-bubble { background: #2a2a2a; }
.diskusi-author { font-size: 12px; font-weight: 700; color: var(--dark); display: block; margin-bottom: 3px; }
.diskusi-msg { font-size: 13px; line-height: 1.5; margin: 0; }
.diskusi-time { font-size: 11px; color: #aaa; display: block; margin-top: 5px; }

/* =================================================================
   ONGKIR CALCULATOR
   ================================================================= */
.shipping-calc-section { background: #fff; border-radius: 10px; border: 1px solid #e5e5e5; padding: 20px; margin-bottom: 24px; }
body.dark-mode .shipping-calc-section { background: #1e1e1e; border-color: #2a2a2a; }
.sc-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.sc-title i { color: var(--red); }
.sc-sub { font-size: 13px; color: #888; margin-bottom: 16px; }
.sc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
@media (max-width: 600px) { .sc-form { grid-template-columns: 1fr; } }
.sc-field { display: flex; flex-direction: column; gap: 4px; }
.sc-label { font-size: 12px; font-weight: 600; color: #777; }
.sc-select { border: 1.5px solid #e5e5e5; border-radius: 6px; padding: 8px 10px; font-size: 13px; font-family: var(--font-ui); outline: none; cursor: pointer; transition: border-color .15s; }
.sc-select:focus { border-color: var(--red); }
body.dark-mode .sc-select { background: #222; border-color: #333; color: #eee; }
.sc-btn { background: var(--red); color: #fff; border: none; border-radius: 6px; padding: 9px 20px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); transition: background .15s; white-space: nowrap; }
.sc-btn:hover { background: var(--red-dark); }
.sc-result { margin-top: 12px; }
.sc-result-card { background: #f8fffe; border: 1px solid #c8e6c9; border-radius: 8px; padding: 14px 16px; }
body.dark-mode .sc-result-card { background: #102010; border-color: #1a3a1a; }
.sc-result-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.sc-result-row i { color: #2e7d32; width: 16px; text-align: center; }
body.dark-mode .sc-result-row { color: #ccc; }
.sc-result-price { font-size: 22px; font-weight: 900; color: #2e7d32; margin: 10px 0 4px; }
.sc-result-note { font-size: 11px; color: #888; margin: 0; }
.sc-error { font-size: 13px; color: var(--red); }
.sc-note { font-size: 11px; color: #aaa; margin-top: 10px; display: flex; align-items: flex-start; gap: 5px; }
.sc-note i { margin-top: 2px; }

/* =================================================================
   RESPONSIVE MOBILE SHOP
   ================================================================= */
@media (max-width: 480px) {
  .shop-hero-banner { padding: 16px 12px 20px; }
  .shop-brand-name { font-size: 18px; }
  .shop-brand-avatar { width: 52px; height: 52px; }
  .shopee-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .shopee-product-info { padding: 8px; }
  .shopee-price-current { font-size: 14px; }
  .shop-products-wrap { padding: 12px 10px; }
  .donasi-mini-cta { padding: 12px 14px; gap: 10px; }
  .shipping-calc-section { padding: 14px; }
}

