/* === kaynak: components.css 1198-1552 - Z-2 sprint === */

   SECTION 36 — C7-7: HOMEPAGE MODULES (Story Bar + Trust Badges)
   ═══════════════════════════════════════════════════════════════════ */

/* --- Story Category Bar --- */
.th-story__bar {
  background: var(--th-color-bg);
  padding: 18px 0;
  border-bottom: 1px solid var(--th-color-border-light);
}
.th-story__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.th-story__track::-webkit-scrollbar { display: none; }
.th-story__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform .2s ease;
}
.th-story__item:hover { transform: translateY(-3px); }
.th-story__ring {
  width: 64px; height: 64px;
  border-radius: var(--th-radius-full);
  background: linear-gradient(135deg, var(--th-color-accent), #ff9a44, var(--th-color-accent-hover));
  padding: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .25s ease;
}
.th-story__item:hover .th-story__ring {
  box-shadow: 0 4px 16px rgba(255, 96, 0, .3);
}
.th-story__ring img {
  width: 56px; height: 56px;
  border-radius: var(--th-radius-full);
  object-fit: cover;
  background: var(--th-color-bg);
  border: 2px solid var(--th-neutral-0);
}
.th-story__ring i {
  color: var(--th-color-text-inverse); font-size: 20px;
}
.th-story__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--th-color-text-secondary);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .th-story__track { gap: 14px; padding: 4px 16px; }
  .th-story__ring { width: 56px; height: 56px; }
  .th-story__ring img { width: 48px; height: 48px; }
}

/* --- Trust Badges Strip --- */
.th-trust__strip {
  background: var(--th-color-bg-secondary);
  border-top: 1px solid var(--th-color-border-light);
  border-bottom: 1px solid var(--th-color-border-light);
  padding: 24px 0;
}
.th-trust__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.th-trust__badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.th-trust__icon {
  width: 48px; height: 48px;
  border-radius: var(--th-radius-xl);
  background: rgba(255, 96, 0, .08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.th-trust__icon i {
  font-size: 20px;
  color: var(--th-color-accent);
}
.th-trust__text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--th-color-text);
  line-height: 1.3;
}
.th-trust__text span {
  font-size: 12px;
  color: var(--th-color-text-muted);
  line-height: 1.3;
}

@media (max-width: 992px) {
  .th-trust__inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 576px) {
  .th-trust__inner { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
  .th-trust__icon { width: 40px; height: 40px; border-radius: var(--th-radius-xl); }
  .th-trust__icon i { font-size: 16px; }
  .th-trust__text strong { font-size: 13px; }
  .th-trust__text span { font-size: 11px; }
}

/* --- Category icon circle: theme color override --- */
.category-icon-circle {
  background: rgba(255, 96, 0, .08);
  color: var(--th-color-accent);
}
.category-icon-item:hover .category-icon-circle {
  background: var(--th-color-accent);
  color: var(--th-color-text-inverse);
}
.category-icon-circle.new {
  background: rgba(255, 96, 0, .12);
  color: var(--th-color-accent);
}
.category-icon-item:hover .category-icon-circle.new {
  background: var(--th-color-accent);
  color: var(--th-color-text-inverse);
}

/* =============================================

/* ═══════════════════════════════════════════════════════════════════
   SECTION 37 — HOMEPAGE SECTIONS
   Generic section wrapper, header, horizontal scroll, carousel
   ═══════════════════════════════════════════════════════════════════ */

/* ── Section Wrapper ── */
.th-home-section {
  padding: 48px 0;
  background: var(--th-color-bg);
}
.th-home-section:nth-child(even) {
  background: var(--th-color-bg-secondary);
}
.th-home-section--flush {
  padding: 0;
}

/* ── Section Header ── */
.th-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 0 24px;
}
.th-section-title {
  font-size: var(--th-text-xl, 20px);
  font-weight: var(--th-font-bold, 700);
  color: var(--th-color-text);
  margin: 0;
  line-height: 1.3;
}
.th-section-link {
  font-size: var(--th-text-sm, 14px);
  font-weight: var(--th-font-medium, 500);
  color: var(--th-color-primary);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s ease, gap .2s ease;
}
.th-section-link:hover {
  color: var(--th-color-primary-hover);
  gap: 8px;
}
.th-section-link::after {
  content: "\203A";
  font-size: 1.2em;
  line-height: 1;
}

/* ── Section Content Container ── */
.th-section-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Horizontal Scroll ── */
.th-hscroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.th-hscroll::-webkit-scrollbar { display: none; }
.th-hscroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}
.th-hscroll--card > * {
  width: 220px;
}

/* ── Carousel Wrapper ── */
.th-carousel-wrap {
  position: relative;
}
.th-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: var(--th-radius-full);
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border-light);
  box-shadow: var(--th-shadow-md, 0 4px 12px rgba(0,0,0,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s ease, box-shadow .2s ease;
  color: var(--th-color-text);
  font-size: 14px;
  padding: 0;
}
.th-carousel-btn:hover {
  box-shadow: var(--th-shadow-lg, 0 8px 24px rgba(0,0,0,.15));
}
.th-carousel-btn--prev { left: -20px; }
.th-carousel-btn--next { right: -20px; }
.th-carousel-btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .th-home-section { padding: 32px 0; }
  .th-section-header { padding: 0 16px; margin-bottom: 16px; }
  .th-section-title { font-size: var(--th-text-lg, 18px); }
  .th-section-body { padding: 0 16px; }
  .th-carousel-btn { display: none; }
  .th-hscroll--card > * { width: 180px; }
}
@media (max-width: 576px) {
  .th-home-section { padding: 24px 0; }
  .th-section-header { padding: 0 12px; margin-bottom: 12px; }
  .th-section-body { padding: 0 12px; }
  .th-hscroll { gap: 12px; }
  .th-hscroll--card > * { width: 160px; }
}
/* ═══════════════════════════════════════════════════════════════════
   SECTION 38 — TRUST BOX (Platform-injected HTML)
   HTML classes: .trust-box, .trust-list, .trust-item,
                 .trust-icon, .trust-content, .trust-title
   NOTE: HTML cannot be modified — only CSS styling
   ═══════════════════════════════════════════════════════════════════ */

.trust-box {
  background: var(--th-trust-bg, var(--th-green-50, #f0fdf4));
  border: 1px solid var(--th-trust-border, var(--th-green-200, #bbf7d0));
  border-radius: var(--th-trust-radius, var(--th-radius-lg, 12px));
  padding: var(--th-trust-padding, 20px);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--th-trust-gap, 16px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--th-radius-md, 8px);
  background: rgba(255, 255, 255, .7);
  transition: background .2s ease;
}
.trust-item:hover {
  background: rgba(255, 255, 255, .95);
}
.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--th-radius-md, 8px);
  background: var(--th-trust-bg-alt, var(--th-green-100, #dcfce7));
  color: var(--th-trust-icon-color, var(--th-color-primary, #14613A));
  font-size: var(--th-trust-icon-size, 20px);
}
.trust-icon img,
.trust-icon svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.trust-content {
  flex: 1;
  min-width: 0;
}
.trust-title {
  display: block;
  font-size: var(--th-trust-title-font, var(--th-text-sm, 14px));
  font-weight: var(--th-trust-title-weight, 600);
  color: var(--th-trust-title-color, var(--th-green-800, #166534));
  line-height: 1.3;
  margin-bottom: 2px;
}
.trust-content p,
.trust-content span:not(.trust-title) {
  font-size: var(--th-trust-desc-font, var(--th-text-xs, 12px));
  color: var(--th-trust-desc-color, var(--th-green-700, #15803d));
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 8px; gap: 8px; }
  .trust-icon { width: 32px; height: 32px; font-size: 16px; }
}
@media (max-width: 576px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-box { padding: 12px; }
}

/* === misc.css'ten taşındı — S6 promo-banner-grid12 / matara === */
.promo-banner-grid12 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    margin: 10px 0 30px
}
.matara-masaustu-liste {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    margin: 10px 0 0;
    padding: 0
}
.matara-masaustu-liste img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}
/* ═══════════════════════════════════════════════════════════════════
