/* TrailerSP Stage düzenlemeleri (C1–C8) */
:root {
  --tsp-petrol: #0B4556;
  --tsp-orange: #EF7D00;
  --tsp-gap: 96px;
  --tsp-title: 28px;
}

/* C1 — Banner: kesik slayt gizle, başlık/CTA düzeni */
@media (min-width: 992px) {
  section.mainSlider2 .swiper-slide-prev,
  section.mainSlider2 .swiper-slide-duplicate-prev {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* .slideSearch buraya eklenmemeli — 375px sabit genişliği bozup banner üstüne biner */
  section.mainSlider2 .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }
  section.mainSlider2 .mainTitleArea {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  section.mainSlider2 .mainTitleArea .title {
    order: 1;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    color: var(--tsp-petrol);
    text-transform: none;
  }
  section.mainSlider2 .slideTitle,
  section.mainSlider2 h1.slideTitle {
    order: 2;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    margin: 0 0 8px;
  }
  /* Mevcut çerçeveli .seeAll stilini koru; zeminsiz/override yok */
  section.mainSlider2 .mainTitleArea .seeAll {
    order: 3;
    margin-top: 4px;
  }
}

/* C2 — Tekrarlayan alanlar */
body.mainpage footer.footerNoHero .footerPart {
  display: none;
}
body.mainpage .workingBrands .titleArea > span,
body.mainpage .workingBrandsHome .titleArea > span {
  display: none;
}
section.campaignProductsHome .seeAll + .seeAll,
section.campaign_products .hepsini-gor-duplicate {
  display: none !important;
}

/* C3 — Tek tip bölüm başlıkları */
section.mainNewProducts .newProductsTitle,
section.campaignProducts .sectionTitle,
section.campaign_products .title,
section.partSteps .titleArea .title,
section.mainDiffrence > .title,
section.testimonial .sectionTitle,
section.workingBrands .titleArea .title,
section.footerTop .titleArea .title {
  text-align: left !important;
  font-size: var(--tsp-title) !important;
  font-weight: 500 !important;
  color: var(--tsp-petrol) !important;
  opacity: 1 !important;
  line-height: 1.25;
}
@media (max-width: 767px) {
  section.mainNewProducts .newProductsTitle,
  section.campaignProducts .sectionTitle,
  section.partSteps .titleArea .title,
  section.mainDiffrence > .title,
  section.testimonial .sectionTitle,
  section.workingBrands .titleArea .title {
    font-size: 22px !important;
  }
}

/* C4 — Eşit bölüm araları + soft fade */
body.mainpage section.mainNewProducts,
body.mainpage section.campaignProducts,
body.mainpage section.partSteps,
body.mainpage section.mainDiffrence,
body.mainpage .commentsGrayWrap,
body.mainpage section.workingBrands {
  margin-top: var(--tsp-gap);
  margin-bottom: var(--tsp-gap);
  padding-top: 0;
  padding-bottom: 0;
}
body.mainpage section.partSteps.findPartSteps {
  background: transparent;
}
body.mainpage section.partSteps .container {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
}
.owl-carousel .owl-stage-outer::before,
.owl-carousel .owl-stage-outer::after,
.swiper-container::before,
.swiper-container::after {
  background: linear-gradient(90deg, #EEF3F5, transparent) !important;
}

/* C5 kaldırıldı — sitedeki mevcut yol şeridi ile çakışıyordu */

/* C6 — Set kartları eşit boy + 3’lü kolaj */
.campaignCard.cpHomeCard,
.campaignCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.campaignCard .collage {
  height: 220px;
  overflow: hidden;
}
.campaignCard .collage.n3 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.campaignCard .collage.n3 > div:first-child {
  grid-row: 1 / span 2;
}
.campaignCard .body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* C7 — Liste / fiyat hizası */
.campaignCard .items.cpVisibleItems {
  max-height: 7.2em;
  overflow: hidden;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.campaignCard .items.cpVisibleItems li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
}
.campaignCard .items .itemTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  font-size: 13px;
}
.campaignCard .items .lineOld,
.campaignCard .foot .old,
.campaignCard .campaignOld {
  color: #9AAEB4 !important;
  text-decoration: line-through;
}
.campaignCard .foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.campaignCard.isHero,
.campaignCard[data-hero="1"],
.campaignHero {
  outline: 2px solid var(--tsp-orange);
  outline-offset: 0;
  border-radius: 14px;
}

/* C8 — Telefon düzeltmeleri */
@media (max-width: 767px) {
  :root { --tsp-gap: 56px; }
  .campaignCard .items.cpVisibleItems li {
    grid-template-columns: 28px 1fr auto;
  }
  .campaignCard .items .qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }
  section.partSteps .titleArea .title {
    text-align: left !important;
  }
}

/* Marka logo tıklanabilir */
.workingBrands .logo-pill,
.workingBrandsPage .logo-pill {
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
}
.workingBrands .marqueeLink {
  display: block;
  text-decoration: none;
}

/* Kategori sayfası başlık alanı */
.categoryPageHead h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  color: var(--tsp-petrol);
}
.categoryPageDesc {
  margin: 0 0 12px;
  color: #5D7A84;
  max-width: 640px;
  line-height: 1.5;
}
.categoryPagePills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.categoryPagePills .pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #F3F7F8;
  color: var(--tsp-petrol);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.categoryPageCount {
  color: #5D7A84;
  font-size: 14px;
}

/* Kampanya set açıklaması */
.campaignCard .why {
  margin: 4px 0 10px;
  color: #5D7A84;
  font-size: 13px;
  line-height: 1.45;
}

/* Teslimat: mağazadan teslim bilgisi — seçeneğin hemen altında */
.cargoSelect .pickupUnderStore {
  margin: 4px 0 8px 42px;
}
.cargoSelect .pickupStoreCard {
  background: #F1F6F8;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.cargoSelect .pickupStoreTitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--tsp-petrol);
  margin: 0 0 6px;
}
.cargoSelect .pickupStoreAddress {
  font-size: 14px;
  color: var(--tsp-petrol);
  line-height: 1.45;
  margin: 0 0 6px;
}
.cargoSelect .pickupStorePhone {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tsp-petrol);
  text-decoration: none;
  margin: 0 0 12px;
}
.cargoSelect .pickupDirections {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--tsp-petrol);
  color: var(--tsp-petrol);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  margin: 0 0 10px;
}
.cargoSelect .pickupDirections:hover {
  background: var(--tsp-petrol);
  color: #fff;
}
.cargoSelect .pickupStoreNote {
  margin: 0;
  font-size: 13px;
  color: #5D7A84;
  line-height: 1.45;
}
@media (max-width: 767px) {
  .cargoSelect .pickupUnderStore {
    margin-left: 0;
  }
}
