/* ============================================================
   MYTicaret Sections CSS v3
   Swiper, Banner, Kolaj, Multicolumn, Slideshow, Blog, FAQ
   ============================================================ */

/* ── Genel Section Wrapper ─────────────────────────────── */
.myt-dynamic-section {
  position: relative;
}
.myt-dynamic-section + .myt-dynamic-section {
  margin-top: 0;
}
.myt-dynamic-section .container {
  max-width: 1200px;
}
.myt-dynamic-section .alert {
  border-radius: 10px;
}

/* Renk şemaları */
.color-scheme-bg-1 { background: #fff; }
.color-scheme-bg-2 { background: #f8f9fa; }

/* ── Swiper Genel Özelleştirme ─────────────────────────── */
.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-size: 36px;
  --swiper-theme-color: #fff;
  background: rgba(0,0,0,.5);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  padding: 0;
  transition: background .2s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,.75);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 700;
}
.swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: rgba(255,255,255,.8);
}

/* ── Slideshow ─────────────────────────────────────────── */
.myt-slideshow {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.myt-swiper-slideshow {
  width: 100%;
}
.myt-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.myt-slide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.myt-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 700px;
}
.myt-slide-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: .75rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.myt-slide-text {
  font-size: clamp(.9rem, 1.5vw, 1.2rem);
  opacity: .9;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.myt-slide-btn {
  display: inline-block;
  padding: .65rem 1.75rem;
  background: #fff;
  color: #111;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.myt-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.myt-slide-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.myt-swiper-arrow {
  --swiper-navigation-color: #fff;
}

/* ── PDP beden tablosu (theme_settings) ───────────────── */
.myt-size-chart-pdp {
  margin-top: 0.25rem;
}
.myt-size-chart-pdp .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 0;
}
.myt-size-chart-pdp .accordion-body {
  padding-top: 0.5rem;
}
.myt-size-chart-pdp__img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.myt-size-chart-html table {
  width: 100%;
  max-width: 100%;
}

/* ── Image Banner ──────────────────────────────────────── */
.myt-image-banner {
  overflow: hidden;
  width: 100%;
}
.myt-banner--full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.myt-banner-item {
  overflow: hidden;
}
.myt-banner-title {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.myt-banner-subtitle {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 1.25rem;
}
.myt-banner-btn {
  display: inline-block;
  padding: .6rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  font-size: .95rem;
}
.myt-banner-btn:hover { opacity: .85; transform: translateY(-1px); }
.myt-banner-btn--solid   { background: #fff; color: #111; }
.myt-banner-btn--outline { border: 2px solid #fff; color: #fff; background: transparent; }
.myt-banner-btn--text    { color: #fff; text-decoration: underline; padding-left:0; padding-right:0; }
.myt-banner-swiper .swiper-button-next,
.myt-banner-swiper .swiper-button-prev {
  --swiper-navigation-size: 28px;
}

/* ── Kolaj ─────────────────────────────────────────────── */
.myt-collage {}
.myt-collage-item { position: relative; }
.myt-collage-img-wrap { overflow: hidden; }
.myt-collage-img {
  display: block;
  width: 100%;
  transition: transform .35s ease;
}

/* Hover: Zoom */
.myt-hover-zoom:hover .myt-collage-img,
.myt-hover-zoom:hover img.myt-collage-img {
  transform: scale(1.06);
}

/* Hover: Overlay */
.myt-collage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
}
.myt-hover-overlay:hover .myt-collage-overlay { opacity: 1; }
.myt-collage-overlay-title {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

/* Masonry */
.myt-collage-masonry img.myt-collage-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Multicolumn ───────────────────────────────────────── */
.myt-mc-col {}
.myt-mc-img-wrap { overflow: hidden; }
.myt-mc-img-wrap img { object-fit: cover; display: block; }
.myt-mc-icon { color: inherit; }
.myt-mc-text * { line-height: 1.65; }

/* ── Blog Gönderileri ──────────────────────────────────── */
.myt-blog-img {
  transition: transform .3s;
}
.myt-blog-card:hover .myt-blog-img {
  transform: scale(1.04);
}
.myt-blog-meta {}

/* ── FAQ / Collapsible ─────────────────────────────────── */
.myt-faq-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: inherit;
  box-shadow: none;
}
.myt-faq-accordion .accordion-button:focus {
  box-shadow: none;
}
.myt-faq-btn--plus::after {
  content: '+' !important;
  font-size: 1.4rem;
  background-image: none !important;
  transform: none !important;
  transition: none !important;
  line-height: 1;
}
.myt-faq-btn--plus:not(.collapsed)::after {
  content: '−' !important;
}

/* ── Video Section ─────────────────────────────────────── */
.myt-video-section {}
.myt-video-cover { }
.myt-video-play-btn {
  pointer-events: none;
  transition: transform .2s;
}
.myt-video-cover:hover .myt-video-play-btn {
  transform: translate(-50%,-50%) scale(1.1);
}

/* ── Email Signup ──────────────────────────────────────── */
.myt-email-signup {}
.myt-email-form .form-control {
  border-radius: 4px;
}

/* ── Custom HTML ───────────────────────────────────────── */
.myt-custom-html {}

/* ── Featured Collection / Collection List ─────────────── */
.myt-product-card {
  transition: transform .2s, box-shadow .2s;
}
.myt-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.myt-product-img {
  object-fit: cover;
  transition: transform .3s;
}
.myt-product-card:hover .myt-product-img {
  transform: scale(1.04);
}
.myt-kampanya-badge {
  position: absolute;
  max-width: 28%;
  max-height: 28%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  margin: 0;
}
.myt-kampanya-badge--tl { inset: 6px auto auto 6px; }
.myt-kampanya-badge--tr { inset: 6px 6px auto auto; }
.myt-kampanya-badge--br { inset: auto 6px 6px auto; }
.myt-kampanya-badge--bl { inset: auto auto 6px 6px; }
.myt-urun-badge { z-index: 3; }
.myt-badge--pair-first { z-index: 2; }
.myt-badge--pair-second { z-index: 3; }
.myt-badge--pair-second--tl { transform: translate(10px, 10px); }
.myt-badge--pair-second--tr { transform: translate(-10px, 10px); }
.myt-badge--pair-second--br { transform: translate(-10px, -10px); }
.myt-badge--pair-second--bl { transform: translate(10px, -10px); }

/* Öne çıkan koleksiyon / ürün carousel — bullet'lar slaytların altında */
.myt-fc-swiper .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 0;
  padding-top: 4px;
}
.myt-fc-swiper .swiper-pagination-bullet {
  background: #6c757d;
  opacity: 0.45;
}
.myt-fc-swiper .swiper-pagination-bullet-active {
  background: #212529;
  opacity: 1;
}

/* Koleksiyon listesi — masaüstünde grid, mobilde Swiper */
.myt-cl-swiper.myt-cl-grid .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(var(--cl-d, 3), minmax(0, 1fr)) !important;
  gap: 12px;
  transform: none !important;
  width: 100% !important;
}
.myt-cl-swiper.myt-cl-grid .swiper-slide {
  width: 100% !important;
  max-width: 100%;
  margin-right: 0 !important;
  height: auto;
  box-sizing: border-box;
}
.myt-cl-swiper:not(.myt-cl-grid) .swiper-slide {
  min-width: 0;
  box-sizing: border-box;
}
.myt-collection-list__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--cl-m, 2), minmax(0, 1fr));
}
@media (min-width: 768px) {
  .myt-collection-list__grid {
    grid-template-columns: repeat(var(--cl-d, 3), minmax(0, 1fr));
  }
}
.myt-collection-list__grid > * {
  min-width: 0;
}

/* ── İletişim formu ───────────────────────────────────── */
.myt-contact-desc {
  font-size: 14px;
  line-height: 1.65;
  color: inherit;
  opacity: 0.88;
}
.myt-contact-desc p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .myt-slide-title { font-size: 1.6rem; }
  .myt-banner-title { font-size: 1.5rem; }
  /* Mobilde okları gizle: yalnızca tam genişlik hero/banner (ürün carousel hariç) */
  .myt-swiper-slideshow .swiper-button-next,
  .myt-swiper-slideshow .swiper-button-prev,
  .myt-banner-swiper .swiper-button-next,
  .myt-banner-swiper .swiper-button-prev {
    display: none;
  }
}
