/* ItaBag.wiki v1.1 — Dreamy Pastel Kawaii & Oshikatsu Collector's Handbook */
:root {
  --ibw-bg: #fff8fc;
  --ibw-surface: #ffffff;
  --ibw-surface-soft: #fdf4ff;
  --ibw-border: #f3d8ee;
  --ibw-border-lav: #e4d4fc;
  --ibw-ink: #3b2848;
  --ibw-muted: #6e5a7d;
  --ibw-pink: #f472b6;
  --ibw-pink-deep: #db2777;
  --ibw-pink-soft: #fce7f3;
  --ibw-lav: #8b5cf6;
  --ibw-lav-deep: #7c3aed;
  --ibw-lav-soft: #f3e8ff;
  --ibw-mint: #14b8a6;
  --ibw-mint-soft: #ccfbf1;
  --ibw-sky-soft: #e0f2fe;
  --ibw-radius: 20px;
  --ibw-font-display: 'Fredoka', 'Quicksand', ui-rounded, 'Hiragino Maru Gothic ProN', system-ui, sans-serif;
  --ibw-font-body: 'Nunito', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Global Kawaii Scrapbook Canvas (Blocksy seamless overrides) */
body.wp-theme-blocksy {
  background-color: var(--ibw-bg) !important;
  background-image: radial-gradient(#f2d2eb 1.15px, transparent 1.15px) !important;
  background-size: 22px 22px !important;
  color: var(--ibw-ink) !important;
  font-family: var(--ibw-font-body) !important;
}
body.wp-theme-blocksy h1,
body.wp-theme-blocksy h2,
body.wp-theme-blocksy h3,
body.wp-theme-blocksy h4,
.site-title {
  font-family: var(--ibw-font-display) !important;
  color: var(--ibw-ink) !important;
  letter-spacing: -0.01em;
}
body.wp-theme-blocksy a {
  color: var(--ibw-lav-deep);
}
body.wp-theme-blocksy a:hover {
  color: var(--ibw-pink-deep);
}

/* Header & Footer Pastel Polish */
header.ct-header,
header.ct-header [data-row] {
  background: rgba(255, 251, 254, 0.92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--ibw-border) !important;
}
.site-title a {
  font-family: var(--ibw-font-display) !important;
  font-weight: 700 !important;
  font-size: 23px !important;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-title a::after {
  content: ' ♡';
  -webkit-text-fill-color: #f472b6;
}
header.ct-header .menu > li > a {
  font-family: var(--ibw-font-display) !important;
  font-weight: 500 !important;
  font-size: 14.5px !important;
  color: var(--ibw-ink) !important;
  border-radius: 999px;
  padding: 6px 12px !important;
  transition: background 0.18s ease, color 0.18s ease;
}
header.ct-header .menu > li > a:hover {
  background: var(--ibw-pink-soft) !important;
  color: var(--ibw-pink-deep) !important;
}
/* Hide default Blocksy bare CreativeThemes footer & replace with our 4-col Kawaii Footer */
footer#footer.ct-footer {
  display: none !important;
}
.ibw-site-footer {
  background: linear-gradient(180deg, #fff5fc 0%, #f5ebff 100%);
  border-top: 2.5px dashed #efc8e8;
  padding: 52px 24px 28px;
  margin-top: 32px;
  color: var(--ibw-muted);
}
.ibw-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.ibw-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.15fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1.5px dashed #e6ccf5;
}
@media (max-width: 900px) {
  .ibw-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .ibw-footer-grid {
    grid-template-columns: 1fr;
  }
}
.ibw-footer-logo {
  display: inline-block;
  font-family: var(--ibw-font-display);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none !important;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.ibw-footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ibw-muted);
  margin: 0 0 14px;
}
.ibw-footer-perk {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #f5c6e4;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ibw-ink);
}
.ibw-footer-col h4 {
  font-family: var(--ibw-font-display) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ibw-ink) !important;
  margin: 0 0 12px !important;
}
.ibw-footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ibw-footer-col li a {
  font-size: 13.5px;
  color: var(--ibw-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.15s ease;
}
.ibw-footer-col li a:hover {
  color: var(--ibw-pink-deep) !important;
}
.ibw-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #8b769d;
}

/* Clean Homepage wrapper (remove awkward empty white box at bottom) */
.home .hero-section,
.home .entry-header {
  display: none !important;
}
.home #main .ct-container-full,
.home #main .ct-container {
  padding-top: 24px !important;
  padding-bottom: 16px !important;
}
.home article.page,
.home .entry-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}
/* Category archive cards pastel polish */
.archive .entries article.entry-card {
  background: #ffffff !important;
  border: 2px solid var(--ibw-border) !important;
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.06) !important;
}
.archive .entries article.entry-card img.ibw-archive-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.single-post .entry-content,
.page:not(.home) .entry-content {
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--ibw-border);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 38px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.06);
}

/* Cute Editorial Meta Ribbon */
.ibw-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  color: var(--ibw-muted);
  background: linear-gradient(90deg, #fdf2f8 0%, #f5f3ff 100%);
  border: 1.5px dashed var(--ibw-border);
  border-radius: 999px;
  padding: 7px 16px;
  margin: 0 0 22px;
}
.ibw-meta-pill {
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
  color: #ffffff;
  font-family: var(--ibw-font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  padding: 3px 11px;
  border-radius: 999px;
}

/* Answer-First Kawaii Memo Box */
.ibw-answer-box {
  background: linear-gradient(135deg, #fff1f7 0%, #f5f0ff 55%, #f0f9ff 100%);
  border: 2px solid #f5c6e4;
  border-left: 6px solid var(--ibw-pink);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 0 0 26px;
  box-shadow: 0 8px 22px rgba(244, 114, 182, 0.09);
}
.ibw-answer-label {
  display: inline-block;
  font-family: var(--ibw-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ibw-pink-deep);
  background: #ffffff;
  border: 1px solid #f9a8d4;
  padding: 3px 11px;
  border-radius: 999px;
  margin: 0 0 10px;
}
.ibw-answer-label::before {
  content: '✿ ';
}
.ibw-answer-box p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ibw-ink);
}

/* Dreamy Pastel Spec Card Table */
.ibw-infobox {
  background: #ffffff;
  border: 2px solid var(--ibw-border-lav);
  border-radius: 20px;
  overflow: hidden;
  margin: 22px 0 28px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.07);
}
.ibw-infobox-title {
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
  color: #ffffff !important;
  font-family: var(--ibw-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 18px;
  margin: 0 !important;
}
.ibw-infobox-title::before {
  content: '✦ ';
}
.ibw-infobox table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 !important;
  font-size: 14.5px;
}
.ibw-infobox th,
.ibw-infobox td {
  padding: 11px 16px;
  border-bottom: 1px dashed var(--ibw-border);
  text-align: left;
  vertical-align: top;
}
.ibw-infobox tr:last-child th,
.ibw-infobox tr:last-child td {
  border-bottom: none;
}
.ibw-infobox th {
  width: 34%;
  background: #fdf7ff;
  color: var(--ibw-ink);
  font-weight: 700;
}
.ibw-infobox td {
  color: var(--ibw-muted);
}

/* =========================================================
   HOMEPAGE PORTAL — DREAMY KAWAII CLEAR-WINDOW SHOWCASE
   ========================================================= */
.ibw-portal {
  max-width: 1160px;
  margin: 0 auto;
}

.ibw-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #ffeef8 0%, #f3e8ff 52%, #e6f4ff 100%);
  border: 2.5px solid #ffffff;
  outline: 2px solid #f3cde8;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
  margin-bottom: 38px;
  box-shadow: 0 18px 44px rgba(167, 139, 250, 0.16);
  overflow: hidden;
}
@media (max-width: 880px) {
  .ibw-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.ibw-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ibw-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #ffffff;
  color: var(--ibw-pink-deep);
  border: 1.5px solid #fbcfe8;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.12);
}
.ibw-hero h1 {
  font-size: clamp(28px, 3.8vw, 42px) !important;
  line-height: 1.15 !important;
  color: var(--ibw-ink) !important;
  margin: 0 0 12px !important;
}
.ibw-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ibw-hero p {
  color: var(--ibw-muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* Cute Search Bar */
.ibw-search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 0 14px;
}
@media (max-width: 880px) {
  .ibw-search-wrap { margin-left: auto; margin-right: auto; }
}
.ibw-search-input {
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid #e9c4f5;
  background: #ffffff;
  color: var(--ibw-ink);
  font-family: var(--ibw-font-body);
  font-size: 14.5px;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.10);
  outline: none;
}
.ibw-search-input:focus {
  border-color: var(--ibw-pink);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
}
.ibw-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(139, 92, 246, 0.16);
  text-align: left;
  z-index: 40;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}
.ibw-search-results a {
  display: block;
  padding: 11px 16px;
  border-bottom: 1px dashed #f3e8ff;
  text-decoration: none;
  color: var(--ibw-ink);
  font-size: 14px;
  font-weight: 700;
}
.ibw-search-results a:hover {
  background: var(--ibw-pink-soft);
  color: var(--ibw-pink-deep);
}
.ibw-search-results a span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ibw-muted);
}

/* Quick Sticker Tags */
.ibw-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 880px) {
  .ibw-quick-tags { justify-content: center; }
}
.ibw-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid #f3cde8;
  color: var(--ibw-ink) !important;
  text-decoration: none !important;
  font-family: var(--ibw-font-display);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  transition: transform 0.16s ease, background 0.16s ease;
}
.ibw-tag-chip:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--ibw-pink);
  color: var(--ibw-pink-deep) !important;
}

/* Right Hero: Stylized Clear PVC Window Collage */
.ibw-pvc-window {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 3px solid #ffffff;
  border-radius: 26px;
  padding: 14px;
  box-shadow: inset 0 0 0 2px rgba(244, 114, 182, 0.28), 0 14px 32px rgba(139, 92, 246, 0.14);
}
.ibw-pvc-window::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.25) 100%);
  pointer-events: none;
}
.ibw-pvc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ibw-pvc-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ffffff;
  background: #fff5fb;
  aspect-ratio: 1 / 1;
  display: block;
  box-shadow: 0 4px 12px rgba(59, 40, 72, 0.08);
  transition: transform 0.2s ease;
}
.ibw-pvc-tile:hover {
  transform: scale(1.03);
}
.ibw-pvc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ibw-pvc-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ibw-ink);
  font-family: var(--ibw-font-display);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ibw-pvc-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ibw-muted);
}
.ibw-pvc-bar strong {
  color: var(--ibw-pink-deep);
}

/* Section Headings */
.ibw-section-title {
  font-family: var(--ibw-font-display) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  color: var(--ibw-ink) !important;
  margin: 0 0 18px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ibw-section-sub {
  font-family: var(--ibw-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ibw-lav);
  background: var(--ibw-lav-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Cute Visual Vibe Strip (6 Photo Circles/Squircles) */
.ibw-vibe-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .ibw-vibe-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .ibw-vibe-strip { grid-template-columns: repeat(2, 1fr); }
}
.ibw-vibe-card {
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 22px;
  padding: 10px 10px 14px;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.ibw-vibe-card:hover {
  transform: translateY(-4px);
  border-color: var(--ibw-pink);
}
.ibw-vibe-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 9px;
  display: block;
}
.ibw-vibe-card span {
  display: block;
  font-family: var(--ibw-font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ibw-ink);
  line-height: 1.25;
}
.ibw-vibe-card small {
  display: block;
  font-size: 11.5px;
  color: var(--ibw-muted);
  margin-top: 2px;
}

/* Pastel Interactive Tool Cards */
.ibw-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 42px;
}
.ibw-tool-banner {
  background: linear-gradient(135deg, #fff5fb 0%, #f7f0ff 100%);
  border: 2px solid #f5c6e4;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 26px rgba(244, 114, 182, 0.10);
}
.ibw-tool-banner.ibw-tool-teal {
  background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%);
  border-color: #99f6e4;
  box-shadow: 0 10px 26px rgba(20, 184, 166, 0.10);
}
.ibw-tool-banner h3 {
  margin: 0 0 6px !important;
  font-size: 20px !important;
}
.ibw-tool-banner p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ibw-muted);
  line-height: 1.6;
}

/* Cute Rounded Pill Buttons */
.ibw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #f472b6 0%, #8b5cf6 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: var(--ibw-font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.24);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ibw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(139, 92, 246, 0.30);
  color: #ffffff !important;
}
.ibw-btn-mint {
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.25);
}

/* Cute Category Directory Grid */
.ibw-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  margin-bottom: 42px;
}
.ibw-cat-card {
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 20px;
  padding: 18px 20px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.05);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.ibw-cat-card:hover {
  border-color: var(--ibw-lav);
  transform: translateY(-3px);
}
.ibw-cat-card h3 {
  margin: 0 0 6px !important;
  font-size: 17px !important;
  color: var(--ibw-ink) !important;
}
.ibw-cat-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ibw-muted);
  line-height: 1.55;
}

/* Photo-Enriched Cute Entry Cards */
.ibw-entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.ibw-entry-card {
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.ibw-entry-card:hover {
  transform: translateY(-4px);
  border-color: var(--ibw-pink);
}
.ibw-entry-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
  overflow: hidden;
}
.ibw-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.ibw-entry-card:hover .ibw-entry-thumb img {
  transform: scale(1.05);
}
.ibw-entry-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ibw-pink-deep);
  font-family: var(--ibw-font-display);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #fbcfe8;
}
.ibw-entry-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ibw-entry-card h3 {
  margin: 0 !important;
  font-size: 16.5px !important;
  line-height: 1.35 !important;
}
.ibw-entry-card h3 a {
  color: var(--ibw-ink) !important;
  text-decoration: none !important;
}
.ibw-entry-card h3 a:hover {
  color: var(--ibw-pink-deep) !important;
}
.ibw-entry-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ibw-muted);
  line-height: 1.55;
}

/* Interactive Tool App Box (Pastel Stationery Style) */
.ibw-tool-app {
  background: linear-gradient(180deg, #ffffff 0%, #fff7fd 100%);
  border: 2px solid var(--ibw-border);
  border-radius: 24px;
  padding: 26px;
  margin: 22px 0 32px;
  box-shadow: 0 12px 30px rgba(244, 114, 182, 0.10);
}
.ibw-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 820px) {
  .ibw-form-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ibw-form-grid { grid-template-columns: 1fr; }
}
.ibw-field label {
  display: block;
  font-family: var(--ibw-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ibw-ink);
  margin-bottom: 6px;
}
.ibw-field input,
.ibw-field select {
  width: 100%;
  min-height: 44px;
  height: auto !important;
  line-height: 1.35 !important;
  padding: 9px 14px;
  border: 2px solid var(--ibw-border-lav);
  border-radius: 14px;
  font-family: var(--ibw-font-body);
  font-size: 14px;
  background: #ffffff;
  color: var(--ibw-ink);
}
.ibw-calc-output {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #fff1f8 0%, #f5f0ff 100%);
  border: 2px dashed #e9c4f5;
  border-radius: 20px;
  padding: 22px;
}
@media (max-width: 720px) {
  .ibw-calc-output { grid-template-columns: 1fr; }
}
.ibw-stat-big {
  font-family: var(--ibw-font-display);
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
  margin: 0 0 6px;
}
.ibw-svg-box {
  background: #ffffff;
  border: 2.5px solid #f5c6e4;
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(244, 114, 182, 0.12);
}
.ibw-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.ibw-check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ibw-ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ibw-check-pill:hover {
  border-color: var(--ibw-pink);
  background: #fff5fb;
}
.ibw-check-pill input {
  accent-color: var(--ibw-pink-deep);
  width: 16px;
  height: 16px;
}

/* Itamoon Kawaii Reference Pick Modules */
.ibw-inline-pick {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  background: linear-gradient(135deg, #fff5fb 0%, #f8f2ff 100%);
  border: 2px solid #f5c6e4;
  border-radius: 22px;
  padding: 18px;
  margin: 28px 0;
  align-items: center;
  box-shadow: 0 10px 24px rgba(244, 114, 182, 0.10);
}
@media (max-width: 600px) {
  .ibw-inline-pick { grid-template-columns: 1fr; }
}
.ibw-inline-pick img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 14px rgba(59, 40, 72, 0.08);
  display: block;
}
.ibw-kicker {
  font-family: var(--ibw-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ibw-pink-deep);
  margin: 0 0 4px;
}
.ibw-pick-title {
  font-family: var(--ibw-font-display);
  font-size: 17.5px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
}
.ibw-pick-title a {
  color: var(--ibw-ink) !important;
  text-decoration: none !important;
}
.ibw-pick-desc {
  font-size: 13.5px;
  color: var(--ibw-muted);
  margin: 0 0 10px;
  line-height: 1.55;
}
.ibw-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
}
.ibw-price-now {
  font-family: var(--ibw-font-display);
  font-weight: 700;
  color: var(--ibw-pink-deep);
  font-size: 17px;
}
.ibw-price-was {
  text-decoration: line-through;
  color: #a799b5;
  font-size: 13px;
}
.ibw-discount-pill {
  background: #fdf2f8;
  border: 1px solid #f9a8d4;
  color: #be185d;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.ibw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ibw-copy-btn {
  background: #ffffff;
  border: 1.5px dashed #d8b4fe;
  color: var(--ibw-lav-deep);
  font-family: var(--ibw-font-display);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.ibw-copy-btn:hover {
  border-color: var(--ibw-pink);
  color: var(--ibw-pink-deep);
}

.ibw-shelf {
  background: linear-gradient(135deg, #fff5fb 0%, #f5f0ff 100%);
  border: 2px solid var(--ibw-border);
  border-radius: 26px;
  padding: 26px;
  margin: 34px 0 16px;
}
.ibw-shelf-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}
.ibw-shelf-head h2 {
  margin: 0 0 4px !important;
  font-size: 22px !important;
}
.ibw-shelf-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ibw-muted);
}
.ibw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.ibw-card {
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.ibw-card:hover {
  transform: translateY(-3px);
  border-color: var(--ibw-pink);
}
.ibw-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.ibw-card h3 {
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  font-weight: 600 !important;
}
.ibw-card h3 a {
  color: var(--ibw-ink) !important;
  text-decoration: none !important;
}
.ibw-card-cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
  color: var(--ibw-pink-deep) !important;
  font-family: var(--ibw-font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none !important;
}
.ibw-card-cta:hover {
  background: linear-gradient(135deg, #f472b6 0%, #8b5cf6 100%);
  color: #ffffff !important;
}
.ibw-disclosure {
  font-size: 12px;
  color: #8c7a9b;
  margin: 14px 0 0;
}
.ibw-more-wrap {
  margin-top: 16px;
}
.ibw-more-wrap summary {
  cursor: pointer;
  font-family: var(--ibw-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ibw-pink-deep);
  padding: 8px 0;
}


/* =========================================================
   v1.3.0 — NO COMMENTS + AESTHETIC QUIZ + PINTEREST CARDS + STICKY WIKI10 BAR
   ========================================================= */
#comments,
.ct-comments,
.comments-area,
.comment-respond {
  display: none !important;
}

/* Pinterest-Friendly Kawaii Infographic Card */
.ibw-infographic-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff7fd 100%);
  border: 2px solid #f5c6e4;
  border-radius: 24px;
  padding: 18px;
  margin: 28px auto;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(244, 114, 182, 0.12);
}
.ibw-infographic-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto 12px;
  border: 1.5px solid #f3d8ee;
}
.ibw-infographic-cap {
  font-size: 13px;
  color: var(--ibw-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.ibw-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e60023;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: var(--ibw-font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.22);
  transition: transform 0.15s ease;
}
.ibw-pin-btn:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Find Your Aesthetic Ita Bag Quiz */
.ibw-quiz-app {
  background: linear-gradient(135deg, #fff5fb 0%, #f6f0ff 55%, #eff8ff 100%);
  border: 2.5px solid #ffffff;
  outline: 2px solid #f3cde8;
  border-radius: 26px;
  padding: clamp(20px, 3.5vw, 34px);
  margin: 20px 0 34px;
  box-shadow: 0 16px 38px rgba(139, 92, 246, 0.12);
}
.ibw-quiz-progress-wrap {
  height: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #f3cde8;
  margin-bottom: 18px;
}
.ibw-quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #f472b6 0%, #8b5cf6 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.ibw-quiz-step-label {
  font-family: var(--ibw-font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ibw-pink-deep);
  margin-bottom: 6px;
}
.ibw-quiz-q {
  font-family: var(--ibw-font-display);
  font-size: clamp(20px, 2.8vw, 26px);
  color: var(--ibw-ink);
  margin: 0 0 18px;
  line-height: 1.25;
}
.ibw-quiz-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.ibw-quiz-opt {
  text-align: left;
  background: #ffffff;
  border: 2px solid var(--ibw-border);
  border-radius: 18px;
  padding: 15px 16px;
  cursor: pointer;
  font-family: var(--ibw-font-body);
  color: var(--ibw-ink);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ibw-quiz-opt:hover {
  transform: translateY(-2px);
  border-color: var(--ibw-pink);
  box-shadow: 0 8px 20px rgba(244, 114, 182, 0.16);
}
.ibw-quiz-opt strong {
  display: block;
  font-family: var(--ibw-font-display);
  font-size: 15.5px;
  margin-bottom: 4px;
}
.ibw-quiz-opt span {
  display: block;
  font-size: 13px;
  color: var(--ibw-muted);
  line-height: 1.45;
}
.ibw-quiz-result-head {
  text-align: center;
  background: #ffffff;
  border: 2px solid #f5c6e4;
  border-radius: 22px;
  padding: 24px 20px;
  margin-bottom: 22px;
}
.ibw-quiz-result-head h2 {
  margin: 8px 0 8px !important;
  font-size: clamp(24px, 3.2vw, 32px) !important;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ibw-quiz-result-head p {
  max-width: 620px;
  margin: 0 auto 14px;
  font-size: 15px;
  color: var(--ibw-muted);
  line-height: 1.6;
}

/* Mobile-Friendly Dismissible Sticky WIKI10 Bar on Articles */
.ibw-sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 140%);
  width: min(560px, calc(100vw - 24px));
  background: rgba(255, 250, 254, 0.96);
  backdrop-filter: blur(12px);
  border: 2px solid #f5b8df;
  border-radius: 999px;
  padding: 8px 12px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.22);
  z-index: 9990;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.ibw-sticky-bar.is-visible {
  transform: translate(-50%, 0);
}
.ibw-sticky-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ibw-ink);
  line-height: 1.25;
}
.ibw-sticky-text strong {
  color: var(--ibw-pink-deep);
}
.ibw-sticky-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ibw-sticky-close {
  background: transparent;
  border: none;
  color: #9b88ab;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}
.ibw-sticky-close:hover {
  color: var(--ibw-pink-deep);
}
@media (max-width: 520px) {
  .ibw-sticky-bar {
    border-radius: 18px;
    padding: 10px 12px;
  }
  .ibw-sticky-text span { display: none; }
}


/* =========================================================
   v1.4.0 — VISUAL QA POLISH (ZERO ORPHAN GRIDS, CLEAN TOC, BREADCRUMBS)
   ========================================================= */
/* Prevent Easy TOC duplicate numbering ("1. 1.") and enforce crisp single decimal numbering */
.ez-toc-counter nav ul li a::before,
#ez-toc-container .ez-toc-list li a::before,
#ez-toc-container .ez-toc-list li::before {
  display: none !important;
  content: none !important;
}
#ez-toc-container ul.ez-toc-list {
  list-style: decimal !important;
  padding-left: 20px !important;
}
#ez-toc-container ul.ez-toc-list ul {
  list-style: disc !important;
  padding-left: 18px !important;
}

/* Kawaii Article Breadcrumbs */
.ibw-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ibw-muted);
  margin: 0 0 12px;
}
.ibw-breadcrumbs a {
  color: var(--ibw-lav-deep) !important;
  text-decoration: none !important;
}
.ibw-breadcrumbs a:hover {
  color: var(--ibw-pink-deep) !important;
}
.ibw-breadcrumbs span.ibw-bc-sep {
  color: #d8b4fe;
}

/* Equal-height Category Cards across BOTH rows */
.ibw-cat-grid {
  grid-auto-rows: 1fr;
}
.ibw-cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Non-heading Shelf & Card Titles (keeps Easy TOC 100% clean) */
.ibw-shelf-title {
  font-family: var(--ibw-font-display) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--ibw-ink) !important;
  margin: 0 0 4px !important;
  line-height: 1.25 !important;
}
.ibw-card-title {
  font-family: var(--ibw-font-display) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ibw-card-title a {
  color: var(--ibw-ink) !important;
  text-decoration: none !important;
}
.ibw-card-title a:hover {
  color: var(--ibw-pink-deep) !important;
}
.ibw-card .ibw-price-row {
  margin-top: auto;
  margin-bottom: 6px;
}
.ibw-card-cta {
  margin-top: 0 !important;
}

/* Perfect 2x2 Grid inside Articles (eliminates 3+1 orphan row!) */
.single-post .ibw-shelf .ibw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px;
}
@media (max-width: 520px) {
  .single-post .ibw-shelf .ibw-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Perfect 4-col Grid on Wide Homepage Trending Picks */
.ibw-home-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .ibw-home-picks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ibw-home-picks-grid { grid-template-columns: 1fr; }
}

/* Perfect 3-col Grid on Quiz Results (eliminates empty 4th column!) */
.ibw-quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) {
  .ibw-quiz-grid { grid-template-columns: 1fr; }
}

/* Keep CTA pills cleanly on 1 line on desktop */
.ibw-calc-output .ibw-btn {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .ibw-calc-output .ibw-btn { white-space: normal; text-align: center; }
}
