@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: #0f1116;
  color: #ffffff;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.mobile-viewport {
  width: 100%;
  min-height: 100vh;
  background-color: #0f1116;
  position: relative;
  padding-bottom: 84px;
  overflow-x: hidden;
}

.mobile-viewport.detail-viewport {
  padding-bottom: 138px;
}

/* ================= HEADER ================= */
.site-header {
  background-color: #212630;
  height: 94px;
  padding: 6px 8px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 33px;
}

.site-header-logo,
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header-logo img,
.site-header-logo svg,
.brand-logo img,
.brand-logo svg {
  height: 26px;
  width: auto;
  max-height: 28px;
  display: block;
}

.site-header-logo svg path:not([fill]),
.brand-logo svg path:not([fill]) {
  fill: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-notify {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #4a4d55;
  background-color: #212630;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
}

.btn-live-support {
  height: 32px;
  width: 94px;
  border-radius: 6px;
  border: 1px solid #4a4d55;
  background-color: #212630;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: visible;
}

.live-support-unread-badge {
  position: absolute;
  top: -5px;
  right: -4px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 900;
  min-width: 22px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.75);
  z-index: 99;
  animation: gsBadgePulse 1.2s infinite ease-in-out;
}

.live-support-unread-badge.visible {
  display: inline-flex;
}

@keyframes gsBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.support-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.support-title {
  font-size: 9.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.support-status {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 700;
  color: #54b807;
}

.btn-live-support.has-unread-msg {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #489f05;
  box-shadow: 0 0 0 2px rgba(72, 159, 5, 0.3);
}

.status-dot.unread-dot {
  background-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35);
}

.unread-status-text {
  color: #fca5a5;
  font-weight: 900;
}

/* Search Bar */
.search-bar,
.search-wrap {
  height: 38px;
  background-color: #171a21;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 9px;
}

.search-bar svg,
.search-wrap svg {
  flex-shrink: 0;
  color: #797d87;
}

.search-bar input,
.search-wrap input,
.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #d1d5db;
  font-size: 13px;
  width: 100%;
  font-family: inherit;
}

.search-bar input::placeholder,
.search-wrap input::placeholder,
.search-input::placeholder {
  color: #777b84;
}

/* ================= STORIES ROW ================= */
.stories-section {
  padding: 13px 12px 15px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.stories-section::-webkit-scrollbar {
  display: none;
}

.story-item {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  position: relative;
}

.story-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= HERO BANNER ================= */
.hero-section {
  padding: 2px 10px 14px 10px;
}

.hero-banner {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ================= CATEGORY CARDS ROW ================= */
.category-strip {
  padding: 0 0 14px 12px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-card {
  width: 256px;
  height: 57px;
  border-radius: 7px;
  background: linear-gradient(115deg, #212630 0%, #242d37 65%, #2b3430 100%);
  display: flex;
  align-items: center;
  padding: 6px 8px;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.category-card.cat-mlbb {
  background: linear-gradient(115deg, #212630 0%, #232a36 100%);
}

.category-thumb {
  width: 45px;
  height: 45px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}

.category-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.category-desc {
  font-size: 11.5px;
  font-weight: 400;
  color: #b4b9c2;
  white-space: nowrap;
}

/* ================= SECTION HEADING ================= */
.market-section {
  padding: 0 10px;
}

.section-heading {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.28;
  padding: 0 12px 9px 1px;
  border-bottom: 1px solid #27292e;
  margin-bottom: 11px;
  letter-spacing: -0.1px;
}

/* ================= PRODUCT GRID ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 8px;
  row-gap: 10px;
}

.product-card {
  width: 100%;
  border-radius: 9px;
  border: 1.5px solid #ffcc33;
  background-color: #1b1f27;
  box-shadow: 0 0 8px rgba(255, 204, 51, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.product-thumb-wrap {
  width: 100%;
  aspect-ratio: 165 / 131;
  position: relative;
  overflow: hidden;
  background-color: #101216;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 8px 8px 8px 9px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #1b1f27;
}

.product-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #e4e5e7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  letter-spacing: -0.15px;
}

.product-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #8c939e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 7px;
  letter-spacing: -0.1px;
}

/* Seller Row with signature dual-tone borders */
.seller-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  margin-bottom: 8px;
}

.seller-row::before,
.seller-row::after {
  content: '';
  position: absolute;
  left: 3px;
  right: 2px;
  height: 1px;
  background: linear-gradient(to right, #ffcc33 0px, #ffcc33 22px, #2f3542 22px, #2f3542 100%);
}

.seller-row.blue-accent::before,
.seller-row.blue-accent::after {
  background: linear-gradient(to right, #38bdf8 0px, #38bdf8 22px, #2f3542 22px, #2f3542 100%);
}

.seller-row::before {
  top: 0;
}

.seller-row::after {
  bottom: 0;
}

.seller-avatar {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 3px;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.seller-name-line {
  display: flex;
  align-items: center;
  gap: 4px;
}

.seller-name {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.1px;
}

.verified-badge {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.seller-rating-line {
  display: flex;
  align-items: center;
  gap: 3px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 1px;
  color: #ffcc33;
}

.rating-score {
  font-size: 9px;
  font-weight: 800;
  color: #ffffff;
  margin-left: 1px;
}

.product-price {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffcc33;
  padding-left: 2px;
  letter-spacing: -0.2px;
  margin-top: auto;
}

/* Second row cards */
.product-card.row-2 {
  height: auto;
}

/* ================= DETAIL PAGE (İLAN DETAY) ================= */

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 10px 10px 11px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  column-gap: 6px;
}

.crumb-pill {
  background-color: #212630;
  color: #d6dce5;
  font-size: 10px;
  font-weight: 600;
  padding: 3.5px 9px;
  border-radius: 5px;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.crumb-sep {
  color: #d6dce5;
  font-size: 11px;
  display: flex;
  align-items: center;
}

.crumb-current {
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Detail Container Cards */
.detail-section-wrap {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-card {
  background-color: #212630;
  border-radius: 10px;
  padding: 12px;
}

/* Gallery Slider & Thumbs */
.detail-gallery-box {
  width: 100%;
  aspect-ratio: 328 / 251;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  background-color: #14171e;
  user-select: none;
}

.product-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-gallery-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.product-gallery-slide .gs-picture,
.product-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Büyüt Button (Top Right) */
.product-gallery-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  border: none;
  background-color: rgba(20, 23, 30, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-family: inherit;
}

/* Prev / Next Circular Buttons */
.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background-color: rgba(20, 23, 30, 0.72);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.product-gallery-nav:hover {
  background-color: rgba(20, 23, 30, 0.9);
}

.product-gallery-nav.prev {
  left: 10px;
}

.product-gallery-nav.next {
  right: 10px;
}

/* Bottom Thumbnail Bar (.product-gallery-thumbs) */
.product-gallery-thumbs {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 8px;
  background-color: rgba(23, 26, 33, 0.82);
  backdrop-filter: blur(4px);
  max-width: calc(100% - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.product-gallery-thumb {
  width: 44px;
  height: 36px;
  padding: 0;
  border-radius: 5px;
  border: 1.5px solid #454b57;
  background: #171a21;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-thumb[aria-current="true"] {
  border-color: #38bdf8;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.product-gallery-thumb .gs-picture,
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox Modal for "Büyüt" */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(9, 11, 14, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #3f4654;
  background-color: #212630;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category Badge Pill */
.detail-cat-pill {
  display: inline-block;
  background-color: #1d3247;
  color: #3699ff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3.5px 10px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 9px;
}

.detail-main-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.detail-sub-text {
  font-size: 13px;
  font-weight: 400;
  color: #8c939e;
  margin-bottom: 13px;
}

/* Delivery Pill */
.delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #8a5a19;
  background-color: rgba(245, 158, 11, 0.08);
  font-size: 11.5px;
  margin-bottom: 12px;
}

.delivery-pill svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.delivery-pill .del-label {
  color: #d6dce5;
  font-weight: 400;
}

.delivery-pill .del-val {
  color: #f59e0b;
  font-weight: 700;
}

/* Favori Button */
.btn-favori-row {
  margin-bottom: 12px;
}

.btn-favori {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  border: 1px solid #2e3442;
  background-color: #1c2029;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* 2x2 Meta Grid (İlan No, Görülme, Güncelleme, Stok) */
.meta-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.meta-box {
  background-color: #171a21;
  border: 1px solid #262b36;
  border-radius: 8px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-box-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8c939e;
}

.meta-box-top svg {
  color: #2daae1;
  flex-shrink: 0;
}

.meta-box-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

/* Seller Card on Detail Page */
.seller-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.seller-card-avatar {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #ffffff;
}

.seller-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.seller-card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.seller-card-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.seller-online-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #54b807;
}

.seller-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #489f05;
  box-shadow: 0 0 0 3px rgba(72, 159, 5, 0.25);
}

.seller-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 13px;
}

.seller-stat-box {
  background-color: #171a21;
  border: 1px solid #262b36;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 68px;
}

.seller-stat-label {
  font-size: 11px;
  color: #8c939e;
  margin-bottom: 4px;
}

.seller-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.success-bar {
  margin-top: 7px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #2b313e;
  position: relative;
  overflow: hidden;
}

.success-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8%;
  border-radius: 999px;
  background: #ef4444;
}

.seller-links-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}

.seller-link {
  font-size: 12px;
  color: #3b82f6;
  text-decoration: underline;
  font-weight: 500;
}

.seller-contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-seller-action {
  height: 44px;
  border-radius: 8px;
  background-color: #1d222b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.btn-seller-action.btn-mesaj {
  border: 1px solid #86a922;
}

.btn-seller-action.btn-sms {
  border: 1px solid #2b82a0;
}

/* Price & Quantity Card */
.price-highlight-box {
  background-color: #171a21;
  border-radius: 8px;
  padding: 13px 14px;
  border: 1px solid #6b9e38;
  margin-bottom: 14px;
}

.price-highlight-label {
  font-size: 12.5px;
  color: #c2c7d0;
  margin-bottom: 4px;
}

.price-highlight-val {
  font-size: 23px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.price-highlight-val small {
  font-size: 15px;
  font-weight: 800;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.qty-label {
  font-size: 12.5px;
  color: #c2c7d0;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  height: 36px;
  background-color: #171a21;
  border: 1px solid #2b303c;
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  width: 34px;
  height: 100%;
  background: transparent;
  border: none;
  color: #8c939e;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-input {
  width: 42px;
  height: 100%;
  border-left: 1px solid #2b303c;
  border-right: 1px solid #2b303c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.guarantee-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #8c939e;
}

.guarantee-line svg {
  color: #84cc16;
  flex-shrink: 0;
}

/* Properties / Specs Card */
.card-block-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  padding-bottom: 11px;
  border-bottom: 1px solid #2d3340;
  margin-bottom: 12px;
}

.specs-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-item {
  background-color: #171a21;
  border: 1px solid #262b36;
  border-radius: 8px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.spec-label {
  font-size: 11px;
  color: #8c939e;
}

.spec-val {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
}

.about-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 500;
}

/* Related Products Section */
.related-section {
  padding: 16px 10px 10px 10px;
}

.related-heading {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  padding-bottom: 9px;
  border-bottom: 1px solid #27292e;
  margin-bottom: 12px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 10px;
}

.related-grid::-webkit-scrollbar {
  display: none;
}

.related-card {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #2c323f;
  background-color: #1b1f27;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.related-card .product-thumb-wrap {
  aspect-ratio: 160 / 125;
  height: auto;
}

.related-card .product-price {
  color: #ffffff;
}

.carousel-scrollbar {
  width: 100%;
  height: 12px;
  background-color: #1e222b;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.carousel-scrollbar-thumb {
  width: 34%;
  height: 100%;
  background-color: #9397a0;
  border-radius: 999px;
}

/* ================= FOOTER ================= */
.site-footer {
  margin-top: 12px;
  background-color: #212630;
  padding: 4px 12px 24px 12px;
  border-top: 1px solid #2c3240;
}

.footer-accordion {
  list-style: none;
  margin-bottom: 14px;
}

.footer-accordion li {
  border-bottom: 1px solid #2b313d;
}

.footer-acc-btn {
  width: 100%;
  height: 44px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.btn-feedback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border-radius: 7px;
  border: 1px solid #454a54;
  background-color: #212630;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer-social-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid #2b313d;
  margin-bottom: 18px;
}

.social-btn {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background-color: #2b313e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}

.footer-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 11px;
  color: #b4b9c2;
  line-height: 1.6;
}

.footer-payment-img {
  margin-top: 6px;
  height: 24px;
  width: auto;
  display: block;
}

/* ================= STICKY PURCHASE BAR ================= */
.sticky-buy-bar {
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  width: 100%;
  height: 62px;
  background-color: #212630;
  border-top: 1px solid #2d3340;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 99;
}

.buy-bar-total {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.buy-bar-label {
  font-size: 10.5px;
  color: #9ca3af;
}

.buy-bar-price {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.btn-satin-al {
  flex: 1;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #ef4444;
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
}

/* ================= BOTTOM NAVIGATION BAR ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  background-color: #212630;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 100;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 100%;
  position: relative;
  gap: 4px;
  padding-top: 3px;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #38b2ac, #93b92d);
}

.nav-icon {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f96a3;
}

.nav-item.active .nav-icon {
  color: #ffffff;
}

.nav-label {
  font-size: 10.5px;
  font-weight: 500;
  color: #8f96a3;
  letter-spacing: -0.1px;
}

.nav-item.active .nav-label {
  color: #ffffff;
  font-weight: 700;
}

/* Center Floating Menu Button */
.nav-item-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  text-decoration: none;
  padding-bottom: 6px;
}

.menu-fab-outer {
  position: absolute;
  top: -22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #212630;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}

.menu-fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27a99c 0%, #5cb874 50%, #96c93d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-fab span {
  display: block;
  width: 19px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
}

.nav-item-center .nav-label {
  color: #d6dce5;
  font-weight: 700;
  font-size: 10.5px;
}

.hesabim-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


/* ================= CANLI DESTEK FULL-SCREEN MODAL ================= */
.gs-support-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background-color: #171a21;
  z-index: 9999;
  display: none;
  flex-direction: column;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gs-support-modal.open {
  display: flex;
}

.gs-support-header {
  height: 52px;
  min-height: 52px;
  background-color: #171a21;
  border-bottom: 1px solid #2a303d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 16px;
}

.gs-support-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
  cursor: pointer;
  user-select: none;
}

.gs-support-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Chat Messages Area */
.gs-support-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #171a21;
}

.gs-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.gs-msg-row.user {
  justify-content: flex-end;
}

.gs-msg-row.support {
  justify-content: flex-start;
}

.gs-msg-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 2px;
}

.gs-msg-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-msg-support-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-msg-support-icon img,
.gs-msg-support-icon svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.gs-msg-bubble {
  position: relative;
  padding: 10px 14px 12px 14px;
  border-radius: 10px;
  max-width: 78%;
  min-width: 112px;
}

/* Outgoing User Bubble ("Siz") */
.gs-msg-bubble.user {
  background-color: #212630;
  border-top-right-radius: 2px;
  margin-right: 4px;
}

.gs-msg-bubble.user::after {
  content: '';
  position: absolute;
  top: 8px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 9px solid #212630;
}

/* Incoming Support Bubble ("Destek (OSA)") */
.gs-msg-bubble.support {
  background-color: #193547;
  border-top-left-radius: 2px;
  margin-left: 4px;
}

.gs-msg-bubble.support::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 9px solid #193547;
}

.gs-msg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
}

.gs-msg-author {
  font-size: 11px;
  font-weight: 800;
  color: #e2e8f0;
}

.gs-msg-time {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

/* SİSTEM MESAJI (CLEAN RED HEADER & RED BAR) */
.gs-msg-bubble.support.system-bubble {
  background-color: #1a1e27 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  box-shadow: none !important;
}

.gs-msg-bubble.support.system-bubble::before {
  border-right-color: #1a1e27 !important;
}

.system-msg-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.system-msg-badge {
  color: #ef4444;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.system-msg-divider {
  width: 36px;
  height: 2px;
  background-color: #ef4444;
  border-radius: 1px;
  margin: 3px 0 6px 0;
}

.gs-msg-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.4;
  word-break: break-word;
}

.gs-msg-image-wrap {
  margin-top: 6px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #111318;
  max-width: 240px;
}

.gs-msg-image {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  cursor: zoom-in;
}

.gs-support-side-btns {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  width: 34px;
  flex-shrink: 0;
}

.gs-chat-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background-color: rgba(9, 11, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gs-chat-img-lightbox.open {
  display: flex;
}

.gs-chat-img-lightbox img {
  max-width: 95vw;
  max-height: 90dvh;
  border-radius: 8px;
  object-fit: contain;
}

.gs-msg-receipt {
  font-size: 10px;
  font-weight: 800;
  text-align: right;
  margin-top: 4px;
}

.gs-msg-receipt.sent {
  color: #9ca3af;
}

.gs-msg-receipt.seen {
  color: #4ade80;
}
.gs-support-footer {
  background-color: #171a21;
  border-top: 1px solid #2a303d;
  padding: 14px 14px 12px 14px;
  display: flex;
  align-items: stretch;
  gap: 11px;
}

.gs-support-input-wrap {
  flex: 1;
  position: relative;
  border-radius: 8px;
  border: 1px solid #454b57;
  background-color: #171a21;
  padding: 12px 12px 8px 12px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.gs-support-input-wrap.focused {
  border-color: transparent;
  background:
    linear-gradient(#171a21, #171a21) padding-box,
    linear-gradient(125deg, #2299d4 0%, #58b473 50%, #9ac936 100%) border-box;
  border: 1.5px solid transparent;
}

.gs-support-floating-label {
  position: absolute;
  top: -8px;
  left: 12px;
  background-color: #171a21;
  padding: 0 5px;
  font-size: 12px;
  font-weight: 500;
  color: #7c8391;
  line-height: 1;
}

.gs-support-char-count {
  position: absolute;
  top: 6px;
  right: 9px;
  font-size: 10px;
  color: #7c8391;
  pointer-events: none;
}

.gs-support-input-wrap textarea {
  width: 100%;
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  line-height: 1.4;
  padding-right: 34px;
}

.gs-support-input-wrap textarea::placeholder {
  color: #6c727f;
}

.gs-customer-staged-img-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  margin-bottom: 6px;
  background-color: #212630;
  border: 1px dashed #38bdf8;
  border-radius: 6px;
}

.gs-customer-staged-img-row.visible {
  display: flex;
}

.gs-customer-staged-img-row img {
  height: 40px;
  width: auto;
  max-width: 90px;
  border-radius: 4px;
  object-fit: contain;
}

.gs-customer-staged-remove {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gs-support-side-btns {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  flex-shrink: 0;
}

.gs-support-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(#171a21, #171a21) padding-box,
    linear-gradient(135deg, #2798c4 0%, #8ec339 100%) border-box;
  border: 1px solid transparent;
  color: #8c939e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gs-support-icon-btn.send-btn {
  color: #9ca3af;
}

/* ================= HESABIM / KULLANICI PANELİ (ACCOUNT HUB) ================= */
.account-hub-page {
  padding: 12px 10px 24px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-hub-card {
  background-color: #1b1f27;
  border: 1px solid #262b35;
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-hub-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #212630;
  flex-shrink: 0;
  display: block;
}

.account-hub-user {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-hub-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-hub-balance {
  font-size: 16px;
  font-weight: 800;
  color: #e5a923;
  line-height: 1.2;
}

.account-hub-topup {
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid #d49b1f;
  background-color: rgba(212, 155, 31, 0.05);
  color: #e5a923;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.account-hub-topup svg {
  width: 15px;
  height: 15px;
  fill: #e5a923;
  flex-shrink: 0;
}

.account-hub-notice {
  background-color: #171a21;
  border: 1px solid #d49b1f;
  border-radius: 6px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.account-hub-notice-top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.account-hub-notice-top > svg:first-child {
  width: 20px;
  height: 20px;
  fill: #e5a923;
  flex-shrink: 0;
}

.account-hub-notice-top span {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.42;
  color: #f3f4f6;
}

.account-hub-notice-top > svg:last-child {
  width: 8px;
  height: 13px;
  fill: #e5a923;
  flex-shrink: 0;
}

.account-hub-delivery-btn {
  width: 100%;
  height: 38px;
  border-radius: 7px;
  border: none;
  background: linear-gradient(90deg, #3ba3ca 0%, #68af7a 52%, #96ba29 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(59, 163, 202, 0.25);
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.account-hub-delivery-btn:active {
  transform: scale(0.985);
}

.account-hub-quick.gs-icon-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gs-icon-tile {
  background-color: #1b1f27;
  border: 1px solid #262b35;
  border-radius: 8px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 4px;
}

.gs-icon-tile-icon {
  width: 22px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-icon-tile-icon svg {
  width: 20px;
  height: 19px;
  fill: #ffffff;
}

.gs-icon-tile-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.account-hub-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.account-hub-group-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #7c8391;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  padding-left: 2px;
}

.gs-link-list {
  background-color: #1b1f27;
  border: 1px solid #262b35;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gs-link-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 14px;
  border-bottom: 1px solid #242934;
  text-decoration: none;
  color: #ffffff;
}

.gs-link-row:last-child {
  border-bottom: none;
}

.gs-link-row-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gs-link-row-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.gs-link-row-label {
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.gs-link-row-chevron {
  width: 10px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gs-link-row-chevron svg {
  width: 7px;
  height: 12px;
  fill: #7c8391;
}

.gs-link-row-danger .gs-link-row-label {
  color: #f87171;
}

.gs-link-row-danger .gs-link-row-icon svg {
  fill: #f87171;
}

.gs-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.gs-switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gs-switch-track {
  width: 40px;
  height: 22px;
  background-color: #2c3342;
  border-radius: 999px;
  position: relative;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.gs-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background-color: #9ca3af;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gs-switch-input:checked + .gs-switch-track {
  background-color: #2596d1;
}

.gs-switch-input:checked + .gs-switch-track .gs-switch-thumb {
  transform: translateX(18px);
  background-color: #ffffff;
}
