:root {
  color-scheme: dark;
  --text: #ffffff;
  --ink: #111111;
  --aqua: #64c9c7;
  --aqua-dark: #3cb5b2;
  --panel: #ffffff;
  --soft: rgba(255, 255, 255, 0.9);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
  --bg-image: url("assets/forest-bg.png");
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Nunito, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #10261f;
}

.font-nunito {
  font-family: Nunito, Inter, system-ui, sans-serif;
}

.font-quicksand {
  font-family: Quicksand, Nunito, system-ui, sans-serif;
}

.font-manrope {
  font-family: Manrope, Inter, system-ui, sans-serif;
}

.font-inter {
  font-family: Inter, system-ui, sans-serif;
}

.font-system {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: -5%;
  z-index: -3;
  background: var(--bg-image) center / cover no-repeat;
  content: "";
  animation: forest-drift 24s ease-in-out infinite alternate;
  transform-origin: center;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(4, 18, 15, 0.2), rgba(4, 18, 15, 0.28)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.36));
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:has(.video-bg)::before {
  display: none;
}

.page-shell {
  position: relative;
  width: min(100%, 600px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 20px 36px;
}

.share-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  opacity: 0.75;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.share-button:hover,
.share-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  opacity: 1;
  transform: translateY(-1px);
}

.share-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.share-feedback {
  position: absolute;
  right: 0;
  top: 50px;
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 650;
  box-shadow: var(--shadow);
  transform: translateY(-4px) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.share-button.is-copied .share-feedback {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.profile {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.avatar {
  width: 78px;
  height: 78px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  object-fit: cover;
}

h1 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
}

.social-links svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.category-list {
  display: grid;
  gap: 24px;
}

.link-search {
  position: relative;
  margin-bottom: 20px;
}

.link-search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(17, 17, 17, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.link-search-input {
  width: 100%;
  min-height: 54px;
  padding: 0 20px 0 50px;
  border: none;
  border-radius: 18px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.link-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.link-search-input::placeholder {
  color: rgba(17, 17, 17, 0.45);
}

.link-search-input:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}

.link-search-empty {
  text-align: center;
  color: var(--soft);
  font-size: 14px;
  margin: 0;
}

.category {
  display: grid;
  gap: 12px;
}

.category summary {
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 18px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 17px;
  font-weight: 560;
  list-style: none;
  text-align: center;
}

.category summary::-webkit-details-marker {
  display: none;
}

.chevron {
  position: relative;
  width: 18px;
  height: 18px;
}

.chevron::before,
.chevron::after {
  position: absolute;
  top: 8px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
  transition: transform 220ms ease;
}

.chevron::before {
  left: 1px;
  transform: rotate(-45deg);
}

.chevron::after {
  right: 1px;
  transform: rotate(45deg);
}

.category:not([open]) .chevron::before {
  transform: rotate(45deg);
}

.category:not([open]) .chevron::after {
  transform: rotate(-45deg);
}

.category-links {
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.category:not([open]) .category-links {
  height: 0;
  opacity: 0;
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: no-preference) {
  .category[open] .category-links {
    animation: category-open-fade 240ms ease;
  }
}

@keyframes category-open-fade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-link {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  min-height: 66px;
  padding: 9px 18px 9px 14px;
  border-radius: 18px;
  background: var(--aqua);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, background 160ms ease;
}

.product-link:hover,
.product-link:focus-visible {
  background: var(--aqua-dark);
  outline: none;
  transform: translateY(-2px);
}

.thumb {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: #298b88;
  font-size: 13px;
  font-weight: 520;
  overflow: hidden;
}

.thumb {
  position: relative;
  contain: paint;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding-inline: 8px;
  text-align: center;
}

.product-copy strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
}

.product-copy small {
  font-size: 12px;
  font-weight: 500;
}

.product-description {
  font-size: 11px;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.72);
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.badge-bestseller {
  position: absolute;
  top: 16px;
  right: -30px;
  transform: rotate(45deg);
  transform-origin: center;
  background: #ff6b6b;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 3px 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  white-space: nowrap;
}

.product-link.is-featured {
  overflow: hidden;
}

.product-link.has-multi-store {
  grid-template-columns: 58px 1fr;
  row-gap: 6px;
}

.store-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  padding-left: 58px;
}

.store-icon,
.store-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
  background-color: #fff;
}

.store-icon svg,
.store-icon-inline svg {
  width: 26px;
  height: 26px;
}

.store-icon-inline {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  margin-top: 4px;
}

.store-icon-inline svg {
  width: 22px;
  height: 22px;
}

.store-icon {
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 140ms ease;
}

.store-icon:hover,
.store-icon:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.store-icon.is-best-price::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  border: 2.5px solid #fff;
}

.store-icon-mercadolivre,
.store-icon-inline.store-icon-mercadolivre {
  background: #ffe600;
  color: #1a1a1a;
}

.store-icon-shopee,
.store-icon-inline.store-icon-shopee {
  background: #ee4d2d;
}

.store-icon-amazon,
.store-icon-inline.store-icon-amazon {
  background: #131921;
  box-shadow: inset 0 -2px 0 #ff9900, 0 2px 6px rgba(0, 0, 0, 0.18);
}

.store-icon-tiktok,
.store-icon-inline.store-icon-tiktok {
  background: #010101;
  box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55, 0 2px 6px rgba(0, 0, 0, 0.18);
}

.store-icon-outra,
.store-icon-inline.store-icon-outra {
  background: #6b7280;
}

.subscribe-card {
  margin-top: 24px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.subscribe-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 650;
}

.subscribe-card p {
  margin: 0;
  color: #202020;
  line-height: 1.4;
}

.subscribe-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.subscribe-form input,
.subscribe-form button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.subscribe-form input {
  border: 2px solid var(--ink);
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
}

.subscribe-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}

.affiliate-note {
  margin: 18px auto 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 480px) {
  .page-shell {
    padding: 38px 14px 28px;
  }

  .share-button {
    top: 30px;
    right: 14px;
  }

  .profile {
    grid-template-columns: 70px 1fr;
    gap: 14px;
  }

  .avatar {
    width: 70px;
    height: 70px;
  }

  .product-link {
    grid-template-columns: 50px 1fr 18px;
    padding-inline: 14px;
  }

  .page-pills {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-pills::-webkit-scrollbar {
    display: none;
  }

  .page-pill {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .category-links,
  .chevron::before,
  .chevron::after,
  .product-link {
    transition: none;
  }
}

@keyframes forest-drift {
  0% {
    background-position: 48% 50%;
    transform: scale(1);
  }

  45% {
    background-position: 52% 48%;
    transform: scale(1.035);
  }

  100% {
    background-position: 50% 53%;
    transform: scale(1.07);
  }
}

.store-icon img,
.store-icon-inline img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  border-radius: inherit;
}


.thumb {
  width: var(--thumb-size, 44px);
  height: var(--thumb-size, 44px);
}

.product-link {
  grid-template-columns: calc(var(--thumb-size, 44px) + 14px) 1fr 58px;
}


.has-store-list {
  grid-template-columns: 76px 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
  column-gap: 14px;
  row-gap: 6px;
  padding: 12px 16px;
}

.has-store-list .thumb {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 76px;
  height: 100%;
  border-radius: 14px;
  align-self: stretch;
}

.has-store-list .product-copy {
  grid-column: 2;
  grid-row: 1;
  justify-items: start;
  text-align: left;
  padding-inline: 0;
}

.store-rows {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 6px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 160ms ease;
}

.store-row.is-best-price {
  background: rgba(255, 255, 255, 0.45);
}

.store-row-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.store-row-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  contain: paint;
}

.store-row-logo:has(img) {
  background-color: transparent;
  box-shadow: none;
}

.store-row-logo svg {
  width: 20px;
  height: 20px;
}

.store-row-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1px;
  box-sizing: border-box;
  border-radius: inherit;
}

.store-row-name {
  font-size: 12px;
  font-weight: 600;
  color: #111111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-row-badge {
  background: #16a34a;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.store-row-cta {
  background: #ffffff;
  color: #0d5c59;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}


.page-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin: 0 0 18px;
  padding: 5px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.page-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}

.page-pill:hover {
  color: #fff;
}

.page-pill.is-active {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}


/* Blog */
.blog-shell {
  max-width: 720px;
}

.blog-profile {
  align-items: center;
}

.blog-site-name {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.blog-listing-title {
  margin: 8px 0 18px;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.blog-section-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.blog-back-link:hover {
  color: #fff;
  transform: translateX(-2px);
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.blog-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.blog-filter-btn.is-active {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.blog-featured {
  margin-bottom: 24px;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, background 140ms ease;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card-body {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
}
.blog-category-tag {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 9px;
}

.blog-post-title {
  margin: 8px 0 18px;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.blog-post-cover {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.blog-post-card {
  background: var(--panel);
  color: var(--ink);
  border-radius: 22px;
  padding: 28px 24px 32px;
  box-shadow: var(--shadow);
}

.blog-post-card .blog-category-tag {
  background: rgba(60, 181, 178, 0.14);
  color: var(--aqua-dark);
}

.blog-post-card .blog-post-title {
  margin: 10px 0 16px;
  color: var(--ink);
  text-shadow: none;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.blog-post-meta-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.blog-post-meta-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.6);
}

.blog-post-meta-text strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 4px;
}
.blog-post-content {
  color: rgba(17, 17, 17, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

.blog-post-content p {
  margin: 0 0 20px;
}

.blog-post-content p:empty,
.blog-post-content p:has(> br:only-child) {
  display: none;
}

.blog-post-content h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.3;
}

.blog-post-content h3 {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.blog-post-content a {
  color: var(--aqua-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-content img {
  max-width: 100%;
  border-radius: 14px;
  margin: 8px 0 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.blog-post-content li {
  margin-bottom: 8px;
}

.blog-post-content blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--aqua);
  color: rgba(17, 17, 17, 0.7);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
}

.blog-post-content strong {
  color: var(--ink);
  font-weight: 750;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.blog-tag {
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: rgba(17, 17, 17, 0.65);
  font-size: 12px;
  font-weight: 650;
  padding: 5px 12px;
}

@media (max-width: 480px) {
  .blog-post-card {
    padding: 22px 18px 26px;
    border-radius: 18px;
  }
  .blog-post-cover {
    height: 190px;
    border-radius: 16px;
  }
}


.blog-search {
  position: relative;
  margin: 0 0 16px;
}

.blog-search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(17, 17, 17, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  min-height: 50px;
  padding: 0 20px 0 50px;
  border: none;
  border-radius: 18px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.blog-search-empty {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin: 0 0 16px;
}

.blog-card-date {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.7);
  margin: 6px 0 2px;
}

.blog-load-more {
  display: block;
  margin: 4px auto 28px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.blog-post-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 12px;
  margin: 16px 0;
}


.link-search-other {
  margin: -8px 0 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.link-search-other-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.link-search-other-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  text-decoration: none;
  color: var(--ink);
}

.link-search-other-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.link-search-other-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.link-search-other-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.link-search-other-item strong {
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.link-search-other-meta {
  font-size: 12px;
  color: var(--soft);
}


/* ==========================================================
   Tema txt.jess · papel, vinho e assinatura (2026-10-02)
   Ativado no painel em Aparência > Tema.
   ========================================================== */
body.theme-txtjess {
  color-scheme: light;
  --text: #22261f;
  --ink: #22261f;
  --panel: #fffdf8;
  --soft: #545b50;
  --shadow: none;
  --tj-papel: #f8f5ed;
  --tj-linha: #d7d8cc;
  --tj-linha-s: #e7e5da;
  --tj-vinho: #7e3a4f;
  --tj-livros: #9c4a63;
  --tj-acao: #a4553e;
  --tj-vida: #3f6543;
  --tj-vida-c: #e4efe5;
  background: var(--tj-papel);
  color: var(--ink);
}

body.theme-txtjess::before,
body.theme-txtjess::after {
  display: none;
}

.theme-txtjess .page-shell {
  padding-top: 24px;
}

.theme-txtjess .share-button {
  top: 38px;
  right: 34px;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  opacity: 0.9;
}

.theme-txtjess .profile {
  grid-template-columns: 64px 1fr;
  gap: 16px;
  margin-bottom: 18px;
  padding: 20px 64px 20px 18px;
  border-radius: 18px;
  background: var(--tj-vinho);
  color: #fff;
}

.theme-txtjess .avatar {
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  box-shadow: none;
}

.theme-txtjess h1 {
  margin-bottom: 10px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  text-shadow: none;
}

.theme-txtjess .social-links {
  gap: 14px;
}

.theme-txtjess .social-links svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  filter: none;
}

.theme-txtjess .page-pills {
  gap: 18px;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 4px;
  justify-content: flex-start;
  border-radius: 0;
  border-bottom: 1px solid var(--tj-linha);
  background: transparent;
  backdrop-filter: none;
}

.theme-txtjess .page-pill {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.theme-txtjess .page-pill:hover {
  color: var(--ink);
}

.theme-txtjess .page-pill.is-active {
  border-bottom-color: var(--tj-livros);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.theme-txtjess .link-search-input {
  min-height: 48px;
  border: 1px solid var(--tj-linha);
  border-radius: 999px;
  background: var(--panel);
  font-size: 15px;
}

.theme-txtjess .link-search-input:focus-visible {
  outline-color: var(--tj-livros);
}

.theme-txtjess .link-search-empty {
  color: var(--soft);
}

.theme-txtjess .category-list {
  gap: 6px;
}

.theme-txtjess .category {
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tj-linha);
}

.theme-txtjess .category summary {
  min-height: 52px;
  padding: 0 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
}

.theme-txtjess .chevron::before,
.theme-txtjess .chevron::after {
  background: var(--tj-livros);
}

.theme-txtjess .category-links {
  gap: 10px;
}

.theme-txtjess .product-link {
  border: 1px solid var(--tj-linha);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: none;
}

.theme-txtjess .product-link:hover,
.theme-txtjess .product-link:focus-visible {
  border-color: var(--tj-livros);
  background: #fff;
}

.theme-txtjess .thumb {
  background: #f1e2e6;
  color: var(--tj-vinho);
}

.theme-txtjess .has-store-list .thumb {
  border-radius: 10px;
}

.theme-txtjess .product-copy strong {
  font-weight: 700;
}

.theme-txtjess .product-description {
  color: var(--soft);
}

.theme-txtjess .badge-bestseller {
  background: var(--tj-acao);
  box-shadow: none;
}

.theme-txtjess .store-row.is-best-price {
  background: var(--tj-vida-c);
}

.theme-txtjess .store-row-badge {
  background: var(--tj-vida);
}

.theme-txtjess .store-row-cta {
  background: var(--tj-acao);
  color: #fff;
}

.theme-txtjess .subscribe-card {
  border: 1px solid var(--tj-linha);
  box-shadow: none;
}

.theme-txtjess .subscribe-card h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.theme-txtjess .subscribe-form input {
  border: 1px solid var(--tj-linha);
}

.theme-txtjess .subscribe-form button {
  background: var(--tj-acao);
}

.theme-txtjess .affiliate-note {
  color: var(--soft);
  text-shadow: none;
}

.theme-txtjess .affiliate-note::after {
  display: block;
  margin-top: 14px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 18px;
  color: var(--tj-livros);
  content: "txt.jess";
}

.theme-txtjess .link-search-other {
  border: 1px solid var(--tj-linha);
}

@media (max-width: 480px) {
  .theme-txtjess .page-shell {
    padding-top: 14px;
  }

  .theme-txtjess .share-button {
    top: 26px;
    right: 26px;
  }

  .theme-txtjess .profile {
    grid-template-columns: 56px 1fr;
    padding: 16px 56px 16px 14px;
  }

  .theme-txtjess .avatar {
    width: 56px;
    height: 56px;
  }

  .theme-txtjess h1 {
    font-size: 28px;
  }
}

/* Cartão com lojas não passa da borda no celular (2026-10-02) */
.has-store-list {
  grid-template-columns: 76px minmax(0, 1fr);
}

.store-row-info {
  flex-wrap: wrap;
}

@media (max-width: 400px) {
  .has-store-list {
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 10px;
    padding: 10px 12px;
  }

  .has-store-list .thumb {
    width: 62px;
  }

  .store-row-logo {
    width: 54px;
    height: 28px;
  }

  .store-row-cta {
    padding: 6px 10px;
  }
}

/* Blog no tema txt.jess */
.theme-txtjess .blog-site-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  text-shadow: none;
}

.theme-txtjess .blog-listing-title,
.theme-txtjess .blog-section-title {
  color: var(--ink);
  text-shadow: none;
}

.theme-txtjess .blog-listing-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 34px;
}

.theme-txtjess .blog-back-link,
.theme-txtjess .blog-card-date,
.theme-txtjess .blog-search-empty {
  color: var(--soft);
}

.theme-txtjess .blog-back-link:hover {
  color: var(--ink);
}

.theme-txtjess .blog-filter-btn,
.theme-txtjess .blog-load-more {
  border-color: var(--tj-linha);
  background: var(--panel);
  color: var(--soft);
}

.theme-txtjess .blog-filter-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.theme-txtjess .blog-card {
  border: 1px solid var(--tj-linha);
  background: var(--panel);
  backdrop-filter: none;
  color: var(--ink);
}

.theme-txtjess .blog-card:hover {
  border-color: var(--tj-livros);
  background: #fff;
}

.theme-txtjess .blog-category-tag,
.theme-txtjess .blog-post-card .blog-category-tag {
  background: #f1e2e6;
  color: var(--tj-vinho);
}

.theme-txtjess .blog-post-card {
  border: 1px solid var(--tj-linha);
  box-shadow: none;
}

.theme-txtjess .blog-post-card .blog-post-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

.theme-txtjess .blog-post-content a {
  color: var(--tj-vinho);
}

.theme-txtjess .blog-post-content blockquote {
  border-left-color: var(--tj-livros);
}

.theme-txtjess .blog-search-input {
  border: 1px solid var(--tj-linha);
  border-radius: 999px;
}

/* Confirmação da newsletter */
.subscribe-thanks {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e4efe5;
  color: #22261f !important;
  font-weight: 650;
}

/* Preço, cupom, promoção e vídeo do produto (2026-10-02) */
.product-deal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}

.has-store-list .product-deal {
  justify-content: flex-start;
}

.product-price {
  font-size: 15px;
  font-weight: 800;
}

.product-price s {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.65;
}

.product-promo,
.product-coupon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.product-promo {
  background: #ff6b6b;
  color: #fff;
}

.product-coupon {
  border: 1px dashed rgba(17, 17, 17, 0.45);
  background: rgba(255, 255, 255, 0.55);
  color: #111;
}

.product-video {
  margin-top: -8px;
}

.product-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.product-video-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.product-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #000;
}

.product-video.is-vertical iframe {
  aspect-ratio: 9 / 16;
  max-height: 620px;
}

.top-week summary span:first-child::before {
  content: "★ ";
  color: #ff9f43;
}

.theme-txtjess .product-promo {
  background: var(--tj-acao);
}

.theme-txtjess .product-coupon {
  border-color: var(--tj-vinho);
  background: #f1e2e6;
  color: var(--tj-vinho);
}

.theme-txtjess .product-video-btn {
  border: 1px solid var(--tj-linha);
  background: var(--panel);
  color: var(--tj-vinho);
}

.theme-txtjess .top-week summary span:first-child::before {
  color: var(--tj-livros);
}

/* Newsletter com mais cara de convite (2026-10-02) */
.subscribe-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 22px;
}

.subscribe-card::before {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #64c9c7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / 22px no-repeat;
  content: "";
}

.subscribe-card .subscribe-form {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .subscribe-card .subscribe-form {
    grid-template-columns: 1fr 1.3fr;
  }

  .subscribe-card .subscribe-form button {
    grid-column: 1 / -1;
  }
}

.subscribe-note {
  margin: 10px 0 0 !important;
  font-size: 11px;
  opacity: 0.7;
}

.theme-txtjess .subscribe-card {
  background: var(--panel);
  text-align: left;
}

.theme-txtjess .subscribe-card::before {
  margin: 0 0 12px;
  background-color: var(--tj-vinho);
}

.theme-txtjess .subscribe-card p {
  color: var(--soft);
}

/* Blog: produto dentro do post e aviso de pré-visualização (2026-10-02) */
.blog-product {
  margin: 22px 0;
  color: var(--text);
}

.blog-post-card .blog-product .product-link {
  color: #111;
}

.theme-txtjess .blog-post-card .blog-product .product-link {
  color: var(--ink);
}

.blog-preview-note {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fbecc8;
  color: #4a3500;
  font-size: 14px;
  font-weight: 650;
}
