/* ==========================================================================
   Kinkers Landing — frontend styles
   Everything is scoped under .kinkers-landing-root to avoid leaking into
   the active theme, and driven by CSS custom properties set inline by
   the plugin (see class-kinkers-shortcode.php -> inline_css()).
   ========================================================================== */

.kinkers-landing-root {
  --kl-pink-soft: #ffd6e1;
  --kl-pink-pale: #fff0f4;
  --kl-lilac: #c9b6f2;
  --kl-yellow: #ffd94a;
  --kl-green: #c3e8b0;
  --kl-line: #f1d9df;
  --kl-white: #fff;
  --kl-ink-soft: #584c4f;

  box-sizing: border-box;
  background: var(--kl-bg);
  color: var(--kl-ink);
  font-family: var(--kl-font-body);
  font-size: var(--kl-base-size);
  overflow-x: hidden;
  line-height: 1.5;
}
.kinkers-landing-root *, .kinkers-landing-root *::before, .kinkers-landing-root *::after { box-sizing: border-box; }
.kinkers-landing-root img { max-width: 100%; display: block; }
.kinkers-landing-root a { color: inherit; text-decoration: none; }
.kinkers-landing-root ul { list-style: none; margin: 0; padding: 0; }
.kinkers-landing-root button { font-family: inherit; cursor: pointer; border: none; background: none; }
.kinkers-landing-root h1, .kinkers-landing-root h2, .kinkers-landing-root h3, .kinkers-landing-root h4 { font-family: var(--kl-font-heading); margin: 0; }
.kinkers-landing-root p { margin: 0; }

.kl-container { max-width: var(--kl-container); margin: 0 auto; padding: 0 40px; }

/* ---------------- Marquee ---------------- */
.kl-marquee-bar { background: var(--kl-ink); color: #fff; overflow: hidden; white-space: nowrap; }
.kl-marquee-track { display: inline-flex; align-items: center; animation: kl-scroll-left linear infinite; }
.kl-marquee-track span { padding: 9px 28px; font-size: 12px; font-weight: 600; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 8px; }
.kl-marquee-track span::after { content: "♥"; color: var(--kl-primary); font-size: 11px; }
@keyframes kl-scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------------- Header ---------------- */
.kl-header { background: var(--kl-bg); padding: 18px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--kl-line); }
.kl-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kl-logo { font-family: var(--kl-font-script); font-weight: 700; font-size: 34px; color: var(--kl-primary); letter-spacing: .5px; }
.kl-logo-img { max-height: 44px; width: auto; }
.kl-main-nav ul { display: flex; gap: 34px; }
.kl-main-nav a { font-size: 13px; font-weight: 600; letter-spacing: .6px; color: var(--kl-ink); }
.kl-main-nav a:hover { color: var(--kl-primary); }
.kl-main-nav a.kl-sale { color: var(--kl-accent); }
.kl-header-icons { display: flex; align-items: center; gap: 20px; }
.kl-icon-btn { width: 20px; height: 20px; position: relative; display: flex; align-items: center; justify-content: center; }
.kl-icon-btn svg { width: 20px; height: 20px; stroke: var(--kl-ink); fill: none; stroke-width: 1.7; }
.kl-bag-badge { position: absolute; top: -8px; right: -9px; background: var(--kl-primary); color: #fff; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.kl-burger { display: none; width: 26px; height: 20px; flex-direction: column; justify-content: space-between; }
.kl-burger span { display: block; height: 2px; background: var(--kl-ink); border-radius: 2px; }
.kl-mobile-nav { display: none; background: var(--kl-bg); border-top: 1px solid var(--kl-line); }
.kl-mobile-nav ul { display: flex; flex-direction: column; padding: 10px 24px 18px; }
.kl-mobile-nav a { display: block; padding: 10px 0; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.kl-mobile-nav a.kl-sale { color: var(--kl-accent); }
.kl-header.kl-nav-open .kl-mobile-nav { display: block; }

/* ---------------- Hero ---------------- */
.kl-hero { background: var(--kl-pink-bg); padding: 56px 0 0; position: relative; overflow: hidden; }
.kl-hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.kl-hero-text .kl-eyebrow { font-family: var(--kl-font-script); font-size: 28px; margin-bottom: 4px; }
.kl-hero-text h1 { font-size: var(--kl-h1-size); line-height: .98; font-weight: 700; letter-spacing: -1px; margin-bottom: 18px; }
.kl-hero-text h1 .kl-dot { color: var(--kl-primary); }
.kl-hero-text p { font-size: 15px; color: var(--kl-ink-soft); max-width: 380px; line-height: 1.6; margin-bottom: 26px; }
.kl-hero-btns { display: flex; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.kl-btn { padding: 15px 26px; border-radius: var(--kl-radius); font-weight: 600; font-size: 13px; letter-spacing: .4px; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s ease, box-shadow .15s ease; }
.kl-btn:hover { transform: translateY(-2px); }
.kl-btn-dark { background: var(--kl-ink); color: #fff; }
.kl-btn-outline { background: transparent; color: var(--kl-ink); border: 1.5px solid var(--kl-ink); }
.kl-btn-pink { background: var(--kl-primary); color: #fff; }
.kl-btn-pink:hover { box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.kl-hero-social { display: flex; align-items: center; gap: 12px; }
.kl-avatar-stack { display: flex; }
.kl-avatar-stack span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--kl-bg); margin-left: -10px; background: linear-gradient(135deg, var(--kl-pink-soft), var(--kl-lilac)); }
.kl-avatar-stack span:first-child { margin-left: 0; }
.kl-rating { font-size: 13px; color: var(--kl-ink-soft); font-weight: 500; }
.kl-stars { color: var(--kl-yellow); letter-spacing: 1px; }

.kl-hero-visual { position: relative; display: flex; justify-content: center; }
.kl-hero-photo-wrap { position: relative; width: 100%; max-width: 460px; aspect-ratio: 3/3.6; border-radius: 28px 28px 0 0; overflow: hidden; }
.kl-sticker { position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--kl-font-heading); font-weight: 600; box-shadow: 0 6px 14px rgba(0,0,0,.12); line-height: 1.15; padding: 6px; }
.kl-sticker.kl-round { width: 100px; height: 100px; font-size: 11px; }
.kl-sticker.kl-yellow { background: var(--kl-yellow); color: var(--kl-ink); top: 2%; right: -2%; transform: rotate(8deg); }
.kl-sticker.kl-pink { background: var(--kl-primary); color: #fff; bottom: 38%; right: -6%; transform: rotate(-6deg); }
.kl-sticker.kl-yellow2 { background: var(--kl-yellow); color: var(--kl-ink); bottom: 2%; right: 0; transform: rotate(-8deg); }
.kl-sticker.kl-speech { background: var(--kl-pink-soft); color: var(--kl-ink); padding: 14px 18px; border-radius: 20px 20px 20px 4px; font-size: 12px; top: 14%; right: 14%; transform: rotate(-6deg); width: auto; height: auto; }
.kl-sticker.kl-pill { background: var(--kl-green); color: var(--kl-ink); width: 96px; height: 96px; font-size: 11px; left: -6%; top: 36%; transform: rotate(6deg); }
.kl-hide-stickers-mobile .kl-sticker { }

/* ---------------- Feature strip ---------------- */
.kl-feature-strip { background: var(--kl-pink-pale); border-top: 1px solid var(--kl-line); border-bottom: 1px solid var(--kl-line); padding: 22px 0; }
.kl-feature-strip .kl-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.kl-feature-item { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: var(--kl-ink-soft); letter-spacing: .3px; white-space: nowrap; }
.kl-feature-item svg { width: 20px; height: 20px; stroke: var(--kl-primary); fill: none; stroke-width: 1.6; flex-shrink: 0; }

/* ---------------- Section title ---------------- */
.kl-section-title { text-align: center; font-size: 26px; font-weight: 700; margin-bottom: 34px; letter-spacing: .3px; }
.kl-section-title .kl-heart, .kl-heart { color: var(--kl-primary); }

/* ---------------- Categories ---------------- */
.kl-categories { padding: 70px 0 60px; }
.kl-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.kl-cat-card { text-align: center; }
.kl-cat-photo { border-radius: 20px; aspect-ratio: 1/1.15; margin-bottom: 12px; transition: transform .2s ease; }
.kl-cat-card:hover .kl-cat-photo { transform: translateY(-4px); }
.kl-cat-card p { font-size: 11.5px; font-weight: 700; letter-spacing: .8px; color: var(--kl-ink); }

/* ---------------- Products ---------------- */
.kl-products { padding: 20px 0 70px; }
.kl-products-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; gap: 14px; flex-wrap: wrap; }
.kl-products-head h2 { font-size: 22px; font-weight: 700; }
.kl-view-all { font-size: 11.5px; font-weight: 700; border: 1.5px solid var(--kl-ink); padding: 9px 16px; border-radius: 30px; letter-spacing: .5px; white-space: nowrap; }
.kl-product-carousel { position: relative; }
.kl-product-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.kl-product-card { background: var(--kl-white); border-radius: 18px; overflow: hidden; border: 1px solid var(--kl-line); display: block; transition: box-shadow .2s ease, transform .2s ease; }
.kl-product-card:hover { box-shadow: 0 14px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.kl-product-photo { position: relative; aspect-ratio: 1/1.15; }
.kl-badge-new { position: absolute; top: 10px; left: 10px; background: var(--kl-ink); color: #fff; font-size: 9px; font-weight: 700; padding: 4px 9px; border-radius: 20px; letter-spacing: .5px; }
.kl-fav-btn { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--kl-ink); }
.kl-product-info { padding: 14px 14px 16px; }
.kl-product-info h4 { font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }
.kl-product-rating { font-size: 10.5px; color: var(--kl-ink-soft); margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.kl-product-price { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.kl-add-bag { width: 100%; background: var(--kl-primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 10px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.kl-product-card:hover .kl-add-bag { background: var(--kl-accent); }
.kl-carousel-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--kl-line); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.08); z-index: 5; }
.kl-carousel-arrow.kl-left { left: -19px; }
.kl-carousel-arrow.kl-right { right: -19px; }

/* ---------------- Complicated ---------------- */
.kl-complicated { padding: 0 0 70px; }
.kl-complicated-inner { background: var(--kl-pink-soft); border-radius: 28px; padding: 50px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.kl-complicated-text h2 { font-size: 34px; line-height: 1.15; font-weight: 700; margin-bottom: 22px; }
.kl-complicated-text h2 .kl-script { font-family: var(--kl-font-script); color: var(--kl-accent); font-size: 44px; display: block; text-decoration: underline; }
.kl-check-list { display: flex; flex-direction: column; gap: 12px; }
.kl-check-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.kl-check-list li.kl-cross span { color: var(--kl-accent); font-weight: 800; }
.kl-check-list li.kl-love { color: var(--kl-accent); }
.kl-complicated-visual { position: relative; display: flex; justify-content: center; align-items: center; height: 340px; }
.kl-polaroid { width: 230px; background: #fff; padding: 12px 12px 40px; border-radius: 6px; box-shadow: 0 12px 24px rgba(0,0,0,.15); transform: rotate(-4deg); position: relative; }
.kl-polaroid .kl-ph { aspect-ratio: 1/1.1; border-radius: 2px; }
.kl-sticky-note { position: absolute; right: 6%; bottom: 10%; background: var(--kl-yellow); width: 110px; height: 110px; padding: 14px; font-family: var(--kl-font-script); font-size: 16px; font-weight: 700; color: var(--kl-ink); transform: rotate(7deg); box-shadow: 0 8px 16px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; text-align: center; }
.kl-tape { position: absolute; top: -4%; left: 38%; width: 70px; height: 26px; background: rgba(255,255,255,.7); transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(0,0,0,.08); }

/* ---------------- Testimonials ---------------- */
.kl-testimonials { padding: 0 0 60px; }
.kl-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kl-testi-card { background: var(--kl-pink-pale); border-radius: 18px; padding: 26px; border: 1px solid var(--kl-line); }
.kl-testi-card .kl-stars { font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; display: block; }
.kl-testi-card p { font-size: 15px; font-weight: 600; font-style: italic; margin-bottom: 14px; line-height: 1.4; }
.kl-testi-card .kl-name { font-size: 12px; color: var(--kl-ink-soft); font-weight: 600; }

/* ---------------- Confidence banner ---------------- */
.kl-confidence-banner { padding: 0 0 70px; }
.kl-cb-inner { background: linear-gradient(120deg, #1c1214 0%, #2b191d 60%, #341b21 100%); border-radius: 28px; min-height: 280px; display: flex; align-items: center; justify-content: space-between; padding: 50px 60px; position: relative; overflow: hidden; }
.kl-cb-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; opacity: .85; }
.kl-cb-text { position: relative; z-index: 2; margin-left: 38%; color: #fff; }
.kl-cb-text .kl-script { font-family: var(--kl-font-script); font-size: 32px; color: var(--kl-primary); margin-bottom: 6px; }
.kl-cb-text h2 { font-size: 30px; font-weight: 700; margin-bottom: 22px; line-height: 1.2; }
.kl-cb-heart { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); font-size: 110px; color: transparent; -webkit-text-stroke: 2px var(--kl-primary); filter: drop-shadow(0 0 10px rgba(0,0,0,.3)); z-index: 1; }

/* ---------------- Why us ---------------- */
.kl-why-section { padding: 0 0 70px; }
.kl-why-grid-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.kl-why-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.kl-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kl-why-pill { border-radius: 16px; padding: 22px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.kl-why-pill svg { width: 26px; height: 26px; stroke: var(--kl-ink); fill: none; stroke-width: 1.6; }
.kl-confused-card { background: var(--kl-pink-soft); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.kl-confused-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.kl-confused-card p { font-size: 13.5px; color: var(--kl-ink-soft); margin-bottom: 20px; max-width: 260px; }
.kl-confused-card .kl-btn { width: fit-content; }

/* ---------------- Feed ---------------- */
.kl-feed { padding: 0 0 70px; }
.kl-feed-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.kl-feed-item { aspect-ratio: 1/1; border-radius: 14px; display: block; }

/* ---------------- Footer ---------------- */
.kl-footer { background: var(--kl-pink-soft); padding: 60px 0 26px; border-top: 2px solid var(--kl-primary); }
.kl-footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, .8fr) .9fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(0,0,0,.08); }
.kl-footer-brand .kl-script { font-family: var(--kl-font-script); font-size: 26px; color: var(--kl-accent); margin-bottom: 2px; }
.kl-footer-brand h3 { font-family: var(--kl-font-heading); font-size: 28px; font-weight: 700; color: var(--kl-primary); margin-bottom: 14px; }
.kl-footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .6px; margin-bottom: 16px; }
.kl-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.kl-footer-col a { font-size: 12.5px; color: var(--kl-ink-soft); }
.kl-footer-col a:hover { color: var(--kl-accent); }
.kl-footer-made { font-family: var(--kl-font-script); font-size: 16px; color: var(--kl-ink-soft); margin-bottom: 10px; }
.kl-envelope { width: 44px; height: 32px; border: 1.5px solid var(--kl-ink-soft); border-radius: 6px; }
.kl-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; flex-wrap: wrap; gap: 10px; }
.kl-footer-bottom-logo { font-family: var(--kl-font-heading); font-weight: 700; font-size: 16px; }
.kl-footer-bottom p { font-size: 11.5px; color: var(--kl-ink-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .kl-container { padding-left: 24px; padding-right: 24px; }
  .kl-hero-text h1 { font-size: calc(var(--kl-h1-size) * 0.8); }
  .kl-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .kl-product-track { grid-template-columns: repeat(3, 1fr); }
  .kl-footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .kl-feed-grid { grid-template-columns: repeat(3, 1fr); }
  .kl-why-grid-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .kl-main-nav { display: none; }
  .kl-burger { display: flex; }
  .kl-hero-inner { grid-template-columns: 1fr; }
  /* content stays first, image below on mobile — no reorder */
  .kl-hero-text h1 { font-size: calc(var(--kl-h1-size) * 0.68); }
  .kl-hero-text p { max-width: 100%; }
  .kl-hero.kl-align-mobile-center .kl-hero-text { text-align: center; }
  .kl-hero.kl-align-mobile-center .kl-hero-btns { justify-content: center; }
  .kl-hero.kl-align-mobile-center .kl-hero-social { justify-content: center; }
  .kl-hero.kl-align-mobile-center .kl-hero-text p { margin-left: auto; margin-right: auto; }
  .kl-hide-stickers-mobile .kl-sticker { display: none; }
  .kl-complicated-inner { grid-template-columns: 1fr; padding: 34px 24px; }
  .kl-complicated-visual { height: 280px; }
  .kl-cb-inner { flex-direction: column; padding: 34px 24px; text-align: center; }
  .kl-cb-inner .kl-cb-photo { display: none; }
  .kl-cb-text { margin-left: 0; }
  .kl-cb-heart { display: none; }
  .kl-testi-grid { grid-template-columns: 1fr; }
  .kl-footer-top { grid-template-columns: 1fr 1fr; }

  /* Guarantee consistent breathing room between sections on mobile/tablet.
     Several sections rely on padding-top:0 + the previous section's
     bottom padding for spacing on desktop — that collapses awkwardly on
     narrow screens, so we give every section its own top+bottom padding
     here instead. */
  .kl-feature-strip { padding: 26px 0; }
  .kl-categories { padding: 32px 0; }
  .kl-products { padding: 32px 0; }
  .kl-complicated { padding: 32px 0; }
  .kl-testimonials { padding: 32px 0; }
  .kl-confidence-banner { padding: 32px 0; }
  .kl-why-section { padding: 32px 0; }
  .kl-feed { padding: 32px 0; }
  .kl-footer { padding-top: 40px; }
}

@media (max-width: 600px) {
  .kl-container { padding-left: 18px; padding-right: 18px; }
  .kl-marquee-track span { font-size: 11px; padding: 8px 18px; }
  .kl-hero { padding: 34px 0 0; }
  .kl-hero-text .kl-eyebrow { font-size: 22px; }
  .kl-hero-text h1 { font-size: calc(var(--kl-h1-size) * 0.55); }
  .kl-hero-btns { flex-direction: column; }
  .kl-hero.kl-align-mobile-center .kl-hero-btns .kl-btn,
  .kl-hero.kl-align-mobile-left .kl-hero-btns .kl-btn { justify-content: center; width: 100%; }
  .kl-cat-grid { gap: 12px; }
  .kl-products-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .kl-carousel-arrow { display: none; }
  .kl-product-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .kl-complicated-text h2 { font-size: 26px; }
  .kl-complicated-text h2 .kl-script { font-size: 34px; }
  .kl-why-grid { grid-template-columns: repeat(2, 1fr); }
  .kl-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .kl-section-title { font-size: 21px; }
  .kl-cb-text h2 { font-size: 24px; }
  .kl-sticker.kl-round { width: 76px; height: 76px; font-size: 9.5px; }
  .kl-sticker.kl-pill { width: 76px; height: 76px; font-size: 9px; }
  .kl-sticker.kl-speech { font-size: 10px; padding: 10px 14px; }
  .kl-feature-strip .kl-container { justify-content: flex-start; gap: 22px; overflow-x: auto; flex-wrap: nowrap; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .kl-marquee-track { animation: none; }
}
