/*
 * AXCOS mağaza iskeleti (Tebex template)
 * Önizleme HTML’i: ../preview/preview.html — aynı sınıf isimleri.
 * Yalnızca bu layout CSS’i + axcos-*.twig ile iskelet tamamlanabilir.
 */
body {
  font-family: "Inter", var(--axcos-font-sans);
  letter-spacing: 0.01em;
}

.preview-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--axcos-bg);
}

/* --- Geliştirici şeridi --- */
.preview-banner {
  background: var(--axcos-surface-elevated);
  border-bottom: 1px solid var(--axcos-border);
  padding: 0.4rem 1.25rem;
  font-size: 0.72rem;
  color: var(--axcos-text-muted);
  text-align: center;
}

/* --- Header (logo + menü + aksiyonlar) --- */
.preview-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
  min-height: var(--axcos-header-h);
  background: rgba(14, 15, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--axcos-border);
}

.axcos-header-inner,
.preview-header-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
}

.preview-header-navstrip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}

.preview-header-navstrip .preview-navwrap {
  flex: 1 1 auto;
  min-width: 0;
}

.preview-header-navstrip .preview-header-actions {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

.preview-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--axcos-text) !important;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.preview-logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--axcos-link);
  line-height: 1;
  margin-top: 0.15rem;
}
.preview-logo:hover { color: var(--axcos-text) !important; }

.preview-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.preview-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--axcos-text-muted) !important;
  text-transform: none;
  transition: color 0.2s ease;
}
.preview-nav a:hover {
  color: var(--axcos-text-secondary) !important;
}
.preview-nav a.link-active {
  color: var(--axcos-link) !important;
}

.preview-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Sepet: login’den önce; ikon + adet */
.preview-cart.axcos-header-basket,
.axcos-header-basket.preview-cart {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.45rem;
  min-width: auto;
  height: 2.1rem;
  padding: 0 0.55rem 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--axcos-text) !important;
  background: var(--axcos-surface-elevated);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius-sm);
  cursor: pointer;
  order: 0;
}
.axcos-header-basket__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--axcos-text-secondary);
  line-height: 0;
  flex-shrink: 0;
}
.axcos-header-basket__icon svg {
  display: block;
}
.axcos-header-basket__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  color: #0f100f;
  background: var(--axcos-link, #2ecc71);
  border-radius: 999px;
  flex-shrink: 0;
}
/* Boş sepet: adet 0 görünsün, badge daha sönük */
.axcos-header-basket.is-empty .axcos-header-basket__count {
  color: var(--axcos-text-secondary, rgba(255, 255, 255, 0.5));
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}
.axcos-header-basket:hover {
  border-color: var(--axcos-border-strong);
}

.preview-cart:not(.axcos-header-basket) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--axcos-text) !important;
  background: var(--axcos-surface-elevated);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius-sm);
}
.preview-cart:not(.axcos-header-basket):hover {
  border-color: var(--axcos-border-strong);
}

.preview-discord {
  padding: 0.4rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff !important;
  background: #5865f2;
  border: none;
  border-radius: var(--axcos-radius-sm);
}
.preview-discord:hover {
  filter: brightness(1.1);
  color: #fff !important;
}

.preview-login {
  font-size: 0.8rem;
  color: var(--axcos-text-muted) !important;
  padding: 0.35rem 0.5rem;
}
.preview-sep {
  color: var(--axcos-border-strong);
  font-weight: 300;
  user-select: none;
}

/* --- Hero --- */
.preview-hero {
  position: relative;
  padding: 4rem 1.5rem 4.5rem;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, var(--axcos-surface) 0%, var(--axcos-bg) 60%);
  border-bottom: 1px solid var(--axcos-border);
}

/* Arka plan görseli (bg-image) açıkken metin/hero zemin üstünde okunur kalsın */
.site:has(> .site-bg-image) .preview-hero {
  background: linear-gradient(180deg, rgba(10, 11, 9, 0.94) 0%, var(--axcos-bg) 72%);
}
.site:has(> .site-bg-image) .preview-hero::before {
  opacity: 0.45;
}

.preview-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 42% at 50% 0%, var(--axcos-ambient-top), transparent 65%),
    radial-gradient(80% 35% at 50% 100%, var(--axcos-ambient-bottom), transparent 60%);
  pointer-events: none;
}

.preview-hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.preview-eyebrow {
  font-family: var(--axcos-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--axcos-text-muted);
  margin-bottom: 0.5rem;
}

.preview-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.35rem;
  color: var(--axcos-text);
  letter-spacing: -0.04em;
}
.preview-hero-title span {
  color: var(--axcos-link);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.preview-hero-sub {
  font-size: 1rem;
  color: var(--axcos-text-secondary);
  max-width: min(34rem, 92vw);
  margin: 0.75rem auto 2rem;
  line-height: 1.65;
}

.preview-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.25rem;
}

.preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--axcos-on-primary, #f6faf6) !important;
  background: linear-gradient(180deg, var(--axcos-primary-bright), var(--axcos-primary));
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--axcos-radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 8px 22px -8px rgba(0, 60, 0, 0.22);
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
.preview-btn:hover {
  color: var(--axcos-on-primary, #f6faf6) !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.35), 0 10px 28px -8px rgba(0, 80, 0, 0.2);
  filter: brightness(1.03);
}

.preview-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--axcos-text) !important;
  background: var(--axcos-surface-elevated);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius-sm);
}
.preview-btn-ghost:hover {
  border-color: var(--axcos-border-strong);
  color: var(--axcos-text) !important;
  background: rgba(255, 255, 255, 0.03);
}

/* Test sunucusu / connect kutusu */
.preview-server-box {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  text-align: left;
  background: var(--axcos-bg-elevated);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius);
  box-shadow: var(--axcos-shadow);
}
.preview-server-box h2 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--axcos-text);
}
.preview-server-box p {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
}
.preview-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--axcos-on-primary, #f6fff6) !important;
  background: var(--axcos-primary);
  border: none;
  border-radius: var(--axcos-radius-sm);
  text-decoration: none;
}
.preview-play::before {
  content: "▶";
  font-size: 0.65rem;
  opacity: 0.9;
}
.preview-play:hover { color: var(--axcos-on-primary, #f6fff6) !important; filter: brightness(1.05); }

/* --- Bölümler --- */
.preview-wrap {
  flex: 1;
  max-width: 68rem;
  margin: 0 auto;
  padding: 3rem 1.75rem 4.5rem;
  width: 100%;
}

.preview-section {
  margin-bottom: 4.25rem;
}
.preview-section:last-of-type { margin-bottom: 0; }

/* axcos-section-title main CSS’de tanımlı; burada aralık (alt çizgi = hr gibi, kaldır) */
.preview-section h2.axcos-section-title { margin-top: 0; }
.axcos-store .preview-wrap h2.axcos-section-title {
  border-bottom: none;
  margin-bottom: 1rem;
  padding-bottom: 0.15rem;
}

/* Hakkında / ürün / SSS ile Tebex modülleri: yalnız dikey boşluk, çizgi (hr/border) yok */
main.preview-wrap .preview-section.axcos-module-stack,
.preview-wrap > .preview-section.axcos-module-stack,
.store-home .preview-section.axcos-module-stack,
.site-content > .preview-wrap .preview-section.axcos-module-stack {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  border-top: none;
}

/* Tebex modüller sarmalayıcı */
.axcos-module-stack .store-sidebar--stacked {
  display: block;
  width: 100%;
}

/* Tebex modülleri: ekstra dış kutu yok; ürün grid’i gibi doğrudan arka planda, yalnız bölüm başlığı (h2 [ … ] ile aynı) */
.axcos-module-stack .widget {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 2.5rem;
  max-width: 100%;
}
.axcos-module-stack .widget:last-of-type {
  margin-bottom: 0;
}
.axcos-module-stack .widget .widget-title {
  font-family: var(--axcos-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--axcos-text-secondary);
  margin: 0 0 1.25rem;
  padding: 0;
  border-bottom: none;
  line-height: 1.35;
}
.axcos-module-stack .widget .widget-title::before {
  content: "[ ";
  color: var(--axcos-bracket);
}
.axcos-module-stack .widget .widget-title::after {
  content: " ]";
  color: var(--axcos-bracket);
}
.axcos-module-stack .widget .widget-content {
  color: var(--axcos-text-muted);
}
.axcos-module-stack .widget .widget-content p {
  margin: 0 0 0.5rem;
}
.axcos-module-stack .widget .widget-content p:last-child {
  margin-bottom: 0;
}

/* Hakkında: grid */
.preview-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.preview-about-block {
  padding: 1.35rem 1.35rem;
  background: var(--axcos-surface);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius);
  box-shadow: var(--axcos-shadow-gold);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.preview-about-block:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--axcos-shadow);
}
.preview-about-block h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--axcos-text);
}
.preview-about-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--axcos-text-secondary);
}

/* Ürün grid */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

.preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--axcos-surface);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius);
  overflow: hidden;
  box-shadow: var(--axcos-shadow-gold);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.preview-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--axcos-shadow), 0 0 0 1px rgba(0, 48, 0, 0.12);
}

.preview-card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(155deg, #222522 0%, #101110 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--axcos-text-muted);
  border-bottom: 1px solid var(--axcos-border);
}
.preview-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}

.preview-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--axcos-link);
  letter-spacing: 0.02em;
}
.preview-price-row .currency { font-size: 0.75rem; opacity: 0.88; }

.preview-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--axcos-text);
  font-weight: 700;
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.2rem 0 0.35rem;
}
.preview-tags .axcos-pill { font-size: 0.6rem; }

.preview-card p.desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  color: var(--axcos-text-secondary);
}

.preview-card .preview-btn-ghost,
.preview-card a.preview-cta {
  margin-top: 0.5rem;
  text-align: center;
  text-decoration: none;
}
a.preview-cta {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--axcos-on-primary, #f6faf6) !important;
  background: linear-gradient(180deg, var(--axcos-primary-bright), var(--axcos-primary));
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--axcos-radius-sm);
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
a.preview-cta:hover {
  color: var(--axcos-on-primary, #f6faf6) !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
  filter: brightness(1.03);
}

/* SSS kısası */
.preview-faq {
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.preview-faq details {
  background: var(--axcos-surface);
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius-sm);
  padding: 0.85rem 1.1rem;
  transition: border-color 0.2s ease;
}
.preview-faq details:hover {
  border-color: rgba(255, 255, 255, 0.09);
}
.preview-faq summary {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--axcos-text);
  cursor: pointer;
  list-style: none;
}
.preview-faq details[open] summary { margin-bottom: 0.4rem; }
.preview-faq p {
  margin: 0;
  font-size: 0.82rem;
}

/* Footer */
.preview-footer {
  margin-top: auto;
  padding: 2.5rem 1.5rem 2rem;
  background: var(--axcos-bg-elevated);
  border-top: 1px solid var(--axcos-border);
}

.preview-footer-top {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.preview-footer-brand {
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  color: var(--axcos-text);
}

.preview-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
}
.preview-footer-links a {
  color: var(--axcos-text-muted) !important;
  text-decoration: none;
}
.preview-footer-links a:hover { color: var(--axcos-link) !important; }

.preview-footer-legal {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--axcos-text-muted);
}
.preview-footer-legal a {
  color: var(--axcos-text-muted) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preview-footer-legal p { margin: 0 0 0.4rem; }

@media (max-width: 640px) {
  .preview-header { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

/* Masaüstü: sadece header .preview-nav; #site-navigation Tebex extra sarmalayıda olunca body> eşleşmez, linkler sayfa dibi kalır */
@media (min-width: 961px) {
  body.axcos-store #site-navigation.site-navigation,
  body.axcos-store .axcos-offcanvas-nav.site-navigation,
  body.preview-page.axcos-store nav#site-navigation {
    display: none !important;
  }
  .preview-header-navstrip .axcos-nav-toggle {
    display: none !important;
  }
}
/* Mobil: hamburger + sepet/hesap; linkler sadece çekmecede (preview-nav yok) */
@media (max-width: 960px) {
  .preview-header { align-items: stretch; }
  .axcos-header-inner,
  .preview-header-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 0.5rem 0.75rem;
  }
  .axcos-header-inner .preview-header-navstrip {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
  }
  .preview-header-navstrip .preview-navwrap {
    display: none !important;
  }
  .preview-header-actions .axcos-header-auth-desktop {
    display: none !important;
  }
  .preview-header-navstrip .preview-header-actions {
    margin-left: 0;
    flex: 0 0 auto;
    max-width: calc(100% - 3.25rem);
    justify-content: flex-end;
  }
  .preview-header-navstrip .axcos-header-basket { flex-shrink: 0; }
  .preview-header-navstrip .preview-login {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .axcos-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .axcos-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 85;
    margin: 0;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .axcos-nav-backdrop[hidden] {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }
  .axcos-nav-backdrop:not([hidden]) {
    visibility: visible;
    opacity: 1;
  }

  .axcos-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    color: var(--axcos-text, #e8e8e6);
    background: var(--axcos-surface-elevated, #161817);
    border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.08));
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  }
  .axcos-nav-toggle:hover {
    color: #fff;
    background: #1c1e1d;
    border-color: rgba(255, 255, 255, 0.12);
  }
  .axcos-nav-toggle:focus-visible {
    outline: 2px solid var(--axcos-primary, var(--axcos-link, #2d4));
    outline-offset: 2px;
  }

  .axcos-nav-toggle__icon {
    position: relative;
    display: block;
    width: 1.15rem;
    height: 0.75rem;
    margin: 0 auto;
  }
  .axcos-hamburger-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  }
  .axcos-hamburger-line:nth-child(1) { top: 0; }
  .axcos-hamburger-line:nth-child(2) { top: 5px; }
  .axcos-hamburger-line:nth-child(3) { top: 10px; }
  .axcos-nav-toggle--open .axcos-hamburger-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .axcos-nav-toggle--open .axcos-hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .axcos-nav-toggle--open .axcos-hamburger-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  body.axcos-store #site-navigation,
  body.axcos-store .site-navigation.axcos-offcanvas-nav {
    z-index: 95;
    top: 0;
    left: 0;
    right: auto;
    width: min(20rem, 90vw) !important;
    max-width: 100%;
    min-height: 100dvh;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    background: var(--axcos-surface, #131514) !important;
    border: none;
    border-right: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.08)) !important;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.45);
    transform: translateX(-102%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #site-navigation .menu {
    flex: 1 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.1rem 1.5rem 1.25rem;
    margin: 0;
  }

  .axcos-nav-drawer-close {
    flex: 0 0 auto;
    align-self: flex-start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0.6rem 0.75rem 0.4rem 0.75rem;
    padding: 0;
    flex-shrink: 0;
    background-clip: padding-box;
    appearance: none;
    -webkit-appearance: none;
    color: var(--axcos-text-muted, rgba(255, 255, 255, 0.5));
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.08));
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
  }
  .axcos-nav-drawer-close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
  }
  .axcos-nav-drawer-close__x {
    position: relative;
    display: block;
    width: 0.9rem;
    height: 0.9rem;
  }
  .axcos-nav-drawer-close__x::before,
  .axcos-nav-drawer-close__x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }
  .axcos-nav-drawer-close__x::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .axcos-nav-drawer-close__x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  #site-navigation .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  #site-navigation .menu-item:last-child,
  #site-navigation .log-out { border-bottom: 0; }

  #site-navigation li.menu-item.site-link.mobile-only {
    margin-top: 0.2rem;
  }
  #site-navigation li.log-out {
    margin-top: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  #site-navigation li.menu-item.site-link.mobile-only + li.log-out {
    margin-top: 0.4rem;
    padding-top: 0.55rem;
  }

  #site-navigation .menu-item.has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #site-navigation .menu-item.has-children .menu-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  #site-navigation .menu-link,
  #site-navigation a.btn-tertiary {
    color: var(--axcos-text, #e8e8e6) !important;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.85rem 0.2rem 0.85rem 0.15rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  #site-navigation .menu-link:hover,
  #site-navigation a.btn-tertiary:hover {
    color: var(--axcos-link, #7cdb7c) !important;
    background: rgba(255, 255, 255, 0.04);
  }
  #site-navigation .menu-link.link-active,
  #site-navigation a.btn-tertiary.btn-small.link-active,
  #site-navigation .menu-item .link-active {
    color: var(--axcos-primary, var(--axcos-link, #7cdb7c)) !important;
    font-weight: 600;
  }

  #site-navigation .menu-sub {
    flex: 0 0 100%;
    margin: 0.15rem 0 0.5rem 0.75rem;
    padding: 0 0 0.5rem 0.75rem;
    border-left: 2px solid rgba(0, 200, 80, 0.25);
  }
  #site-navigation .menu-sub .menu-link {
    font-size: 0.86rem;
    font-weight: 400;
    padding: 0.5rem 0.25rem;
  }

  .axcos-nav-subtoggle {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 0 0 0.25rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--axcos-text-muted, rgba(255, 255, 255, 0.5));
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.08));
    border-radius: 8px;
  }
  .axcos-nav-subtoggle:hover { color: #fff; }
  .axcos-nav-subtoggle__chev {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 0.25s ease;
  }
  #site-navigation .menu-item.expanded .axcos-nav-subtoggle__chev {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  #site-navigation .menu-item:not(.expanded) .menu-sub {
    display: none;
  }
  #site-navigation .menu-item.expanded .menu-sub {
    display: block;
  }

  /* Çekmec açık: slide-in */
  body.axcos-store.show-navigation #site-navigation.site-navigation,
  body.axcos-store.show-navigation .site-navigation.axcos-offcanvas-nav {
    clip: auto;
    width: min(20rem, 100%);
    max-width: min(20rem, 90vw) !important;
    height: 100%;
    min-height: 100dvh;
    transform: translateX(0) !important;
    overflow: hidden;
    padding: 0;
    background: var(--axcos-surface, #131514);
    border-right: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.08));
  }
}

/* Kategori (override) dışı: sütunlar satırı doldurur, kartlar hücre genişliğine yayılır; anasayfa/öne çıkan — çok sütun */
.axcos-store [class^="store-products-"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  justify-content: stretch;
  align-items: start;
  justify-items: stretch;
  gap: 1.2rem 1.1rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Anasayfa: 4/3/2/1 sütun. auto-fit tek öğede sütunları büyüttüğü için tüm satırı kaplama; sabit sütun sayısı. */
body.page-index .store-home [class^="store-products-"].axcos-index-packages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  body.page-index .store-home [class^="store-products-"].axcos-index-packages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  body.page-index .store-home [class^="store-products-"].axcos-index-packages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.page-index .axcos-index-packages-discover-wrap {
  margin: 1.5rem 0 0;
  text-align: center;
}

body.page-index .axcos-index-packages-discover {
  display: inline-block;
  font-family: var(--axcos-font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--axcos-link, #3ecf8e);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2em;
  transition: opacity 0.15s ease, color 0.15s ease;
}

body.page-index .axcos-index-packages-discover:hover {
  opacity: 0.9;
  color: var(--axcos-link-hover, var(--axcos-link, #3ecf8e));
}

/* Öne çıkan: ana ürün ızgarası gibi sola hizalı; tekil kart ortada kaymasın, başlıkla aynı çizgide */
body.axcos-store .axcos-featured-pkg .widget-content,
body.axcos-store .widget.widget-featured .widget-content,
.site .axcos-featured-pkg .widget-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  justify-content: stretch;
  align-items: start;
  justify-items: stretch;
  gap: 1.2rem 1.1rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: none !important;
  border: none;
  box-shadow: none;
  min-height: 0;
}
/* Tebex varsayılanı: tüm satırı kaplayan kutu/arka plan; öne çıkanda sadece kart dolsun */
body.axcos-store .axcos-featured-pkg.widget,
body.axcos-store .widget.widget-featured.axcos-featured-pkg,
.site .axcos-featured-pkg.widget {
  background: none !important;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0 0 2.5rem;
  max-width: 100%;
  overflow: visible;
}
body.axcos-store .axcos-module-stack .widget.widget-featured.axcos-featured-pkg,
.axcos-store .axcos-module-stack .axcos-featured-pkg {
  background: none !important;
  padding: 0;
  margin: 0 0 2.5rem;
}
/* Başlık: modül yığında .axcos-module-stack .widget .widget-title [ ] var; tekrar ::before/after yok */
body.axcos-store .axcos-featured-pkg h3.widget-title,
body.axcos-store .widget.widget-featured h3.widget-title,
.axcos-store .axcos-featured-pkg h3.widget-title {
  font-family: var(--axcos-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--axcos-text-secondary);
  margin: 0 0 1.1rem;
  padding: 0;
  border-bottom: none;
  line-height: 1.35;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

/* Grid / öne çıkan: ürün kartı — hücre genişliğine yayıl (16.5rem tavan = yan tarafta boşluk) */
.axcos-store [class^="store-products-"] .store-product,
body.axcos-store .axcos-featured-pkg .widget-content .store-product--axcos-card,
body.axcos-store .widget.widget-featured .widget-content .store-product--axcos-card,
.site .axcos-featured-pkg .widget-content .store-product--axcos-card,
.axcos-store .widget .widget-content .store-product--axcos-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  background: var(--axcos-surface-elevated, var(--axcos-surface));
  border: 1px solid var(--axcos-border);
  border-radius: var(--axcos-radius);
  overflow: hidden;
  box-shadow: var(--axcos-shadow-gold);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  padding: 0;
  justify-self: auto;
  margin-left: 0;
  margin-right: 0;
}
.axcos-store [class^="store-products-"] .store-product:hover,
body.axcos-store .axcos-featured-pkg .widget-content .store-product--axcos-card:hover,
body.axcos-store .widget.widget-featured .widget-content .store-product--axcos-card:hover,
.site .axcos-featured-pkg .widget-content .store-product--axcos-card:hover,
.axcos-store .widget .widget-content .store-product--axcos-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--axcos-shadow), 0 0 0 1px rgba(0, 48, 0, 0.1);
}

/* Satış listesi: fiyat → başlık → etiket → özet → CTA */
.axcos-store .store-product--axcos-card {
  height: 100%;
  min-height: 0;
}
.store-product--axcos-card .store-product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0.75rem 1rem 0.35rem;
  gap: 0.2rem;
  background: transparent;
}
.store-product--axcos-card .store-product-card-price {
  margin: 0 0 0.1rem;
  order: 0;
}
.store-product--axcos-card .store-product-card-price,
.store-product--axcos-card .store-product-card-price .price,
.store-product--axcos-card .store-product-card-price * {
  color: var(--axcos-link) !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.store-product--axcos-card .product-title {
  margin: 0.1rem 0 0.2rem;
  font-size: 0.95rem;
  line-height: 1.2;
  order: 1;
  padding: 0;
  font-weight: 700;
  color: var(--axcos-text);
}
.store-product--axcos-card .product-title a {
  color: var(--axcos-text) !important;
  text-decoration: none;
  font-weight: 700;
}
.store-product--axcos-card .product-title a:hover {
  color: var(--axcos-link) !important;
}
.store-product--axcos-card .store-product-tags {
  margin: 0 0 0.1rem;
  order: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* Package meta JSON (Creator → Advanced): { "tags": ["…"] } */
.store-product--axcos-card .axcos-pill--meta {
  border-color: color-mix(in srgb, var(--axcos-link, #3ecf8e) 40%, var(--axcos-border));
  color: var(--axcos-text-secondary, var(--axcos-text-muted));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.store-product--axcos-card .store-product-excerpt {
  order: 3;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--axcos-text-muted) !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.45em * 3 + 0.1em);
}
.store-product--axcos-card .store-product-excerpt :where(p) {
  margin: 0 0 0.25em;
}
.store-product--axcos-card .store-product-excerpt :where(p):last-child {
  margin-bottom: 0;
}
.store-product--axcos-card .actions.product-actions {
  order: 4;
  margin-top: auto;
  margin-bottom: 0;
  padding: 0.6rem 0 0.75rem;
  align-self: stretch;
}
.store-product--axcos-card .actions .add.wide,
.store-product--axcos-card .actions .btn-primary.wide,
.store-product--axcos-card .actions .open-basket-cta,
.store-product--axcos-card .actions .with-open-basket {
  width: 100% !important;
  margin-top: 0.15rem;
}

/* Sepette: sadece “in Basket”, +/- ve adet yok */
.store-product--axcos-card .actions .with-open-basket.axcos-in-basket-only {
  display: block;
  gap: 0;
  flex-wrap: nowrap;
}

/* “in Basket”: btn-primary ile aynı iç boşluk; dolu yeşil CTA değil, cam + çerçeve */
.store-product--axcos-card .actions .axcos-in-basket-only .axcos-in-basket-btn,
.axcos-package-col--buy .actions .axcos-in-basket-only .axcos-in-basket-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  /* axcos-tebex-theme .btn-primary ile aynı */
  padding: 0.55rem 1.15rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  border-radius: var(--axcos-radius-sm, 10px);
  cursor: pointer;
  color: #bfe6bf !important;
  background: linear-gradient(180deg, rgba(20, 160, 40, 0.2) 0%, rgba(8, 90, 14, 0.18) 100%);
  border: 1px solid rgba(60, 200, 90, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.store-product--axcos-card .actions .axcos-in-basket-only .axcos-in-basket-btn:hover,
.axcos-package-col--buy .actions .axcos-in-basket-only .axcos-in-basket-btn:hover {
  color: #e6ffe8 !important;
  background: linear-gradient(180deg, rgba(32, 190, 70, 0.28) 0%, rgba(12, 110, 22, 0.24) 100%);
  border-color: rgba(80, 230, 120, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 40, 0, 0.25);
}

.store-product--axcos-card .actions .axcos-in-basket-only .axcos-in-basket-btn:active,
.axcos-package-col--buy .actions .axcos-in-basket-only .axcos-in-basket-btn:active {
  transform: translateY(0.5px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.store-product--axcos-card .actions .axcos-in-basket-only .axcos-in-basket-btn:focus-visible,
.axcos-package-col--buy .actions .axcos-in-basket-only .axcos-in-basket-btn:focus-visible {
  outline: none;
  box-shadow: var(--axcos-focus-ring, 0 0 0 2px var(--axcos-bg), 0 0 0 4px rgba(0, 128, 0, 0.28));
}
.store-product--axcos-card .image-link .image-default {
  min-height: 0;
  height: 100%;
  position: relative;
  background: linear-gradient(160deg, #222522 0%, #0f100f 100%);
  color: var(--axcos-text-muted);
}
.store-product--axcos-card .image-link .image-default::after {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--axcos-text-muted);
  opacity: 0.9;
}

/* Kompakt kart: dikey 3/4, dar sütunla orantılı yükseklik */
.store-product--axcos-card .image-link {
  aspect-ratio: 3 / 4;
  border-bottom: none;
  max-height: 12.5rem;
}
.preview-wrap .store-product .image-link {
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--axcos-border);
  min-height: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.preview-wrap .store-product--axcos-card .image-link {
  aspect-ratio: 3 / 4;
  border-bottom: none;
  max-height: 12.5rem;
}
.preview-wrap .store-product .image-link .image,
.preview-wrap .store-product .image-default {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.preview-wrap .store-product:not(.store-product--axcos-card) .product-title {
  margin: 0.75rem 1rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.preview-wrap .store-product:not(.store-product--axcos-card) .actions {
  padding: 0 1rem 1.1rem;
  margin-top: 0.25rem;
}

/* Diğer modüllerde ürün kartı (featured değilse): flex ile ortala */
.axcos-store .widget:not(.axcos-featured-pkg) .widget-content:has(.store-product--axcos-card) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 1.15rem 1.1rem;
  width: 100%;
}

/* Çok dar ekran: tek sütun, kart taşmasın; öne çıkan aynı */
@media (max-width: 480px) {
  .axcos-store [class^="store-products-"] {
    grid-template-columns: 1fr;
  }
  body.page-index .store-home [class^="store-products-"].axcos-index-packages-grid {
    grid-template-columns: 1fr;
  }

  /* Tek sütunda kart yine tüm genişliği kaplamasın (dar telefonlarda okunur üst sınır) */
  body.page-index .store-home [class^="store-products-"].axcos-index-packages-grid .store-product--axcos-card {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .axcos-store [class^="store-products-"] .store-product--axcos-card {
    max-width: 100%;
  }
  body.axcos-store .axcos-featured-pkg .widget-content,
  body.axcos-store .widget.widget-featured .widget-content,
  .site .axcos-featured-pkg .widget-content {
    grid-template-columns: 1fr;
  }
  body.axcos-store .axcos-featured-pkg .widget-content .store-product--axcos-card,
  body.axcos-store .widget.widget-featured .widget-content .store-product--axcos-card,
  .site .axcos-featured-pkg .widget-content .store-product--axcos-card {
    max-width: 100%;
  }
}

.store-product-cont .product-countdown {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--axcos-link);
}
.axcos-package-countdown {
  width: 100%;
  text-align: center;
  margin: 0 0 0.9rem;
}

/* Paket detay: büyük hero tekrarını gizle; başlık sağ sütunda */
body.page-package .preview-hero {
  display: none;
}

/* styles.css .store-product { overflow: hidden } yok: paket sayfası artık .store-product sarmalayıcısız */
body.page-package .axcos-package-page {
  overflow: visible;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Kategoriye dön: üstte, içerikten önce */
.axcos-package-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 0.9rem;
}

/* Satır: sol slider (kutu dışı) | sağ ürün bilgi kartı (kutu) — aynı satır yüksekliği */
.axcos-package-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 22rem);
  gap: 1.5rem 2rem;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 0 1.5rem;
  padding: 0;
  background: none;
  border: none;
}

/* Sağ sütun: kutu; grid stretch ile sol slider ile aynı yükseklik; CTA altta */
.axcos-package-col--buy.axcos-package-info-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  position: relative;
  z-index: 2;
  color: var(--axcos-text, #e8e8e6);
  padding: 1.25rem 1.35rem 1.5rem;
  background: var(--axcos-surface-elevated, var(--axcos-surface));
  border: 1px solid var(--axcos-border);
  border-top: 2px solid var(--axcos-link);
  border-radius: var(--axcos-radius);
  box-sizing: border-box;
  box-shadow: var(--axcos-shadow-gold, 0 4px 24px rgba(0, 0, 0, 0.25));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5rem;
}

.axcos-package-col--media {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}

.axcos-package-price {
  margin: 0.05rem 0 0.1rem;
}

.axcos-package-price .store-product-card-price,
.axcos-package-price .price,
.axcos-package-price .discount,
.axcos-package-price .discount * {
  color: var(--axcos-link) !important;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}
.axcos-package-price del.discount {
  opacity: 0.7;
  font-size: 1rem;
  font-weight: 600;
}

.axcos-package-title {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 0.15rem;
  color: var(--axcos-text);
  letter-spacing: -0.03em;
}

.axcos-package-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0.1rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--axcos-text-muted);
}

.axcos-package-tags .axcos-pkg-tag {
  color: inherit;
  text-decoration: none;
}
.axcos-package-tags a.axcos-pkg-tag:hover {
  color: var(--axcos-link);
}

.axcos-package-tags .axcos-pkg-tag + .axcos-pkg-tag::before {
  content: '·';
  margin-right: 0.45rem;
  font-weight: 400;
  opacity: 0.55;
}

.axcos-package-tags .axcos-pkg-tag--meta {
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--axcos-text-muted);
}

.axcos-package-col--buy .actions.product-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  padding-top: 0.4rem;
  gap: 0.5rem;
}

.axcos-package-col--buy .actions .wide,
.axcos-package-col--buy .actions .add.wide,
.axcos-package-col--buy .actions .btn-primary.wide,
.axcos-package-col--buy .actions .open-basket-cta,
.axcos-package-col--buy .actions .with-open-basket,
.axcos-package-col--buy .actions .btn-secondary,
.axcos-package-col--buy .actions .btn-primary,
.axcos-package-col--buy .actions .subscribe {
  width: 100% !important;
  box-sizing: border-box;
  margin: 0;
}

.axcos-package-col--buy .actions .with-open-basket.axcos-in-basket-only {
  display: block;
}

.axcos-package-col--buy .actions .btn-secondary.gift {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
}

/* Thumbs: paket sayfası (lightbox klonu .popup’ta, bu seçiciye girmez) */
body.page-package .axcos-package-page .axcos-package-media-slider > .thumbs.axcos-pkg-thumbs {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  list-style: none;
}

.axcos-package-media-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Sabit en-boy: sol sütun tam genişlik, üst-sol “kutu” boşluğu yok; görsel hizası bilgi kartı üstü ile */
.axcos-package-slider-chrome {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 16.5rem;
  max-height: min(60vh, 36rem);
  border-radius: var(--axcos-radius);
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--axcos-border);
  margin: 0;
  padding: 0;
  align-self: stretch;
}

.axcos-package-media-slider .axcos-package-slider-chrome .slider {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  --swiper-navigation-color: var(--axcos-link, #0a8f0a);
  --swiper-navigation-size: 1.4rem;
}

/* Slayt alanı: ortala (görseller) */
body.page-package .axcos-package-media-slider swiper-slide,
body.page-package .axcos-package-media-slider .slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  background: #0a0a0a;
}

.axcos-package-media-slider .axcos-package-slider-chrome .slide-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  flex: 0 0 auto;
}

.axcos-package-media-slider .axcos-package-slider-chrome .slide-frame {
  display: block;
  width: 100% !important;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0;
  border: 0;
  box-sizing: border-box;
  align-self: center;
  object-fit: contain;
}

.axcos-media-fullscreen {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  margin: 0;
  color: #f0f0f0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--axcos-radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.axcos-media-fullscreen:hover {
  background: rgba(0, 0, 0, 0.7) !important;
  color: #fff !important;
}
.axcos-media-fullscreen .axcos-ic-full {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

/* Küçük resimler: paket sayfasında yukarıdaki gizleme kuralı geçerli; başka sayfalarda gerekirse burada genişletilebilir */

/* Görsel yok: slider alanına yakın oran */
.axcos-package-image-placeholder {
  border-radius: var(--axcos-radius);
  border: 1px solid var(--axcos-border);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 15rem;
  max-height: min(58vh, 32rem);
  width: 100%;
  background: var(--axcos-surface);
}
.axcos-package-image-placeholder .image-default {
  min-height: 15rem;
  height: 100%;
  width: 100%;
  position: relative;
  background: linear-gradient(160deg, #222522 0%, #0f100f 100%);
}
.axcos-package-image-placeholder .image-default::after {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--axcos-text-muted);
}

/* Açıklama: üstteki satırdan ayrı 3. blok; aynı nefes payı; başlık şemada */
.axcos-package-descr-block {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0 0;
  padding: 1.35rem 0 0;
  box-sizing: border-box;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--axcos-text-secondary);
  border-top: 1px solid var(--axcos-border);
}

.axcos-package-descr-heading {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--axcos-text, #f0f0ee);
  margin: 0 0 0.5rem;
}

.axcos-package-descr-hr {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: 1px;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
  background: linear-gradient(
    90deg,
    var(--axcos-link, #0a8f0a) 0%,
    rgba(0, 128, 0, 0.35) 50%,
    rgba(0, 128, 0, 0) 100%
  );
  opacity: 0.9;
}

.axcos-package-descr-body p:first-of-type,
.axcos-package-descr-body > *:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .axcos-package-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .axcos-package-col--buy.axcos-package-info-card {
    order: 2;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
  }
  .axcos-package-col--media {
    order: 1;
  }
  .axcos-package-title { font-size: 1.4rem; }
  .axcos-package-slider-chrome,
  .axcos-package-image-placeholder {
    min-height: 12.5rem;
    max-height: min(50vh, 28rem);
  }
  .axcos-package-descr-block {
    padding: 1.1rem 0 0;
  }
}

/* -------------------------------------------------------------------------- */
/* Medya lightbox: main.js openMediaLightbox (class .popup.popup-media-slider) */
/* Tebex çekirdek store.css yok; .popup = fixed değilse içerik sayfa sonuna akar. */
/* -------------------------------------------------------------------------- */

html.no-scroll body {
  overflow: hidden;
}

.popup.popup-media-slider,
div.popup-media-slider {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 2.75rem 1.25rem 1.25rem;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(6, 8, 7, 0.94) !important;
  backdrop-filter: blur(8px);
}

.popup-media-slider[hidden] {
  display: none !important;
  pointer-events: none;
}

.popup-media-slider .popup-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10055;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8e8e6;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.popup-media-slider .popup-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.28);
}

.popup-media-slider > .slider {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: min(96vw, 90rem) !important;
  max-width: 100% !important;
  height: min(78vh, 52rem) !important;
  max-height: 78vh !important;
  min-height: 12rem;
  margin: 0 auto;
  --swiper-navigation-color: var(--axcos-link, #4ade80);
  --swiper-navigation-size: 1.5rem;
}

.popup-media-slider swiper-slide,
.popup-media-slider .slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  background: #0a0a0a;
}

.popup-media-slider .slide-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.popup-media-slider .swiper-zoom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.popup-media-slider iframe.slide-frame {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0;
  border: 0;
  background: #000;
}

/* Modal thumb şeridi (klon, .store-product dışı) */
.popup-media-slider > .thumbs {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  width: 100% !important;
  max-width: min(96vw, 90rem);
  margin: 0.25rem 0 0;
  padding: 0.5rem 0 0;
  list-style: none;
  max-height: none !important;
  height: auto !important;
  visibility: visible !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}
.popup-media-slider > .thumbs .thumb {
  display: block;
  width: 4.25rem;
  height: 2.75rem;
  min-width: 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
  background: #111;
}
.popup-media-slider > .thumbs .thumb:hover,
.popup-media-slider > .thumbs .thumb.active {
  opacity: 1;
  border-color: var(--axcos-link, #4ade80);
}
.popup-media-slider > .thumbs .thumb img,
.popup-media-slider > .thumbs .thumb-youtube img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .popup-media-slider {
    padding: 2.5rem 0.6rem 0.75rem;
  }
  .popup-media-slider > .slider {
    width: 100% !important;
    height: min(68vh, 32rem) !important;
  }
  .popup-media-slider .popup-close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Login modal: main.js openUrlPopup({ className: 'login-popup', ... })      */
/* Tam ekran karartma + ortada kart; Drawer(swiperDirection) kapatıldı.      */
/* -------------------------------------------------------------------------- */

.popup.login-popup {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 6, 5, 0.88) !important;
  backdrop-filter: blur(8px);
  border: 0;
}

.popup.login-popup[hidden] {
  display: none !important;
  pointer-events: none;
}

.popup.login-popup .popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: max(1.5rem, env(safe-area-inset-top, 0px)) 1.25rem max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.popup.login-popup .popup-content.login-popup-content {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin: 0;
  padding: 2rem 1.35rem 1.5rem;
  box-sizing: border-box;
  background: var(--axcos-surface, #131514);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: left;
}

.popup.login-popup .popup-content .popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
}
.popup.login-popup .popup-content .popup-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

/* Login içeriği: başlık + buton hizası */
.popup.login-popup .store-form a.btn-primary,
.popup.login-popup .store-form .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-top: 0.5rem;
}

/* Touch drawer sınıfı kalmış eski oturumlar için */
.popup.login-popup.drawer {
  display: block;
}
.popup.login-popup.drawer .popup-scroll-cont {
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px) {
  .popup.login-popup .popup-content.login-popup-content {
    max-width: 100%;
    padding: 1.75rem 1rem 1.25rem;
  }
}

/* Hediye formu: main.js openGiftFormPopup — login ile aynı ortalı modal iskele */
.popup.gift-form-popup,
div.gift-form-popup {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 6, 5, 0.88) !important;
  backdrop-filter: blur(8px);
  border: 0;
}

.popup.gift-form-popup[hidden] {
  display: none !important;
  pointer-events: none;
}

.popup.gift-form-popup .popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: max(1.5rem, env(safe-area-inset-top, 0px)) 1.25rem max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.popup.gift-form-popup .popup-content {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin: 0;
  padding: 2rem 1.35rem 1.5rem;
  box-sizing: border-box;
  background: var(--axcos-surface, #131514);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: left;
}

.popup.gift-form-popup .popup-content .popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
}
.popup.gift-form-popup .popup-content .popup-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.popup.gift-form-popup .popup-content h2 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  line-height: 1.3;
  padding-right: 2.5rem;
}

.popup.gift-form-popup .form-control {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.75rem;
}

.popup.gift-form-popup .actions {
  margin-top: 0.35rem;
}
.popup.gift-form-popup .actions .btn-primary {
  width: 100%;
  text-align: center;
}

@media (max-width: 480px) {
  .popup.gift-form-popup .popup-content {
    max-width: 100%;
    padding: 1.75rem 1rem 1.25rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Sepet: main.js openBasket — ortada modal, Drawer kapalı.                   */
/* -------------------------------------------------------------------------- */
.popup.basket-popup {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 6, 5, 0.88) !important;
  backdrop-filter: blur(8px);
  border: 0;
}

.popup.basket-popup[hidden] {
  display: none !important;
  pointer-events: none;
}

.popup.basket-popup .popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: max(1.5rem, env(safe-area-inset-top, 0px)) 1.25rem max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.popup.basket-popup .popup-content {
  position: relative;
  width: 100%;
  max-width: 40rem;
  max-height: 85dvh;
  margin: 0;
  padding: 2rem 1.35rem 1.5rem;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--axcos-surface, #131514);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: left;
}

.popup.basket-popup .popup-content .popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
}
.popup.basket-popup .popup-content .popup-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.popup.basket-popup.drawer {
  display: block;
}
.popup.basket-popup.drawer .popup-scroll-cont {
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px) {
  .popup.basket-popup .popup-content {
    max-width: 100%;
    max-height: 90dvh;
    padding: 1.75rem 1rem 1.25rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Sepet satırları: sol kapak, sağda metin/aksiyon (Tebex .basket-item)        */
/* Kapak: pages/checkout.html .axcos-basket-thumb; main.js axcosMoveBasketThumbs */
/* -------------------------------------------------------------------------- */
form.basket,
.basket-popup-content.basket {
  display: block;
  width: 100%;
  margin: 0;
}

form.basket .basket-header,
form.basket .basket-second-header,
.basket-popup-content .basket-header,
.basket-popup-content .basket-second-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--axcos-text-secondary, rgba(255, 255, 255, 0.75));
  border-bottom: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.08));
}

form.basket .basket-content,
.basket-popup-content .basket-content {
  margin: 0.6rem 0 0.75rem;
  padding: 0;
}

form.basket .basket-item,
.basket-popup-content .basket-item {
  --axcos-bsk-thumb: 5.5rem;
  position: relative;
  display: grid;
  grid-template-columns: var(--axcos-bsk-thumb) minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
  padding: 0.9rem 1rem;
  margin: 0 0 0.7rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Sol: kapak 1. çocuk (JS, axcosMoveBasketThumbs) */
form.basket .basket-item.axcos-bsk-has-thumb > *:first-child,
.basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child {
  grid-row: 1 / -1;
  grid-column: 1;
  align-self: start;
}

form.basket .basket-item.axcos-bsk-has-thumb .axcos-basket-thumb,
.basket-popup-content .basket-item.axcos-bsk-has-thumb .axcos-basket-thumb {
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

form.basket .basket-item.axcos-bsk-has-thumb > *:first-child img,
.basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child img {
  display: block;
  width: var(--axcos-bsk-thumb);
  height: var(--axcos-bsk-thumb);
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}

form.basket .basket-item.axcos-bsk-has-thumb > *:first-child .image.image-default,
.basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child .image.image-default {
  display: block;
  width: var(--axcos-bsk-thumb);
  height: var(--axcos-bsk-thumb);
  border-radius: 10px;
  position: relative;
  background: linear-gradient(160deg, #222522 0%, #0f100f 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

form.basket .basket-item.axcos-bsk-has-thumb > *:first-child .image.image-default::after,
.basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child .image.image-default::after {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--axcos-text-muted, rgba(255, 255, 255, 0.4));
  opacity: 0.9;
}

form.basket .basket-item.axcos-bsk-has-thumb > *:not(:first-child),
.basket-popup-content .basket-item.axcos-bsk-has-thumb > *:not(:first-child) {
  grid-column: 2;
}

/* Kapak yok: tek sütun */
form.basket .basket-item:not(.axcos-bsk-has-thumb),
.basket-popup-content .basket-item:not(.axcos-bsk-has-thumb) {
  grid-template-columns: minmax(0, 1fr);
}
form.basket .basket-item:not(.axcos-bsk-has-thumb) > *,
.basket-popup-content .basket-item:not(.axcos-bsk-has-thumb) > * {
  grid-column: 1;
}

/* Başlık + sağda çöp: üst satır */
form.basket .basket-item .axcos-basket-line-head,
.basket-popup-content .basket-item .axcos-basket-line-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  min-width: 0;
  margin: 0 0 0.25rem;
}

form.basket .basket-item .axcos-basket-line-head .title,
.basket-popup-content .basket-item .axcos-basket-line-head .title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

form.basket .basket-item .axcos-basket-remove,
.basket-popup-content .basket-item .axcos-basket-remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  line-height: 0;
  cursor: pointer;
  color: rgba(255, 150, 150, 0.9);
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 120, 120, 0.25);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.12s;
}

form.basket .basket-item .axcos-basket-remove:hover,
.basket-popup-content .basket-item .axcos-basket-remove:hover {
  color: #ff9a9a;
  background: rgba(255, 60, 60, 0.18);
  border-color: rgba(255, 160, 160, 0.45);
  transform: scale(1.04);
}

form.basket .basket-item .axcos-basket-remove__icon,
.basket-popup-content .basket-item .axcos-basket-remove__icon {
  display: block;
}

form.basket .basket-item a.remove,
.basket-popup-content .basket-item a.remove {
  border-bottom: none;
}

/* Başlık: Tebex’te farklı etiketler */
form.basket .basket-item h1,
.basket-popup-content .basket-item h1,
form.basket .basket-item h2,
.basket-popup-content .basket-item h2,
form.basket .basket-item h3,
.basket-popup-content .basket-item h3,
form.basket .basket-item .title,
.basket-popup-content .basket-item .title,
form.basket .basket-item .package-name,
.basket-popup-content .basket-item .package-name,
form.basket .basket-item [class*="basket-"][class*="name"],
.basket-popup-content .basket-item [class*="basket-"][class*="name"] {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.2rem;
  color: var(--axcos-link, #7cdb7c);
  letter-spacing: 0.02em;
}

form.basket .basket-item .axcos-basket-line-head .title,
.basket-popup-content .basket-item .axcos-basket-line-head .title {
  margin-bottom: 0;
}

form.basket .basket-item .price,
.basket-popup-content .basket-item .price,
form.basket .basket-item .basket-line-price,
.basket-popup-content .basket-item .basket-line-price,
form.basket .basket-item .line-price,
.basket-popup-content .basket-item .line-price {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--axcos-text, #e8e8e6);
}

form.basket .basket-checkout,
.basket-popup-content .basket-checkout {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.1));
}

form.basket .basket-checkout .total,
.basket-popup-content .basket-checkout .total {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--axcos-text, #e8e8e6);
}

form.basket .basket-checkout .checkout,
.basket-popup-content .basket-checkout .checkout,
form.basket .basket-checkout button.checkout,
.basket-popup-content .basket-checkout button.checkout {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  text-align: center;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
  color: var(--axcos-on-primary, #f6faf6) !important;
  background: linear-gradient(180deg, var(--axcos-primary-bright, #2ecc70), var(--axcos-primary, #1f8a4a)) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

@media (max-width: 400px) {
  form.basket .basket-item.axcos-bsk-has-thumb,
  .basket-popup-content .basket-item.axcos-bsk-has-thumb {
    grid-template-columns: minmax(0, 1fr);
  }
  form.basket .basket-item.axcos-bsk-has-thumb > *:first-child,
  .basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child {
    grid-row: auto;
    grid-column: 1;
  }
  form.basket .basket-item.axcos-bsk-has-thumb > *:not(:first-child),
  .basket-popup-content .basket-item.axcos-bsk-has-thumb > *:not(:first-child) {
    grid-column: 1;
  }
  form.basket .basket-item.axcos-bsk-has-thumb > *:first-child img,
  .basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child img,
  form.basket .basket-item.axcos-bsk-has-thumb > *:first-child .image.image-default,
  .basket-popup-content .basket-item.axcos-bsk-has-thumb > *:first-child .image.image-default {
    width: 100%;
    max-height: 10rem;
    height: auto;
    min-height: 0;
    max-width: 16rem;
    margin: 0 auto;
  }
}

/* -------------------------------------------------------------------------- */
/* Kategori: sol filtre / arama (pages/category.html, main.js)                */
/* -------------------------------------------------------------------------- */
.site-content-axcos-stack .axcos-category-page {
  display: grid;
  grid-template-columns: minmax(11.25rem, 13.75rem) minmax(0, 1fr);
  gap: 1rem 1.35rem;
  width: 100%;
  max-width: 100%;
  align-items: start;
  box-sizing: border-box;
}

/* Ürün alanı ile aynı üst hiza: preview-wrap üst padding kategoride sıfırlanır */
.axcos-page-category .axcos-category-main > main.store-products.preview-wrap {
  padding-top: 0;
}

/* Kategori: en fazla 3 sütun; 481px+ — altında mevcut global tek sütun */
@media (min-width: 481px) {
  .axcos-page-category .axcos-category-main [class^="store-products-"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }

  .axcos-page-category
    .axcos-category-main
    [class^="store-products-"]
    .store-product.store-product--axcos-card {
    max-width: none;
    width: 100%;
  }
}

.axcos-page-category .axcos-category-sidebar,
.axcos-page-category .axcos-category-sidebar__inner {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  box-sizing: border-box;
}

.axcos-page-category .axcos-category-field {
  display: block;
  margin: 0 0 0.7rem;
}

.axcos-page-category .axcos-category-field__label {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--axcos-text-secondary, rgba(255, 255, 255, 0.8));
}

.axcos-page-category .axcos-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.axcos-page-category .axcos-category-search,
.axcos-page-category .axcos-category-sort,
.axcos-page-category .axcos-category-price-min,
.axcos-page-category .axcos-category-price-max {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.42rem 0.55rem;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--axcos-text, #e9e8e4);
  background: var(--axcos-surface, #1a1c19);
  border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.axcos-page-category .axcos-category-sort {
  appearance: none;
  cursor: pointer;
  padding-right: 1.65rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8f88' d='M6 8.5L1.5 4h9L6 8.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.65rem;
}

.axcos-page-category .axcos-category-search::placeholder {
  color: var(--axcos-text-muted, #8a8f88);
  opacity: 0.95;
}

.axcos-page-category .axcos-category-search:hover,
.axcos-page-category .axcos-category-sort:hover,
.axcos-page-category .axcos-category-price-min:hover,
.axcos-page-category .axcos-category-price-max:hover {
  border-color: rgba(0, 128, 0, 0.28);
}

.axcos-page-category .axcos-category-search:focus,
.axcos-page-category .axcos-category-sort:focus,
.axcos-page-category .axcos-category-price-min:focus,
.axcos-page-category .axcos-category-price-max:focus {
  outline: none;
  border-color: rgba(0, 160, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 128, 0, 0.2);
}

.axcos-page-category .axcos-category-search::-webkit-search-cancel-button {
  filter: contrast(0.6) opacity(0.8);
  cursor: pointer;
}

.axcos-page-category .axcos-category-field--prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.45rem;
  margin: 0 0 0.35rem;
}

.axcos-page-category .axcos-category-tags {
  margin: 0 0 0.5rem;
}

.axcos-page-category .axcos-category-tags__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  margin: 0.2rem 0 0;
  padding: 0;
  box-sizing: border-box;
}

.axcos-page-category .axcos-category-tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.32rem 0.6rem 0.34rem;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--axcos-text-secondary, rgba(255, 255, 255, 0.88));
  background: var(--axcos-surface, #1a1c19);
  border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.16));
  border-radius: 999px;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.axcos-page-category .axcos-category-tag-pill:hover {
  border-color: rgba(0, 160, 0, 0.35);
  color: var(--axcos-text, #e9e8e4);
}

.axcos-page-category .axcos-category-tag-pill:focus {
  outline: none;
}

.axcos-page-category .axcos-category-tag-pill:focus-visible {
  outline: 2px solid rgba(0, 160, 0, 0.55);
  outline-offset: 2px;
}

.axcos-page-category .axcos-category-tag-pill.is-active {
  color: var(--axcos-on-primary, #0e100d);
  background: linear-gradient(180deg, var(--axcos-primary-bright, #11c011) 0%, var(--axcos-primary, #00a000) 100%);
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.axcos-page-category .axcos-category-tag-pill.is-active:hover {
  color: var(--axcos-on-primary, #0e100d);
  background: linear-gradient(180deg, #11a011 0%, var(--axcos-primary-hover, #008f00) 100%);
  border-color: rgba(0, 0, 0, 0.25);
}

.axcos-page-category .axcos-category-field--prices .axcos-category-field {
  margin: 0;
}

.axcos-page-category .axcos-category-price-min::placeholder,
.axcos-page-category .axcos-category-price-max::placeholder {
  color: var(--axcos-text-muted, #8a8f88);
  opacity: 0.95;
}

/* Tema: primary yeşil; sütun genişliğinde, kompakt */
.axcos-page-category .axcos-category-clear {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.7rem;
  min-height: 2.35rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  color: var(--axcos-on-primary, #f6faf6) !important;
  background: linear-gradient(180deg, var(--axcos-primary-bright, #0e950e) 0%, var(--axcos-primary, #0b800b) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 16px -6px rgba(0, 60, 0, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.axcos-page-category .axcos-category-clear:hover {
  color: var(--axcos-on-primary, #f6faf6) !important;
  background: linear-gradient(180deg, #11a011 0%, var(--axcos-primary-hover, #0a5f0a) 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  filter: brightness(1.04);
}

.axcos-page-category .axcos-category-clear:active {
  transform: translateY(0.5px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.axcos-page-category .axcos-category-clear:focus-visible {
  outline: none;
  box-shadow: var(--axcos-focus-ring, 0 0 0 2px var(--axcos-bg), 0 0 0 4px rgba(0, 128, 0, 0.28));
}

.axcos-page-category .axcos-category-main {
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

.axcos-page-category .axcos-category-no-results {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--axcos-text-secondary, #b4b6b1);
  background: rgba(0, 64, 0, 0.12);
  border: 1px solid rgba(0, 120, 0, 0.22);
  border-radius: 10px;
}

.axcos-page-category .axcos-category-pager {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 1rem 0 0;
  padding: 0;
}

.axcos-page-category .axcos-category-pager[hidden] {
  display: none;
}

.axcos-page-category .axcos-category-pager__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.4rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0.35rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.07));
  border-radius: 8px;
}

/* « ‹ › » — kompakt, zemin/çerçeve */
.axcos-page-category .axcos-category-pager__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  padding: 0 0.35rem;
  font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--axcos-text, #e9e8e4) !important;
  cursor: pointer;
  background: var(--axcos-surface-elevated, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--axcos-border, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s,
    opacity 0.15s;
}

.axcos-page-category .axcos-category-pager__glyph {
  display: block;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.axcos-page-category .axcos-category-pager__icon:hover:not(:disabled) {
  color: var(--axcos-text, #f4f3ef) !important;
  background: rgba(0, 80, 0, 0.18);
  border-color: rgba(0, 128, 0, 0.28);
}

.axcos-page-category .axcos-category-pager__icon:disabled {
  cursor: not-allowed;
  opacity: 0.32;
  filter: none;
}

.axcos-page-category .axcos-category-pager__icon:focus-visible {
  outline: none;
  box-shadow: var(
    --axcos-focus-ring,
    0 0 0 2px var(--axcos-bg, #0e0f0d),
    0 0 0 4px rgba(0, 128, 0, 0.28)
  );
}

.axcos-page-category .axcos-category-pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.35rem;
  min-width: 0;
  max-width: min(100%, 32rem);
  max-height: 6rem;
  margin: 0 0.15rem;
  padding: 0.15rem 0.2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  font-size: 0.8rem;
}

.axcos-page-category .axcos-category-pager__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.1rem;
  margin: 0;
  padding: 0 0.5rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--axcos-text-secondary, #b4b6b1) !important;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s;
}

.axcos-page-category .axcos-category-pager__page:hover:not(:disabled) {
  color: var(--axcos-text, #e9e8e4) !important;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--axcos-border, rgba(255, 255, 255, 0.1));
}

.axcos-page-category .axcos-category-pager__page.is-active {
  color: var(--axcos-on-primary, #f2faf2) !important;
  background: rgba(0, 100, 0, 0.35);
  border-color: rgba(0, 128, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 100, 0, 0.2);
  cursor: default;
}

.axcos-page-category .axcos-category-pager__page:disabled {
  opacity: 1;
  cursor: default;
}

.axcos-page-category .axcos-category-pager__page:focus-visible {
  outline: none;
  box-shadow: var(
    --axcos-focus-ring,
    0 0 0 2px var(--axcos-bg, #0e0f0d),
    0 0 0 4px rgba(0, 128, 0, 0.28)
  );
}

@media (max-width: 52rem) {
  .site-content-axcos-stack .axcos-category-page {
    grid-template-columns: 1fr;
  }

  .axcos-page-category .axcos-category-sidebar {
    order: 0;
  }

  .axcos-page-category .axcos-category-main {
    order: 1;
  }
}

/* -------------------------------------------------------------------------- */
/* Ürün seçenekleri: main.js openOptionsFormPopup (Sepete ekle)               */
/* -------------------------------------------------------------------------- */
.popup.product-options-popup {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 6, 5, 0.88) !important;
  backdrop-filter: blur(8px);
  border: 0;
}

.popup.product-options-popup .popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: max(1.5rem, env(safe-area-inset-top, 0px)) 1.25rem max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.popup.product-options-popup .popup-content {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: 85dvh;
  margin: 0;
  padding: 2rem 1.35rem 1.5rem;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--axcos-surface, #131514);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: left;
}

.popup.product-options-popup .popup-content .popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
}
.popup.product-options-popup .popup-content .popup-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
  .popup.product-options-popup .popup-content {
    max-width: 100%;
    max-height: 90dvh;
    padding: 1.75rem 1rem 1.25rem;
  }
}
