/* ==========================================================================
   Hawaii Favorites (Amazon pantry list) — /hawaii-favorites
   All sizes in px (site base: html { font-size: 62.5% }, 1rem = 10px).
   ========================================================================== */

/* --- Hero --- */
.hgfav-hero {
  position: relative;
  border-radius: 80px 80px 80px 20px;
  overflow: hidden;
  margin: 10px 0 0;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 45%;
  background-color: #1a2a1a;
}
.hgfav-hero-back {
  position: absolute;
  top: 34px;
  left: 38px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hgfav-hero-back:hover,
.hgfav-hero-back:focus {
  background: rgba(0, 0, 0, 0.62);
  color: #fff !important;
}
.hgfav-hero-back i { font-size: 11px; opacity: 0.9; }
@media (max-width: 540px) {
  .hgfav-hero-back { top: 24px; left: 26px; font-size: 12px; padding: 6px 12px 6px 10px; }
}
.hgfav-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 5% 28px;
  background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.hgfav-hero h1 {
  color: #fff;
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.hgfav-hero p {
  color: #f2f2f2;
  font-size: 18px;
  margin: 0;
  max-width: 620px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
@media (max-width: 640px) {
  .hgfav-hero h1 { font-size: 30px; }
  .hgfav-hero p { font-size: 16px; }
}

/* --- Intro --- */
.hgfav-intro {
  max-width: 780px;
  margin: 22px auto 0;
  padding: 0 12px;
}
.hgfav-intro p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* --- Section headers --- */
.hgfav-section { margin: 34px 0 0; }
.hgfav-section > h2 {
  font-size: 27px;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hgfav-section > h2 i { font-size: 23px; color: #0a5793; }
.hgfav-section-sub {
  font-size: 16px;
  color: #555;
  margin: 0 0 16px;
  max-width: 760px;
}

/* --- Product card grid --- */
.hgfav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.hgfav-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  border-top: 4px solid #0a5793;
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  overflow: hidden;
}
/* Card-top product image (Snacks + Pantry cards).
   Full-bleed to the card's inner edges via negative margins; rounded top
   corners come from the card's own overflow:hidden + border-radius, flat
   bottom flush against the text. img border-radius:0 defeats the global
   img{border-radius:10px} rule (specificity 0,1,1 beats 0,0,1). */
.hgfav-card-img {
  position: relative;
  margin: -18px -18px 14px;
  padding-top: 60%;
  overflow: hidden;
  background: #eef1f3;
}
.hgfav-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hgfav-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.hgfav-card p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 14px;
  color: #333;
  flex: 1 1 auto;
}
.hgfav-card p a { color: #0a5793; }
.hgfav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 18px;
  background: #0a5793;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.hgfav-btn:hover, .hgfav-btn:focus { background: #08466f; color: #fff !important; }
.hgfav-btn i { font-size: 14px; }

/* --- Coffee callout (Hawaii Coffee Company, not Amazon) --- */
.hgfav-coffee {
  margin: 34px 0 0;
  background: #fdf7ee;
  border: 1px solid #eadfca;
  border-left: 5px solid #8a5a2b;
  border-radius: 16px;
  padding: 22px 24px;
  box-sizing: border-box;
}
.hgfav-coffee h2 {
  font-size: 25px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hgfav-coffee h2 i { color: #8a5a2b; font-size: 22px; }
.hgfav-coffee p { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.hgfav-coffee .hgfav-btn { background: #8a5a2b; }
.hgfav-coffee .hgfav-btn:hover, .hgfav-coffee .hgfav-btn:focus { background: #6f4720; }

/* --- Honest-notes / disclosure box --- */
.hgfav-notes {
  margin: 34px 0 0;
  background: #f2f6f9;
  border: 1px solid #dbe5ec;
  border-radius: 16px;
  padding: 20px 24px;
  box-sizing: border-box;
}
.hgfav-notes h2 { font-size: 23px; margin: 0 0 10px; }
.hgfav-notes p, .hgfav-notes li { font-size: 16px; line-height: 1.6; }
.hgfav-notes ul { margin: 0 0 10px; padding-left: 22px; }
.hgfav-notes p { margin: 0 0 10px; }
.hgfav-amazon-disclosure {
  font-size: 14px;
  color: #666;
  margin: 26px 0 0;
  text-align: center;
}
