/* =========================================================
   MAĞAZA TOKENLARI
   ========================================================= */
body.store {
  --accent: #13b6e8;
  --ink: #0b1220;
  --soft: #f4f7fb;
  --line: #e8edf4;
  --grad: linear-gradient(100deg, var(--color-primary) 0%, var(--accent) 100%);
  --card-shadow: 0 22px 44px -22px rgba(16, 40, 80, 0.28);
  background: #fff;
  color: var(--ink);
}

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
@media (min-width: 768px) { .container { width: min(1180px, calc(100% - 48px)); } }

.lucide { width: 20px; height: 20px; stroke-width: 1.75; flex-shrink: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* =========================================================
   BUTONLAR
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn .lucide { width: 18px; height: 18px; transition: transform 200ms ease; }
.btn:hover .lucide { transform: translateX(3px); }

.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(1, 88, 247, 0.5); }
.btn--primary:hover { transform: translateY(-2px); }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.55; box-shadow: none; cursor: not-allowed; transform: none; pointer-events: none; }

.btn--light { background: #fff; border-color: #dfe6ef; color: #26364d; }
.btn--light:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn--sm { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 0.8125rem; }
.btn--sm .lucide { width: 16px; height: 16px; }

.btn--white { background: #fff; color: #0c3970; }
.btn--white:hover { transform: translateY(-2px); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #344155;
  transition: background 200ms ease, color 200ms ease;
}
.icon-btn:hover { background: var(--soft); color: var(--color-primary); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.text-link .lucide { width: 16px; height: 16px; transition: transform 200ms ease; }
.text-link:hover .lucide { transform: translateX(4px); }

/* =========================================================
   DUYURU BANDI
   ========================================================= */
.announce { background: var(--ink); color: #dbe6f4; font-size: 12px; }
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 0;
  text-align: center;
}
.announce strong { color: #fff; }
.announce .lucide { width: 15px; height: 15px; color: var(--accent); }
.announce--vacation { background: #9a3412; color: #fff7ed; }
.announce--vacation .lucide { color: #fed7aa; }
.announce__inner { position: relative; }
.announce__b2b {
  display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: 10px; padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #fff; font-weight: 700;
  text-decoration: none; transition: background 200ms ease, border-color 200ms ease;
}
.announce__b2b:hover { border-color: var(--accent); background: rgba(19, 182, 232, 0.14); }
.announce__b2b .lucide { width: 14px; height: 14px; }
.announce__b2b-long { display: none; }
/* Sol: ücretsiz araçlar (geniş ekranda; telefonda menüde) */
.announce__tools { display: none; }
@media (min-width: 1100px) {
  .announce__tools { position: absolute; left: 0; top: 50%; display: flex; gap: 14px; transform: translateY(-50%); }
  .announce__tools a { display: inline-flex; align-items: center; gap: 5px; color: #c9d6e8; font-weight: 700; text-decoration: none; transition: color 200ms ease; }
  .announce__tools a:hover, .announce__tools a.is-active { color: #fff; }
}
@media (min-width: 900px) {
  .announce__b2b { position: absolute; right: 0; top: 50%; margin-left: 0; transform: translateY(-50%); }
  .announce__b2b-long { display: inline; }
}
.menu-link--b2b { color: var(--color-primary); font-weight: 800; }
.menu-link--free { color: var(--color-primary); font-weight: 800; }

/* =========================================================
   ÜST MENÜ
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(16, 40, 80, 0.2); }

/* Mobil: [menü][logo][sepet] / [arama] */
.header__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "menu   brand  actions"
    "search search search";
  align-items: center;
  column-gap: 4px;
  row-gap: 10px;
  padding: 10px 0 12px;
}
.header__menu { grid-area: menu; margin-left: -8px; }
.header__actions { grid-area: actions; display: flex; align-items: center; gap: 4px; }

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand__logo { display: block; width: auto; height: 34px; max-width: 160px; object-fit: contain; }
.brand__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}
.brand__name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand--light { color: #fff; }

/* Arama */
.search {
  grid-area: search;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 4px 0 14px;
  background: var(--soft);
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.search:focus-within {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-ring);
}
.search .lucide { width: 18px; height: 18px; color: #8a97ab; }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  background: none;
  border: 0;
  outline: none;
  font-size: 16px;
  color: var(--ink);
}
.search input::placeholder { color: #8a97ab; }
.search__btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}

/* Sepet */
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  color: #26364d;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 200ms ease;
}
.cart-btn:hover { background: var(--soft); }
.cart-btn__icon { position: relative; display: grid; place-items: center; }
.cart-btn__count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  background: #ff5b62;
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.cart-btn__label { display: none; }

/* Favoriler */
.fav-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #26364d;
  transition: background 200ms ease, color 200ms ease;
}
.fav-link:hover { background: var(--soft); color: #e5383f; }
.fav-link__icon { position: relative; display: grid; place-items: center; }

/* Hesap */
.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  color: #26364d;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}
.account-btn:hover { background: var(--soft); color: var(--color-primary); }
.account-btn__label { display: none; }
.account-btn__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(1, 88, 247, 0.25);
}
.account-btn__avatar--text {
  display: inline-grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}
.account-btn--in .account-btn__label {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* WhatsApp kısayolu (geniş ekran) */
.header__help { display: none; }

@media (min-width: 900px) {
  .header__top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand search actions";
    column-gap: 28px;
    padding: 14px 0;
  }
  .header__menu { display: none; }
  .brand__logo { height: 40px; max-width: 200px; }
  .search { justify-self: center; width: 100%; max-width: 620px; height: 50px; }
  .search input { font-size: 0.875rem; }
  .cart-btn { padding: 0 14px; border: 1px solid var(--line); }
  .cart-btn__label { display: inline; }
  .account-btn__label { display: inline; }
}

@media (min-width: 1100px) {
  .header__help {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    border-radius: 14px;
    color: var(--ink);
    text-decoration: none;
    transition: background 200ms ease;
  }
  .header__help:hover { background: var(--soft); }
  .header__help-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e8f9ef;
    color: #16a34a;
  }
  .header__help-icon .lucide { width: 19px; height: 19px; }
  .header__help small { display: block; color: #8490a1; font-size: 10px; font-weight: 600; }
  .header__help b { display: block; font-size: 0.8125rem; font-weight: 800; }
}

/* Kategori çubuğu (aşağı kaydırınca gizlenir, ana sayfada yok) */
.catbar {
  max-height: 52px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  transition: max-height 250ms ease, opacity 200ms ease;
}
.site-header.is-scrolled .catbar { max-height: 0; opacity: 0; }
body.page-home .catbar { display: none; }

.catbar__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
}
/* Kategoriler kendi alanında kayar; özel düğmeler sağda sabit kalır (kesilmez) */
.catbar__scroll {
  display: flex;
  flex: 1;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.catbar__scroll::-webkit-scrollbar { display: none; }
.catbar__scroll.has-more-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.catbar__scroll.has-more-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.catbar__scroll.has-more-left.has-more-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }


.catbar__link {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 20px;
  color: #344155;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}
.catbar__link:hover { background: var(--soft); color: var(--color-primary); }
.catbar__link.is-active { background: #eaf2ff; color: var(--color-primary); }
.catbar__link--free { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #0158f7, #5b8cff); color: #fff; box-shadow: 0 6px 16px -8px rgba(1, 88, 247, 0.8); }

.catbar__link--free .lucide { width: 15px; height: 15px; }
.catbar__link--free:hover, .catbar__link--free.is-active { background: linear-gradient(135deg, #0047cf, #0158f7); color: #fff; }

/* =========================================================
   MOBİL MENÜ
   ========================================================= */
body.menu-open { overflow: hidden; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(11, 18, 32, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(86vw, 340px);
  background: #fff;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 300ms;
}
body.menu-open .menu-drawer {
  transform: none;
  visibility: visible;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.menu-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid var(--line);
}
.menu-drawer__body { flex: 1; padding: 12px; overflow-y: auto; }

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.menu-link:hover { background: var(--soft); }
.menu-link .lucide { width: 18px; height: 18px; color: #93a0b3; transition: transform 200ms ease; }

.menu-label {
  padding: 18px 12px 6px;
  color: #93a0b3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-group summary { list-style: none; }
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group[open] summary .lucide { transform: rotate(180deg); }

.menu-sub {
  display: grid;
  margin-left: 12px;
  padding: 0 0 8px 12px;
  border-left: 2px solid var(--line);
}
.menu-sub a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #5b6b82;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.menu-sub a:hover { background: var(--soft); color: var(--color-primary); }

.menu-drawer__foot {
  display: grid;
  gap: 12px;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  background: var(--soft);
}
.menu-drawer__foot a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344155;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.menu-drawer__foot .lucide { width: 18px; height: 18px; color: var(--color-primary); }

/* =========================================================
   ÜRÜN IZGARASI + ÜRÜN KARTI
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.grid-1 .product-grid { grid-template-columns: 1fr; gap: 18px; }

@media (min-width: 640px) {
  .product-grid,
  body.grid-1 .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 900px) {
  .product-grid,
  body.grid-1 .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
  .product-grid,
  body.grid-1 .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 20px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
@media (hover: hover) {
  .pcard:hover { transform: translateY(-6px); border-color: #dfe7f2; box-shadow: var(--card-shadow); }
}

.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f1f5fb;   /* düz, sade zemin */
}
.pcard__media.is-photo { background: #e8eef6; }
.pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 1;
  height: 100%;
  padding: 12%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(16, 34, 70, 0.12));
  transition: opacity 400ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pcard__img--alt { opacity: 0; }
/* Arka planlı fotoğraf: boşluksuz, kartı tamamen doldurur */
.pcard__img--photo { padding: 0; object-fit: cover; filter: none; }

@media (hover: hover) {
  .pcard:hover .pcard__img { transform: scale(1.06); }
  .pcard:hover .pcard__media.has-alt .pcard__img:first-child { opacity: 0; }
  .pcard:hover .pcard__img--alt { opacity: 1; }
}

.pcard__placeholder { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #a7b3c4; }
.pcard__placeholder .lucide { width: 34px; height: 34px; }

.pcard__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.pbadge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
}
.pbadge--sale { background: #ff5b62; color: #fff; }
.pbadge--new  { background: #e8f5ff; color: #0875df; }
.pbadge--low  { background: #fff1e6; color: #c2410c; }
.pbadge--out  { background: var(--ink); color: #fff; }

.pcard.is-out .pcard__img { opacity: 0.45; filter: grayscale(0.7); }

.pcard__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px; }
.pcard__cat {
  overflow: hidden;
  color: #8490a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;   /* tek satır: kartlardaki ad, yıldız ve fiyat aynı hizada kalır */
}
.pcard__name {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.35;
}
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__name a:hover { color: var(--color-primary); }

@media (min-width: 900px) {
  .pcard { border-radius: 18px; }
  .pcard__body { gap: 5px; padding: 12px 13px 13px; }
  .pcard__name { font-size: 0.8125rem; }
  .pcard__price strong { font-size: 1rem; }
  .pcard__go { width: 32px; height: 32px; border-radius: 10px; }
  .pcard__go .lucide { width: 16px; height: 16px; }
  .pcard__badges { top: 10px; left: 10px; }
}

.pcard__swatches { display: flex; align-items: center; gap: 4px; }
.pcard__swatches span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.15), 0 0 0 2px #fff;
}
.pcard__swatches em { margin-left: 2px; color: #8490a1; font-size: 10px; font-style: normal; font-weight: 700; }

.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-variant-numeric: tabular-nums; }
.pcard__price strong { font-size: 1.0625rem; font-weight: 900; letter-spacing: -0.02em; }
.pcard__price s { color: #9aa4b2; font-size: 11px; }

.pcard__go {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e9f5ff;
  color: var(--color-primary);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.pcard__go .lucide { width: 18px; height: 18px; }
.pcard__go:hover { background: var(--grad); color: #fff; transform: rotate(-8deg); }

@media (max-width: 639px) {
  body.grid-2 .pcard { border-radius: 16px; }
  body.grid-2 .pcard__body { padding: 10px; }
  body.grid-2 .pcard__name { font-size: 0.8125rem; }
  body.grid-2 .pcard__price strong { font-size: 0.9375rem; }
  body.grid-2 .pcard__price s { display: none; }
  body.grid-2 .pcard__go { width: 32px; height: 32px; border-radius: 10px; }
  body.grid-2 .pcard__badges { top: 8px; left: 8px; }
}

/* =========================================================
   ALT BİLGİ
   ========================================================= */
.site-footer { margin-top: 64px; padding: 40px 0 16px; background: var(--ink); color: #dbe4f0; }

/* Telefon/tablet: bilgisayardaki gibi sütunlu düzen
   [ Logo + açıklama            ]
   [ Alışveriş | Güvenli alışveriş ]
   [ İletişim (uzun satırlar)    ] */
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
.footer__about { grid-column: 1 / -1; }
.footer__col--links { order: 1; }
.footer__col--trust { order: 2; }
.footer__contact { order: 3; grid-column: 1 / -1; }

/* Bilgisayar: 4 sütun, doğal sıra */
@media (min-width: 1000px) {
  .footer__grid { grid-template-columns: 1.4fr 1.2fr 1.2fr 1fr; gap: 40px; }
  .footer__about,
  .footer__contact { grid-column: auto; }
  .footer__col--links,
  .footer__col--trust,
  .footer__contact { order: 0; }
}

.site-footer .brand__logo { filter: brightness(0) invert(1); }
.footer__about p { max-width: 300px; margin-top: 14px; color: #9eacbf; font-size: 0.8125rem; line-height: 1.8; }

.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__social a {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #dbe4f0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.08); }

.footer__col { display: grid; align-content: start; gap: 12px; }
.footer__col h4 { margin-bottom: 4px; color: #fff; font-size: 0.8125rem; font-weight: 800; }
.footer__col a,
.footer__col span { color: #9eacbf; font-size: 0.8125rem; text-decoration: none; }
.footer__col a:hover { color: #fff; }

.footer__contact a,
.footer__address { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.footer__contact span { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.footer__contact .lucide { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.footer__address > span { white-space: pre-line; }

.footer__trust { display: flex; align-items: center; gap: 10px; }
.footer__trust .lucide { width: 16px; height: 16px; color: var(--accent); }

.footer__bottom {
  margin-top: 28px;
  padding-top: 14px;
  padding-right: 72px;   /* mobilde WhatsApp butonunun altında kalmasın */
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #8392a8;
  font-size: 11px;
}
@media (min-width: 1100px) { .footer__bottom { padding-right: 0; text-align: center; } }

/* ---------- Telefon: kompakt alt bilgi (yarı yükseklik) ---------- */
@media (max-width: 639px) {
  .site-footer { margin-top: 48px; padding: 26px 0 14px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  /* Logo ve sosyal medya tek satırda; açıklama gizli */
  .footer__about { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .footer__about p { display: none; }
  .footer__about .brand__logo { height: 28px; }
  .footer__social { margin-top: 0; }
  .footer__social a { padding: 5px 12px; font-size: 11px; }

  .footer__col { gap: 6px; }
  .footer__col h4 { margin: 0 0 2px; font-size: 12px; }

  /* Kategoriler ve güvenli alışveriş: alt alta değil, yan yana akan satırlar */
  .footer__col--links,
  .footer__col--trust { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .footer__col--links h4,
  .footer__col--trust h4 { flex-basis: 100%; }
  .footer__col--links a,
  .footer__col--trust span { font-size: 12.5px; }
  .footer__trust { gap: 6px; }
  .footer__trust .lucide { width: 14px; height: 14px; }

  /* İletişim: WhatsApp, telefon, e-posta yan yana; adres altta */
  .footer__contact { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .footer__contact h4 { flex-basis: 100%; }
  .footer__contact a { font-size: 12.5px; }
  .footer__address { flex-basis: 100%; font-size: 12px; }

  .footer__bottom { margin-top: 18px; padding-top: 12px; text-align: left; }
}

/* WhatsApp butonu */
.wa-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 200ms ease;
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab .lucide { width: 26px; height: 26px; }
@media (min-width: 1100px) { .wa-fab { display: none; } }

/* =========================================================
   KAYDIRINCA BELİRME
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================
   ORTAK: BOŞ DURUM + SAYFA YOLU
   ========================================================= */
.store-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 56px 16px;
  color: #68758a;
  text-align: center;
}
.store-empty .lucide { width: 40px; height: 40px; margin-bottom: 8px; color: var(--color-primary); }
.store-empty strong { color: var(--ink); font-size: 1.125rem; }
.store-empty .btn { margin-top: 14px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: #8490a1;
  font-size: 12px;
  font-weight: 600;
}
.crumbs a { color: #68758a; text-decoration: none; }
.crumbs a:hover { color: var(--color-primary); }
.crumbs .lucide { width: 14px; height: 14px; color: #b3bdcb; }
.crumbs span[aria-current] { overflow: hidden; max-width: 220px; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }

/* =========================================================
   ORTAK: YILDIZLAR
   --rate (0-5) kadarı dolu boyanır
   ========================================================= */
.stars {
  display: inline-block;
  background: linear-gradient(90deg, #f5a524 calc(var(--rate, 0) / 5 * 100%), #d9e0ea 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.pcard__rating { display: inline-flex; align-items: center; gap: 4px; min-height: 16px; font-size: 11px; }
.pcard__rating .stars { font-size: 12px; }
.pcard__rating b { color: var(--ink); font-weight: 800; }
.pcard__rating em { color: #8490a1; font-style: normal; font-weight: 600; }

/* =========================================================
   ORTAK: FAVORİ KALBİ
   ========================================================= */
.fav-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px -6px rgba(16, 34, 70, 0.35);
  color: #5b6b82;
  transition: color 200ms ease, transform 200ms ease;
}
.fav-btn .lucide { width: 18px; height: 18px; }
.fav-btn:hover { color: #e5383f; transform: scale(1.06); }
.fav-btn.is-on { color: #e5383f; }
.fav-btn.is-on .lucide { fill: currentColor; }
.fav-btn.is-pop { animation: fav-pop 350ms ease; }
@keyframes fav-pop { 40% { transform: scale(1.25); } }

.pcard__fav { position: absolute; top: 10px; right: 10px; z-index: 3; }
@media (max-width: 639px) {
  body.grid-2 .pcard__fav { top: 7px; right: 7px; width: 32px; height: 32px; }
  body.grid-2 .pcard__fav .lucide { width: 16px; height: 16px; }
}

/* =========================================================
   ORTAK: KISA BİLDİRİM
   ========================================================= */
.toast-zone {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(92vw, 380px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 16px 32px -14px rgba(11, 18, 32, 0.6);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: auto;
}
.toast.is-in { opacity: 1; transform: none; }
.toast a { color: #7fd6ff; text-decoration: none; white-space: nowrap; }
.toast a:hover { text-decoration: underline; }
.toast--error { background: #b91c1c; }
body.page-product .toast-zone { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.page-product .toast-zone { bottom: 24px; } }


/* =========================================================
   ORTAK: MİNİ SEPET ÇEKMECESİ
   ========================================================= */
body.cart-open { overflow: hidden; }

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(11, 18, 32, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
body.cart-open .cart-backdrop { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(92vw, 400px);
  background: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 300ms;
}
body.cart-open .cart-drawer {
  transform: none;
  visibility: visible;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 10px 0 18px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head b { font-size: 1rem; font-weight: 900; }
.cart-drawer__head b span { color: #8490a1; font-weight: 700; }

.cart-drawer__body { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.cart-drawer__body .freebar { margin: 14px 16px 0; }
.cart-drawer__lines { flex: 1; margin: 0; padding: 4px 16px; overflow-y: auto; list-style: none; }

.cart-drawer__foot {
  padding: 14px 16px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.cart-drawer__sum { display: flex; align-items: baseline; justify-content: space-between; }
.cart-drawer__sum span { color: #5b6b82; font-size: 0.875rem; font-weight: 700; }
.cart-drawer__sum b { color: var(--color-primary); font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.cart-drawer__sum--discount { margin-bottom: 4px; }
.cart-drawer__sum--discount span,
.cart-drawer__sum--discount b { color: #16a34a; font-size: 0.8125rem; }
.cart-drawer__ship { margin-top: 2px; color: #8490a1; font-size: 12px; }
.cart-drawer__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 12px; }
.cart-drawer__actions .btn { min-height: 46px; padding: 0 12px; }
.cart-drawer__actions .btn small,
.cart-sum__btn small { font-weight: 600; opacity: 0.8; }

.cart-drawer__loading { display: grid; gap: 12px; padding: 18px 16px; }
.cart-drawer__loading span {
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(100deg, #f1f5fb 40%, #f8fafd 50%, #f1f5fb 60%) 0 0 / 200% 100%;
  animation: cart-skel 1.2s linear infinite;
}
@keyframes cart-skel { to { background-position: -200% 0; } }

/* =========================================================
   ORTAK: SEPET SATIRI
   ========================================================= */
.cline {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 200ms ease;
}
.cline:last-child { border-bottom: 0; }
.cline.is-busy { opacity: 0.5; pointer-events: none; }

.cline__img {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 14px;
  background: #f1f5fb;
  color: #a7b3c4;
}
.cline__img img { width: 100%; height: 100%; padding: 8%; object-fit: contain; }
.cline__img.is-photo img { padding: 0; object-fit: cover; }
.cline--compact .cline__img { width: 68px; height: 68px; border-radius: 12px; }

.cline__info { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; padding-right: 26px; }
.cline__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}
.cline__name:hover { color: var(--color-primary); }
.cline__meta { color: #68758a; font-size: 12px; font-weight: 600; }
.cline__extra { color: #8490a1; }
.cline__pz { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 1px 7px; border-radius: 6px; background: #eef4ff; color: #0b3fa8; font-weight: 600; }
.cline__pz svg { width: 12px; height: 12px; }
.cline__problem { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; color: #dc2626; font-size: 12px; font-weight: 700; }
.cline__problem .lucide { width: 14px; height: 14px; }
.cline.is-problem .cline__img { opacity: 0.5; }
.cline.is-problem .cline__price strong { color: #9aa4b2; text-decoration: line-through; }

.cline__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.cline__price { text-align: right; font-variant-numeric: tabular-nums; }
.cline__price strong { display: block; font-size: 0.9375rem; font-weight: 900; }
.cline__price small { color: #8490a1; font-size: 11px; }

.cline__remove {
  position: absolute;
  top: 12px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #93a0b3;
  transition: background 200ms ease, color 200ms ease;
}
.cline__remove:hover { background: #fff1f2; color: #e5383f; }
.cline__remove .lucide { width: 16px; height: 16px; }

.cqty {
  display: inline-flex;
  align-items: center;
  height: 34px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
}
.cqty__btn { display: grid; place-items: center; width: 32px; height: 100%; color: #344155; }
.cqty__btn:hover:not(:disabled) { color: var(--color-primary); }
.cqty__btn:disabled { color: #c3ccd8; }
.cqty__btn .lucide { width: 14px; height: 14px; }
.cqty__val { min-width: 22px; font-size: 0.875rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }

/* Ücretsiz kargo çubuğu */
.freebar { padding: 12px 14px; border-radius: 14px; background: #eef5ff; }
.freebar p { display: flex; align-items: center; gap: 6px; color: #26364d; font-size: 12.5px; font-weight: 600; }
.freebar p b { color: var(--color-primary); }
.freebar .lucide { width: 16px; height: 16px; color: var(--color-primary); }
.freebar__track { display: block; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: #d6e4f8; }
.freebar__fill { display: block; width: var(--pct, 0); height: 100%; border-radius: 3px; background: var(--grad); transition: width 400ms ease; }
.freebar.is-done { background: #ecfdf3; }
.freebar.is-done p b,
.freebar.is-done .lucide { color: #16a34a; }
.freebar.is-done .freebar__fill { background: #22c55e; }

/* Boş sepet */
.cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 24px;
  text-align: center;
}
.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 20px;
  background: #eef5ff;
  color: var(--color-primary);
}
.cart-empty__icon .lucide { width: 28px; height: 28px; }
.cart-empty b { font-size: 1.0625rem; font-weight: 900; }
.cart-empty p { color: #68758a; font-size: 0.875rem; }
.cart-empty .btn { margin-top: 12px; }

/* =========================================================
   ONAY PENCERESİ (Store.confirm)
   ========================================================= */
.s-confirm {
  width: min(380px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(10, 25, 50, 0.45);
}
.s-confirm::backdrop { background: rgba(10, 20, 40, 0.45); backdrop-filter: blur(3px); }
.s-confirm[open] { animation: s-confirm-in 200ms ease; }
@keyframes s-confirm-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.s-confirm__panel { display: grid; justify-items: center; gap: 8px; padding: 26px 22px 20px; text-align: center; }
.s-confirm__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 16px; background: #edf5ff; color: var(--color-primary); }
.s-confirm.is-danger .s-confirm__icon { background: #fef2f2; color: #dc2626; }
.s-confirm__icon .lucide { width: 24px; height: 24px; }
.s-confirm__title { font-size: 1.0625rem; font-weight: 900; letter-spacing: -0.02em; }
.s-confirm__text { color: #5b6b82; font-size: 0.8125rem; line-height: 1.6; }
.s-confirm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 12px; }
.s-confirm__actions .btn { min-height: 44px; }
.btn--danger { background: #dc2626; color: #fff; box-shadow: 0 10px 24px -10px rgba(220, 38, 38, 0.55); }
.btn--danger:hover { background: #b91c1c; }

/* =========================================================
   ARAMA ÖNERİLERİ
   ========================================================= */
.search { position: relative; }
.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;
  max-height: min(70vh, 480px);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -20px rgba(10, 25, 50, 0.35);
}
.suggest[hidden] { display: none; }
.suggest__label { margin: 6px 8px 4px; color: #8490a1; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.suggest__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.suggest__item:hover,
.suggest__item.is-active { background: var(--soft); }
.suggest__thumb { display: grid; place-items: center; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: #f3f6fb; color: #a3adbb; }
.suggest__thumb img { width: 100%; height: 100%; object-fit: contain; }
.suggest__thumb.is-photo img { object-fit: cover; }
.suggest__thumb .lucide { width: 18px; height: 18px; }
.suggest__info { display: grid; flex: 1; min-width: 0; }
.suggest__name { overflow: hidden; color: #344155; font-size: 0.875rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.suggest__name b { color: var(--ink); font-weight: 900; }
.suggest__info small { color: #8490a1; font-size: 11.5px; }
.suggest__price { flex: none; color: var(--color-primary); font-size: 0.8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.suggest__price.is-out { color: #b91c1c; font-weight: 700; }
.suggest__item--cat { padding: 7px 8px; }
.suggest__cat-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: #edf5ff; color: var(--color-primary); }
.suggest__cat-icon .lucide { width: 16px; height: 16px; }
.suggest__empty { display: flex; align-items: center; gap: 8px; padding: 14px 10px; color: #68758a; font-size: 0.8125rem; }
.suggest__empty .lucide { width: 18px; height: 18px; }
.suggest__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  background: none;
  color: var(--color-primary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
}
.suggest__all .lucide { width: 15px; height: 15px; }
.suggest__all:hover { background: var(--soft); }

/* Altbilgi: yasal sayfa linkleri */
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 16px 0 4px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__legal a { color: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 600; text-decoration: none; transition: color 200ms ease; }
.footer__legal a:hover { color: #fff; }
