/* Sweet3D search (landing) pages — uses the tokens of /style.css */
body.landing { background: var(--bg); }
.ld-top { max-width: 1100px; margin: 0 auto; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; }
.ld-logo img { height: 84px; width: auto; display: block; }
[data-theme="dark"] .ld-logo img { filter: drop-shadow(0 0 1px rgba(255,240,225,.55)) drop-shadow(0 0 10px rgba(255,210,170,.18)); }
.ld-langs { display: flex; gap: 4px; flex-wrap: wrap; }
.ld-langs a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 13px; padding: 6px 9px; border-radius: 10px; }
.ld-langs a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.landing main { max-width: 1100px; margin: 0 auto; padding: 0 22px 40px; }
.landing main > section { padding-top: 46px; }
.landing h2 { font-family: var(--head); font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin: 0 0 18px; }
.ld-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding-top: 18px !important; }
.ld-hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(32px, 5vw, 56px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 14px; }
.ld-hero .lead { max-width: 640px; }
.ld-hero-img { width: 190px; height: 190px; border-radius: 40px; }
.ld-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.ld-cta.center { justify-content: center; }
.btn.big { padding: 16px 26px; font-size: 17px; }
.ld-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ld-gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ld-gallery img { width: 100%; height: auto; display: block; }
.ld-gallery figcaption { padding: 8px 12px; font-weight: 700; font-size: 14px; }
.ld-why { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ld-why li { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.ld-why li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.ld-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 8px; border-top: 1px solid var(--line); }
.ld-faq summary { font-size: 16px; }
.ld-faq p { margin: 10px 0 0; color: var(--muted); }
.ld-also-card { display: flex; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 16px; color: var(--text); text-decoration: none; }
.ld-also-card img { width: 84px; height: 84px; border-radius: 20px; flex: none; }
.ld-also-card:hover { border-color: var(--accent); }
.seo-links { flex-basis: 100%; text-align: center; }
.seo-links a { color: inherit; }
@media (max-width: 760px) {
  .ld-hero { grid-template-columns: 1fr; }
  .ld-hero-img { display: none; }
  .ld-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-why { grid-template-columns: 1fr; }
  .ld-logo img { height: 64px; }
}
/* occasion pages: clickable ideas and the list of the other pages */
.ld-ideas { display: flex; flex-wrap: wrap; gap: 10px; }
.ld-idea { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 700; }
.ld-idea:hover { border-color: var(--accent); color: var(--accent); }
.ld-more { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.ld-more a { color: var(--text); }
.ld-also h3 { margin-top: 26px; }
@media (max-width: 760px) { .ld-more { grid-template-columns: 1fr; } }

/* promo banner inside the search pages */
main > .promo { width: 100%; margin: 4px 0 30px; }
/* guide pages (articles) */
.ld-guide { max-width: 820px !important; }
.ld-hero.one { grid-template-columns: minmax(0, 1fr); }
.ld-summary { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 16px; padding: 16px 20px; }
.ld-summary h2 { font-size: 20px; margin: 0 0 8px; }
.ld-summary ul { margin: 0; padding-left: 20px; }
.ld-summary li { margin: 4px 0; }
.ld-article section { padding-top: 30px; }
.ld-article h2 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 10px; }
.ld-article p, .ld-article li { line-height: 1.65; }
.ld-article ul { padding-left: 22px; }
.ld-article li { margin: 6px 0; }
.ld-also-card { margin-bottom: 10px; }

/* redesign v3: new logo (inline SVG) */
.ld-logo { text-decoration: none; }
.ld-logo .logo-mark { width: 38px; height: 38px; }
.ld-logo .wordmark { font-size: 26px; }
.foot-brand { display: inline-flex; }
.foot-brand .logo-mark { width: 26px; height: 26px; }
.foot-brand .wordmark { font-size: 18px; }

/* v3: transparent product renders on a soft studio spot (instead of the old square icons) */
.ld-hero-img { width: 230px; height: 230px; border-radius: 32px; object-fit: contain; padding: 18px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 78%), var(--panel); border: 1px solid var(--line);
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.18)); }
.ld-also-card img { object-fit: contain; padding: 8px; background: radial-gradient(closest-side, var(--accent-soft), transparent 78%), var(--panel2); }

/* real product photo at the top of the search pages */
.ld-hero-photo { width: 340px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .ld-hero-photo { display: block; width: 100%; } }
