/* Homely Picks — us1.storestand.net
   Own theme. Class prefix `hp-`. */
/* ===================================================================
   Homely Picks theme — navy #1f4e79 + amber #e8a13a + white.
   Loaded AFTER style.css -> overrides base template look.

   NOTE: CSS comments are served to the browser. Never name another site,
   an old domain, or internal notes in this file.
   =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --tg-main:      #1f4e79;   /* navy — warna utama */
  --tg-main-dark: #163a5a;   /* hover / active */
  --tg-main-soft: #c7d6e4;   /* border / latar lembut */
  --tg-main-tint: #eff4f9;   /* wash sangat terang */
  --tg-ink:       #22303c;   /* teks */
  --tg-radius:    16px;
}

/* ---- Typography ---- */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  color: var(--tg-ink);
}
h1, h2, h3, h4, h5, .blog-heading, .blog-heading-link {
  font-family: "Fraunces", Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

/* ================= Cards (product/blog grid) ================= */
.single-blog {
  border: 1px solid var(--tg-main-soft);
  border-radius: var(--tg-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(31, 78, 121, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.single-blog:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(31, 78, 121, .20);
  border-color: var(--tg-main);
}
.single-blog .blog-image { overflow: hidden; }
.single-blog .blog-image img {
  transition: transform .5s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.single-blog:hover .blog-image img { transform: scale(1.06); }
.single-blog .blog-text { padding: 18px 20px 22px; }

.blog-heading-link { color: var(--tg-ink) !important; }
.blog-heading-link:hover { color: var(--tg-main) !important; }

/* ================= Read-more button ================= */
.btn-primary.blog-btn {
  background: var(--tg-main) !important;
  border: 2px solid var(--tg-main) !important;
  color: #fff !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(31, 78, 121, .28);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary.blog-btn:hover {
  background: var(--tg-main-dark) !important;
  border-color: var(--tg-main-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 117, 106, .34);
}

/* generic pill buttons */
.btn-primary {
  border-radius: 30px !important;
  font-weight: 700 !important;
}
.btn-primary:hover { color:#fff !important; }

/* ================= Pagination ================= */
.pro-pagination-style ul li a {
  border-radius: 10px;
  transition: all .2s ease;
  font-weight: 600;
}
.pro-pagination-style ul li a.active,
.pro-pagination-style ul li a:hover {
  background: var(--tg-main) !important;
  border-color: var(--tg-main) !important;
  color: #fff !important;
}

/* ================= Header / nav accents ================= */
header .main-menu ul li a:hover { color: var(--tg-main) !important; }
a { color: var(--tg-main); }
a:hover { color: var(--tg-main-dark); }

/* ================= Article page (/pd) ================= */
.blog-description h1,
.single-blog-post h1 {
  font-size: 2rem;
  line-height: 1.35;
  padding-bottom: .5em;
  border-bottom: 3px solid var(--tg-main-soft);
  margin-bottom: .8em;
}
.blog-description h2 {
  position: relative;
  padding: 10px 0 10px 16px;
  margin-top: 1.6em;
  border-left: 5px solid var(--tg-main);
  background: linear-gradient(90deg, var(--tg-main-tint), transparent);
  border-radius: 0 8px 8px 0;
  font-size: 1.4rem;
}
.blog-description img.product-header-image,
.blog-description .main-product-image img {
  border-radius: var(--tg-radius);
}
.blog-description img.product-body-image {
  border-radius: 12px;
  border: 3px solid var(--tg-main-soft);
}

/* Table of contents box */
.toc {
  background: var(--tg-main-tint);
  border: 1px solid var(--tg-main-soft);
  border-radius: var(--tg-radius);
  padding: 18px 22px;
  margin: 22px 0;
}
.toc .toc-title {
  font-weight: 800;
  color: var(--tg-main-dark);
  margin-bottom: .4em;
  font-size: 1.05rem;
}
.toc ul { margin: 0; padding-left: 1.1em; }
.toc ul li { margin: .3em 0; }
.toc a { color: var(--tg-ink); text-decoration: none; }
.toc a:hover { color: var(--tg-main); text-decoration: underline; }

/* CTA button inside article */
#action_button_1 a {
  display: inline-block;
  background: var(--tg-main);
  color: #fff !important;
  padding: 12px 34px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(31, 78, 121, .28);
  transition: transform .2s ease, background .2s ease;
}
#action_button_1 a:hover {
  background: var(--tg-main-dark);
  transform: translateY(-2px);
}
/* Dulu di sini ada override untuk banner GAMBAR (Moshimo 468x60): ia mematikan
   background/padding/shadow supaya gambar tak duduk di atas pil berwarna.
   DIBUANG 2026-09-25 — situs ini tak memakai banner gambar in-article, dan karena
   selector-nya ber-ID ia mengalahkan aturan kelas tombol teks: latarnya hilang,
   lalu `color:#fff !important` di atas menjadikan teksnya PUTIH DI ATAS PUTIH.
   Kalau nanti banner gambar dipakai, hidupkan lagi dengan kelas sendiri
   (mis. `.hp-inline-img`), jangan menempel ke `a.hp-inline-banner`. */

/* Section headings on list page */
.blog-heading { font-size: 1.05rem; line-height: 1.5; }

/* ===================================================================
   LAYOUT REDESIGN — header, hero, grid, cards, sidebar
   =================================================================== */

/* ---------- Header ---------- */
.header-area { display: none; } /* buang header lama kalau tersisa */
.hp-header { position: sticky; top: 0; z-index: 1000; }
.hp-topstrip {
  background: linear-gradient(90deg, var(--tg-main), #e8a13a);
  color: #fff; font-size: 13px; font-weight: 600; text-align: center;
  padding: 7px 0; letter-spacing: .02em;
}
.hp-header-main {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--tg-main-soft);
  box-shadow: 0 2px 14px rgba(31, 78, 121,.06);
}
.hp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 20px;
}
.hp-brand { display: inline-flex; align-items: baseline; text-decoration: none; }
.hp-brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 26px;
  color: var(--tg-ink); letter-spacing: .01em;
}
.hp-brand-dot { color: var(--tg-main); font-size: 34px; font-weight: 800; line-height: 0; }
.hp-brand-sub {
  margin-left: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tg-main); align-self: center;
}
.hp-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hp-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 22px;
  font-size: 14px; font-weight: 600; color: var(--tg-ink); text-decoration: none;
  transition: all .2s ease;
}
.hp-nav a:hover { background: var(--tg-main-tint); color: var(--tg-main-dark); }
.hp-nav-toggle {
  display: none; background: none; border: 0; font-size: 24px; color: var(--tg-main); cursor: pointer;
}

/* ---------- Hero ---------- */
.hp-hero {
  background:
    radial-gradient(1200px 300px at 90% -20%, rgba(255,209,227,.7), transparent),
    linear-gradient(180deg, var(--tg-main-tint), #ffffff);
  padding: 64px 0 54px; text-align: center;
  border-bottom: 1px solid var(--tg-main-soft);
}
.hp-hero-kicker {
  color: var(--tg-main); font-weight: 700; letter-spacing: .28em;
  font-size: 12px; margin: 0 0 14px;
}
.hp-hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800; font-size: clamp(28px, 5vw, 46px); line-height: 1.25;
  color: var(--tg-ink); margin: 0 0 16px; border: 0;
}
.hp-hero-title span { color: var(--tg-main); }
.hp-hero-sub { color: #5d6b69; font-size: 15px; margin: 0 auto; max-width: 560px; }

/* ---------- Main + section head ---------- */
.hp-main { padding: 48px 0 80px; background: #fff; }
.hp-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hp-section-head h2 {
  font-weight: 800; font-size: 22px; margin: 0; color: var(--tg-ink); white-space: nowrap;
  border: 0; padding: 0; background: none;
}
.hp-section-head h2::before {
  content: ""; display: inline-block; width: 10px; height: 22px; margin-right: 10px;
  background: var(--tg-main); border-radius: 3px; vertical-align: -3px;
}
.hp-section-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--tg-main-soft), transparent); }

/* ---------- Product grid + editorial card ---------- */
.hp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 575px){ .hp-grid { grid-template-columns: 1fr; } }

.hp-card {
  background: #fff; border: 1px solid #dcefec; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 18px rgba(31, 78, 121,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(31, 78, 121,.18); border-color: var(--tg-main); }
.hp-card-media { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; }
.hp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hp-card:hover .hp-card-media img { transform: scale(1.07); }
.hp-card-badge {
  position: absolute; top: 12px; left: 12px; background: var(--tg-main); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 20px;
  box-shadow: 0 4px 10px rgba(31, 78, 121,.35);
}
.hp-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.hp-card-title { font-size: 15px; font-weight: 700; line-height: 1.5; margin: 0 0 8px; }
.hp-card-title a { color: var(--tg-ink); text-decoration: none; }
.hp-card-title a:hover { color: var(--tg-main); }
.hp-card-excerpt { font-size: 13px; color: #6d7b79; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.hp-card-link {
  align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--tg-main);
  text-decoration: none; padding: 7px 16px; border: 2px solid var(--tg-main); border-radius: 22px;
  transition: all .2s ease;
}
.hp-card-link span { transition: margin .2s ease; }
.hp-card-link:hover { background: var(--tg-main); color: #fff; }
.hp-card-link:hover span { margin-left: 4px; }

/* ---------- Pagination ---------- */
.hp-pagination { margin-top: 40px; }
.hp-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hp-pagination a, .hp-pagination .dots {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px;
  font-weight: 700; color: var(--tg-ink); text-decoration: none;
  border: 1px solid var(--tg-main-soft); background: #fff; transition: all .2s ease;
}
.hp-pagination a:hover { border-color: var(--tg-main); color: var(--tg-main); }
.hp-pagination a.active { background: var(--tg-main); border-color: var(--tg-main); color: #fff; }
.hp-pagination .dots { border: 0; }

/* ---------- Right sidebar ---------- */
.hp-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 991px){ .hp-sidebar { position: static; margin-top: 40px; } }

.hp-ad-slot {
  position: relative; min-height: 90px; border: 2px dashed var(--tg-main-soft);
  border-radius: 14px; background: var(--tg-main-tint);
  display: flex; align-items: center; justify-content: center;
  color: #8c9aa6; font-size: 13px;
}
.hp-ad-slot:empty::after,
.hp-ad-slot:has(> .hp-ad-label:only-child)::after {
  content: "Ad space"; color: #8c9aa6; font-weight: 600;
}
.hp-ad-label {
  position: absolute; top: 6px; right: 8px; font-size: 10px; font-weight: 700;
  color: #7a8a97; letter-spacing: .1em;
}

.hp-widget { background: #fff; border: 1px solid var(--tg-main-soft); border-radius: 18px; overflow: hidden; }
.hp-widget-title {
  margin: 0; padding: 16px 20px; font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--tg-main), #e8a13a);
}
.hp-side-list { list-style: none; margin: 0; padding: 8px; }
.hp-side-item {
  display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px;
  text-decoration: none; transition: background .2s ease;
}
.hp-side-item:hover { background: var(--tg-main-tint); }
.hp-side-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.hp-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-side-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hp-side-title { font-size: 13px; font-weight: 600; color: var(--tg-ink); line-height: 1.45; }
.hp-side-cta { font-size: 11px; font-weight: 700; color: var(--tg-main); }

/* ---------- Responsive nav ---------- */
@media (max-width: 767px){
  .hp-nav { position: absolute; right: 12px; top: 100%; background: #fff; border: 1px solid var(--tg-main-soft);
    border-radius: 14px; padding: 8px; box-shadow: 0 12px 30px rgba(31, 78, 121,.15); display: none; }
  .hp-nav.open { display: block; }
  .hp-nav ul { flex-direction: column; }
  .hp-nav-toggle { display: inline-block; }
  .hp-header-inner { position: relative; }
}

/* ---------- Footer polish ---------- */
.footer-area { background: #14211f; color: #b3c7c4; margin-top: 0; }
.footer-area a { color: var(--tg-main-soft); }

/* ---------- AI + affiliate disclosure notice (above article body) ---------- */
.hp-ai-notice {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
  background: var(--tg-main-tint, #eefaf8);
  border: 1px solid var(--tg-main-soft, #bfe8e3);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 22px 0;
}
.hp-ai-notice-badge {
  flex: 0 0 auto;
  background: var(--tg-main, #ec2d78); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.hp-ai-notice-text {
  font-size: 12.5px; line-height: 1.7; color: var(--tg-ink, #20302e);
}
@media (max-width: 575px){
  .hp-ai-notice { padding: 10px 12px; }
  .hp-ai-notice-text { font-size: 12px; }
}

/* ---------- Buying guides ---------- */
.hp-guide-index { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; }
.hp-guide-index > li > a {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--tg-main-soft, #bfe8e3);
  border-radius: 14px; padding: 14px 16px; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
.hp-guide-index > li > a:hover { box-shadow: 0 10px 26px rgba(31, 78, 121,.14); transform: translateY(-1px); }
.hp-guide-index-badge {
  flex: 0 0 auto; background: var(--tg-main, #ec2d78); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  border-radius: 999px; padding: 4px 9px;
}
.hp-guide-index-title { font-size: 14px; font-weight: 600; color: var(--tg-ink, #20302e); line-height: 1.5; }

.hp-guide-table-wrap { overflow-x: auto; margin: 22px 0 26px; -webkit-overflow-scrolling: touch; }
.hp-guide-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; }
.hp-guide-table th, .hp-guide-table td {
  border: 1px solid var(--tg-main-soft, #bfe8e3); padding: 9px 11px; vertical-align: top; line-height: 1.6;
}
.hp-guide-table thead th { background: var(--tg-main-tint, #eefaf8); font-weight: 700; white-space: nowrap; }
.hp-guide-table tbody tr:nth-child(even) { background: #f5fcfb; }
.hp-guide-table td a { color: var(--tg-main, #ec2d78); font-weight: 600; }
.hp-guide-table-note { font-size: 11.5px; color: #6d7b79; margin-top: 8px; line-height: 1.7; }

.hp-guide-body h3 { font-size: 17px; margin: 26px 0 10px; line-height: 1.5; }
.hp-guide-updated { font-size: 12px; color: #6d7b79; margin-top: 26px; }
.hp-guide-more { margin-top: 40px; padding: 18px 20px; background: var(--tg-main-tint, #eefaf8); border-radius: 14px; }
.hp-guide-more h3 { font-size: 15px; margin: 0 0 10px; }
.hp-guide-more ul { margin: 0; padding-left: 18px; }
.hp-guide-more li { font-size: 13.5px; line-height: 1.9; }

/* ---------- Affiliate banner box (sidebar, article & guide only) ---------- */
.hp-ad-box-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.hp-ad-item { padding: 10px; border-radius: 12px; transition: background .2s ease; }
.hp-ad-item + .hp-ad-item { border-top: 1px solid var(--tg-main-soft); }
.hp-ad-item:hover { background: var(--tg-main-tint); }
.hp-ad-item a {
  display: flex; gap: 12px; align-items: center;
  font-size: 12.5px; font-weight: 600; line-height: 1.45;
  color: var(--tg-ink); text-decoration: none;
  /* Retailer product titles run very long — clamp so the sidebar keeps its shape. */
  max-height: 70px; overflow: hidden;
}
.hp-ad-item a > img {
  flex: 0 0 64px; width: 64px; height: 64px;
  border-radius: 10px; object-fit: cover; border: 0;
}
.hp-ad-item a br { display: none; }
.hp-ad-item-note { padding: 0 14px 12px; margin: 0; font-size: 11px; color: #7a8a97; }

/* ---------- In-article affiliate CTA ---------- */
/* Label "Ad" harus terbaca DI DEKAT tautan (FTC 16 CFR Part 255), bukan hanya di
   footer — karena itu ia bagian dari kotak ini, bukan dipisah ke bawah halaman. */
.hp-inline-cta {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid #dce3ea;
  border-radius: 10px;
  background: #f7f9fb;
  text-align: center;
}
.hp-inline-cta .hp-ad-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #6b7a88;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hp-inline-cta a.hp-inline-banner,
.hp-inline-cta a.hp-inline-banner:hover {
  display: block;
  margin: 0 auto;
  padding: 13px 26px;
  max-width: 420px;
  border-radius: 8px;
  background: #1f4e79;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.hp-inline-cta a.hp-inline-banner:hover { background: #163a5a; }
.hp-inline-cta-note {
  margin: 10px 0 0;
  color: #6b7a88;
  font-size: 12px;
  line-height: 1.5;
}
