/* ============================================================
   Vexaris — Azure Teması (açık mavi · beyaz)
   Özgün tasarım. Değişkenler & taban.
   ============================================================ */
:root{
  --bg:#f4f8fe;
  --bg-soft:#eef4fc;
  --surface:#ffffff;
  --surface-2:#f9fcff;
  --text:#0e2a4a;
  --text-2:#41536b;
  --muted:#6b7f99;
  --dim:#8da1ba;
  --line:#dbe6f3;
  --line-strong:#c9d9ec;
  --brand:#2b6eff;
  --brand-2:#17a8f5;
  --brand-deep:#1e4fd6;
  --brand-soft:rgba(43,110,255,.09);
  --brand-glow:rgba(43,110,255,.22);
  --ring:rgba(43,110,255,.35);
  --ok:#0fae7c;
  --warn:#ff9d3d;
  --danger:#e4576b;
  --shadow-sm:0 1px 2px rgba(14,42,74,.05),0 4px 14px rgba(14,42,74,.05);
  --shadow-md:0 10px 30px rgba(14,42,74,.09);
  --shadow-lg:0 24px 60px rgba(14,42,74,.14);
  --radius:16px;
  --radius-lg:22px;
  --radius-sm:10px;
  --font-title:'Outfit',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
  --nav-h:64px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button,input,select,textarea{font-family:inherit;}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;}

@keyframes azFadeUp{
  from{opacity:0;transform:translateY(18px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes azFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}
@keyframes azPulse{
  0%,100%{box-shadow:0 0 0 0 var(--brand-glow);}
  50%{box-shadow:0 0 0 12px rgba(43,110,255,0);}
}

/* ============================================================
   Butonlar — sade, düz, hafif
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:11px 20px;border-radius:12px;
  font-size:14px;font-weight:700;line-height:1.2;
  border:1.5px solid transparent;cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
  text-decoration:none;white-space:nowrap;user-select:none;
}
.btn:active{transform:translateY(1px) scale(.99);}
.btn svg{width:16px;height:16px;}

.btn-primary{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-2) 100%);color:#fff;box-shadow:0 8px 20px var(--brand-glow);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px var(--ring);}

.btn-ghost{background:var(--surface);color:var(--text);border-color:var(--line);box-shadow:var(--shadow-sm);}
.btn-ghost:hover{border-color:var(--brand-2);color:var(--brand);transform:translateY(-2px);}

.btn-soft{background:var(--brand-soft);color:var(--brand-deep);}
.btn-soft:hover{background:rgba(43,110,255,.14);transform:translateY(-2px);}

.btn-danger{background:rgba(228,87,107,.1);color:var(--danger);border-color:rgba(228,87,107,.28);}
.btn-danger:hover{background:var(--danger);color:#fff;transform:translateY(-2px);}

.btn-lg{padding:14px 26px;font-size:16px;border-radius:14px;}
.btn-sm{padding:8px 14px;font-size:13px;border-radius:10px;}
.btn-block{width:100%;}

/* ============================================================
   Sayfa konteyneri
   ============================================================ */
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 22px;}

.section{padding:72px 0;}
.section--soft{background:var(--surface);}
.section-head{margin-bottom:38px;}
.section-eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--brand);background:var(--brand-soft);
  padding:6px 13px;border-radius:999px;margin-bottom:14px;
}
.section-eyebrow svg{width:14px;height:14px;}
.section-title{font-family:var(--font-title);font-size:clamp(26px,4vw,38px);font-weight:800;letter-spacing:-.5px;line-height:1.15;color:var(--text);}
.section-sub{color:var(--muted);font-size:16px;max-width:560px;margin-top:12px;}
.section-head--center .section-title{margin-inline:auto;}
.section-head--center{text-align:center;}
.section-head--center .section-sub{margin-inline:auto;}

/* ============================================================
   Navbar
   ============================================================ */
.navbar{
  position:sticky;top:0;z-index:900;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid var(--line);
}
.navbar-inner{
  display:flex;align-items:center;gap:18px;
  height:var(--nav-h);
}
.navbar-logo{
  display:flex;align-items:center;gap:10px;
  font-family:var(--font-title);font-weight:800;font-size:18px;letter-spacing:-.3px;color:var(--text);
  flex-shrink:0;
}
.navbar-logo-icon{
  width:34px;height:34px;border-radius:10px;flex-shrink:0;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-2) 100%);
  color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 14px var(--brand-glow);
}
.navbar-logo-icon svg{width:18px;height:18px;}

.navbar-links{display:flex;align-items:center;gap:2px;flex:1;min-width:0;}
.navbar-links a{
  padding:9px 15px;border-radius:11px;font-size:14px;font-weight:600;color:var(--text-2);
  transition:background .15s,color .15s;display:flex;align-items:center;gap:7px;
}
.navbar-links a svg{width:15px;height:15px;color:var(--dim);}
.navbar-links a:hover{background:var(--brand-soft);color:var(--brand-deep);}
.navbar-links a.active{background:var(--brand-soft);color:var(--brand-deep);}
.navbar-links a.active svg{color:var(--brand);}

.navbar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.navbar-actions a{white-space:nowrap;}

.navbar-toggle{
  display:none;width:42px;height:42px;border-radius:11px;
  border:1.5px solid var(--line);background:var(--surface);color:var(--text);
  align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;
}
.navbar-toggle svg{width:19px;height:19px;}

/* Kullanıcı menüsü */
.nav-user{position:relative;}
.nav-user-btn{
  display:flex;align-items:center;gap:9px;
  background:var(--surface);border:1.5px solid var(--line);
  border-radius:12px;padding:6px 11px 6px 6px;cursor:pointer;
  transition:border-color .15s,box-shadow .15s;
}
.nav-user-btn:hover{border-color:var(--brand-2);box-shadow:var(--shadow-sm);}
.nav-user-avatar{width:28px;height:28px;border-radius:9px;object-fit:cover;image-rendering:pixelated;background:var(--brand-soft);}
.nav-user-name{font-size:12.5px;font-weight:800;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.nav-user-chevron{width:12px;height:12px;color:var(--dim);}
.nav-balance{
  display:flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:var(--ok);
  background:rgba(15,174,124,.1);border-radius:8px;padding:3px 8px;
}
.nav-dropdown{
  position:absolute;top:calc(100% + 8px);right:0;min-width:230px;
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow-md);padding:7px;z-index:980;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.nav-dropdown.open{opacity:1;visibility:visible;transform:translateY(0);}
.nav-dropdown-item{
  display:flex;align-items:center;gap:10px;width:100%;text-align:left;
  padding:9px 12px;border-radius:9px;font-size:13px;font-weight:700;color:var(--text-2);
  background:none;border:none;cursor:pointer;transition:background .13s,color .13s;
}
.nav-dropdown-item svg{width:15px;height:15px;color:var(--dim);flex-shrink:0;}
.nav-dropdown-item:hover{background:var(--brand-soft);color:var(--brand-deep);}
.nav-dropdown-item:hover svg{color:var(--brand);}
.nav-dropdown-item--danger:hover{background:rgba(228,87,107,.1);color:var(--danger);}
.nav-dropdown-item--danger:hover svg{color:var(--danger);}
.nav-dropdown-divider{height:1px;background:var(--line);margin:6px 4px;}

.nav-cart-btn{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:12px;
  border:1.5px solid var(--line);background:var(--surface);color:var(--text-2);cursor:pointer;
  transition:border-color .15s,color .15s;
}
.nav-cart-btn:hover{border-color:var(--brand-2);color:var(--brand);}
.nav-cart-btn svg{width:17px;height:17px;}
.nav-cart-badge{
  position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;
  background:var(--brand);color:#fff;font-size:10px;font-weight:900;
  border-radius:999px;display:flex;align-items:center;justify-content:center;
  border:2px solid var(--surface);
}

/* Mobil menü */
@media(max-width:900px){
  .navbar-links{
    position:fixed;top:var(--nav-h);left:0;right:0;
    flex-direction:column;align-items:stretch;gap:4px;
    background:var(--surface);border-bottom:1px solid var(--line);
    padding:14px 18px 18px;box-shadow:var(--shadow-md);
    transform:translateY(-8px);opacity:0;visibility:hidden;
    transition:transform .2s ease,opacity .2s ease,visibility .2s;
  }
  .navbar-links.open{transform:translateY(0);opacity:1;visibility:visible;}
  .navbar-links a{padding:12px 14px;}
  .navbar-toggle{display:flex;}
  .navbar-actions .btn--login,.navbar-actions .btn--signup{display:none;}
}
@media(max-width:520px){
  .nav-user-name{display:none;}
  .nav-dropdown{right:-6px;}
  .navbar-actions{gap:7px;}
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position:relative;overflow:hidden;
  padding:78px 0 90px;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(43,110,255,.14), transparent 60%),
    radial-gradient(700px 420px at -8% 30%, rgba(23,168,245,.13), transparent 60%),
    linear-gradient(180deg,#f4f8fe 0%,#ffffff 100%);
}
.hero::before,.hero::after{
  content:'';position:absolute;border-radius:50%;filter:blur(2px);opacity:.5;pointer-events:none;
}
.hero::before{
  width:280px;height:280px;top:-90px;right:8%;
  background:linear-gradient(135deg,rgba(43,110,255,.16),rgba(23,168,245,.10));
  animation:azFloat 9s ease-in-out infinite;
}
.hero::after{
  width:200px;height:200px;bottom:-60px;left:4%;
  background:linear-gradient(135deg,rgba(23,168,245,.14),rgba(43,110,255,.10));
  animation:azFloat 12s ease-in-out infinite reverse;
}
.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;}

.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:999px;padding:7px 15px;
  font-size:13px;font-weight:800;color:var(--text-2);
  box-shadow:var(--shadow-sm);margin-bottom:22px;
  animation:heroUp .6s ease both;
}
.hero-badge svg{width:15px;height:15px;color:var(--brand);}
.hero-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--brand);animation:azPulse 2.2s ease infinite;}

.hero-title{
  font-family:var(--font-title);
  font-size:clamp(34px,6vw,60px);
  font-weight:800;line-height:1.06;letter-spacing:-1.4px;color:var(--text);
  margin-bottom:20px;
  animation:heroUp .6s ease .08s both;
}
.hero-title em{
  font-style:normal;
  background:linear-gradient(120deg,var(--brand) 0%,var(--brand-2) 60%,#38c4f7 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-subtitle{
  color:var(--muted);font-size:17px;max-width:520px;margin-bottom:30px;
  animation:heroUp .6s ease .16s both;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;animation:heroUp .6s ease .24s both;}
.hero-stats{
  display:flex;flex-wrap:wrap;gap:0;margin-top:46px;
  border-top:1px solid var(--line);padding-top:26px;animation:heroUp .6s ease .3s both;
}
.hero-stat{padding:0 26px 0 0;border-right:1px solid var(--line);margin-right:26px;}
.hero-stat:last-child{border-right:none;margin-right:0;}
.hero-stat-number{display:block;font-family:var(--font-title);font-size:25px;font-weight:800;color:var(--brand);}
.hero-stat-label{display:block;font-size:12.5px;color:var(--muted);font-weight:600;margin-top:2px;}

.hero-visual{position:relative;animation:azFloat 7s ease-in-out infinite;}
.hero-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:30px;padding:34px;box-shadow:var(--shadow-lg);
  position:relative;
}
.hero-card::before{
  content:'';position:absolute;inset:0;border-radius:30px;pointer-events:none;
  background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,255,255,0));
}
.hero-card-mini{
  position:absolute;background:var(--surface);border:1px solid var(--line);
  border-radius:18px;padding:16px 20px;box-shadow:var(--shadow-md);
  display:flex;align-items:center;gap:12px;animation:azFloat 5s ease-in-out infinite;
}
.hero-card-mini--ok{top:-24px;left:-16px;}
.hero-card-mini--gear{bottom:-22px;right:-10px;animation-delay:1.4s;}
.hero-mini-icon{
  width:40px;height:40px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.hero-mini-icon svg{width:18px;height:18px;}
.hero-mini-icon--ok{background:rgba(15,174,110,.12);color:var(--ok);}
.hero-mini-icon--rt{background:var(--brand-soft);color:var(--brand);}
.hero-mini-title{font-size:13px;font-weight:800;}
.hero-mini-sub{font-size:11.5px;color:var(--muted);font-weight:600;}

.hero-chart{display:flex;flex-direction:column;gap:14px;}
.hero-chart-row{display:flex;align-items:center;gap:14px;font-size:13px;font-weight:700;color:var(--text-2);}
.hero-chart-label{width:110px;flex-shrink:0;display:flex;align-items:center;gap:8px;}
.hero-chart-label svg{width:14px;height:14px;color:var(--dim);}
.hero-chart-bar{flex:1;height:10px;border-radius:999px;background:var(--bg-soft);overflow:hidden;}
.hero-chart-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2));width:0;transition:width 1.4s cubic-bezier(.22,.61,.36,1);}

@keyframes heroUp{
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:translateY(0);}
}
.hero-anim{opacity:0;}
.hero-anim.hero-in-1{animation:heroUp .6s ease .05s both;}
.hero-anim.hero-in-2{animation:heroUp .6s ease .12s both;}
.hero-anim.hero-in-3{animation:heroUp .6s ease .19s both;}
.hero-anim.hero-in-4{animation:heroUp .6s ease .26s both;}
.hero-anim.hero-in-5{animation:heroUp .6s ease .33s both;}
.hero-anim.hero-in-6{animation:heroUp .6s ease .4s both;}

@media(max-width:900px){
  .hero{padding:54px 0 64px;}
  .hero-inner{grid-template-columns:1fr;gap:48px;}
  .hero-visual{order:2;}
  .hero-card-mini--ok{left:2px;}
  .hero-card-mini--rt{right:2px;}
}
@media(max-width:560px){
  .hero-title{font-size:34px;}
  .hero-stats{flex-direction:column;gap:18px;}
  .hero-stat{border-right:none;padding:0;margin-right:0;}
}

/* ============================================================
   Özellik / Güven bandı
   ============================================================ */
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.feature-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px 22px;position:relative;overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.feature-card::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  transform:scaleX(0);transform-origin:left;transition:transform .28s ease;
}
.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);}
.feature-card:hover::after{transform:scaleX(1);}
.feature-icon{
  width:52px;height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;color:#fff;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-2) 100%);
  box-shadow:0 8px 18px var(--brand-glow);
}
.feature-icon svg{width:22px;height:22px;}
.feature-card:nth-child(2) .feature-icon{background:linear-gradient(135deg,#12b0c9,#17a8f5);box-shadow:0 8px 18px rgba(18,176,201,.25);}
.feature-card:nth-child(3) .feature-icon{background:linear-gradient(135deg,#12b58a,#17a8f5);box-shadow:0 8px 18px rgba(18,181,138,.22);}
.feature-card:nth-child(4) .feature-icon{background:linear-gradient(135deg,#5a7bf7,#2f6eff);box-shadow:0 8px 18px rgba(90,123,247,.25);}
.feature-title{font-size:16px;font-weight:800;margin-bottom:7px;}
.feature-desc{font-size:13.5px;color:var(--muted);line-height:1.65;}

@media(max-width:940px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){.feature-grid{grid-template-columns:1fr;}}

/* ============================================================
   Duyurular
   ============================================================ */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.news-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .22s ease,box-shadow .22s ease;
}
.news-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);}
.news-card-media{
  height:170px;background:
    linear-gradient(160deg,rgba(43,110,255,.14),rgba(23,168,245,.05)),
    var(--bg-soft);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.news-card-media img{width:100%;height:100%;object-fit:cover;}
.news-card-media svg{width:46px;height:46px;color:var(--brand);opacity:.75;}
.news-card-body{padding:22px;display:flex;flex-direction:column;flex:1;}
.news-card-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:12px;color:var(--muted);font-weight:600;}
.news-card-meta svg{width:13px;height:13px;color:var(--dim);}
.news-pill{
  font-size:11px;font-weight:800;color:var(--brand-deep);
  background:var(--brand-soft);border-radius:999px;padding:3px 10px;
}
.news-card-title{font-size:16px;font-weight:800;line-height:1.4;color:var(--text);margin-bottom:8px;}
.news-card-desc{font-size:13px;color:var(--muted);line-height:1.6;flex:1;}
.news-card-foot{margin-top:16px;padding-top:14px;border-top:1px dashed var(--line);}
.news-empty{grid-column:1/-1;text-align:center;padding:40px 0;color:var(--muted);}

@media(max-width:940px){.news-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.news-grid{grid-template-columns:1fr;}}

/* ============================================================
   Ürün kartları
   ============================================================ */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px;}
@media(max-width:600px){.products-grid{grid-template-columns:1fr;gap:14px;}}
.product-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;position:relative;min-width:0;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--line-strong,#cfe0f1);}
.product-card.is-soldout{opacity:.6;}
.product-badge{
  position:absolute;top:12px;left:12px;z-index:5;
  font-size:11px;font-weight:800;color:#fff;
  background:var(--brand);border-radius:999px;padding:4px 10px;
  box-shadow:0 4px 10px rgba(0,0,0,.12);
  letter-spacing:.05em;text-transform:uppercase;
}
.product-badge--soldout{background:var(--danger);}
.product-media{
  width:100%;height:160px;background:
    linear-gradient(135deg,rgba(47,110,255,.14),rgba(23,168,245,.05)),
    var(--bg-soft);
  display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;
}
.product-media img{width:100%;height:100%;object-fit:cover;}
.product-media svg{width:44px;height:44px;color:var(--brand);opacity:.7;}
.product-body{padding:20px 22px;flex:1;display:flex;flex-direction:column;}
.product-cat{
  font-size:11px;font-weight:800;color:var(--brand-deep);display:flex;align-items:center;gap:6px;
  text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;
}
.product-cat svg{width:12px;height:12px;}
.product-title{
  font-size:16px;font-weight:800;line-height:1.3;color:var(--text);margin-bottom:8px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  overflow-wrap:anywhere;
}
.product-desc{font-size:13px;color:var(--muted);line-height:1.6;flex:1;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;}
.product-foot .btn{flex-shrink:0;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.product-price{display:flex;flex-direction:column;min-width:0;max-width:100%;flex-shrink:1;}
.product-price-current{font-family:var(--font-title);font-size:22px;font-weight:900;color:var(--brand-deep);line-height:1;white-space:nowrap;}
.product-price-label{font-size:11px;color:var(--muted);font-weight:600;margin-top:3px;}
.product-price-free{display:inline-flex;align-items:center;gap:7px;font-size:18px;font-weight:900;color:var(--brand-deep);white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;}
.product-price-free svg{width:17px;height:17px;flex-shrink:0;}
.products-empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:48px 0;}

/* ============================================================
   Referanslar
   ============================================================ */
.section--refs{background:
  radial-gradient(700px 300px at 50% 0%,rgba(43,110,255,.08),transparent 70%),
  var(--surface);}
.refs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,360px));justify-content:center;gap:20px;}
.ref-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px;display:flex;flex-direction:column;gap:16px;
  transition:transform .22s ease,box-shadow .22s ease;
}
.ref-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.ref-quote{width:30px;height:30px;color:var(--brand);opacity:.35;}
.ref-msg{font-size:14px;color:var(--text-2);line-height:1.75;font-style:italic;flex:1;}
.ref-person{display:flex;align-items:center;gap:13px;padding-top:16px;border-top:1px solid var(--line);}
.ref-avatar{
  width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;background:var(--brand-soft);
  display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:var(--brand);image-rendering:pixelated;
}
.ref-name{font-size:14px;font-weight:800;}
.ref-title{font-size:12.5px;color:var(--muted);font-weight:600;margin-top:1px;}
.ref-stars{display:flex;gap:3px;margin-top:5px;color:#f7b731;}
.ref-stars svg{width:13px;height:13px;}
.ref-stars svg.far{color:var(--dim);}

@media(max-width:560px){.refs-grid{grid-template-columns:minmax(0,1fr);}}

/* ============================================================
   CTA bandı
   ============================================================ */
.cta-band{
  border-radius:26px;overflow:hidden;position:relative;
  background:linear-gradient(135deg,var(--brand-deep) 0%,var(--brand) 55%,var(--brand-2) 100%);
  color:#fff;padding:52px 52px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;
  box-shadow:0 26px 60px var(--brand-glow);
}
.cta-band::before{
  content:'';position:absolute;right:-50px;top:-70px;width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.16) 0%,transparent 70%);filter:blur(1px);
}
.cta-band-title{font-family:var(--font-title);font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.4px;position:relative;z-index:1;}
.cta-band-sub{font-size:14px;opacity:.85;margin-top:8px;position:relative;z-index:1;}
.btn-white{
  background:#fff;color:var(--brand-deep);position:relative;z-index:1;
}
.btn-white:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(9,20,40,.28);}
.btn-white svg{width:16px;height:16px;}

/* ============================================================
   Footer
   ============================================================ */
.footer{
  background:#0d2038;color:#b6c6db;margin-top:60px;
  border-top:4px solid var(--brand-2);
}
.footer-inner{padding:56px 0 30px;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:44px;margin-bottom:40px;}
.footer-brand p{font-size:13.5px;line-height:1.7;color:#8196b1;margin-top:16px;max-width:320px;}
.footer-logo{
  display:flex;align-items:center;gap:10px;font-family:var(--font-title);font-weight:800;font-size:18px;color:#fff;
}
.footer-logo .navbar-logo-icon{box-shadow:0 6px 16px rgba(23,168,245,.3);}
.footer-socials{display:flex;gap:9px;margin-top:20px;}
.footer-social{
  width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#a9bcd6;
  transition:background .15s,color .15s,transform .15s;
}
.footer-social:hover{background:var(--brand);color:#fff;transform:translateY(-3px);}
.footer-social svg{width:16px;height:16px;}
.footer-col-title{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#e6eefb;margin-bottom:16px;}
.footer-links{display:flex;flex-direction:column;gap:10px;}
.footer-links a{display:flex;align-items:center;gap:9px;font-size:13.5px;color:#8fa4bf;transition:color .15s;}
.footer-links a svg{width:13px;height:13px;color:#667fa0;flex-shrink:0;}
.footer-links a:hover{color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.09);padding-top:24px;
  font-size:12.5px;color:#8196b2;
}
.footer-copy{display:flex;align-items:center;flex-wrap:wrap;gap:14px;}
.footer-copy .footer-copy-text{color:#8196b2;}
.footer-made{margin-left:auto;color:#7287a5;text-align:right;}
.footer-bottom a{color:#b9cdf4;font-weight:700;}

@media(max-width:940px){.footer-grid{grid-template-columns:1fr 1fr;gap:34px;}}
@media(max-width:520px){.footer-grid{grid-template-columns:1fr;}}

/* ============================================================
   Toast
   ============================================================ */
#azToast{
  position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:100000;
  display:flex;align-items:center;gap:10px;
  background:#0a2038;color:#fff;font-size:14px;font-weight:700;
  padding:13px 20px;border-radius:14px;box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transition:transform .25s ease,opacity .25s ease,visibility .25s;
  max-width:min(92vw,440px);
}
#azToast.show{opacity:1;visibility:visible;transform:translate(-50%,0);}
#azToast svg{width:17px;height:17px;flex-shrink:0;}
#azToast.toast-ok svg{color:var(--ok);}
#azToast.toast-err svg{color:var(--danger);}

@keyframes azSpin{to{transform:rotate(360deg);}}
.az-spin{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:azSpin .7s linear infinite;vertical-align:-2px;}

/* ============================================================
   Modal / Sepet panel
   ============================================================ */
.modal-shade{
  position:fixed;inset:0;z-index:1000;background:rgba(10,32,56,.38);
  backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:18px;
  opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s;
}
.modal-shade.show{opacity:1;visibility:visible;}

.cart-panel{
  position:fixed;top:0;right:0;bottom:0;width:min(400px,100vw);z-index:1001;
  background:var(--surface);box-shadow:-20px 0 60px rgba(10,32,56,.22);
  display:flex;flex-direction:column;
  transform:translateX(105%);transition:transform .28s cubic-bezier(.22,.61,.36,1);
}
.cart-panel.show{transform:translateX(0);}
.cart-panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line);}
.cart-panel-title{display:flex;align-items:center;gap:10px;font-family:var(--font-title);font-size:16px;font-weight:800;}
.cart-panel-title svg{width:18px;height:18px;color:var(--brand);}
.cart-close{
  width:36px;height:36px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);
  color:var(--text-2);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s;
}
.cart-close:hover{border-color:var(--danger);color:var(--danger);}
.cart-close svg{width:15px;height:15px;}
.cart-panel-body{flex:1;overflow-y:auto;padding:20px 22px;}
.cart-empty{display:flex;flex-direction:column;align-items:center;gap:14px;padding:60px 0;color:var(--muted);}
.cart-empty-icon{
  width:70px;height:70px;border-radius:22px;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;
}
.cart-empty-icon svg{width:28px;height:28px;}
.cart-items{display:flex;flex-direction:column;gap:14px;}
.cart-item{
  display:flex;align-items:center;gap:13px;padding:13px;
  border:1px solid var(--line);border-radius:14px;background:var(--surface-2);
}
.cart-item-img{width:52px;height:52px;border-radius:11px;object-fit:cover;flex-shrink:0;background:var(--bg-soft);}
.cart-item-img-ph{
  width:52px;height:52px;border-radius:11px;flex-shrink:0;background:var(--bg-soft);color:var(--dim);
  display:flex;align-items:center;justify-content:center;
}
.cart-item-img-ph svg{width:20px;height:20px;}
.cart-item-info{flex:1;min-width:0;}
.cart-item-name{font-size:13.5px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cart-item-price{font-size:12.5px;color:var(--brand-deep);font-weight:800;margin-top:2px;}
.cart-item-qty{display:flex;align-items:center;gap:7px;flex-shrink:0;}
.cart-qty-btn{
  width:26px;height:26px;border-radius:8px;border:1.5px solid var(--line);background:var(--surface);
  color:var(--text-2);font-size:14px;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.cart-qty-btn:hover{border-color:var(--brand-2);color:var(--brand);}
.cart-qty-val{font-size:13px;font-weight:800;min-width:16px;text-align:center;}
.cart-remove{
  width:30px;height:30px;border-radius:9px;border:1.5px solid transparent;background:none;
  color:var(--dim);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s;flex-shrink:0;
}
.cart-remove:hover{background:rgba(228,87,107,.1);color:var(--danger);border-color:rgba(228,87,107,.25);}
.cart-remove svg{width:14px;height:14px;}
.cart-panel-foot{padding:20px 22px;border-top:1px solid var(--line);background:var(--surface-2);}
.cart-coupon{display:flex;gap:8px;margin-bottom:14px;}
.cart-coupon input{
  flex:1;min-width:0;border:1.5px solid var(--line);border-radius:11px;padding:9px 13px;
  font-size:13px;font-weight:700;text-transform:uppercase;color:var(--text);background:var(--surface);
  outline:none;transition:border-color .15s;
}
.cart-coupon input:focus{border-color:var(--brand-2);}
.cart-coupon-result{display:none;font-size:12px;font-weight:700;padding:8px 12px;border-radius:10px;margin-bottom:10px;}
.cart-coupon-result.ok{display:block;background:rgba(15,174,110,.1);color:var(--ok);}
.cart-coupon-result.err{display:block;background:rgba(228,87,107,.1);color:var(--danger);}
.cart-discount-row{display:none;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;color:var(--ok);margin-bottom:6px;}
.cart-discount-row.show{display:flex;}
.cart-total{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}
.cart-total-label{font-size:14px;font-weight:700;color:var(--text-2);}
.cart-total-price{font-family:var(--font-title);font-size:22px;font-weight:800;color:var(--text);}

/* Modal kutusu (topup vb.) */
.modal-box{
  width:100%;max-width:430px;background:var(--surface);border:1px solid var(--line);
  border-radius:20px;box-shadow:var(--shadow-lg);overflow:hidden;
}
.modal-box-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line);}
.modal-box-title{display:flex;align-items:center;gap:10px;font-family:var(--font-title);font-size:16px;font-weight:800;}
.modal-box-title svg{width:17px;height:17px;color:var(--brand);}
.modal-box-body{padding:22px;display:flex;flex-direction:column;gap:16px;}
.modal-field label{display:block;font-size:11.5px;font-weight:800;color:var(--text-2);margin-bottom:7px;text-transform:uppercase;letter-spacing:.05em;}
.modal-input{
  width:100%;border:1.5px solid var(--line);border-radius:11px;padding:11px 14px;
  font-size:16px;font-weight:800;color:var(--text);background:var(--surface);outline:none;
  transition:border-color .15s;
}
.modal-input:focus{border-color:var(--brand-2);}
.topup-presets{display:flex;gap:8px;flex-wrap:wrap;}
.topup-chip{
  padding:9px 18px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);
  font-size:13px;font-weight:800;color:var(--text-2);cursor:pointer;transition:all .15s;
}
.topup-chip:hover{border-color:var(--brand-2);color:var(--brand);}
.topup-chip.active{background:var(--brand);border-color:var(--brand);color:#fff;}
.modal-box-foot{display:flex;gap:10px;justify-content:flex-end;padding:18px 22px;border-top:1px solid var(--line);}@media(max-width:520px){.modal-box-foot{flex-wrap:wrap}.modal-box-foot>button{flex:1;min-width:140px}}
.modal-hint{font-size:12px;color:var(--muted);display:flex;gap:7px;align-items:center;}
.modal-hint svg{width:14px;height:14px;flex-shrink:0;color:var(--brand);}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-delay-1{transition-delay:.08s;}
.reveal-delay-2{transition-delay:.16s;}
.reveal-delay-3{transition-delay:.24s;}

/* ============================================================
   Yardımcılar
   ============================================================ */
.divider{height:1px;background:var(--line);}
.mt-0{margin-top:0!important;}
.mb-1{margin-bottom:8px!important;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* ============================================================
   Giriş / Kayıt (auth)
   ============================================================ */
.auth-shell{min-height:calc(100vh - var(--nav-h));display:flex;align-items:center;justify-content:center;padding:48px 22px;}
.auth-card{
  width:100%;max-width:440px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:36px 34px;box-shadow:var(--shadow-md);
  animation:azFadeUp .5s ease both;
}
.auth-card-icon{
  width:52px;height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:0 8px 20px var(--brand-glow);
}
.auth-card-icon svg{width:24px;height:24px;}
.auth-card-title{font-family:var(--font-title);font-size:24px;font-weight:800;text-align:center;letter-spacing:-.4px;}
.auth-card-subtitle{font-size:13.5px;color:var(--muted);text-align:center;margin-top:6px;line-height:1.6;}
.auth-alert{
  display:flex;align-items:center;gap:8px;margin-top:18px;border-radius:12px;padding:11px 14px;
  font-size:13px;font-weight:600;line-height:1.5;
}
.auth-alert--error{background:rgba(228,87,107,.1);border:1px solid rgba(228,87,107,.3);color:var(--danger);}
.auth-alert--ok{background:rgba(15,174,124,.1);border:1px solid rgba(15,174,124,.3);color:var(--ok);}
.auth-alert svg{width:15px;height:15px;flex-shrink:0;}
.form-group{margin-top:18px;}
.form-label{display:block;font-size:12.5px;font-weight:700;color:var(--text-2);margin-bottom:7px;}
.form-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;}
.form-label-row .form-label{margin-bottom:0;}
.form-input{
  width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;
  font-size:15px;font-weight:600;color:var(--text);background:var(--surface);outline:none;
  transition:border-color .15s,box-shadow .15s;
}
.form-input:focus{border-color:var(--brand-2);box-shadow:0 0 0 3px var(--ring);}
.form-input::placeholder{color:var(--dim);font-weight:500;}
.form-input-icon-wrap{position:relative;}
.form-input-icon{
  position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--dim);
}
.form-input-icon-wrap .form-input{padding-left:40px;}
.form-hint{font-size:11.5px;color:var(--muted);margin-top:6px;display:flex;align-items:center;gap:6px;}
.form-hint svg{width:13px;height:13px;flex-shrink:0;color:var(--brand);}
.auth-links{text-align:center;font-size:13.5px;color:var(--muted);margin-top:22px;}
.auth-links a{color:var(--brand);font-weight:700;}
.auth-links a:hover{text-decoration:underline;}
.auth-social{margin-top:22px;}
.auth-social-label{text-align:center;font-size:12px;color:var(--dim);font-weight:700;display:flex;align-items:center;gap:12px;}
.auth-social-label::before,.auth-social-label::after{content:'';flex:1;height:1px;background:var(--line);}
.auth-social-btns{display:flex;flex-direction:column;gap:10px;margin-top:16px;}
.auth-social-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;}
.auth-social-btn svg{width:17px;height:17px;}
.auth-terms{font-size:11.5px;color:var(--muted);text-align:center;margin-top:20px;line-height:1.7;}
.auth-terms a{color:var(--brand);font-weight:600;}

/* ============================================================
   Kullanıcı Paneli
   ============================================================ */
.panel-layout{display:flex;gap:24px;max-width:1180px;margin:0 auto;padding:32px 22px 64px;align-items:flex-start;}
.panel-sidebar{
  width:250px;flex-shrink:0;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:14px;position:sticky;top:calc(var(--nav-h) + 18px);
}
.sidebar-user{padding:6px 10px 16px;border-bottom:1px solid var(--line);margin-bottom:10px;}
.sidebar-user-avatar{width:48px;height:48px;border-radius:14px;object-fit:cover;image-rendering:pixelated;background:var(--brand-soft);}
.sidebar-user-name{display:block;font-family:var(--font-title);font-size:15px;font-weight:800;margin-top:10px;}
.sidebar-user-email{display:block;font-size:11.5px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sidebar-user-role{
  display:inline-block;margin-top:8px;font-size:10.5px;font-weight:800;color:var(--brand-deep);
  background:var(--brand-soft);padding:3px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.04em;
}
.panel-nav-toggle{display:none;align-items:center;gap:10px;width:100%;padding:11px 14px;border-radius:11px;background:var(--brand-soft);border:1px solid var(--line);color:var(--text);font-weight:800;font-size:13px;cursor:pointer;font-family:inherit;box-shadow:0 4px 14px rgba(43,110,255,.16);}
.panel-nav-toggle svg{width:16px;height:16px;}
.panel-nav-toggle .panel-nav-chev{margin-left:auto;width:13px;height:13px;transition:transform .2s;color:var(--dim);}
.panel-sidebar.nav-open .panel-nav-chev{transform:rotate(180deg);}
.panel-ham{display:inline-flex;align-items:center;justify-content:center;width:38px;height:34px;border-radius:9px;background:rgba(43,110,255,.14);border:1px solid rgba(43,110,255,.35);color:var(--brand-deep);flex-shrink:0;}
.panel-ham svg{width:15px!important;height:15px!important;}
@media(max-width:860px){
  .panel-nav-toggle{display:flex;}
  .panel-sidebar .sidebar-nav{display:none;margin-top:10px;}
  .panel-sidebar.nav-open .sidebar-nav{display:flex;}
  .panel-sidebar .sidebar-user{display:flex;flex-direction:row;align-items:center;gap:10px;padding:10px 8px 12px;margin-bottom:10px;}
  .panel-sidebar .sidebar-user-avatar{width:40px;height:40px;border-radius:11px;flex-shrink:0;}
  .panel-sidebar .sidebar-user-name{font-size:13.5px;margin-top:0;}
  .sidebar-user-email{display:none;}
  .panel-sidebar .sidebar-user-role{margin-left:auto;flex-shrink:0;margin-top:0;}
  .panel-card{padding:20px 16px;}
  .panel-stats{grid-template-columns:repeat(2,1fr);gap:12px;}
}
@media(max-width:560px){
  .dash-row{flex-wrap:wrap;}
  .dash-amount{min-width:0!important;}
  .dash-date{width:100%;text-align:left;}
  .ticket-head-az{flex-wrap:wrap;}
}
.sidebar-nav{display:flex;flex-direction:column;gap:3px;}
.sidebar-nav a{
  display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:11px;
  font-size:13.5px;font-weight:700;color:var(--text-2);transition:background .13s,color .13s;
}
.sidebar-nav a svg{width:16px;height:16px;color:var(--dim);flex-shrink:0;}
.sidebar-nav a:hover{background:var(--brand-soft);color:var(--brand-deep);}
.sidebar-nav a:hover svg{color:var(--brand);}
.sidebar-nav a.active{background:var(--brand-soft);color:var(--brand-deep);}
.sidebar-nav a.active svg{color:var(--brand);}
.sidebar-nav a.danger{color:var(--danger);}
.sidebar-nav a.danger:hover{background:rgba(228,87,107,.1);}
.sidebar-nav a.danger svg{color:var(--danger);}
.panel-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:20px;}
.panel-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px;box-shadow:var(--shadow-sm);
}
.panel-card-title{font-family:var(--font-title);font-size:19px;font-weight:800;letter-spacing:-.3px;display:flex;align-items:center;gap:8px;}
.panel-card-title svg{width:18px;height:18px;}
.panel-card-desc{font-size:13px;color:var(--muted);margin-top:5px;}
.panel-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin-top:20px;}
.panel-stat{
  background:var(--bg-soft);border:1px solid var(--line);border-radius:16px;padding:18px;
}
.panel-stat-icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.panel-stat-icon svg{width:18px;height:18px;}
.panel-stat-val{font-family:var(--font-title);font-size:24px;font-weight:800;line-height:1;}
.panel-stat-label{font-size:12px;color:var(--muted);font-weight:600;margin-top:5px;}
@media(max-width:860px){.panel-layout{flex-direction:column;}.panel-sidebar{width:100%;position:static;}}
@media(max-width:520px){.panel-card{padding:18px;}}

/* ============================================================
   Rozetler / liste satırları
   ============================================================ */
.badge{
  display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;
  font-size:11px;font-weight:800;white-space:nowrap;
}
.badge svg{width:11px;height:11px;}
.badge-open{background:rgba(228,87,107,.12);color:var(--danger);}
.badge-replied,.badge-answered{background:var(--brand-soft);color:var(--brand-deep);}
.badge-closed{background:rgba(100,116,139,.12);color:var(--muted);}
.badge-green{background:rgba(15,174,124,.12);color:var(--ok);}
.badge-yellow{background:rgba(255,157,61,.14);color:#d67b10;}
.badge-red{background:rgba(228,87,107,.12);color:var(--danger);}

/* ============================================================
   İndirme butonu — tik animasyonu
   ============================================================ */
.dl-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:130px;transition:all .25s ease;}
.dl-btn svg{width:15px;height:15px;}
.dl-btn .dl-svg{display:inline-flex;}
.dl-btn .dl-done-svg{display:none;}
.dl-btn.done{background:var(--ok);border-color:var(--ok);color:#fff;box-shadow:none;}
.dl-btn.done .dl-svg{display:none;}
.dl-btn.done .dl-done-svg{display:inline-flex;animation:azPop .4s cubic-bezier(.34,1.56,.64,1) both;}
.dl-btn.done .dl-label{animation:azPop .4s cubic-bezier(.34,1.56,.64,1) both;}
@keyframes azPop{0%{transform:scale(0);}70%{transform:scale(1.25);}100%{transform:scale(1);}}
.dl-spin{width:15px;height:15px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:azSpin .8s linear infinite;display:inline-block;}
@keyframes azSpin{from{transform:rotate(0);}to{transform:rotate(360deg);}}

/* ============================================================
   Header scroll köşe animasyonu
   ============================================================ */
.navbar{border-radius:0;transition:border-radius .35s ease,box-shadow .3s ease,margin .35s ease,border-color .3s ease,top .35s ease;}
body.az-scrolled .navbar{
  top:12px;margin:0 auto;max-width:1180px;left:0;right:0;
  border-radius:16px;border:1px solid var(--line);
  box-shadow:0 12px 34px rgba(14,42,74,.1);
}

/* ============================================================
   Sayaç animasyonu (hero istatistik)
   ============================================================ */
.stat-count{display:inline-block;}

/* ============================================================
   Sepet ikonu pop animasyonu
   ============================================================ */
@keyframes azCartPop{0%{transform:scale(1);}40%{transform:scale(1.25) rotate(-6deg);}100%{transform:scale(1);}}
.nav-cart-btn.pop{animation:azCartPop .45s ease;}

@media(max-width:960px){
  .section{padding:56px 0;}
}
@media(min-width:768px){
  body{padding-bottom:0;}
}

/* ============================================================
   Gece (Siyah) Tema — az-dark
   Navbar'daki tema butonu ile açılır; localStorage'da saklanır.
   ============================================================ */
html.az-dark{color-scheme:dark;}

html.az-dark{
  --bg:#06080e;
  --bg-soft:#0a0f19;
  --surface:#0e1522;
  --surface-2:#0b111c;
  --text:#e7eef8;
  --text-2:#c7cfdf;
  --muted:#8597ad;
  --dim:#61708a;
  --line:#1b253a;
  --line-strong:#2c3a55;
  --brand:#4d8fff;
  --brand-2:#2fc0ff;
  --brand-deep:#6ba1ff;
  --brand-soft:rgba(77,143,255,.16);
  --brand-glow:rgba(77,143,255,.32);
  --ring:rgba(77,143,255,.45);
  --ok:#3dd6a4;
  --warn:#ffb060;
  --danger:#ff6b7f;
  --shadow-sm:0 1px 2px rgba(0,0,0,.5),0 6px 18px rgba(0,0,0,.38);
  --shadow-md:0 14px 34px rgba(0,0,0,.5);
  --shadow-lg:0 28px 70px rgba(0,0,0,.6);
}
html.az-dark body{background:var(--bg);}

/* Tema butonu (navbar) */
.nav-theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:10px;flex-shrink:0;
  background:var(--surface);border:1px solid var(--line);color:var(--text);
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease;
}
.nav-theme-toggle:hover{border-color:var(--brand-2);color:var(--brand);transform:translateY(-1px);}
.nav-theme-toggle svg{width:17px;height:17px;}
.nav-theme-toggle .ic-moon{display:block;}
.nav-theme-toggle .ic-sun{display:none;}
html.az-dark .nav-theme-toggle .ic-moon{display:none;}
html.az-dark .nav-theme-toggle .ic-sun{display:block;}
@media(max-width:640px){.nav-theme-toggle{width:34px;height:34px;}}

/* Navbar / Hero sabit açık tonları koyulaştır */
html.az-dark .navbar{background:rgba(6,9,15,.78);}
html.az-dark .hero{
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(43,110,255,.18), transparent 60%),
    radial-gradient(700px 420px at -8% 30%, rgba(23,168,245,.15), transparent 60%),
    linear-gradient(180deg,#0a101c 0%,#06080e 100%);
}
html.az-dark .hero-card::before{background:linear-gradient(150deg,rgba(255,255,255,.05),rgba(255,255,255,0));}

/* CTA bandı beyaz butonu → koyu yüzey */
html.az-dark .btn-white{background:var(--surface);color:var(--brand-deep);border:1px solid var(--line);}

/* Footer daha koyu azure tonu */
html.az-dark .footer{background:#070b14;}

/* Diğer parlak yapıların sınıfları için garanti blokları */
html.az-dark .bg-white,
html.az-dark .bg-light{background:var(--surface);}
html.az-dark .text-muted{color:var(--muted);}

/* ============================================================
   Mağaza (products) — düzen & temizlik
   ============================================================ */
.shop-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:36px;}
.shop-search{display:flex;gap:8px;align-items:center;}
.shop-search-box{position:relative;}
.shop-search-box svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--dim);pointer-events:none;}
.shop-search-box .form-input{padding-left:38px;width:220px;}
@media(max-width:520px){
  .shop-search{width:100%;}
  .shop-search-box{flex:1;}
  .shop-search-box .form-input{width:100%;}
  .az-product-hero{grid-template-columns:1fr!important;}
}

.shop-layout{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap;}
.shop-side{width:200px;flex-shrink:0;}
.shop-content{flex:1;min-width:0;}
@media(max-width:840px){
  .shop-side{width:100%;}
  .category-title{display:none;}
}

.category-nav{display:flex;flex-direction:column;gap:4px;position:sticky;top:84px;overflow-wrap:anywhere;}
.side-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:18px 14px 14px;box-shadow:var(--shadow-sm);
}
.category-title{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);padding:2px 10px;margin-bottom:8px;}
.category-link{
  display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;
  font-size:13.5px;font-weight:600;color:var(--text-2);
  transition:background .13s,border-color .13s,color .13s;
}
.category-link:hover{background:var(--brand-soft);color:var(--brand-deep);}
.category-link.is-active{background:var(--brand-soft);color:var(--brand-deep);font-weight:800;}
@media(max-width:840px){.category-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:8px;}}

/* Ürün kartı — tıklanabilir örtü linki (iç içe <a> yok) */
.product-card-link{position:absolute;inset:0;z-index:10;border-radius:inherit;}
.product-card:hover .product-foot .btn{background:linear-gradient(135deg,var(--brand-deep),var(--brand));box-shadow:0 6px 16px var(--ring);}

/* Boş sonuç */
.products-empty{
  grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;background:var(--surface);border:1px dashed var(--line-strong);
  border-radius:var(--radius-lg);padding:52px 24px;color:var(--muted);
}
.empty-icon{width:54px;height:54px;border-radius:16px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.empty-icon svg{width:26px;height:26px;}
.products-empty h3{font-size:16px;font-weight:800;color:var(--text);margin-bottom:4px;}
.products-empty p{font-size:13px;margin-bottom:16px;}

/* ============================================================
   Tema geçişi — açık/siyah arası yumuşak animasyon
   (header.php'deki JS "theme-switch" sınıfını 700ms ekler)
   ============================================================ */
html.theme-switch,
html.theme-switch *,
html.theme-switch *::before,
html.theme-switch *::after{
  transition:background-color .45s ease,
             background .45s ease,
             border-color .45s ease,
             color .4s ease,
             fill .45s ease,
             stroke .45s ease,
             box-shadow .45s ease !important;
  transition-delay:0s !important;
}

.cart-page-wrap{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start}
.cart-page-list{display:flex;flex-direction:column;gap:12px;min-width:0}
@media (max-width:860px){.cart-page-wrap{grid-template-columns:1fr}.cart-page-wrap>.cart-page-side{position:static!important}}
@media (max-width:520px){.cart-page-row{flex-wrap:wrap}.cart-page-row img{width:48px!important;height:48px!important}}
@media(max-width:520px){.auth-shell{padding:28px 14px}.auth-card{padding:28px 20px}}

.detail-buy-row{display:flex;gap:12px}
@media(max-width:520px){.detail-buy-row{flex-direction:column}.detail-buy-row>*{flex:1!important;width:100%}}

@media(max-width:860px){.sidebar-user{flex-direction:row;text-align:left}.sidebar-user-email,.sidebar-user-role{display:none}.sidebar-nav{flex-direction:row!important;overflow-x:auto;gap:6px;padding-bottom:6px}.sidebar-nav a{white-space:nowrap;flex-shrink:0}}
