/* Gửi yêu thương vào đất — v2.5.0: trang Giới thiệu mới, Cửa hàng theo mùa, hiệu ứng thẻ */

/* ---------- Thẻ có hiệu ứng khi rê chuột / lấy nét ---------- */
.lift-card {
  position: relative; background: #fffdf6;
  border: 1px solid rgba(32, 41, 31, .12); border-top: 4px solid var(--basalt-500);
  border-radius: 20px; padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.lift-card::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 70%;
  background: radial-gradient(closest-side, rgba(232, 163, 61, .28), transparent);
  opacity: 0; transform: translateY(20%); transition: opacity .4s ease, transform .5s ease; pointer-events: none;
}
.lift-card .lift-num {
  font-family: var(--font-display); font-size: 2.1rem; line-height: 1;
  color: var(--sun-600); display: inline-block; margin-bottom: .35rem;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), color .3s ease;
  transform-origin: left bottom;
}
.lift-card h3 { margin: .1rem 0 .45rem; transition: color .3s ease; }
.lift-card p { margin: 0 0 .6rem; color: var(--ink-700); }
.lift-card .lift-note {
  display: block; margin-top: .8rem; padding-top: .7rem;
  border-top: 1px dashed rgba(32, 41, 31, .22);
  font-size: .9rem; color: var(--ink-700);
}
.lift-card .lift-note b { color: var(--basalt-700); }
@media (hover: hover) and (pointer: fine) {
  .lift-card:hover, .lift-card:focus-within {
    transform: translateY(-8px) rotate(-.4deg);
    box-shadow: 0 22px 44px rgba(26, 50, 35, .18);
    border-top-color: var(--sun-500); background: #fffef9;
  }
  .lift-card:hover::after, .lift-card:focus-within::after { opacity: 1; transform: translateY(0); }
  .lift-card:hover .lift-num, .lift-card:focus-within .lift-num { transform: scale(1.22) rotate(-4deg); color: var(--basalt-600); }
  .lift-card:hover h3, .lift-card:focus-within h3 { color: var(--forest-700); }
}
@media (prefers-reduced-motion: reduce) {
  .lift-card, .lift-card *, .lift-card::after { transition: none !important; }
  .lift-card:hover, .lift-card:focus-within { transform: none !important; }
}

/* ---------- Giới thiệu: tầm nhìn / sứ mệnh ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.vm-grid .lift-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: .1rem 0 .6rem; }
.vm-list { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.vm-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .35rem; color: var(--ink-700); }
.vm-list li::before { content: "❀"; color: var(--sun-600); line-height: 1.5; }
.vm-list b { color: var(--forest-800); }

/* ---------- Giới thiệu: hành trình ---------- */
.journey { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 1.6rem; }
.journey::before {
  content: ""; position: absolute; left: 1.25rem; top: .6rem; bottom: .6rem; width: 2px;
  background: linear-gradient(var(--leaf-500), var(--sun-500)); opacity: .55;
}
.journey-item { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.2rem; align-items: start; }
.journey-dot {
  position: relative; z-index: 1; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--paper-50); border: 2px solid var(--forest-700); color: var(--forest-800);
  display: grid; place-items: center; font-size: 1.05rem; transition: transform .3s ease, background .3s ease, color .3s ease;
}
.journey-card { padding: 1.3rem 1.4rem 1.3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; align-content: start; }
.journey-card .journey-year {
  font-family: var(--font-display); font-size: 1.55rem; color: var(--basalt-700); line-height: 1.1;
}
.journey-card .journey-tag {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--forest-700);
}
.journey-card h3 { margin: .2rem 0 .1rem; }
.journey-card figure { margin: .7rem 0 0; }
.journey-card img { width: 100%; height: auto; max-height: 340px; object-fit: cover; border-radius: 14px; display: block; }
.journey-card figcaption { font-size: .82rem; color: var(--ink-500); padding-top: .4rem; font-style: italic; }
.journey-item:hover .journey-dot { transform: scale(1.12); background: var(--forest-800); color: var(--paper-50); }
@media (hover: none) { .journey-item:hover .journey-dot { transform: none; background: var(--paper-50); color: var(--forest-800); } }
@media (min-width: 900px) {
  .journey-card.has-photo { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 1.6rem; align-items: center; }
  .journey-card.has-photo figure { grid-column: 2; grid-row: 1 / span 5; margin: 0; align-self: center; }
  .journey-card.has-photo > :not(figure) { grid-column: 1; }
}

.section-lead { max-width: 62ch; color: var(--ink-700); margin: .3rem 0 1.4rem; }
.about-section { margin-block: clamp(2.4rem, 6vw, 4.5rem); }

/* ---------- Giới thiệu: giá trị 3 thẻ ---------- */
.values-rich { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }

/* ---------- Cửa hàng (đã gộp trang Sản phẩm, v2.6.0) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shop-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  background: var(--sun-100); border: 1px solid rgba(209, 138, 36, .35); border-radius: 18px;
  padding: .9rem 1.2rem; margin: 0 0 1.2rem; color: var(--ink-900);
}
.shop-status strong { color: var(--basalt-700); }
.shop-status .pulse { width: .7rem; height: .7rem; border-radius: 50%; background: var(--leaf-500); flex: none; box-shadow: 0 0 0 0 rgba(111, 158, 106, .6); animation: shop-pulse 2.4s infinite; }
@keyframes shop-pulse { 70% { box-shadow: 0 0 0 .6rem rgba(111, 158, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 158, 106, 0); } }
.shop-note { color: var(--ink-700); font-size: .95rem; margin: 1.6rem 0 0; max-width: 70ch; }

.shop-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin: 0 0 1rem; }
.shop-search { flex: 1 1 260px; max-width: 420px; }
.shop-search input {
  width: 100%; min-height: 46px; padding: .6rem 1rem .6rem 2.6rem; border-radius: 999px; font: inherit; font-size: .98rem;
  border: 1.5px solid rgba(32, 41, 31, .28); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e5739' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1rem 50% / 1.1rem;
  color: var(--ink-900);
}
.shop-search input:focus { outline: none; border-color: var(--basalt-600); box-shadow: 0 0 0 4px rgba(176, 106, 61, .13); }
.shop-toggle { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; color: var(--ink-700); cursor: pointer; min-height: 44px; }
.shop-toggle input { width: 1.2rem; height: 1.2rem; accent-color: var(--forest-800); }
.shop-toggle.is-disabled { opacity: .55; cursor: not-allowed; }

.shop-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .9rem; }
.shop-filters .chip {
  display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--forest-800); background: transparent; color: var(--forest-900);
  border-radius: 999px; padding: .4rem .5rem .4rem 1rem; font: inherit; font-weight: 650; font-size: .93rem; cursor: pointer; min-height: 42px;
  transition: background .2s ease, color .2s ease;
}
.shop-filters .chip small { min-width: 1.6rem; padding: .05rem .4rem; border-radius: 999px; background: rgba(46, 87, 57, .12); font-size: .78rem; text-align: center; }
.shop-filters .chip:hover { background: var(--leaf-200); }
.shop-filters .chip[aria-pressed="true"] { background: var(--forest-800); color: var(--paper-50); }
.shop-filters .chip[aria-pressed="true"] small { background: rgba(255, 255, 255, .22); }
.shop-count { margin: 0 0 1.1rem; color: var(--ink-500); font-size: .9rem; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.shop-card {
  background: #fffdf6; border: 1px solid rgba(32, 41, 31, .12); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.shop-card .shop-photo { overflow: hidden; position: relative; }
.shop-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #eef0e6; transition: transform .5s ease; }
.shop-card .shop-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.shop-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.shop-card .shop-meta { font-size: .85rem; color: var(--ink-500); margin: 0; }
.shop-card .shop-qty { margin: 0; font-size: .95rem; font-weight: 650; color: var(--ink-900); }
.shop-chip {
  display: inline-block; padding: .22rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: var(--paper-200); color: var(--ink-900);
}
.shop-photo .shop-chip { position: absolute; top: .65rem; left: .65rem; box-shadow: 0 2px 8px rgba(18, 36, 26, .18); }
.shop-chip.co-hang { background: #d9ecd2; color: #1d4a22; }
.shop-chip.sap-co { background: #fbe6b5; color: #6b4300; }
.shop-chip.tam-het { background: #e9e1c8; color: #5a4a2a; }
.shop-chip.cho-cap-nhat { background: #f1f3ea; color: #44503f; }
.shop-card.is-out img { filter: grayscale(.7) opacity(.8); }
.shop-ask {
  margin-top: auto; padding-top: .55rem; align-self: stretch;
}
.shop-ask {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .55rem 1rem; margin-top: .7rem;
  border: 1.5px solid var(--forest-800); border-radius: 999px; color: var(--forest-900); font-weight: 650; font-size: .93rem; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.shop-ask span { transition: transform .25s ease; }
.shop-ask:hover, .shop-ask:focus-visible { background: var(--forest-800); color: var(--paper-50); }
.shop-ask:hover span { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) {
  .shop-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26, 50, 35, .18); }
  .shop-card:hover img { transform: scale(1.06); }
}
.shop-empty { grid-column: 1 / -1; padding: 2rem 1rem; text-align: center; color: var(--ink-700); }
.shop-empty .button { margin-top: .6rem; }
.shop-howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.shop-cta-note { margin: 1rem 0 0; color: var(--ink-700); }

@media (max-width: 900px) {
  .values-rich, .vm-grid, .shop-howto { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .shop-card .shop-body { padding: .7rem .75rem .85rem; }
  .shop-card h3 { font-size: 1.02rem; }
  .shop-card .shop-qty { font-size: .88rem; }
  .shop-ask { padding: .45rem .8rem; font-size: .88rem; min-height: 42px; }
  .shop-search { max-width: none; }
  .journey-item { grid-template-columns: 2.1rem 1fr; gap: .8rem; }
  .journey-dot { width: 2.1rem; height: 2.1rem; font-size: .9rem; }
  .journey::before { left: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card, .shop-card img, .journey-dot, .shop-ask span { transition: none !important; }
  .shop-status .pulse { animation: none; }
}
@media print { .shop-filters, .shop-tools, .shop-ask { display: none; } }

/* ---------- v2.6.3: timeline hành trình ---------- */
.journey-card p { margin: .2rem 0; }
.journey-points { list-style: none; margin: .5rem 0 .2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.journey-points li { font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(111, 158, 106, .16); color: var(--forest-900); font-weight: 600; }
.journey-links { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; margin: .4rem 0 0; }
@media (min-width: 760px) { .journey-card.has-photo figure { grid-row: 1 / span 8; } }

/* ---------- v2.6.5: thông báo dưới danh mục cửa hàng ---------- */
.shop-notice { margin: 1.8rem 0 0; padding: 1.3rem 1.4rem; border-radius: 20px; background: #f6f1e1; border: 1px dashed rgba(32, 41, 31, .28); max-width: 820px; }
.shop-notice h3 { margin: 0 0 .7rem; font-size: 1.1rem; }
.shop-notice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.shop-notice li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; align-items: start; }
.shop-notice li > span { color: var(--sun-600); line-height: 1.6; }
.shop-notice p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--ink-700); }
.shop-notice strong { color: var(--forest-900); }
