:root{
  --brand-ink:#1c1c1c;
  --brand-muted:#6b6b6b;
  --brand-bg:#ffffff;
  --brand-sand:#f4efe6;
  --brand-hemp:#2e6a4f;
  --brand-hemp-2:#2a5742;
  --brand-card:#ffffff;

  --radius:18px;
  --shadow: 0 14px 44px rgba(0,0,0,.08);

  --focus: 0 0 0 .22rem rgba(46,106,79,.22);
}

/* ===== Base ===== */
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--brand-ink);
  background:linear-gradient(180deg,var(--brand-bg),var(--brand-sand));
}

a{ color:var(--brand-hemp); text-decoration:none; }
a:hover{ color:var(--brand-hemp-2); }

:focus-visible{
  outline:none;
  box-shadow: var(--focus) !important;
  border-radius: 12px;
}

/* ===== Navbar ===== */
.navbar{
  backdrop-filter:saturate(180%) blur(10px);
  background:rgba(255,255,255,.86)!important;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.navbar-brand{ font-weight:800; letter-spacing:.2px; }

.badge-cart{ background:var(--brand-hemp); }

/* ===== Brand / Logo ===== */
.brand-wrap{ text-decoration:none; }
.brand-logo{
  width:46px;
  height:46px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
  overflow:hidden;
  position:relative;
  transform:translateZ(0);
}
.brand-logo img{ height:34px; width:auto; display:block; }
.brand-fallback{ font-weight:900; font-size:20px; color:var(--brand-hemp); }
.brand-title{ font-size:1.02rem; }
.brand-sub{ font-size:.85rem; }

/* ===== Buttons ===== */
.btn-hemp{
  background:linear-gradient(135deg,var(--brand-hemp),var(--brand-hemp-2));
  color:#fff;
  border:none;
  border-radius:14px;
  padding:10px 14px;
  box-shadow: 0 12px 30px rgba(46,106,79,.16);
}
.btn-hemp:hover{ filter:brightness(1.05); color:#fff; }

.btn-outline-hemp{
  border:1px solid rgba(46,106,79,.35);
  color:var(--brand-hemp);
  border-radius:14px;
  background:transparent;
}
.btn-outline-hemp:hover{
  background:rgba(46,106,79,.08);
  color:var(--brand-hemp);
}

.btn-ghost{
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  border-radius:14px;
  background:rgba(255,255,255,.06);
}
.btn-ghost:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
}

/* ===== Cards / Tiles ===== */
.card-soft{
  background:var(--brand-card);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card-soft:hover{ transform:translateY(-2px); }

.small-muted{ color:var(--brand-muted); font-size:.92rem; }

/* ===== Hero (modern) ===== */
.hero2{
  position:relative;
  overflow:hidden;
  border-radius: calc(var(--radius) + 8px);
  min-height: 440px;
  box-shadow: var(--shadow);
}
.hero2-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}
.hero2-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(80% 90% at 20% 20%, rgba(46,106,79,.40), rgba(0,0,0,.40)),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.42));
}
.hero2-content{
  position:relative;
  padding: 34px;
  color:#fff;
}
@media (max-width: 768px){
  .hero2{ min-height: 420px; }
  .hero2-content{ padding: 22px; }
}

.hero2-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  font-size:.92rem;
  color: rgba(255,255,255,.92);
}
.hero2-title{
  font-weight: 950;
  letter-spacing: -.3px;
  font-size: clamp(28px, 3.3vw, 50px);
}
.hero2-lead{
  color: rgba(255,255,255,.86);
  max-width: 62ch;
  line-height: 1.7;
}

/* trust strip */
.trust-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.trust-pill{
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  padding:10px 12px;
  border-radius:999px;
  font-weight:700;
  color: rgba(255,255,255,.92);
}

/* steps */
.step-list{ display:flex; flex-direction:column; gap:10px; }
.step-item{ display:flex; gap:10px; align-items:flex-start; }
.step-no{
  width:30px; height:30px;
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(46,106,79,.12);
  border:1px solid rgba(46,106,79,.18);
  color: var(--brand-hemp);
  font-weight:900;
}

/* ===== Category Tile ===== */
.category-tile{
  border-radius:var(--radius);
  padding:18px;
  border:1px solid rgba(0,0,0,.06);
  background:linear-gradient(180deg,#ffffff,#fbfaf7);
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:transform .2s ease, box-shadow .2s ease;
}
.category-tile:hover{
  transform:translateY(-2px);
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}
.category-tile .meta{ color:var(--brand-muted); font-size:.92rem; }
.category-tile .icon{
  width:42px; height:42px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(46,106,79,.12);
  color:var(--brand-hemp);
  font-weight:900;
}

/* ===== Product Card ===== */
.product-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-top-left-radius:var(--radius);
  border-top-right-radius:var(--radius);
}
.product-card .pbody{ padding:16px; }
.product-card .pname{ font-weight:900; margin:0 0 6px 0; }
.product-card .pmeta{ color:var(--brand-muted); font-size:.92rem; }
.product-card .price{ font-weight:950; font-size:1.05rem; }

/* Swiper pager */
.swiper-pager{
  display:flex;
  justify-content:center;
  padding-top: 8px;
}
.swiper-pagination-bullet{ opacity:.35; }
.swiper-pagination-bullet-active{ opacity:1; }

/* ===== Footer ===== */
.footer{
  border-top:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.74);
  backdrop-filter:blur(10px);
}
.footer a{ color:inherit; }
.footer a:hover{ text-decoration:underline !important; }

/* =========================
   SPLASH / LOADING SCREEN
   ========================= */
body.splash-lock{
  overflow:hidden;
}

.splash{
  position:fixed;
  inset:0;
  z-index: 9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}

.splash-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 30% 25%, rgba(46,106,79,.30), transparent 55%),
    radial-gradient(900px 600px at 70% 70%, rgba(0,0,0,.28), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(244,239,230,.88));
  backdrop-filter: blur(10px);
}

.splash-card{
  position:relative;
  width:min(560px, 92vw);
  border-radius: 26px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
  padding: 26px 22px;
  text-align:center;
}

.splash-logo{
  width:110px;
  height:110px;
  border-radius: 34px;
  margin: 0 auto 12px auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
  overflow:hidden;
}
.splash-logo img{ width:auto; height:74px; display:block; }
.splash-fallback{ font-weight:950; font-size:44px; color: var(--brand-hemp); }

.splash-title{
  font-weight: 950;
  letter-spacing: -.3px;
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.splash-sub{
  color: var(--brand-muted);
  font-weight: 700;
  margin-bottom: 18px;
}

.splash-progress-wrap{
  margin-top: 6px;
}
.splash-progress-bar{
  height: 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.07);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.05);
}
.splash-progress-fill{
  height:100%;
  width:0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-hemp), var(--brand-hemp-2));
  transition: width 120ms linear;
}
.splash-progress-meta{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-top: 10px;
  font-weight: 900;
}
.splash-percent{ color: var(--brand-ink); }
.splash-hint{ color: var(--brand-muted); font-weight: 800; }

/* Exit animation (overlay fade) */
.splash.splash-exit{
  pointer-events:none;
}
.splash.splash-exit .splash-card{
  opacity:0;
  transform: translateY(10px) scale(.98);
  transition: opacity 380ms ease, transform 380ms ease;
}
.splash.splash-exit .splash-bg{
  opacity:0;
  transition: opacity 380ms ease;
}

/* Ghost logo flight */
.splash-ghost{
  position:fixed;
  z-index: 10000;
  left:0; top:0;
  transform-origin: top left;
  will-change: transform;
  border-radius: 34px;
  overflow:hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
@media (prefers-reduced-motion: reduce){
  .splash-progress-fill{ transition:none !important; }
}


/* -------------------------------------------------------
   Extra utilities (Başarılarımız / Envanter & Muhasebe)
------------------------------------------------------- */
.text-bg-hemp{ background:#1f7a4d !important; color:#fff !important; }
.text-bg-gold{ background:#d4af37 !important; color:#1a1a1a !important; }
.text-bg-silver{ background:#c0c0c0 !important; color:#1a1a1a !important; }
.text-bg-bronze{ background:#cd7f32 !important; color:#1a1a1a !important; }
.text-bg-sky{ background:#0ea5e9 !important; color:#fff !important; }
.text-bg-violet{ background:#7c3aed !important; color:#fff !important; }
.text-bg-rose{ background:#f43f5e !important; color:#fff !important; }
.text-bg-charcoal{ background:#111827 !important; color:#fff !important; }

.kdy-mini-note{
  font-size:.9rem;
  color: rgba(0,0,0,.65);
}
