﻿:root{
  --primary:#5D12D2;
  --secondary:#B931FC;
  --pink:#FF6AC2;
  --primary-rgb:93,18,210;
  --secondary-rgb:185,49,252;
  --pink-rgb:255,106,194;

  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#1f2a44;
  --muted:#7a8499;
  --border:rgba(15,23,42,.08);
  --radius:20px;
  --shadow:0 14px 40px rgba(15, 23, 42, .08);
}

:root[data-color-theme="tema2"]{
  --primary:#0B6EA8;
  --secondary:#14B8A6;
  --pink:#22C55E;
  --primary-rgb:11,110,168;
  --secondary-rgb:20,184,166;
  --pink-rgb:34,197,94;
}

:root[data-color-theme="tema3"]{
  --primary:#B54708;
  --secondary:#F97316;
  --pink:#EF4444;
  --primary-rgb:181,71,8;
  --secondary-rgb:249,115,22;
  --pink-rgb:239,68,68;
}

:root[data-color-theme="tema4"]{
  --primary:#1D4ED8;
  --secondary:#06B6D4;
  --pink:#38BDF8;
  --primary-rgb:29,78,216;
  --secondary-rgb:6,182,212;
  --pink-rgb:56,189,248;
}

:root[data-color-theme="tema5"]{
  --primary:#0F4C81;
  --secondary:#2BA6CB;
  --pink:#F59E0B;
  --primary-rgb:15,76,129;
  --secondary-rgb:43,166,203;
  --pink-rgb:245,158,11;
}

:root[data-color-theme="tema6"]{
  --primary:#D90416;
  --secondary:#111111;
  --pink:#FF3B4A;
  --primary-rgb:217,4,22;
  --secondary-rgb:17,17,17;
  --pink-rgb:255,59,74;
}
:root[data-theme="dark"]{
  --bg:#0b1020;
  --card:#0f1730;
  --text:#e7eaf3;
  --muted:#a9b1c6;
  --border:rgba(255,255,255,.10);
  --shadow:0 18px 50px rgba(0,0,0,.35);
}

:root[data-color-theme="tema1"][data-theme="dark"]{
  --primary:#8B5CF6;
  --secondary:#C084FC;
  --pink:#F472B6;
  --primary-rgb:139,92,246;
  --secondary-rgb:192,132,252;
  --pink-rgb:244,114,182;
  --bg:#0b1020;
  --card:#111936;
  --text:#e8ecfb;
  --muted:#aab3d2;
  --border:rgba(139,92,246,.22);
  --shadow:0 18px 50px rgba(0,0,0,.40);
}

:root[data-color-theme="tema2"][data-theme="dark"]{
  --primary:#22A9E0;
  --secondary:#2DD4BF;
  --pink:#34D399;
  --primary-rgb:34,169,224;
  --secondary-rgb:45,212,191;
  --pink-rgb:52,211,153;
  --bg:#07131a;
  --card:#0e212b;
  --text:#e6f4fb;
  --muted:#9eb7c7;
  --border:rgba(34,169,224,.24);
  --shadow:0 18px 50px rgba(0,0,0,.42);
}

:root[data-color-theme="tema3"][data-theme="dark"]{
  --primary:#FB923C;
  --secondary:#F59E0B;
  --pink:#F87171;
  --primary-rgb:251,146,60;
  --secondary-rgb:245,158,11;
  --pink-rgb:248,113,113;
  --bg:#1a120b;
  --card:#25180e;
  --text:#fff1e6;
  --muted:#d3b8a2;
  --border:rgba(251,146,60,.25);
  --shadow:0 18px 50px rgba(0,0,0,.44);
}

:root[data-color-theme="tema4"][data-theme="dark"]{
  --primary:#60A5FA;
  --secondary:#22D3EE;
  --pink:#67E8F9;
  --primary-rgb:96,165,250;
  --secondary-rgb:34,211,238;
  --pink-rgb:103,232,249;
  --bg:#081225;
  --card:#0f1d35;
  --text:#e7efff;
  --muted:#a8bdd8;
  --border:rgba(96,165,250,.24);
  --shadow:0 18px 50px rgba(0,0,0,.42);
}

:root[data-color-theme="tema5"][data-theme="dark"]{
  --primary:#38BDF8;
  --secondary:#22D3EE;
  --pink:#FBBF24;
  --primary-rgb:56,189,248;
  --secondary-rgb:34,211,238;
  --pink-rgb:251,191,36;
  --bg:#07111a;
  --card:#102130;
  --text:#e8f5ff;
  --muted:#a9bfd0;
  --border:rgba(56,189,248,.24);
  --shadow:0 18px 50px rgba(0,0,0,.42);
}

:root[data-color-theme="tema6"][data-theme="dark"]{
  --primary:#FF4D5B;
  --secondary:#D90416;
  --pink:#FF7A85;
  --primary-rgb:255,77,91;
  --secondary-rgb:217,4,22;
  --pink-rgb:255,122,133;
  --bg:#0e0f11;
  --card:#17191d;
  --text:#f4f5f7;
  --muted:#b4b8c0;
  --border:rgba(255,77,91,.24);
  --shadow:0 18px 50px rgba(0,0,0,.45);
}

/* =========================
   DARK MODE - ACCORDION FIX (Bootstrap 5.1)
========================= */
:root[data-theme="dark"] .accordion-item{
  background: var(--card) !important;
  border-color: var(--border) !important;
}
:root[data-theme="dark"] .accordion-button{
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .accordion-button:not(.collapsed){
  background: color-mix(in srgb, var(--card) 80%, black 20%) !important;
  color: var(--text) !important;
}
:root[data-theme="dark"] .accordion-button::after{
  filter: invert(1);
  opacity: .85;
}
:root[data-theme="dark"] .accordion-body{
  background: var(--card) !important;
  color: var(--text) !important;
}
:root[data-theme="dark"] .accordion-collapse{
  background: var(--card) !important;
}
:root[data-theme="dark"] .alert{
  background: color-mix(in srgb, var(--card) 85%, black 15%) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

/* ------------------------- BASE -------------------------- */
body{ background: var(--bg); color: var(--text); }
a{ color:inherit; }
.page-bg{ background: var(--bg); }
.muted{ color: var(--muted); }
.text-primary-custom{ color: var(--primary) !important; }
.btn-primary-custom{
  background:var(--primary) !important;
  border-color:var(--primary) !important;
}
.btn[data-theme-set].active{
  background: color-mix(in srgb, var(--primary) 14%, var(--card));
  border-color: rgba(var(--primary-rgb),.35);
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(var(--primary-rgb),.16);
}
.btn[data-theme-set].active:hover{ filter: brightness(.98); }

/* ------------------------- BRAND -------------------------- */
/* Bu kutu topbar'ın içinde yer kaplayan kısım */
.brand-badge--logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 14px;
}

.brand-logo-image {
  width: 110px;
  height: 110px;
  display: block;
  position: absolute;
  top: 50%;
  left: 44%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  max-width: none;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.22));
}

/* Mobile: keep logo neat inside topbar */
@media (max-width: 991.98px){
  .brand-badge--logo{
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden !important;
  }
  .brand-logo-image{
    width: 100%;
    height: 100%;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    object-fit: cover;
    filter: none;
    pointer-events: auto;
  }
  .topbar-brand{
    padding-right: 0;
  }
}
.topbar-brand{
  flex: 0 0 auto;
  min-width: 0;
  padding-right: 44px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.topbar-brand > *{
  pointer-events: auto;
}
.topbar-search{
  min-width: 0;
}
.brand-title{ font-weight:900; }
.brand-sub{ font-size:.84rem; font-weight:700; }

/* ------------------------- TOPBAR -------------------------- */
.topbar{
  position:sticky; top:0; z-index:1020;
  background:rgba(246,247,251,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.topbar-inner{
  background:var(--card);
  border-radius: 0 0 26px 26px;
  box-shadow: var(--shadow);
}
.topbar-note{
  color: var(--muted);
  font-weight:800;
  font-size:.92rem;
}

/* =========================================================
   TOPBAR MENUS - SEO/SEMANTIC + RESPONSIVE
========================================================= */
.topbar-menus{ background: transparent; }
.topbar-menus{ position: relative; z-index: 2; }
.topbar-menus__wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-menu{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
}
.topbar-menu__item{ margin:0; }
.topbar-menu__link{ text-decoration:none; }

.topbar-notes{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar-notes__item{ margin:0; }

@media (max-width: 992px){
  .topbar-menus{
    background: color-mix(in srgb, var(--card) 92%, transparent);
    border-top: 1px solid rgba(15,23,42,.05);
    border-bottom: 1px solid rgba(15,23,42,.06);
  }
  .topbar-menus .container{
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
  }
  .topbar-menus__wrap{
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 8px;
  }
  .topbar-menus__wrap::-webkit-scrollbar{ height: 5px; }
  .topbar-menus__wrap::-webkit-scrollbar-thumb{
    background: color-mix(in srgb, var(--text) 18%, transparent);
    border-radius: 999px;
  }
  .topbar-menus .topbar-menu{
    flex-wrap: nowrap;
    gap: 8px;
    max-width: none;
    padding-bottom: 4px;
  }
  .topbar-menus .topbar-menu__item{
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .topbar-menus .topbar-menu__link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px !important;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(15,23,42,.04);
    white-space: nowrap;
    font-weight: 800;
    font-size: .9rem;
  }
  .topbar-menus .topbar-menu__item.active > .topbar-menu__link{
    background: rgba(var(--primary-rgb),.13);
    border-color: rgba(var(--primary-rgb),.26);
    color: var(--primary) !important;
  }
  .topbar-menus .topbar-menu__item.dropdown > .topbar-menu__link::after{
    margin-left: 4px;
  }
  .topbar-menus .dropdown-menu{
    display: none !important;
  }
  .topbar-notes{ width: 100%; justify-content: flex-start; }
}

/* Search */
.search-pill{
  background:#f3f5fb;
  border-radius:999px;
  padding: 10px 14px;
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(15,23,42,.06);
}
.search-pill input{ border:0; outline:0; background:transparent; width:100%; color: var(--text); }
.search-pill input::placeholder{ color: var(--muted); }

/* Icon buttons */
.icon-btn{
  width:44px;height:44px;border-radius:16px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  display:grid;place-items:center;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  position:relative;
}
.badge-dot{
  position:absolute; top:8px; right:8px;
  width:10px;height:10px;border-radius:99px;
  background:#ff3b30;border:2px solid #fff;
}

/* Menus */
.nav-pill{
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(var(--primary-rgb),.08);
  color: var(--primary);
  font-weight: 900;
}
.nav-link-soft{
  border-radius: 999px;
  padding: 8px 14px !important;
  font-weight: 800;
  color:#1f2a44 !important;
}
.nav-link-soft:hover{ background: rgba(var(--primary-rgb),.08); }

/* ------------------------- SLIDER -------------------------- */
.carousel-wrap{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background:var(--card);
}
.slide-bg{
  min-height: 360px;
  display:flex;
  align-items:center;
  padding: 44px;
  background:
    radial-gradient(900px 400px at 10% 20%, rgba(var(--secondary-rgb),.18), transparent 60%),
    radial-gradient(800px 360px at 85% 0%, rgba(var(--primary-rgb),.18), transparent 60%),
    #fff;
}
.slide-title{ font-weight:900; letter-spacing:-.4px; }

/* Slider image wrapper */
.slide-img{
  border-radius: 22px;
  background:var(--card);
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  max-height: 100%;
  min-height: 320px;
  box-shadow: none;
}
.slide-img::after{
  content:"";
  position:relative;
  inset:0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  pointer-events:none;
}
.slide-img__media{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#homeCarousel{ position: relative; }

#homeCarousel .carousel-control-prev,
#homeCarousel .carousel-control-next{
  top: auto;
  bottom: 24px;
  width: auto;
  height: auto;
  opacity: 1;
  align-items: center;
}
#homeCarousel .carousel-control-prev{ left: 24px; right: auto; }
#homeCarousel .carousel-control-next{ left: 76px; right: auto; }

#homeCarousel .carousel-control-prev-icon,
#homeCarousel .carousel-control-next-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background-color: var(--card);
  box-shadow: var(--shadow);
  background-image: none !important;
  position: relative;
  overflow: hidden;
}

#homeCarousel .carousel-control-prev-icon::after,
#homeCarousel .carousel-control-next-icon::after{
  content:"";
  position:absolute;
  inset:0;
  background-color: var(--text);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 60% 60%;
          mask-repeat: no-repeat;
          mask-position: center;
          mask-size: 60% 60%;
  opacity: .92;
}
#homeCarousel .carousel-control-prev-icon::after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 2.5 L5.5 8 L10.5 13.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 2.5 L5.5 8 L10.5 13.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#homeCarousel .carousel-control-next-icon::after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 2.5 L10.5 8 L5.5 13.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 2.5 L10.5 8 L5.5 13.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#homeCarousel .carousel-control-prev-icon:hover,
#homeCarousel .carousel-control-next-icon:hover{
  background-color: color-mix(in srgb, var(--primary) 10%, var(--card));
}
#homeCarousel .slide-bg{ color: var(--text); }
#homeCarousel .slide-title{ color: var(--text) !important; }
#homeCarousel .slide-bg .muted{ color: var(--muted) !important; }

:root[data-theme="dark"] #homeCarousel .slide-bg{
  background:
    radial-gradient(900px 400px at 10% 20%, rgba(var(--secondary-rgb),.18), transparent 60%),
    radial-gradient(800px 360px at 85% 0%, rgba(var(--primary-rgb),.18), transparent 60%),
    var(--card) !important;
}

.badge-sale{
  background:rgba(var(--pink-rgb),.16);
  color:#b4006f;
  border:1px solid rgba(var(--pink-rgb),.25);
}

/* ------------------------- SECTIONS -------------------------- */
.section-title{
  display:flex; align-items:center; justify-content:space-between;
  margin: 10px 0 14px;
}
.section-title h4{
  margin:0;
  font-weight: 900;
  letter-spacing:-.3px;
}
.see-all{
  font-weight: 900;
  color: var(--primary);
  text-decoration:none;
}

/* 404 page */
.notfound-page{
  background: transparent;
}
.notfound-card{
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.notfound-image-link{
  display: block;
}
.notfound-image{
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px){
  .notfound-card{
    padding: 14px;
    border-radius: 18px;
  }
  .notfound-image{
    max-width: 100%;
    border-radius: 12px;
  }
}

/* Legacy 404 template fallback (prevents float/absolute breakage) */
main#siteMain > a[href] > img[src*="404"]{
  float: none !important;
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 760px !important;
  height: auto !important;
  margin: 0 auto !important;
}
main#siteMain > a[href] > span{
  position: static !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  margin: 12px auto 0 !important;
  text-align: center !important;
  width: auto !important;
}

/* Categories */
.cat-card{
  background:var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex; align-items:center; gap: 14px;
  transition:.15s ease;
  border:1px solid rgba(15,23,42,.05);
}
.cat-card:hover{ transform: translateY(-3px); }
.cat-ico{
  width:52px;height:52px;border-radius:18px;
  display:grid;place-items:center;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  font-size: 22px;
  flex:0 0 auto;
}
.cat-ico.brand-ico{
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border:1px solid rgba(15,23,42,.08);
}
.cat-ico.brand-ico img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-ico.cat-img{
  background-color: #fff;
  border:1px solid rgba(15,23,42,.08);
}
.cat-ico.cat-img img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-card small{ color: var(--muted); }

/* Products */
.product-card{
  background:var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.05);
  transition:.15s ease;
  height:100%;
}
.product-card:hover{ transform: translateY(-3px); }

.p-img{
  height: 200px;
  background:#eee center/cover no-repeat;
  position:relative;
}
.tag{
  position:absolute; top:14px; left:14px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size:.78rem;
  font-weight: 900;
  background: rgba(var(--primary-rgb),.12);
  color: var(--primary);
  border:1px solid rgba(var(--primary-rgb),.18);
}
.tag.sale{
  background: rgba(var(--pink-rgb),.14);
  color: #b4006f;
  border-color: rgba(var(--pink-rgb),.25);
}
.wish{
  position:absolute; top:12px; right:12px;
  width:42px;height:42px;border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  display:grid; place-items:center;
}
.wish-active{ color:#e11d48; }

.price{
  font-weight: 900;
  color: var(--primary);
  letter-spacing:-.2px;
}
.old{
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 800;
  font-size:.92rem;
}
.rating{ color:#f6b100; font-size:.95rem; letter-spacing: .4px; }

/* Brand strip */
.brand-strip{
  position: relative;
  --brand-strip-duration: 58s;
}
.brand-strip__viewport{
  overflow: hidden;
  padding: 4px 0;
}
.brand-strip__track{
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: brandStripSlide var(--brand-strip-duration) linear infinite;
}
.brand-strip:hover .brand-strip__track{
  animation-play-state: paused;
}
.brand-strip__item{
  width: 300px;
  min-height: 94px;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  background: var(--card);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}
.brand-strip__item:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--primary-rgb),.24);
}
.brand-strip__logo{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  overflow: hidden;
}
.brand-strip__logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-strip__meta{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-strip__title{
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.2px;
  color: #12305a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-strip__subtitle{
  font-size: 1rem;
  line-height: 1.2;
  color: var(--muted);
}

@keyframes brandStripSlide{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (max-width: 992px){
  .brand-strip{
    --brand-strip-duration: 46s;
  }
  .brand-strip__track{
    gap: 12px;
  }
  .brand-strip__item{
    width: 250px;
    min-height: 88px;
    border-radius: 16px;
    padding: 12px 14px;
  }
  .brand-strip__logo{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-basis: 48px;
  }
  .brand-strip__title{
    font-size: 1.1rem;
  }
  .brand-strip__subtitle{
    font-size: .9rem;
  }
}

@media (prefers-reduced-motion: reduce){
  .brand-strip__track{
    animation: none;
  }
}

/* CTA */
.cta{
  border-radius: 26px;
  padding: 40px;
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 20px 60px rgba(var(--primary-rgb),.18);
  position: relative;
  overflow:hidden;
}
.cta:before{
  content:"";
  position:absolute; inset:-80px;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--pink-rgb),.35), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255,229,229,.40), transparent 35%);
  opacity:.8;
  transform: rotate(8deg);
}
.cta > *{ position:relative; }
.cta-title{ font-weight:900; }
.cta-sub{ opacity:.92; }

/* Prevent horizontal overflow when footer uses topbar-menu class */
.footer{
  color: var(--muted);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer-content{
  position: relative;
  z-index: 1;
}
.footer-banner-media{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.footer-banner-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .30;
  display: block;
}

/* Responsive */
@media (max-width: 992px){
  .slide-bg{ padding: 26px; }
  .slide-img{ height: 220px; }
}

/* =========================================================
   AUTH (Login/Register/Forgot) - TEK KAYNAK (DUPLICATE CLEAN)
========================================================= */
.auth-body{
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(var(--secondary-rgb),.18), transparent 60%),
    radial-gradient(800px 360px at 80% 0%, rgba(var(--primary-rgb),.18), transparent 60%),
    var(--bg);
}
.auth-body .auth-wrapper{
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 20px 20px;
}
.auth-body .topbar{
  position: sticky;
  top: 0;
  z-index: 2000;
}

/* wrapper */
.auth-wrapper{
  width:100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  background: color-mix(in srgb, var(--card) 95%, var(--primary) 5%);
}

/* card (single source) */
.auth-card{
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  overflow:hidden;
  background:var(--card);
  box-shadow: var(--shadow);
}

/* LEFT */
.auth-left{
  padding: 48px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.10), rgba(var(--secondary-rgb),.12));
}
.auth-badge{
  display:inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size:.8rem;
  font-weight:900;
  background: rgba(var(--primary-rgb),.15);
  color: var(--primary);
  margin-bottom: 16px;
}
.auth-title{
  font-weight:900;
  letter-spacing:-.4px;
  margin-bottom: 12px;
}
.auth-title span{ color: var(--primary); }
.auth-desc{ color: var(--muted); margin-bottom: 24px; }
.auth-features{ list-style:none; padding:0; margin:0; }
.auth-features li{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  margin-bottom: 10px;
}
.auth-features i{ color: var(--primary); }

/* LEFT IMAGE */
.auth-left--image{
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb),.85), rgba(var(--secondary-rgb),.75)),
    url("../../images/akillisaat.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 34px;
  display:flex;
  align-items:center;
}
.auth-left--image *{ position: relative; z-index: 2; }
.auth-left--image::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.15), transparent 40%);
  z-index:1;
  pointer-events:none;
}
.auth-left--image .auth-badge{ background: rgba(255,255,255,.22); color:#fff; }
.auth-left--image .auth-features i{ color:#fff; }
.auth-left--image .auth-desc{ color: rgba(255,255,255,.85); }
.auth-left-content{ position: relative; z-index: 2; color:#fff; }

/* REGISTER additions */
.auth-left--register{
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb),.78), rgba(var(--pink-rgb),.62)),
    url("../../images/akillisaat.jpg");
  background-size: cover;
  background-position: center;
}

/* RIGHT */
.auth-right{ padding: 32px; }
.auth-form{ max-width: 360px; margin: 0 auto; }
.auth-input{ border-radius: 14px; padding: 12px 14px; }
.auth-link{ color: var(--primary); text-decoration:none; }
.auth-link:hover{ text-decoration:underline; }

.auth-divider{
  position:relative;
  text-align:center;
  margin: 24px 0;
}
.auth-divider:before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  right:0;
  height:1px;
  background: rgba(15,23,42,.1);
}
.auth-divider span{
  position:relative;
  background:var(--card);
  padding: 0 10px;
  color: var(--muted);
  font-weight:700;
  font-size:.85rem;
}

.auth-input--group{
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.auth-eye{
  border: 1px solid rgba(15,23,42,.12);
  border-left: 0;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  background: var(--card);
  padding: 0 14px;
}
.auth-hint{
  font-size: .86rem;
  color: var(--muted);
  font-weight: 700;
}

/* Password strength */
.auth-strength__bar{
  height: 10px;
  background: rgba(15,23,42,.08);
  border-radius: 999px;
  overflow: hidden;
}
.auth-strength__fill{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width .2s ease;
  background: rgba(15,23,42,.25);
}
.auth-strength__fill[data-level="1"]{ background: #ef4444; }
.auth-strength__fill[data-level="2"]{ background: #f97316; }
.auth-strength__fill[data-level="3"]{ background: #f6b100; }
.auth-strength__fill[data-level="4"]{ background: #22c55e; }
.auth-strength__fill[data-level="5"]{ background: var(--primary); }
.auth-strength__text{
  margin-top: 8px;
  font-size: .86rem;
  font-weight: 800;
  color: var(--muted);
}

/* Validation */
.was-validated .form-control:invalid{ border-color: rgba(239,68,68,.55); }
.was-validated .form-control:valid{ border-color: rgba(34,197,94,.45); }

/* auth responsive (single source) */
@media (min-width: 992px){
  .auth-card{ flex-direction: row; max-width: 980px; }
  .auth-left.auth-left--image,
  .auth-left{ width: 55%; }
  .auth-right{ width: 45%; }
}
@media (max-width: 991px){
  .auth-left.auth-left--image{ padding: 22px; min-height: 260px; }
  .auth-right{ padding: 20px; }
}
@media (max-width: 768px){
  .auth-left{ display:none; }
}

/* =========================================================
   SHARED UI BLOCKS
========================================================= */
.panel-card{
  background:var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,.05);
  padding: 18px;
}
.panel-mini{
  background:var(--card);
  border:1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 14px;
}

/* Gallery card: ici tam dolsun */
.panel-card--flush{
  padding: 0 !important;
  overflow: hidden;
}
.panel-card--flush .pd-thumbs{
  padding: 14px 14px 16px;
  margin: 0 !important;
}

/* =========================================================
   ORDERS
========================================================= */
.stat-card{
  background:var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,.05);
  padding: 16px;
  display:flex; align-items:center; gap:12px;
}
.stat-ico{
  width:46px;height:46px;border-radius:18px;
  display:grid;place-items:center;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  font-size: 20px;
}
.stat-val{ font-weight: 900; font-size: 1.25rem; letter-spacing:-.2px; }
.stat-label{ color: var(--muted); font-weight: 800; font-size:.9rem; }

.orders-search{
  background:#f3f5fb;
  border-radius:999px;
  padding: 10px 14px;
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(15,23,42,.06);
}
.orders-search input{ border:0; outline:0; background:transparent; width:220px; }
.orders-select{ min-width: 170px; }

.orders-table thead th{
  font-size:.86rem;
  color: var(--muted);
  font-weight: 900;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.orders-table tbody tr{ border-color: rgba(15,23,42,.06); }
.orders-table td{ padding-top: 14px; padding-bottom: 14px; }

.status-badge{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  border: 1px solid transparent;
}
.status-processing{ background: rgba(246,177,0,.12); color: #9a6a00; border-color: rgba(246,177,0,.20); }
.status-shipping{ background: rgba(var(--primary-rgb),.12); color: var(--primary); border-color: rgba(var(--primary-rgb),.20); }
.status-delivered{ background: rgba(34,197,94,.14); color: #0f7a3d; border-color: rgba(34,197,94,.20); }
.status-cancel{ background: rgba(239,68,68,.12); color: #b91c1c; border-color: rgba(239,68,68,.20); }

.order-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px;
  border:1px solid rgba(15,23,42,.06);
  border-radius: 18px;
  margin-bottom: 10px;
}
.order-thumb{
  width:54px;height:54px;border-radius:16px;
  background:#eee center/cover no-repeat;
  flex:0 0 auto;
}

/* =========================================================
   FAVORITES
========================================================= */
.fav-search{
  background:#f3f5fb;
  border-radius:999px;
  padding: 10px 14px;
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(15,23,42,.06);
}
.fav-search input{ border:0; outline:0; background:transparent; width:220px; color: var(--text); }
.fav-search input::placeholder{ color: var(--muted); }
.fav-select{ min-width: 170px; }

.fav-card{
  background:var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,.05);
  overflow:hidden;
  height:100%;
  transition:.15s ease;
}
.fav-card:hover{ transform: translateY(-3px); }

.fav-thumb{
  display:block;
  height: 190px;
  background:#eee center/cover no-repeat;
}
.fav-body{ padding: 14px; }

.fav-remove{
  width:38px;height:38px;border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  display:grid;place-items:center;
}
.fav-remove:hover{ background: rgba(var(--primary-rgb),.08); color: var(--primary); }

.fav-empty{
  text-align:center;
  padding: 40px 18px;
}
.fav-empty__icon{
  width:70px;height:70px;border-radius:24px;
  margin:0 auto 12px;
  display:grid;place-items:center;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  font-size: 28px;
}

/* =========================================================
   ADDRESSES
========================================================= */
.addr-card{
  background:var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,.05);
  overflow:hidden;
  height: 100%;
}
.addr-top{
  padding: 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.addr-ico{
  width:46px;height:46px;border-radius:18px;
  display:grid;place-items:center;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  font-size: 20px;
  flex:0 0 auto;
}
.addr-badge{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  background: rgba(34,197,94,.14);
  color: #0f7a3d;
  border: 1px solid rgba(34,197,94,.20);
  white-space: nowrap;
}
.addr-default{ font-weight: 900; white-space: nowrap; }
.addr-body{ padding: 14px; }
.addr-line{
  color:var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.addr-add{
  width: 100%;
  border: 2px dashed rgba(15,23,42,.18);
  background: rgba(255,255,255,.55);
  border-radius: 22px;
  padding: 26px;
  text-align:center;
  transition: .15s ease;
}
.addr-add:hover{
  transform: translateY(-3px);
  background:var(--card);
  box-shadow: var(--shadow);
}
.addr-add__ico{
  width:60px;height:60px;border-radius:22px;
  margin:0 auto 12px;
  display:grid;place-items:center;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  font-size: 22px;
}

.address-card.is-selected{
  border-color: rgba(var(--primary-rgb),.45);
  box-shadow: 0 16px 30px rgba(var(--primary-rgb),.15);
}
.address-card .btn-selected{ display:none; }
.address-card.is-selected .js-address-select{ display:none; }
.address-card.is-selected .btn-selected{ display:inline-flex; }

/* =========================================================
   PAYMENT METHODS
========================================================= */
.pay-card{
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff;
  border-radius: 22px;
  padding: 18px;
  position: relative;
  box-shadow: 0 20px 50px rgba(var(--primary-rgb),.35);
}
.pay-card--alt{ background: linear-gradient(135deg, #111827, #374151); }
.pay-card__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.pay-chip{
  width:42px;height:32px;border-radius:8px;
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
}
.pay-badge{
  background: rgba(255,255,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size:.75rem;
  font-weight:900;
}
.pay-card__number{
  margin: 18px 0 8px;
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-weight: 900;
}
.pay-card__name{ font-weight: 800; }
.pay-card__footer{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  opacity:.9;
}
.pay-actions{ display:flex; gap:8px; margin-top: 14px; }

.pay-add{
  width:100%;
  border: 2px dashed rgba(15,23,42,.25);
  background: rgba(255,255,255,.6);
  border-radius: 22px;
  padding: 28px;
  text-align:center;
}
.pay-add:hover{
  background:var(--card);
  box-shadow: var(--shadow);
}
.pay-add__ico{
  width:60px;height:60px;border-radius:22px;
  margin:0 auto 12px;
  display:grid;place-items:center;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  font-size: 22px;
}

/* =========================================================
   CART
========================================================= */
.cart-item{
  display:flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  margin-bottom: 12px;
}
.cart-thumb{
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: #eee center/cover no-repeat;
  flex: 0 0 auto;
}
.cart-remove{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  display:grid;
  place-items:center;
}
.cart-remove:hover{
  background: rgba(var(--primary-rgb),.08);
  color: var(--primary);
}

.qty{
  display:flex;
  align-items:center;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  overflow:hidden;
  background:var(--card);
}
.qty-btn{
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  font-weight: 900;
  color:var(--text);
}
.qty-btn:hover{
  background: rgba(var(--primary-rgb),.08);
  color: var(--primary);
}
.qty-input{
  width: 42px;
  text-align:center;
  border: 0;
  outline:0;
  background: transparent;
  font-weight: 900;
  color:var(--text);
}

.cart-summary{ position: sticky; top: 92px; }
.sum-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.sum-total{
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -.2px;
}
.sum-total span:last-child{
  color: var(--primary);
}
#cartSubtotal,
#cartTotal,
#miniSubtotal,
.mini-price{
  color: var(--primary) !important;
}
.cart-safe{
  display:grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}
@media (max-width: 992px){
  .cart-summary{ position: static; }
}

/* =========================================================
   CHECKOUT
========================================================= */
.checkout-steps{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}
.checkout-steps .step{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.06);
  font-weight: 900;
  color:var(--text);
}
.checkout-steps .step span{
  width:28px;height:28px;border-radius:999px;
  display:grid;place-items:center;
  background:var(--card);
  border:1px solid rgba(15,23,42,.08);
  font-size:.9rem;
}
.checkout-steps .step.active{
  background: rgba(var(--primary-rgb),.10);
  border-color: rgba(var(--primary-rgb),.18);
  color: var(--primary);
}
.checkout-summary{ position: sticky; top: 92px; }

.addr-pick, .ship-pick, .pay-pick{ display:block; cursor:pointer; }
.addr-pick input, .ship-pick input, .pay-pick input{ display:none; }

.addr-pick__card, .ship-pick__card, .pay-pick__card{
  display:block;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background:var(--card);
  transition:.15s ease;
}
.addr-pick__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.addr-pick__badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size:.78rem;
  font-weight: 900;
  background: rgba(34,197,94,.14);
  color: #0f7a3d;
  border: 1px solid rgba(34,197,94,.20);
}
.addr-pick input:checked + .addr-pick__card,
.ship-pick input:checked + .ship-pick__card,
.pay-pick input:checked + .pay-pick__card{
  border-color: rgba(var(--primary-rgb),.35);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb),.12);
  transform: translateY(-2px);
}

.checkout-cardform{
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,23,42,.06);
}
@media (max-width: 992px){
  .checkout-summary{ position: static; }
}

/* =========================================================
   ORDER CONFIRMATION
========================================================= */
.confirm-card{ text-align:center; padding: 34px 18px; }
.confirm-icon{
  width: 74px;
  height: 74px;
  border-radius: 26px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  font-size: 34px;
  border: 1px solid rgba(15,23,42,.06);
}
.confirm-icon--ok{
  background: rgba(34,197,94,.14);
  color: #0f7a3d;
  border-color: rgba(34,197,94,.22);
}
.confirm-icon--bad{
  background: rgba(239,68,68,.12);
  color: #b91c1c;
  border-color: rgba(239,68,68,.22);
}
.confirm-meta{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 auto;
  max-width: 680px;
}
.confirm-meta__item{
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 18px;
  padding: 12px;
}
.confirm-actions{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
}
@media (max-width: 768px){
  .confirm-meta{ grid-template-columns: 1fr; }
}

/* =========================================================
   PRODUCT DETAIL (TEK KAYNAK)
========================================================= */
.pd-gallery{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.pd-gallery.is-zooming{ grid-template-columns: 1fr; }
.pd-thumbs{ display:flex; gap:10px; }
.pd-thumb{
  width:80px;height:80px;border-radius:16px;
  background:#eee center/cover no-repeat;
  border:2px solid transparent;
  cursor:pointer;
}
.pd-thumb.active{ border-color: var(--primary); }

.pd-gallery-main{
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 992px){
  .pd-gallery-main{ height: 340px; }
}
.pd-gallery-main::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.08);
  pointer-events:none;
}
:root[data-theme="dark"] .pd-gallery-main::after{
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.pd-zoom-lens{
  position:absolute;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(2px);
  display:none;
  pointer-events:none;
}
.pd-zoom-result{
  display:none !important;
}
.pd-gallery.is-zooming .pd-zoom-lens{ display:block; }
.pd-gallery.is-zooming .pd-gallery-main{
  background-size: 220%;
  cursor: zoom-in;
}
:root[data-theme="dark"] .pd-zoom-result{ border-color: var(--border); }

@media (max-width: 992px){
  .pd-gallery{ grid-template-columns: 1fr !important; }
  .pd-zoom-result{ display:none !important; }
  .pd-zoom-lens{ display:none !important; }
}

/* Tabs */
.pd-tabs .nav-link{
  font-weight:900;
  border-radius:14px 14px 0 0;
}

/* VARIANTS */
.v-swatch{ display:flex; gap:10px; align-items:center; }
.swatch{ display:inline-flex; }
.swatch input{ display:none; }
.swatch-dot{
  width:34px; height:34px; border-radius: 14px;
  background: var(--swatch);
  border: 2px solid rgba(15,23,42,.12);
  display:inline-block;
}
.swatch input:checked + .swatch-dot{
  border-color: rgba(var(--primary-rgb),.55);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb),.18);
}

.v-pills{ display:flex; gap:10px; flex-wrap:wrap; }
.pill input{ display:none; }
.pill span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: var(--card);
  font-weight: 900;
  color: var(--text);
}
.pill input:checked + span{
  border-color: rgba(var(--primary-rgb),.45);
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
}

.v-icons{ display:flex; gap:10px; flex-wrap:wrap; }
.iconpick input{ display:none; }
.iconpick-card{
  width: 86px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: var(--card);
  padding: 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 6px;
  font-weight: 900;
  color: var(--text);
}
.iconpick-card i{ font-size: 20px; color: var(--primary); }
.iconpick input:checked + .iconpick-card{
  border-color: rgba(var(--primary-rgb),.45);
  background: rgba(var(--primary-rgb),.10);
}

/* REVIEW STARS */
.review-stars{
  display:flex;
  flex-direction: row-reverse;
  gap: 6px;
  justify-content:flex-end;
}
.review-stars input{ display:none; }
.review-stars label{ cursor:pointer; }
.review-stars label i{ color: rgba(246,177,0,.45); }
.review-stars input:checked ~ label i{ color:#f6b100; }
.review-stars label:hover ~ label i,
.review-stars label:hover i{ color:#f6b100; }

/* =========================================================
   MINI CART (index)
========================================================= */
.cart-btn{ position: relative; }
.cart-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#ff3b30;
  color:#fff;
  font-size:.75rem;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}
.mini-cart-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Product detail - similar products theme colors */
.pd-similar-section .panel-card h5{
  color: var(--text);
}
.pd-similar-section .pd-similar-title{
  color: var(--text);
  line-height: 1.35;
}
.pd-similar-section .pd-similar-title:hover{
  color: var(--primary);
}
.pd-similar-section .old{
  color: var(--muted);
}
.fav-item-actions{
  min-width: max-content;
  white-space: nowrap;
}
.fav-item-actions .btn{
  flex: 0 0 auto;
}
.fav-item-title{
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.mini-cart-item{
  display:flex;
  gap:12px;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:var(--card);
}
.mini-cart-thumb{
  width:62px;height:62px;border-radius:16px;
  background:#eee center/cover no-repeat;
  flex:0 0 auto;
}
.mini-remove{
  width:38px;height:38px;border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  display:grid; place-items:center;
}
.mini-qty{
  display:flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:999px;
  overflow:hidden;
  background:var(--card);
}
.mini-qty-btn{
  width:34px;height:30px;
  border:0;
  background:transparent;
  font-weight:900;
  font-size: 18px;
  line-height: 1;
}
.mini-qty-input{
  width:38px;
  text-align:center;
  border:0;
  outline:0;
  background:transparent;
  font-weight:900;
}
.mini-cart-summary{
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,.08);
}
.mini-cart-note{ opacity:.9; }

/* =========================================================
   NOTIFICATIONS
========================================================= */
.notif-btn{ position:relative; }
.notif-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.notif-item{
  display:flex;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.08);
  background:var(--card);
  cursor:pointer;
  transition:.15s ease;
}
.notif-item:hover{ background:rgba(var(--primary-rgb),.04); }
.notif-item.unread{
  border-color:rgba(var(--primary-rgb),.35);
  background:rgba(var(--primary-rgb),.08);
}
.notif-ico{
  width:40px;height:40px;border-radius:14px;
  background:rgba(var(--primary-rgb),.12);
  color:var(--primary);
  display:grid; place-items:center;
  flex:0 0 auto;
}
.notif-time{
  font-size:.75rem;
  color: var(--muted);
  margin-top:4px;
}
.notif-actions{
  position:sticky;
  top:0;
  background:var(--card);
  z-index:2;
  padding-bottom:8px;
}

/* =========================================================
   LEGAL
========================================================= */
.legal-page .panel-card{ padding: 22px; }
.legal-content h5{
  margin-top: 18px;
  font-weight: 900;
  letter-spacing: -.2px;
}
.legal-content p, .legal-content li{
  color: var(--text);
  line-height: 1.6;
}
.legal-links a{
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}
.legal-links a:hover{ text-decoration: underline; }

.return-drop{
  border: 2px dashed rgba(15,23,42,.18);
  border-radius: 18px;
  padding: 18px;
  text-align:center;
  background: rgba(255,255,255,.6);
  cursor:pointer;
}
.return-drop i{ font-size: 26px; color: var(--primary); }

.return-ticket{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 14px;
  background:var(--card);
  margin-bottom: 12px;
}
.return-steps{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.return-steps span{
  font-size: .78rem;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
}
.return-steps span.done{
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.20);
  color: #0f7a3d;
}

/* =========================================================
   COOKIE CONSENT
========================================================= */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
}
.cookie-inner{
  max-width: 980px;
  margin: 0 auto;
  background:var(--card);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15,23,42,.15);
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.cookie-text{ max-width: 640px; }
.cookie-text p{ color: var(--text); line-height: 1.5; }
.cookie-link{
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}
.cookie-link:hover{ text-decoration: underline; }
.cookie-actions{
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 768px){
  .cookie-inner{
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .cookie-actions{ justify-content: flex-end; }
}

/* =========================================================
   BLOG
========================================================= */
.blog-hero{ overflow:hidden; }
.blog-hero-img{
  height: 200px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb),.10), rgba(var(--pink-rgb),.12)),
    url("../../up/banner/bresim-1770634402-slider-1.jpg") center/cover no-repeat;
}
.blog-select{ min-width: 180px; }

.blog-card{
  display:block;
  background:var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,.06);
  overflow:hidden;
  height:100%;
  transition:.15s ease;
}
.blog-card:hover{ transform: translateY(-3px); }

.blog-thumb{
  height: 190px;
  background:#eee center/cover no-repeat;
}
.blog-body{ padding: 14px; }
.blog-title{ margin: 10px 0 8px; font-weight: 900; letter-spacing:-.2px; }
.blog-excerpt{ margin:0; color: var(--muted); }
.blog-meta{ color: var(--muted); font-size: .86rem; font-weight: 700; }

.blog-cover{
  height: 320px;
  border-radius: 18px;
  background:#eee center/cover no-repeat;
}
.blog-article h5{
  margin-top: 18px;
  font-weight: 900;
  letter-spacing:-.2px;
}
.blog-article p{
  color:var(--text);
  line-height:1.65;
}

.blog-mini{
  display:flex;
  gap:12px;
  padding: 12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background:var(--card);
  margin-top: 10px;
}
.blog-mini-thumb{
  width:64px;height:64px;border-radius:16px;
  background:#eee center/cover no-repeat;
  flex:0 0 auto;
}

/* =========================================================
   CONTACT
========================================================= */
.contact-item{
  display:flex;
  gap:12px;
  padding: 12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background:var(--card);
  margin-top: 10px;
}
.contact-ico{
  width:44px;height:44px;border-radius:16px;
  background: rgba(var(--primary-rgb),.10);
  color: var(--primary);
  display:grid; place-items:center;
  flex:0 0 auto;
}
.contact-map{
  height: 220px;
  border-radius: 18px;
  border:1px solid rgba(15,23,42,.08);
  background:var(--card);
  overflow:hidden;
}
.contact-map__iframe{
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
  border-radius: 18px;
}

/* WhatsApp */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  z-index: 9999;
}
.wa-float i{ font-size: 26px; }
.wa-float:hover{ filter: brightness(0.98); }

/* =========================================================
   BREADCRUMB (Image)
========================================================= */
.site-breadcrumb--image{
  position: relative;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.breadcrumb-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.75), rgba(15,23,42,.55));
}
.breadcrumb-inner{
  position: relative;
  z-index: 2;
  padding: 34px 0;
  max-width: 720px;
}
.site-breadcrumb .breadcrumb{
  background: transparent;
  margin-bottom: 10px;
}
.site-breadcrumb .breadcrumb-item a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  opacity: .85;
}
.site-breadcrumb .breadcrumb-item a:hover{
  opacity: 1;
  text-decoration: underline;
}
.site-breadcrumb .breadcrumb-item.active{
  color: #ffffff;
  font-weight: 900;
}
.site-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
  content: "\203A";
  color: rgba(255,255,255,.7);
  font-weight: 900;
}
.breadcrumb-title{
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.4px;
  margin: 0;
}
.breadcrumb-desc{
  margin-top: 6px;
  max-width: 520px;
  font-size: 1rem;
  opacity: .9;
}
.icerik-sol-hero{
  background-image:
    radial-gradient(900px 400px at 10% 20%, rgba(var(--secondary-rgb),.18), transparent 60%),
    radial-gradient(800px 360px at 85% 0%, rgba(var(--primary-rgb),.18), transparent 60%),
    linear-gradient(110deg,#0f1730,#101a38);
}
.icerik-side-card{
  position: sticky;
  top: 106px;
}
.icerik-side-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100% !important;
}
.icerik-side-menu li{
  margin: 0;
}
.icerik-side-tree > li + li{
  border-top: 1px solid var(--border);
}
.icerik-side-menu li a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.icerik-side-menu li.current > a{
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 12px;
}
.icerik-side-menu ul ul{
  display: none;
  margin-left: 12px;
  padding-left: 8px;
  border-left: 1px dashed color-mix(in srgb, var(--text) 15%, transparent);
}
.icerik-side-menu li.is-open > ul,
.icerik-side-menu li.current > ul{
  display: block;
}
.icerik-side-menu ul ul li + li{
  border-top: 0;
}
.icerik-side-menu ul ul li a{
  font-weight: 600;
  padding: 8px 8px;
}
@media (max-width: 768px){
  .site-breadcrumb--image{ min-height: 150px; }
  .breadcrumb-title{ font-size: 1.6rem; }
}
@media (max-width:991.98px){
  .icerik-side-card{ position: static; }
}

/* =========================================================
   CALENDAR (addons)
========================================================= */
.cal-day{ border: 0; cursor: pointer; }
.cal-day--blank{ border: 0 !important; background: transparent !important; cursor: default !important; }
.cal-day.is-today{ outline: 2px solid rgba(var(--primary-rgb),.25); }

/* =========================================================
   DARK MODE OVERRIDES (minimal)
========================================================= */
:root[data-theme="dark"] .topbar{
  background: rgba(11,16,32,.75);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
:root[data-theme="dark"] .fav-search{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}
:root[data-theme="dark"] .search-pill{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}
.panel-card,
.panel,
.auth-card{
  background: var(--card) !important;
  box-shadow: var(--shadow) !important;
  border-color: var(--border) !important;
}
.text-muted, .muted{ color: var(--muted) !important; }
.topbar-inner{
  background: var(--card) !important;
  box-shadow: var(--shadow) !important;
}
.search-pill{ border-color: var(--border) !important; }
.search-pill input{ color: var(--text); }

.icon-btn{
  background: var(--card) !important;
  border-color: var(--border) !important;
  color: var(--text);
}

.nav-link-soft,
.account-link,
.sidebar .nav-link{ color: var(--text) !important; }

.table, .table thead, .table tbody, .table td, .table th{ color: var(--text); }

.form-control, .form-select{
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.form-control::placeholder{ color: rgba(169,177,198,.9); }

.offcanvas, .modal-content{
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

/* =========================================================
   MENU SYSTEM (TEK KAYNAK)
   Desktop: rail hover
   Mobile: bottom bar + mobile sheet (JS ile)
========================================================= */

/* Desktop Rail */
.rail{
  position: fixed;
  left: 16px;
  top: 96px;
  z-index: 1400;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rail-dock{
  width: 64px;
  padding: 10px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rail-btn{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid rgba(15,23,42,.10);
  background: var(--card);
  color: var(--text);
  transition: .15s ease;
}
.rail-btn:hover{
  background: rgba(var(--primary-rgb),.08);
  border-color: rgba(var(--primary-rgb),.22);
  color: var(--primary);
}
.rail-btn.is-active{
  background: rgba(var(--primary-rgb),.12);
  border-color: rgba(var(--primary-rgb),.28);
  color: var(--primary);
}

/* Desktop Flyout */
.rail-flyout{
  width: 340px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(15,23,42,.18);
  padding: 14px;
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: .18s ease;
}
.rail-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 4px 6px 12px;
}
.rail-close{
  width: 42px;
  height: 42px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: var(--card);
  display:grid;
  place-items:center;
}
.rail-nav{
  display:flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}
.rail-item{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  text-decoration:none;
  font-weight: 800;
  color: var(--text);
  transition: .15s ease;
}
.rail-item i{
  width: 22px;
  text-align:center;
  color: var(--text);
  opacity: .85;
}
.rail-item:hover{ background: rgba(15,23,42,.04); }
:root[data-theme="dark"] .rail-item:hover{ background: rgba(255,255,255,.06); }
.rail-item.is-active{
  background: rgba(var(--primary-rgb),.12);
  color: var(--primary);
}
.rail-item.is-active i{
  color: var(--primary);
  opacity: 1;
}
.rail-divider{
  height: 1px;
  background: rgba(15,23,42,.08);
  margin: 10px 6px;
}
:root[data-theme="dark"] .rail-divider{ background: rgba(255,255,255,.10); }

/* Desktop rail: always-open variant used in topbar.php */
.rail.rail-always-open{ gap: 0; align-items: stretch; }
.rail.rail-always-open .rail-flyout{
  width: 360px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(15,23,42,.18);
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
  transform: none;
}
.rail.rail-always-open .rail-head,
.rail.rail-always-open .rail-nav{
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.rail.rail-always-open .rail-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.rail.rail-always-open .rail-list > li{ width: 100%; padding: 2px 0; }
.rail.rail-always-open .rail-list > li > a{
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s;
  width: 100%;
}
.rail.rail-always-open .rail-list > li > a:hover{ background-color: rgba(0,0,0,0.05); }

@media (min-width: 1600px) and (max-width: 1799px){
  .rail.rail-always-open{
    left: 10px;
    top: 100px;
  }
  .rail.rail-always-open .rail-flyout{
    width: 250px;
  }
}

@media (min-width: 1800px){
  .rail.rail-always-open .rail-flyout{
    width: 360px;
  }
}

/* Desktop/laptop offcanvas menu list style (mbaslik output). */
.desktop-menu-offcanvas{
  width: min(380px, 92vw);
  z-index: 1600;
}
.desktop-menu-offcanvas .desktop-rail-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.desktop-menu-offcanvas .desktop-rail-list > li{
  width: 100%;
  padding: 2px 0;
  display: block !important;
  list-style: none;
  visibility: visible;
  opacity: 1;
}
.desktop-menu-offcanvas .desktop-rail-list .topbar-menu__item{
  display: block !important;
  width: 100%;
  list-style: none;
  visibility: visible;
  opacity: 1;
}
.desktop-menu-offcanvas .desktop-rail-list > li > a{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  width: 100%;
}
.desktop-menu-offcanvas .desktop-rail-list .topbar-menu__link{
  display: flex !important;
  align-items: center;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--text) !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
}
.desktop-menu-offcanvas .desktop-rail-list > li > a:hover{
  background: color-mix(in srgb, var(--text) 4%, transparent);
}
.desktop-menu-social__links{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.desktop-menu-social__link{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: .15s ease;
}
.desktop-menu-social__link i{
  font-size: 18px;
  line-height: 1;
}
.desktop-menu-social__link:hover{
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
}

/* Mobile sheet list style for dynamic menu items (mbaslik output) */
.mobile-sheet .mobile-rail-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-sheet .mobile-rail-list > li{
  width: 100%;
  padding: 2px 0;
  display: block !important;
  list-style: none;
}
.mobile-sheet .mobile-rail-list .topbar-menu__item{
  display: block !important;
  width: 100%;
  list-style: none;
}
.mobile-sheet .mobile-rail-list > li > a{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  width: 100%;
}
.mobile-sheet .mobile-rail-list .topbar-menu__link{
  display: flex !important;
  align-items: center;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--text) !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
}
.mobile-sheet .mobile-rail-list > li > a:hover{
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

/* Mobile bottom bar */
.rail-bottom{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 66px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 40px rgba(15,23,42,.15);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1480;
}
.rail-bottom-btn{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: var(--card);
  color: var(--text);
  display:grid;
  place-items:center;
  text-decoration:none;
}
.rail-bottom-main{
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff;
  display:grid;
  place-items:center;
  text-decoration:none;
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb),.25);
}
.rail-bottom-main i{ font-size: 28px; }

@media (max-width: 991px){
  .rail{ display:none !important; }
  .rail-bottom{ display:flex; }
  html, body{ max-width: 100%; overflow-x: hidden; }
  body{ padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  /* Prevent horizontal overflow when footer uses topbar-menu class */
  footer .topbar-menu{
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
    gap: 6px;
  }
}

@media (max-width: 420px){
  .rail-bottom{
    left: 8px;
    right: 8px;
    height: 62px;
    border-radius: 20px;
    padding: 0 8px;
  }
  .rail-bottom-btn{
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .rail-bottom-main{
    width: 54px;
    height: 54px;
    border-radius: 18px;
    transform: translateY(-10px);
  }
  .rail-bottom-main i{ font-size: 24px; }
  .mobile-sheet{
    left: 8px;
    right: 8px;
    bottom: 84px;
  }
  .mobile-sheet__panel{ border-radius: 22px; }
}

/* Mobile sheet */
.mobile-sheet{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 96px;
  z-index: 1470;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: .18s ease;
}
.mobile-sheet__panel{
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 26px 60px color-mix(in srgb, var(--text) 22%, transparent);
  overflow: hidden;
}
.mobile-sheet__handle{
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 14%, transparent);
  margin: 10px auto 6px;
}
.mobile-sheet__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 14px 8px;
}
.mobile-sheet__close{
  width: 42px;
  height: 42px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  display:grid;
  place-items:center;
  color: var(--text);
}
.mobile-sheet__body{
  max-height: min(62vh, 520px);
  overflow: auto;
  padding: 8px 10px 14px;
}

/* Mobile sheet list */
.mnav-item{
  display:grid;
  grid-template-columns: 54px 1fr;
  align-items:center;
  gap: 10px;
  height: 54px;
  padding: 6px 12px 6px 6px;
  border-radius: 18px;
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
}
.mnav-ic{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  color: var(--text);
}
.mnav-ic i{ font-size: 22px; line-height: 1; }
.mnav-tx{ white-space: nowrap; }
.mnav-item.is-active .mnav-ic{
  background: var(--text);
  color: var(--card);
}
.mnav-item:hover{
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

/* Backdrop */
.mobile-sheet-backdrop{
  position: fixed;
  inset: 0;
  z-index: 1465;
  background: color-mix(in srgb, var(--text) 28%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}

/* open state (JS bunu yonetir) */
html.is-mobile-sheet-open,
html.is-mobile-sheet-open body{
  overflow: hidden;
  height: 100%;
}
html.is-mobile-sheet-open .mobile-sheet{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
html.is-mobile-sheet-open .mobile-sheet-backdrop{
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   RAIL UX: Ikonlar SABIT, sadece icerik acilir (Desktop only)
========================================================= */
@media (min-width: 992px){
  .rail{ gap: 0; align-items: stretch; }
  .rail-dock{ width: 64px; flex: 0 0 64px; }

  .rail-flyout{
    width: 0;
    padding-left: 0;
    padding-right: 0;
    border: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transform: none;
  }
  .rail:hover .rail-flyout{
    width: 360px;
    padding: 14px;
    opacity: 1;
    pointer-events: auto;
  }
  .rail:hover .rail-dock{ border-right: 1px solid var(--border); }

  .rail-head{
    opacity: 0;
    transform: translateX(-6px);
    transition: .18s ease;
    pointer-events: none;
  }
  .rail:hover .rail-head{
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  .rail-nav{
    opacity: 0;
    transform: translateX(-6px);
    transition: .18s ease;
  }
  .rail:hover .rail-nav{
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================================
   CUSTOMER PANEL RESTORE + MENU CAKISMA FIX
========================================================= */
body.customer-page .rail,
body.customer-page .rail-bottom,
body.customer-page .mobile-sheet,
body.customer-page .mobile-sheet-backdrop{
  display: none !important;
}
@media (max-width: 991px){
  body.customer-page{ padding-bottom: 0 !important; }
}

/* CUSTOMER SHELL */
.app-shell--customer{
  min-height:100vh;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 20px;
}
.app-shell--customer .sidebar{
  background:var(--card);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding: 18px;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  overflow:auto;
  border: 1px solid rgba(15,23,42,.05);
}
:root[data-theme="dark"] .app-shell--customer .sidebar{ border-color: var(--border); }

.app-shell--customer .brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
  margin-bottom: 14px;
}
.app-shell--customer .brand-name{ line-height:1; font-weight:900; }
.app-shell--customer .brand-subtitle{ font-size:.85rem; font-weight:600; }

.app-shell--customer .sidebar-title{
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.6px;
}
.app-shell--customer .sidebar .nav-link{
  border-radius: 14px;
  padding: 12px 12px;
  color:var(--text);
  display:flex; align-items:center; gap:10px;
}
.app-shell--customer .sidebar .nav-link:hover{ background: rgba(var(--primary-rgb),.06); }
.app-shell--customer .sidebar .nav-link.active{
  background: rgba(var(--primary-rgb),.12);
  color: var(--primary);
  font-weight: 800;
}
.app-shell--customer .offcanvas .nav-link{
  border-radius: 14px;
  padding: 12px 12px;
  color: var(--text);
  display:flex; align-items:center; gap:10px;
}
.app-shell--customer .offcanvas .nav-link.active{
  background: rgba(var(--primary-rgb),.12);
  color: var(--primary);
  font-weight: 800;
}

.app-shell--customer .content{
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.app-shell--customer .customer-topbar{
  background:var(--card);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border: 1px solid rgba(15,23,42,.05);
}
:root[data-theme="dark"] .app-shell--customer .customer-topbar{ border-color: var(--border); }

.app-shell--customer .search-pill{
  background:#f3f5fb;
  border-radius: 999px;
  padding: 10px 14px;
  display:flex; align-items:center; gap:10px;
  flex: 1;
  max-width: 720px;
  border: 1px solid rgba(15,23,42,.06);
}
:root[data-theme="dark"] .app-shell--customer .search-pill{
  background: color-mix(in srgb, var(--card) 88%, black 12%);
  border-color: var(--border);
}
.app-shell--customer .search-pill input{ color: var(--text); }

.app-shell--customer .grid-main{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items:start;
}
.app-shell--customer .panel{
  background:var(--card);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid rgba(15,23,42,.05);
}
:root[data-theme="dark"] .app-shell--customer .panel{ border-color: var(--border); }

.app-shell--customer .calendar{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.app-shell--customer .cal-dow{
  font-size:.78rem;
  color: var(--muted);
  text-align:center;
  padding: 6px 0;
  font-weight: 700;
}
.app-shell--customer .cal-day{
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(31,42,68,.07);
  background:var(--card);
  font-weight:700;
  color:var(--text);
}
:root[data-theme="dark"] .app-shell--customer .cal-day{ border-color: var(--border); }
.app-shell--customer .cal-day.is-active{
  background: rgba(var(--primary-rgb),.12);
  border-color: rgba(var(--primary-rgb),.22);
  color: var(--primary);
}
.app-shell--customer .customer-tip{
  background: rgba(var(--pink-rgb),.10);
  border:1px solid rgba(var(--pink-rgb),.20);
}

@media (max-width: 992px){
  .app-shell--customer{
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .app-shell--customer .sidebar{
    position: relative;
    height:auto;
    top:auto;
  }
  .app-shell--customer .grid-main{ grid-template-columns: 1fr; }
}

/* =========================================================
   CUSTOMER PANEL - HERO BACKGROUND RESTORE
========================================================= */
.app-shell--customer .hero{
  background: none;
  border-radius: 22px;
  overflow: hidden;
}
.app-shell--customer .hero-inner{
  position: relative;
  padding: 32px 32px 28px;
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(var(--secondary-rgb),.22), transparent 60%),
    radial-gradient(800px 360px at 80% 0%, rgba(var(--primary-rgb),.25), transparent 60%),
    linear-gradient(180deg, var(--card), var(--card));
  border-radius: 22px;
}
:root[data-theme="dark"] .app-shell--customer .hero-inner{
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(var(--secondary-rgb),.28), transparent 60%),
    radial-gradient(800px 360px at 80% 0%, rgba(var(--primary-rgb),.32), transparent 60%),
    linear-gradient(180deg, var(--card), var(--card));
}
.app-shell--customer .hero-illustration{ position: relative; z-index: 1; }
.app-shell--customer .hero-inner > *{ position: relative; z-index: 2; }

/* -------------------------
   PRODUCT DETAIL HERO
-------------------------- */
.pd-hero{
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 56px 0;
}
.pd-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.45));
  pointer-events: none;
}
.pd-hero-inner{ position: relative; z-index: 2; }
.pd-hero-title{
  color: #fff;
  font-weight: 900;
  font-size: 2rem;
  text-shadow: 0 8px 30px rgba(0,0,0,.45);
  margin: 0;
}
@media (min-width: 992px){
  .pd-hero{ padding: 80px 0; }
  .pd-hero-title{ font-size: 2.8rem; }
}

/* -------------------------
   Mobile readability guard
-------------------------- */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 992px){
  .brand-sub,
  .tag,
  .auth-badge,
  .auth-divider span,
  .auth-hint,
  .auth-strength__text,
  .orders-table thead th,
  .status-badge,
  .addr-badge,
  .pay-badge,
  .addr-pick__badge,
  .cart-badge,
  .mini-cart-badge,
  .notif-time,
  .return-steps span,
  .blog-meta,
  .app-shell--customer .brand-subtitle,
  .app-shell--customer .sidebar-title,
  .app-shell--customer .cal-dow{
    font-size: .875rem;
  }

  small,
  .small,
  .topbar .small,
  .footer .small{
    font-size: .875rem !important;
    line-height: 1.45;
  }

  main#siteMain [style*="font-size:10px"],
  main#siteMain [style*="font-size:11px"],
  main#siteMain [style*="font-size:12px"],
  main#siteMain [style*="font-size:13px"]{
    font-size: .875rem !important;
  }
}



