/* =====================================================================
   Rhyme Export · Shopify Danışmanlık page
   File:  /assets/css/shopify-danismanlik.css
   Scope: body.page-template-page-shopify-danismanlik (page-wide)
          #rhx-shopify-hero (hero map widget — ID-scoped, isolated)
   ===================================================================== */

/* ---- Fonts (Plus Jakarta Sans / EB Garamond / JetBrains Mono) ----
   Theme already loads these for /etsy-egitimi/. If absent on this
   template, uncomment the @import below.
*/
/* @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,400;1,500&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap'); */


/* =====================================================================
   PAGE-SCOPED  ·  body.page-template-page-shopify-danismanlik
   ===================================================================== */

body.page-template-page-shopify-danismanlik {

  /* tokens */
  --rhx-cream:        #F5F1EA;
  --rhx-cream-2:      #FBF7F0;
  --rhx-orange:       #FF5F00;
  --rhx-orange-soft:  rgba(255, 95, 0, 0.08);
  --rhx-orange-tint:  rgba(255, 95, 0, 0.03);
  --rhx-dark:         #1A1A1A;
  --rhx-dark-2:       #2A2A2A;
  --rhx-muted:        #6B6B6B;
  --rhx-line:         rgba(0, 0, 0, 0.08);
  --rhx-line-strong:  rgba(0, 0, 0, 0.14);
  --rhx-card:         rgba(255, 255, 255, 0.92);
  --rhx-card-soft:    rgba(255, 255, 255, 0.6);

  --rhx-font-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rhx-font-serif: 'EB Garamond', Georgia, serif;
  --rhx-font-mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --rhx-radius:     14px;
  --rhx-radius-sm:  10px;
  --rhx-radius-lg:  20px;

  background: var(--rhx-cream);
  color: var(--rhx-dark);
  font-family: var(--rhx-font-sans);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-template-page-shopify-danismanlik .rhx-shopify-page {
  position: relative;
  overflow: hidden;
}

body.page-template-page-shopify-danismanlik .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* selection */
body.page-template-page-shopify-danismanlik ::selection {
  background: var(--rhx-orange);
  color: #fff;
}

/* ---- Reusable atoms ---- */
body.page-template-page-shopify-danismanlik .eyebrow {
  font-family: var(--rhx-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rhx-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
body.page-template-page-shopify-danismanlik .eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--rhx-orange);
  box-shadow: 0 0 0 4px rgba(255, 95, 0, 0.12);
  display: inline-block;
}

body.page-template-page-shopify-danismanlik .h2 {
  font-family: var(--rhx-font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rhx-dark);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

body.page-template-page-shopify-danismanlik .italic-accent {
  font-family: var(--rhx-font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--rhx-orange);
  letter-spacing: -0.01em;
}

body.page-template-page-shopify-danismanlik .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--rhx-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1),
              background 220ms ease,
              color 220ms ease,
              box-shadow 220ms ease,
              border-color 220ms ease;
  will-change: transform;
}
body.page-template-page-shopify-danismanlik .btn:hover {
  transform: translateY(-2px);
}
body.page-template-page-shopify-danismanlik .btn--primary {
  background: var(--rhx-orange);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 95, 0, 0.28);
}
body.page-template-page-shopify-danismanlik .btn--primary:hover {
  box-shadow: 0 10px 28px rgba(255, 95, 0, 0.34);
}
body.page-template-page-shopify-danismanlik .btn--ghost {
  background: transparent;
  color: var(--rhx-dark);
  border-color: var(--rhx-line-strong);
}
body.page-template-page-shopify-danismanlik .btn--ghost:hover {
  border-color: var(--rhx-dark);
  background: rgba(0,0,0,0.02);
}
body.page-template-page-shopify-danismanlik .btn--block {
  width: 100%;
  justify-content: center;
}
body.page-template-page-shopify-danismanlik .btn__arrow {
  display: inline-block;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
body.page-template-page-shopify-danismanlik .btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* sections common rhythm */
body.page-template-page-shopify-danismanlik section[class^="rhx-"]:not(.rhx-stats) {
  padding: 7rem 0;
}
@media (max-width: 760px) {
  body.page-template-page-shopify-danismanlik section[class^="rhx-"]:not(.rhx-stats) {
    padding: 4.5rem 0;
  }
}


/* =====================================================================
   1.  HERO  (full-bleed map — copy sits over the live map)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-hero {
  position: relative;
  min-height: clamp(640px, 86vh, 880px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
body.page-template-page-shopify-danismanlik .rhx-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 6rem;
}
/* readability scrim — soft cream gradient from left over the map */
body.page-template-page-shopify-danismanlik .rhx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(245,241,234,0.96) 0%,
      rgba(245,241,234,0.78) 32%,
      rgba(245,241,234,0.30) 60%,
      rgba(245,241,234,0.10) 100%);
}
@media (max-width: 760px) {
  body.page-template-page-shopify-danismanlik .rhx-hero {
    min-height: 0;
  }
  body.page-template-page-shopify-danismanlik .rhx-hero .container {
    padding-top: 3rem;
    padding-bottom: 24rem; /* leave room for map below copy on mobile */
  }
  body.page-template-page-shopify-danismanlik .rhx-hero::before {
    background:
      linear-gradient(180deg,
        rgba(245,241,234,0.96) 0%,
        rgba(245,241,234,0.92) 38%,
        rgba(245,241,234,0.30) 70%,
        rgba(245,241,234,0.10) 100%);
  }
}

body.page-template-page-shopify-danismanlik .rhx-hero__copy {
  max-width: 580px;
}

body.page-template-page-shopify-danismanlik .rhx-hero__title {
  font-family: var(--rhx-font-sans);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
body.page-template-page-shopify-danismanlik .rhx-hero__title .italic-accent {
  font-size: 1.05em;
}

body.page-template-page-shopify-danismanlik .rhx-hero__sub {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
  max-width: 540px;
  margin: 0 0 2rem;
}

body.page-template-page-shopify-danismanlik .rhx-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
}
body.page-template-page-shopify-danismanlik .rhx-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--rhx-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--rhx-dark-2);
  background: var(--rhx-card);
  border: 1px solid var(--rhx-line);
  border-radius: 999px;
}
body.page-template-page-shopify-danismanlik .rhx-hero__chips .chk {
  color: var(--rhx-orange);
  font-weight: 700;
}

body.page-template-page-shopify-danismanlik .rhx-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}


/* =====================================================================
   2.  STAT BAR
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-stats {
  /* display:block override — rhx-forms.css'teki global `.rhx-stats`
     kuralı (form-related ölü kod) section'ı grid container yapıp
     içindeki .container'i ~532px content-width'e sıkıştırıyordu. */
  display: block;
  border-top: 1px solid var(--rhx-line);
  border-bottom: 1px solid var(--rhx-line);
  padding: 2.5rem 0;
}
body.page-template-page-shopify-danismanlik .rhx-stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 760px) {
  body.page-template-page-shopify-danismanlik .rhx-stats__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}
body.page-template-page-shopify-danismanlik .rhx-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
body.page-template-page-shopify-danismanlik .rhx-stats__num {
  font-family: var(--rhx-font-sans);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-stats__num em {
  font-style: normal;
  color: var(--rhx-orange);
  font-weight: 700;
}
body.page-template-page-shopify-danismanlik .rhx-stats__lbl {
  font-family: var(--rhx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rhx-muted);
}


/* =====================================================================
   3.  COMPARE  (Etsy vs Shopify)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-compare__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}
body.page-template-page-shopify-danismanlik .rhx-compare__sub {
  color: var(--rhx-dark-2);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

/* ---- Mode switcher tabs ---- */
body.page-template-page-shopify-danismanlik .rhx-compare__switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 auto 2rem;
  background: var(--rhx-card);
  border: 1px solid var(--rhx-line);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
body.page-template-page-shopify-danismanlik .rhx-compare__head + .rhx-compare__switch,
body.page-template-page-shopify-danismanlik .rhx-compare .rhx-compare__switch {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
body.page-template-page-shopify-danismanlik .rhx-compare__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  font-family: var(--rhx-font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.005em;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--rhx-dark-2);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-compare__tab:hover {
  color: var(--rhx-dark);
  background: rgba(0,0,0,0.03);
}
body.page-template-page-shopify-danismanlik .rhx-compare__tab.is-active {
  background: var(--rhx-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
body.page-template-page-shopify-danismanlik .rhx-compare__tab[data-compare-tab="shopify"].is-active {
  background: var(--rhx-orange);
  box-shadow: 0 4px 14px rgba(255,95,0,0.3);
}
body.page-template-page-shopify-danismanlik .rhx-compare__tabdot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--rhx-dark-2);
  display: inline-block;
}
body.page-template-page-shopify-danismanlik .rhx-compare__tabdot--orange {
  background: var(--rhx-orange);
}
body.page-template-page-shopify-danismanlik .rhx-compare__tab.is-active .rhx-compare__tabdot {
  background: #fff;
}
body.page-template-page-shopify-danismanlik .rhx-compare__tabicon {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-compare__switch {
    flex-direction: column;
    border-radius: 18px;
    width: 100%;
    align-items: stretch;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__tab {
    justify-content: center;
  }
}

/* ---- Mode-driven column / cell visibility ---- */
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="etsy"] .rhx-compare__col--shopify,
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="etsy"] .rhx-compare__cell--shopify {
  display: none;
}
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="shopify"] .rhx-compare__col--etsy,
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="shopify"] .rhx-compare__cell--etsy {
  display: none;
}
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="etsy"] .rhx-compare__cols,
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="etsy"] .rhx-compare__cells,
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="shopify"] .rhx-compare__cols,
body.page-template-page-shopify-danismanlik .rhx-compare[data-compare-mode="shopify"] .rhx-compare__cells {
  grid-template-columns: 1fr;
}

/* ---- Row reveal animation (re-triggered on mode change) ---- */
body.page-template-page-shopify-danismanlik .rhx-compare__row {
  opacity: 1;
}
body.page-template-page-shopify-danismanlik .rhx-compare__row.is-anim .rhx-compare__cell {
  animation: rhx-cell-in 520ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--rhx-anim-delay, 0ms);
}
body.page-template-page-shopify-danismanlik .rhx-compare__row.is-anim .rhx-compare__cell--shopify {
  animation-delay: calc(var(--rhx-anim-delay, 0ms) + 80ms);
}
@keyframes rhx-cell-in {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0)   scale(1);    }
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-page-shopify-danismanlik .rhx-compare__row.is-anim .rhx-compare__cell,
  body.page-template-page-shopify-danismanlik .rhx-compare__row.is-anim .rhx-compare__cell--shopify {
    animation: none !important;
  }
}

body.page-template-page-shopify-danismanlik .rhx-compare__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 0.5rem 0;
  background: linear-gradient(var(--rhx-cream) 70%, transparent);
}
body.page-template-page-shopify-danismanlik .rhx-compare__col {
  padding: 1rem 1.25rem;
  border-radius: var(--rhx-radius);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
body.page-template-page-shopify-danismanlik .rhx-compare__col--etsy {
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--rhx-line);
}
body.page-template-page-shopify-danismanlik .rhx-compare__col--shopify {
  background: var(--rhx-orange);
  color: #fff;
  border: 1px solid var(--rhx-orange);
}
body.page-template-page-shopify-danismanlik .rhx-compare__platform {
  font-family: var(--rhx-font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
body.page-template-page-shopify-danismanlik .rhx-compare__platformsub {
  font-family: var(--rhx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
body.page-template-page-shopify-danismanlik .rhx-compare__col--shopify .rhx-compare__platformsub {
  opacity: 0.85;
}

body.page-template-page-shopify-danismanlik .rhx-compare__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.page-template-page-shopify-danismanlik .rhx-compare__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding-top: 1rem;
  border-top: 1px solid var(--rhx-line);
}
body.page-template-page-shopify-danismanlik .rhx-compare__row:first-child {
  border-top: none;
  padding-top: 0;
}
body.page-template-page-shopify-danismanlik .rhx-compare__topic {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.75rem;
}
body.page-template-page-shopify-danismanlik .rhx-compare__topicnum {
  font-family: var(--rhx-font-mono);
  font-size: 0.72rem;
  color: var(--rhx-muted);
  letter-spacing: 0.08em;
}
body.page-template-page-shopify-danismanlik .rhx-compare__topictext {
  font-family: var(--rhx-font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rhx-dark);
}

body.page-template-page-shopify-danismanlik .rhx-compare__cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell {
  background: var(--rhx-card);
  border: 1px solid var(--rhx-line);
  border-radius: var(--rhx-radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 200ms ease, transform 200ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell--shopify {
  background: #fff;
  border-color: rgba(255, 95, 0, 0.22);
  box-shadow: 0 6px 20px rgba(255, 95, 0, 0.06);
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell--shopify:hover {
  border-color: var(--rhx-orange);
  transform: translateY(-2px);
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell--etsy:hover {
  border-color: var(--rhx-line-strong);
}
body.page-template-page-shopify-danismanlik .rhx-compare__plat {
  font-family: var(--rhx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rhx-muted);
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell--shopify .rhx-compare__plat {
  color: var(--rhx-orange);
  font-weight: 600;
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--rhx-dark-2);
}
body.page-template-page-shopify-danismanlik .rhx-compare__cell--shopify p {
  color: var(--rhx-dark);
}

body.page-template-page-shopify-danismanlik .rhx-compare__quote {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 4rem auto 1.5rem;
  max-width: 720px;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-compare__quote .italic-accent {
  font-size: 1.15em;
}

/* Compare closing block — replaces single italic quote */
body.page-template-page-shopify-danismanlik .rhx-compare__closing {
  max-width: 720px;
  margin: 4rem auto 2.5rem;
  padding: 2.5rem 2rem 0;
  border-top: 1px solid var(--rhx-line);
  text-align: center;
}
body.page-template-page-shopify-danismanlik .rhx-compare__closingline {
  font-family: var(--rhx-font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--rhx-dark-2);
  margin: 0 0 1.1rem;
  text-wrap: pretty;
}
body.page-template-page-shopify-danismanlik .rhx-compare__closingline--lead {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rhx-dark);
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
body.page-template-page-shopify-danismanlik .rhx-compare__closingline--accent {
  margin-top: 1.8rem;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-compare__closingline--accent .italic-accent {
  font-size: 1.05em;
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-compare__closing {
    padding: 2rem 0.5rem 0;
    margin-top: 2.5rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__closingline--lead {
    font-size: 1.2rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__closingline--accent {
    font-size: 1.3rem;
  }
}

/* KVKK link */
body.page-template-page-shopify-danismanlik .rhx-kvkk__text a {
  color: var(--rhx-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-kvkk__text a:hover {
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-compare__cta {
  text-align: center;
}

@media (max-width: 760px) {
  body.page-template-page-shopify-danismanlik .rhx-compare__cols {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__col {
    padding: 0.75rem 1rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__platform {
    font-size: 1.1rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__topic {
    padding-top: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 0.6rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__cells {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-compare__rows {
    gap: 0.5rem;
  }
}


/* =====================================================================
   4.  SERVICES
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-services__head {
  max-width: 760px;
  margin: 0 0 3rem;
}
body.page-template-page-shopify-danismanlik .rhx-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) {
  body.page-template-page-shopify-danismanlik .rhx-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-services__grid {
    grid-template-columns: 1fr;
  }
}

body.page-template-page-shopify-danismanlik .rhx-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--rhx-card);
  border: 1px solid var(--rhx-line);
  border-radius: var(--rhx-radius-lg);
  min-height: 290px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-svc:hover {
  transform: translateY(-3px);
  border-color: var(--rhx-orange);
  box-shadow: 0 10px 30px rgba(255, 95, 0, 0.08);
}
body.page-template-page-shopify-danismanlik .rhx-svc__num {
  font-family: var(--rhx-font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--rhx-orange);
  font-weight: 500;
}
body.page-template-page-shopify-danismanlik .rhx-svc__title {
  font-family: var(--rhx-font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-svc__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
}
body.page-template-page-shopify-danismanlik .rhx-svc__foot {
  margin-top: auto;
  font-family: var(--rhx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--rhx-muted);
}


/* =====================================================================
   5.  MIGRATE  (Etsy → Shopify package highlight)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-migrate {
  background:
    linear-gradient(180deg, var(--rhx-orange-tint), transparent 70%),
    var(--rhx-cream-2);
  border-top: 1px solid var(--rhx-line);
  border-bottom: 1px solid var(--rhx-line);
}

body.page-template-page-shopify-danismanlik .rhx-migrate__head {
  max-width: 760px;
  margin: 0 0 3rem;
}
body.page-template-page-shopify-danismanlik .rhx-migrate__sub {
  font-size: 1.075rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
  margin: 0;
  max-width: 640px;
}

body.page-template-page-shopify-danismanlik .rhx-migrate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  body.page-template-page-shopify-danismanlik .rhx-migrate__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-migrate__grid {
    grid-template-columns: 1fr;
  }
}
body.page-template-page-shopify-danismanlik .rhx-mig {
  background: #fff;
  border: 1px solid var(--rhx-line);
  border-radius: var(--rhx-radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 220ms ease, border-color 220ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-mig:hover {
  transform: translateY(-2px);
  border-color: var(--rhx-orange);
}
body.page-template-page-shopify-danismanlik .rhx-mig__num {
  font-family: var(--rhx-font-mono);
  font-size: 0.85rem;
  color: var(--rhx-orange);
  font-weight: 500;
  letter-spacing: 0.04em;
}
body.page-template-page-shopify-danismanlik .rhx-mig__title {
  font-family: var(--rhx-font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-mig__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
}

body.page-template-page-shopify-danismanlik .rhx-migrate__cta {
  margin-top: 2.75rem;
  text-align: center;
}


/* =====================================================================
   6.  PROCESS  (timeline)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-process__head {
  max-width: 720px;
  margin: 0 0 3.5rem;
}
body.page-template-page-shopify-danismanlik .rhx-process__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
  margin: 0;
}

body.page-template-page-shopify-danismanlik .rhx-process__timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
body.page-template-page-shopify-danismanlik .rhx-process__timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  background:
    repeating-linear-gradient(90deg,
      var(--rhx-orange) 0 6px,
      transparent 6px 12px);
  opacity: 0.5;
  z-index: 0;
}

body.page-template-page-shopify-danismanlik .rhx-process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
}
body.page-template-page-shopify-danismanlik .rhx-process__num {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rhx-cream);
  border: 1px solid var(--rhx-line-strong);
  font-family: var(--rhx-font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rhx-orange);
  position: relative;
  z-index: 1;
}
body.page-template-page-shopify-danismanlik .rhx-process__title {
  font-family: var(--rhx-font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.5rem 0 0;
  letter-spacing: -0.01em;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-process__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
}

@media (max-width: 900px) {
  body.page-template-page-shopify-danismanlik .rhx-process__timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-process__timeline::before {
    top: 0; bottom: 0; left: 23px; right: auto;
    width: 1px; height: auto;
    background:
      repeating-linear-gradient(180deg,
        var(--rhx-orange) 0 6px,
        transparent 6px 12px);
  }
}


/* =====================================================================
   7.  PROFILES  (Kim İçin?)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-profiles__head {
  max-width: 720px;
  margin: 0 0 3.5rem;
}
body.page-template-page-shopify-danismanlik .rhx-profiles__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
  margin: 0;
}
body.page-template-page-shopify-danismanlik .rhx-profiles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 760px) {
  body.page-template-page-shopify-danismanlik .rhx-profiles__grid {
    grid-template-columns: 1fr;
  }
}
body.page-template-page-shopify-danismanlik .rhx-prof {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--rhx-card);
  border: 1px solid var(--rhx-line);
  border-radius: var(--rhx-radius-lg);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-prof:hover {
  transform: translateY(-3px);
  border-color: var(--rhx-orange);
  box-shadow: 0 10px 30px rgba(255, 95, 0, 0.06);
}
body.page-template-page-shopify-danismanlik .rhx-prof__num {
  font-family: var(--rhx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rhx-orange);
}
body.page-template-page-shopify-danismanlik .rhx-prof__title {
  font-family: var(--rhx-font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-prof__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
}
body.page-template-page-shopify-danismanlik .rhx-prof__cta {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--rhx-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rhx-orange);
}
body.page-template-page-shopify-danismanlik .rhx-prof:hover .rhx-prof__arrow {
  transform: translateX(4px);
}
body.page-template-page-shopify-danismanlik .rhx-prof__arrow {
  display: inline-block;
  transition: transform 220ms ease;
}


/* =====================================================================
   8.  FORM  (2-col)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-form {
  background: #fff;
  border-top: 1px solid var(--rhx-line);
  border-bottom: 1px solid var(--rhx-line);
}
body.page-template-page-shopify-danismanlik .rhx-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  body.page-template-page-shopify-danismanlik .rhx-form__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
body.page-template-page-shopify-danismanlik .rhx-form__sticky {
  position: sticky;
  top: 100px;
}
@media (max-width: 900px) {
  body.page-template-page-shopify-danismanlik .rhx-form__sticky {
    position: static;
  }
}
body.page-template-page-shopify-danismanlik .rhx-form__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rhx-dark-2);
  margin: 0 0 1.5rem;
}
body.page-template-page-shopify-danismanlik .rhx-form__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
body.page-template-page-shopify-danismanlik .rhx-form__pills li {
  font-family: var(--rhx-font-mono);
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  background: var(--rhx-cream);
  border: 1px solid var(--rhx-line);
  border-radius: 999px;
  color: var(--rhx-dark-2);
}

body.page-template-page-shopify-danismanlik .rhx-form__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
body.page-template-page-shopify-danismanlik .rhx-field { display: flex; flex-direction: column; gap: 0.45rem; }
body.page-template-page-shopify-danismanlik .rhx-field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
body.page-template-page-shopify-danismanlik .rhx-field--row > div {
  display: flex; flex-direction: column; gap: 0.45rem;
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-field--row {
    grid-template-columns: 1fr;
  }
}
body.page-template-page-shopify-danismanlik .rhx-field label,
body.page-template-page-shopify-danismanlik .rhx-field--pills legend {
  font-family: var(--rhx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rhx-muted);
  padding: 0;
}
body.page-template-page-shopify-danismanlik .rhx-field input[type="text"],
body.page-template-page-shopify-danismanlik .rhx-field input[type="email"],
body.page-template-page-shopify-danismanlik .rhx-field input[type="tel"],
body.page-template-page-shopify-danismanlik .rhx-field textarea {
  font-family: var(--rhx-font-sans);
  font-size: 1rem;
  padding: 0.95rem 1rem;
  background: var(--rhx-cream);
  border: 1px solid var(--rhx-line);
  border-radius: var(--rhx-radius-sm);
  color: var(--rhx-dark);
  transition: border-color 200ms ease, background 200ms ease;
  width: 100%;
}
body.page-template-page-shopify-danismanlik .rhx-field input:focus,
body.page-template-page-shopify-danismanlik .rhx-field textarea:focus {
  outline: none;
  border-color: var(--rhx-orange);
  background: #fff;
}
body.page-template-page-shopify-danismanlik .rhx-field--pills {
  border: none;
  padding: 0;
  margin: 0;
}
body.page-template-page-shopify-danismanlik .rhx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
body.page-template-page-shopify-danismanlik .rhx-pill {
  cursor: pointer;
  position: relative;
}
body.page-template-page-shopify-danismanlik .rhx-pill input {
  position: absolute; opacity: 0; pointer-events: none;
}
body.page-template-page-shopify-danismanlik .rhx-pill span {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--rhx-cream);
  border: 1px solid var(--rhx-line);
  border-radius: 999px;
  color: var(--rhx-dark-2);
  transition: all 180ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-pill:hover span {
  border-color: var(--rhx-line-strong);
}
body.page-template-page-shopify-danismanlik .rhx-pill input:checked + span {
  background: var(--rhx-dark);
  color: #fff;
  border-color: var(--rhx-dark);
}

body.page-template-page-shopify-danismanlik .rhx-kvkk {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--rhx-dark-2);
}
body.page-template-page-shopify-danismanlik .rhx-kvkk input {
  position: absolute; opacity: 0; pointer-events: none;
}
body.page-template-page-shopify-danismanlik .rhx-kvkk__box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1px solid var(--rhx-line-strong);
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: all 180ms ease;
  margin-top: 1px;
}
body.page-template-page-shopify-danismanlik .rhx-kvkk input:checked ~ .rhx-kvkk__box {
  background: var(--rhx-orange);
  border-color: var(--rhx-orange);
}
body.page-template-page-shopify-danismanlik .rhx-kvkk input:checked ~ .rhx-kvkk__box::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

body.page-template-page-shopify-danismanlik .rhx-form__status {
  font-family: var(--rhx-font-mono);
  font-size: 0.85rem;
  margin: 0;
  min-height: 1.2em;
  color: var(--rhx-dark-2);
}
body.page-template-page-shopify-danismanlik .rhx-form__status.is-ok    { color: #1f7a3a; }
body.page-template-page-shopify-danismanlik .rhx-form__status.is-error { color: #c4321a; }


/* =====================================================================
   9.  FAQ
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-faq__head {
  max-width: 720px;
  margin: 0 0 3rem;
}
body.page-template-page-shopify-danismanlik .rhx-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rhx-line);
}
body.page-template-page-shopify-danismanlik .rhx-faq__item {
  border-bottom: 1px solid var(--rhx-line);
  position: relative;
}
body.page-template-page-shopify-danismanlik .rhx-faq__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--rhx-orange);
  opacity: 0;
  transition: opacity 220ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-faq__item.is-open::before {
  opacity: 1;
}
body.page-template-page-shopify-danismanlik .rhx-faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0.5rem 1.5rem 1.25rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--rhx-font-sans);
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-faq__num {
  font-family: var(--rhx-font-mono);
  font-size: 0.85rem;
  color: var(--rhx-muted);
  letter-spacing: 0.04em;
}
body.page-template-page-shopify-danismanlik .rhx-faq__qtext {
  font-weight: 600;
  font-size: 1.075rem;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
body.page-template-page-shopify-danismanlik .rhx-faq__icon {
  position: relative;
  width: 18px; height: 18px;
  display: inline-block;
  justify-self: end;
}
body.page-template-page-shopify-danismanlik .rhx-faq__icon span {
  position: absolute;
  background: var(--rhx-dark);
  border-radius: 1px;
  transition: transform 240ms cubic-bezier(.65,0,.35,1), background 240ms ease;
}
body.page-template-page-shopify-danismanlik .rhx-faq__icon span:nth-child(1) {
  left: 0; right: 0; top: 50%;
  height: 2px;
  transform: translateY(-50%);
}
body.page-template-page-shopify-danismanlik .rhx-faq__icon span:nth-child(2) {
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
}
body.page-template-page-shopify-danismanlik .rhx-faq__item.is-open .rhx-faq__icon span { background: var(--rhx-orange); }
body.page-template-page-shopify-danismanlik .rhx-faq__item.is-open .rhx-faq__icon span:nth-child(2) {
  transform: translateX(-50%) scaleY(0);
}

body.page-template-page-shopify-danismanlik .rhx-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms cubic-bezier(.65,0,.35,1);
}
body.page-template-page-shopify-danismanlik .rhx-faq__item.is-open .rhx-faq__a {
  grid-template-rows: 1fr;
}
body.page-template-page-shopify-danismanlik .rhx-faq__ainner {
  overflow: hidden;
  min-height: 0;
}
body.page-template-page-shopify-danismanlik .rhx-faq__ainner p {
  margin: 0 0.5rem 1.5rem 4.85rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rhx-dark-2);
  max-width: 760px;
}

@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-faq__q {
    grid-template-columns: 36px 1fr 28px;
    gap: 0.75rem;
    padding-left: 0.85rem;
  }
  body.page-template-page-shopify-danismanlik .rhx-faq__qtext { font-size: 1rem; }
  body.page-template-page-shopify-danismanlik .rhx-faq__ainner p { margin-left: 2.25rem; }
}


/* =====================================================================
   10. CLOSE STRIP
   ===================================================================== */
body.page-template-page-shopify-danismanlik .rhx-close__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
body.page-template-page-shopify-danismanlik .rhx-close .h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}


/* =====================================================================
   fade-up fallback (in case effects.js is not loaded)
   ===================================================================== */
body.page-template-page-shopify-danismanlik .fade-up {
  opacity: 1;
}


/* =====================================================================
   #rhx-shopify-hero  ·  ID-SCOPED MAP WIDGET
   ===================================================================== */

#rhx-shopify-hero {
  --hero-bg:        #FFFFFF;
  --hero-cream:     #F5F1EA;
  --hero-orange:    #FF5F00;
  --hero-dark:      #1A1A1A;
  --hero-line:      rgba(26, 26, 26, 0.18);
  --hero-line-soft: rgba(26, 26, 26, 0.10);
  --hero-card:      rgba(255, 255, 255, 0.92);
  --hero-mono:      'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --hero-sans:      'Plus Jakarta Sans', -apple-system, sans-serif;

  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 48%, rgba(255,95,0,0.10), transparent 55%),
    linear-gradient(180deg, #FAF7F2, #F5F1EA);
}

/* Subtle dot-grid texture */
#rhx-shopify-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26,26,26,0.07) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

#rhx-shopify-hero .rhx-shopify-hero__hud {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 5;
  pointer-events: none;
  font-family: var(--hero-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#rhx-shopify-hero .rhx-shopify-hero__phase {
  background: var(--hero-card);
  border: 1px solid var(--hero-line-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--hero-orange);
  backdrop-filter: blur(8px);
}
#rhx-shopify-hero .rhx-shopify-hero__center {
  color: var(--hero-dark);
  opacity: 0.7;
  background: var(--hero-card);
  border: 1px solid var(--hero-line-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

#rhx-shopify-hero .rhx-shopify-hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  transition: filter 600ms ease;
}

#rhx-shopify-hero .map-land path {
  fill: none;
  stroke: var(--hero-line);
  stroke-width: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

#rhx-shopify-hero .map-routes path {
  fill: none;
  stroke: var(--hero-orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  opacity: 0;
}
#rhx-shopify-hero .map-routes path.is-drawing {
  animation: rhx-route-draw 1100ms cubic-bezier(.65,0,.35,1) forwards;
}
#rhx-shopify-hero .map-routes path.is-faded {
  opacity: 0.25;
  stroke-dashoffset: 0;
}

@keyframes rhx-route-draw {
  0%   { opacity: 0;   stroke-dashoffset: var(--len, 1000); }
  10%  { opacity: 0.95; }
  100% { opacity: 0.95; stroke-dashoffset: 0; }
}

#rhx-shopify-hero .map-dots circle.endpoint {
  fill: var(--hero-orange);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
#rhx-shopify-hero .map-dots circle.endpoint.is-pop {
  animation: rhx-dot-pop 480ms cubic-bezier(.5,1.6,.4,1) forwards;
}
#rhx-shopify-hero .map-dots circle.endpoint.is-faded {
  opacity: 0.45;
}
@keyframes rhx-dot-pop {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}

/* Center pulse (Istanbul) */
#rhx-shopify-hero .map-center .center-core {
  fill: var(--hero-orange);
}
#rhx-shopify-hero .map-center .center-ring {
  fill: none;
  stroke: var(--hero-orange);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: rhx-ripple-pulse 2.4s cubic-bezier(.4,0,.2,1) infinite;
}
#rhx-shopify-hero .map-center .center-ring.delay {
  animation-delay: 1.2s;
}
@keyframes rhx-ripple-pulse {
  0%   { opacity: 0.6; transform: scale(0.4); }
  80%  { opacity: 0;   transform: scale(2.6); }
  100% { opacity: 0;   transform: scale(2.6); }
}

/* Cards — absolute HTML overlay (screen-space, NOT inside viewBox) */
#rhx-shopify-hero .rhx-shopify-hero__cards {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
#rhx-shopify-hero .rhx-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.6rem 0.4rem 0.5rem;
  background: var(--hero-card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
  font-family: var(--hero-sans);
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(var(--tx,0), calc(var(--ty,0) + 8px), 0) scale(1);
  transform-origin: left center;
  transition: opacity 320ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
  /* card anchors at top-left of its hosting position; offset visually upward via negative top + small left margin */
  margin-top: -50px;
  margin-left: 10px;
}
#rhx-shopify-hero .rhx-card.is-in {
  opacity: 1;
  transform: translate3d(var(--tx,0), var(--ty,0), 0) scale(1);
}
#rhx-shopify-hero .rhx-card.is-faded {
  opacity: 0.55;
  transform: translate3d(var(--tx,0), var(--ty,0), 0) scale(0.78);
}
#rhx-shopify-hero .rhx-card.flip-left {
  transform-origin: right center;
  margin-left: -160px;
}
#rhx-shopify-hero .rhx-card__flag {
  font-size: 16px;
  line-height: 1;
}
#rhx-shopify-hero .rhx-card__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
}
#rhx-shopify-hero .rhx-card__num {
  font-family: var(--hero-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-orange);
  font-weight: 500;
}
#rhx-shopify-hero .rhx-card__city {
  font-size: 10.5px;
  color: var(--hero-dark);
  font-weight: 500;
}
#rhx-shopify-hero .rhx-card__city em {
  font-style: normal;
  color: rgba(26,26,26,0.55);
}

/* Legend */
#rhx-shopify-hero .rhx-shopify-hero__legend {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--hero-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.65);
  padding: 0.45rem 0.8rem;
  background: var(--hero-card);
  border: 1px solid var(--hero-line-soft);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
#rhx-shopify-hero .lg-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--hero-orange);
  box-shadow: 0 0 0 4px rgba(255,95,0,0.18);
}
#rhx-shopify-hero .lg-progress {
  display: inline-block;
  width: 70px; height: 2px;
  background: rgba(26,26,26,0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-left: 0.4rem;
}
#rhx-shopify-hero .lg-progress__bar {
  display: block;
  width: 0%; height: 100%;
  background: var(--hero-orange);
  transition: width 600ms cubic-bezier(.65,0,.35,1);
}

/* Mobile: simplify */
@media (max-width: 760px) {
  #rhx-shopify-hero .rhx-shopify-hero__hud {
    font-size: 0.62rem;
    top: 0.6rem; left: 0.7rem; right: 0.7rem;
  }
  #rhx-shopify-hero .rhx-shopify-hero__legend {
    bottom: 0.6rem; left: 0.7rem; right: 0.7rem;
    font-size: 0.62rem;
  }
  #rhx-shopify-hero .rhx-card {
    padding: 0.3rem 0.5rem 0.3rem 0.4rem;
  }
  #rhx-shopify-hero .rhx-card__city,
  #rhx-shopify-hero .rhx-card__num {
    font-size: 9.5px;
  }
}

/* Looping fade-out (between cycles) */
#rhx-shopify-hero {
  transition: opacity 900ms ease;
}
#rhx-shopify-hero.is-looping-out .map-routes,
#rhx-shopify-hero.is-looping-out .map-dots,
#rhx-shopify-hero.is-looping-out .rhx-shopify-hero__cards {
  transition: opacity 900ms ease;
  opacity: 0;
}

/* USA showcase — New York "en büyük pazar" highlight */
#rhx-shopify-hero .map-dots circle.endpoint.is-hero {
  r: 7;
  filter: drop-shadow(0 0 10px rgba(255,95,0,0.55));
  animation: rhx-hero-pulse 1.6s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes rhx-hero-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.85; }
}
#rhx-shopify-hero .rhx-card.is-hero {
  background: var(--hero-orange);
  border-color: var(--hero-orange);
  box-shadow: 0 8px 28px rgba(255,95,0,0.4);
  transform: translate3d(var(--tx,0), var(--ty,0), 0) scale(1.08);
  z-index: 10;
}
#rhx-shopify-hero .rhx-card.is-hero .rhx-card__num,
#rhx-shopify-hero .rhx-card.is-hero .rhx-card__city {
  color: #fff;
}
#rhx-shopify-hero .rhx-card.is-hero .rhx-card__city em {
  color: rgba(255,255,255,0.85);
}
#rhx-shopify-hero .rhx-card.is-hero::after {
  content: "EN BÜYÜK PAZAR";
  position: absolute;
  top: -22px;
  left: 0;
  font-family: var(--hero-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--hero-orange);
  background: #fff;
  border: 1px solid rgba(255,95,0,0.35);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
  font-weight: 600;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #rhx-shopify-hero .map-routes path,
  #rhx-shopify-hero .map-dots circle.endpoint,
  #rhx-shopify-hero .map-center .center-ring,
  #rhx-shopify-hero .rhx-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

/* ===== Universal-tone revisions (rev 8) ===== */
body.page-template-page-shopify-danismanlik .rhx-hero__lead {
  font-family: var(--rhx-font-sans);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--rhx-dark);
  margin: 1.4rem 0 1rem;
  text-wrap: pretty;
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-hero__lead {
    font-size: 1.15rem;
    margin: 1rem 0 0.75rem;
  }
}
body.page-template-page-shopify-danismanlik .rhx-compare__sublink {
  color: var(--rhx-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease;
  white-space: nowrap;
}
body.page-template-page-shopify-danismanlik .rhx-compare__sublink:hover {
  color: var(--rhx-dark);
}
body.page-template-page-shopify-danismanlik .rhx-close__sub {
  font-family: var(--rhx-font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--rhx-dark-2);
  max-width: 560px;
  margin: 1.2rem auto 1.8rem;
  text-wrap: pretty;
}
@media (max-width: 600px) {
  body.page-template-page-shopify-danismanlik .rhx-close__sub {
    font-size: 0.95rem;
    margin: 1rem auto 1.4rem;
  }
}
