/* RotaNur — tur landing + tur ürün sayfası karar yolculuğu (19.11.2026, tur-ux ajanı).
   Yükleyen: mu-plugins/rn-tur-ux.php. Yalnız sunum; [rn_turlar] / [rn_talep_formu] verisine dokunmaz.
   Seçiciler "html body" ile başlar: landing şablonunun gövde içi <style> bloğu aynı özgüllükte sonradan geldiği için. */

:root{--rnx-ink:#1c2333;--rnx-muted:#4e566e;--rnx-line:#dfe3ec;--rnx-soft:#f3f5f9;--rnx-blue:#3f5e9a;--rnx-blue-d:#2f4778;--rnx-green:#1f8f4e;--rnx-green-soft:#e7f4ec;--rnx-hh:72px}

/* ---------- 1. Bölüm gezinme çubuğu (yapışkan) ---------- */
html body .rnx-nav{position:sticky;top:var(--rnx-hh);z-index:60;margin:18px 0 4px;background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(140%) blur(8px);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--rnx-line)}
html body .rnx-nav.is-stuck{box-shadow:0 8px 18px -12px rgba(28,35,51,.35)}
html body .rnx-nav ul{list-style:none;margin:0;padding:8px 0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
html body .rnx-nav ul::-webkit-scrollbar{display:none}
html body .rnx-nav li{margin:0;padding:0;flex:0 0 auto;scroll-snap-align:start}
html body .rnx-nav li::before{content:none!important}
html body .rnx-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--rnx-line);background:#fff;color:var(--rnx-ink);font-size:14.5px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
html body .rnx-nav a:hover{border-color:var(--rnx-blue);color:var(--rnx-blue)}
html body .rnx-nav a[aria-current="true"]{background:var(--rnx-blue);border-color:var(--rnx-blue);color:#fff}
html body .rnx-nav a:focus-visible{outline:2px solid var(--rnx-blue);outline-offset:2px}
html body .rnx-nav .rnx-from{margin-left:auto;align-self:center;padding-left:10px;font-size:14px;color:var(--rnx-muted);white-space:nowrap}
html body .rnx-nav .rnx-from strong{color:var(--rnx-ink);font-size:15.5px}
html body .rn-landing .section[id],html body.single-product .prose h2[id],html body #paketler{scroll-margin-top:calc(var(--rnx-hh) + 72px)}
/* Ürün sayfasında gezinme çubuğu içerik sütununun başında */
html body.single-product .info-block > .rnx-nav{margin:0 0 14px}
html body .rnx-nav.rnx-nav-full{margin:10px 0 0}
@media(max-width:680px){
  html body.single-product .rnx-nav{margin:0 0 12px}
  html body .rnx-nav ul{padding:6px 0;-webkit-mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
  html body .rnx-nav a{padding:0 14px;font-size:14.5px}
  html body .rnx-nav .rnx-from{display:none}
}

/* ---------- 2. Tablolar: mobilde satır = kart ---------- */
@media(max-width:680px){
  html body .rnx-cards{border:0!important;background:none!important;overflow:visible!important;margin:16px 0!important}
  html body .rnx-cards table{display:block!important;min-width:0!important;width:100%!important;border:0!important;background:none!important}
  html body .rnx-cards thead{display:none!important}
  html body .rnx-cards tbody{display:flex!important;flex-direction:column;gap:10px;width:100%!important;min-width:0!important}
  html body .rnx-cards tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%!important;min-width:0!important;box-sizing:border-box;gap:8px 14px;padding:14px 16px;border:1px solid var(--rnx-line);border-radius:12px;background:#fff!important;box-shadow:0 1px 0 rgba(28,35,51,.04)}
  html body .rnx-cards tr:nth-child(even) td{background:none!important}
  html body .rnx-cards td{display:block!important;min-width:0!important;width:auto!important;white-space:normal!important;border:0!important;padding:0!important;background:none!important;font-size:15px;line-height:1.45;color:var(--rnx-ink)}
  html body .rnx-cards td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:13px;font-weight:600;color:var(--rnx-muted)}
  html body .rnx-cards td:first-child{grid-column:1/-1;font-size:16px;font-weight:700;padding-bottom:8px!important;border-bottom:1px solid var(--rnx-line)!important}
  html body .rnx-cards td:first-child::before{content:none}
  html body .rnx-cards td.rnx-wide{grid-column:1/-1;order:5}
  html body .rnx-cards td strong{font-size:16px}
}

/* ---------- 3. Neler dahil / dahil değil: işaretli listeler ---------- */
html body .rnx-inc ul{list-style:none!important;padding:0!important;margin:12px 0 0!important;display:grid;gap:10px 22px}
html body .rnx-inc li{position:relative;display:block!important;padding:0 0 0 34px!important;margin:0!important;line-height:1.55;color:var(--rnx-ink)}
html body .rnx-inc li::before{content:""!important;position:absolute;left:0;top:.1em;width:24px;height:24px;border-radius:50%;background:var(--rnx-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8f4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat}
html body .rnx-inc-no li::before{background:#f1f2f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6470' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/12px no-repeat}
html body .rnx-inc-gift li::before{background:#e9eef8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f5e9a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v9H5v-9M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center/13px no-repeat}
/* Landing "Neler dahil?" bölümü: geniş ekranda iki sütun */
@media(min-width:900px){html body .rn-landing .rnx-inc ul{grid-template-columns:1fr 1fr}}
/* Ürün: dahil | dahil değil yan yana iki panel (zemin farklı tonda, net sınır, iç içe kutu yok) */
html body .rnx-incpair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0}
html body .rnx-incpair > .rnx-inc{padding:20px 22px;border-radius:14px;border:1px solid var(--rnx-line);background:#fff}
html body .rnx-incpair > .rnx-inc-yes{border-color:#bfe0cb;background:#f6fbf8}
html body .rnx-incpair > .rnx-inc-no{background:var(--rnx-soft)}
html body .rnx-incpair h2{margin:0!important}
html body.single-product .rnx-inc-gift{margin:0 0 26px}
@media(max-width:900px){html body .rnx-incpair{grid-template-columns:1fr;gap:12px}}
@media(max-width:680px){html body .rnx-incpair > .rnx-inc{padding:16px}}

/* ---------- 4. Landing fotoğraf bandı (medya kütüphanesindeki ürün galerisi fotoğrafları) ---------- */
html body .rn-landing .rnx-gallery-band{padding-top:40px}
html body .rnx-gallery-band .rnx-gb{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:210px 210px;gap:12px;margin:0}
html body .rnx-gallery-band figure{position:relative;margin:0;overflow:hidden;border-radius:14px;background:#e9ecf2}
html body .rnx-gallery-band figure:first-child{grid-row:span 2}
html body .rnx-gallery-band.rnx-n3 .rnx-gb{grid-template-columns:2fr 1fr}
html body .rnx-gallery-band.rnx-n4 .rnx-gb{grid-template-columns:2fr 1fr 1fr}
html body .rnx-gallery-band.rnx-n4 figure:nth-child(4){grid-column:2/-1}
html body .rnx-gallery-band img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in;transition:transform .6s ease}
html body .rnx-gallery-band figure:hover img{transform:scale(1.03)}
html body .rnx-gallery-band figure:first-child img{animation:rnxDrift 26s ease-in-out infinite alternate;transform-origin:60% 40%}
@keyframes rnxDrift{from{transform:scale(1)}to{transform:scale(1.07) translate(-1.2%,-.8%)}}
html body .rnx-gallery-band figcaption{position:absolute;right:8px;bottom:8px;max-width:calc(100% - 16px);padding:3px 8px;border-radius:6px;background:rgba(15,23,32,.62);color:#fff;font-size:11px;line-height:1.35;pointer-events:none}
@media(max-width:900px){html body .rnx-gallery-band .rnx-gb{grid-template-rows:170px 170px}}
@media(max-width:680px){
  html body .rn-landing .rnx-gallery-band{padding-top:28px}
  html body .rnx-gallery-band .rnx-gb,html body .rnx-gallery-band.rnx-n3 .rnx-gb,html body .rnx-gallery-band.rnx-n4 .rnx-gb{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 16px}
  html body .rnx-gallery-band .rnx-gb::-webkit-scrollbar{display:none}
  html body .rnx-gallery-band figure{flex:0 0 80%;height:230px;scroll-snap-align:center}
  html body .rnx-gallery-band figure:first-child img{animation:none}
}

/* ---------- 5. Ürün galerisi: mobilde kaydırmalı şerit + sayaç; "Tüm fotoğraflar" tıklanır ---------- */
html body .gallery .g-extra{display:none}
html body .gallery .g-more{cursor:pointer;z-index:2}
html body .gallery .g-more:focus-visible{outline:2px solid #fff;outline-offset:-4px}
html body .rnx-gcount{display:none}
/* sarmalayıcı, temanın mobil sıralamasında galerinin yerini (order:1) alır */
@media(max-width:1024px){html body .product-layout > div > .rnx-gwrap{order:1}}
@media(max-width:680px){
  html body.single-product .gallery{display:flex!important;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 16px;position:relative}
  html body.single-product .gallery::-webkit-scrollbar{display:none}
  html body.single-product .gallery .g-item,html body.single-product .gallery .g-extra{display:block;flex:0 0 86%;height:250px;scroll-snap-align:center;border-radius:12px}
  html body.single-product .gallery .g-more{display:none}
  html body.single-product .rnx-gwrap{position:relative}
  html body.single-product .rnx-gwrap .rnx-gcount{display:block;position:absolute;right:10px;bottom:10px;z-index:3;padding:5px 10px;border-radius:999px;background:rgba(15,23,32,.68);color:#fff;font-size:13px;font-weight:600;line-height:1.2;pointer-events:none}
}

@media(prefers-reduced-motion:reduce){
  html body .rnx-gallery-band img,html body .rnx-gallery-band figure:first-child img{animation:none!important;transition:none!important}
  html body .rnx-nav a{transition:none}
}
