/* ============================================================
   MÖSYÖ GÖMLEK — İç sayfalar (ürünler, ürün detay, kurumsal,
   SSS, iletişim, arama, 404)
   ============================================================ */

/* ---------- Sayfa başlığı + breadcrumb ---------- */
.page-header {
  padding: 55px 0 45px;
}

.page-header .page-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 6px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--color-gray);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a { color: var(--color-gray); }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb .sep { color: #b5b5b5; font-size: 12px; }
.breadcrumb .current { color: var(--color-gray); }

/* ---------- Ürün listeleme düzeni ---------- */
.shop-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 60px;
}

.shop-sidebar {
  flex: 0 0 250px;
  max-width: 250px;
}

.shop-content { flex: 1; min-width: 0; }

/* Sidebar filtre grupları */
.filter-widget { border-top: 1px solid var(--color-border); padding: 18px 0; }
.filter-widget:first-child { border-top: 0; padding-top: 0; }

.filter-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 6px 0 14px;
  cursor: pointer;
}

.filter-title .chevron {
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--color-gray);
  border-bottom: 1.5px solid var(--color-gray);
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.filter-widget.collapsed .filter-title .chevron { transform: rotate(-135deg); }
.filter-widget.collapsed .filter-body { display: none; }

.filter-list li { margin-bottom: 4px; }

.filter-list a {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.filter-list a:hover { color: var(--color-gray); }
.filter-list a .count { color: var(--color-gray); }
.filter-list li.active > a { font-weight: 600; }

/* Checkbox filtreleri */
.filter-check label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
  color: var(--color-text);
}

.filter-check input[type="checkbox"] {
  appearance: none;
  width: 15px; height: 15px;
  border: 1px solid #c9c9c9;
  background: #f5f5f5;
  cursor: pointer;
  flex: 0 0 15px;
  position: relative;
}

.filter-check input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

/* Renk filtresi */
.filter-colors a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 4px 0;
}

.filter-colors .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  flex: 0 0 16px;
}

.filter-colors li.active > a { font-weight: 600; }

/* Üst araç çubuğu */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.shop-toolbar .result-count { font-size: 14px; color: var(--color-gray); }

.orderby {
  font-family: var(--font);
  font-size: 14px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 10px 40px 10px 15px;
  appearance: none;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23767676' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer;
  min-width: 220px;
}

/* Liste grid'i: 4 sütun */
.products.columns-4 .product {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 10px;
  margin-bottom: 30px;
}

/* Sayfalama */
.pagination {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 25px 0 10px;
  font-size: 15px;
}

.pagination a, .pagination span.current {
  color: var(--color-text);
  min-width: 18px;
  text-align: center;
}

.pagination span.current { border-bottom: 1px solid var(--color-text); font-weight: 600; }
.pagination a:hover { color: var(--color-gray); }

/* Mobil filtre butonu */
.filter-toggle-btn {
  display: none;
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
}

/* ---------- Ürün detay ---------- */
.product-detail {
  display: flex;
  gap: 60px;
  padding: 20px 0 80px;
}

.detail-gallery { flex: 0 0 48%; max-width: 48%; }

.detail-gallery .main-image {
  border: 1px solid #efefef;
  overflow: hidden;
}

.detail-gallery .main-image img { width: 100%; }

.detail-gallery .thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.detail-gallery .thumbs .thumb {
  width: 80px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  opacity: .6;
  transition: opacity .25s ease;
  padding: 0;
}

.detail-gallery .thumbs .thumb.active,
.detail-gallery .thumbs .thumb:hover { opacity: 1; border-color: var(--color-primary); }

.detail-summary { flex: 1; min-width: 0; }

.detail-summary .meta-cat {
  font-size: 14px;
  margin: 0 0 4px;
}

.detail-summary .detail-title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 18px;
}

.detail-summary .detail-desc {
  color: var(--color-text);
  margin-bottom: 25px;
  font-size: 15px;
}

/* Özellik tablosu */
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }

.spec-table th, .spec-table td {
  text-align: left;
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--color-border); }
.spec-table th { font-weight: 600; width: 130px; }
.spec-table td { color: var(--color-text); }

.detail-meta { font-size: 14px; }
.detail-meta .meta-row { padding: 3px 0; }
.detail-meta .meta-row strong { font-weight: 600; margin-right: 8px; }
.detail-meta .meta-row a { color: var(--color-text); }
.detail-meta .meta-row a:hover { color: var(--color-gray); }

/* Benzer ürünler / son görüntülenenler */
.related-section { padding: 60px 0; border-top: 1px solid var(--color-border); }

/* ---------- İçerik sayfaları ---------- */
.page-content { padding: 0 0 70px; font-size: 16px; color: var(--color-text); }
.page-content p { margin-bottom: 18px; }
.page-content h2 { font-size: 26px; font-weight: 500; margin: 35px 0 15px; }
.page-content h3 { font-size: 20px; font-weight: 600; margin: 28px 0 12px; }
.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.page-content ul li { margin-bottom: 6px; }

/* Hakkımızda blokları */
.about-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.about-hero .about-tag {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 14px;
}

.about-hero h2 { font-size: 38px; font-weight: 500; margin-bottom: 20px; }

.about-features {
  display: flex;
  gap: 40px;
  margin: 50px 0 60px;
}

.about-feature { flex: 1; text-align: center; padding: 0 15px; }
.about-feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.about-feature p { font-size: 15px; color: var(--color-gray-2); }

.about-quote {
  background: #f7f7f7;
  padding: 55px 30px;
  text-align: center;
  margin: 50px 0;
}

.about-quote blockquote {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.about-quote cite {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* ---------- SSS akordiyon ---------- */
.faq-list { max-width: 850px; margin: 0 auto; padding-bottom: 70px; }

.faq-item { border-bottom: 1px solid var(--color-border); }

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  flex: 0 0 14px;
  width: 14px; height: 14px;
  position: relative;
}

.faq-item summary .faq-icon::before,
.faq-item summary .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-text);
  left: 0; top: 6px;
  width: 14px; height: 2px;
  transition: transform .25s ease;
}

.faq-item summary .faq-icon::after { transform: rotate(90deg); }
.faq-item[open] summary .faq-icon::after { transform: rotate(0); }

.faq-item .faq-answer { padding: 0 30px 25px 0; color: var(--color-gray-2); font-size: 15px; }

/* ---------- İletişim ---------- */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 55px;
}

.contact-card {
  flex: 1 1 220px;
  border: 1px solid var(--color-border);
  padding: 30px 25px;
  text-align: center;
}

.contact-card .cc-icon { margin-bottom: 14px; color: var(--color-primary); }
.contact-card h3 { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--color-gray-2); display: block; margin-bottom: 3px; }
.contact-card a:hover { color: var(--color-text); }

.contact-grid {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  padding-bottom: 70px;
}

.contact-form-col { flex: 1; min-width: 0; }
.contact-map-col { flex: 1; min-width: 0; }
.contact-map-col iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Formlar */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }

.form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
}

.form-control:focus { outline: none; border-color: var(--color-primary); }
textarea.form-control { min-height: 140px; resize: vertical; }

.btn-dark {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 42px;
  border: 0;
  cursor: pointer;
  transition: opacity .25s ease;
}

.btn-dark:hover { opacity: .85; }

.form-note { font-size: 14px; margin-top: 14px; }
.form-note.success { color: #1e7d32; }
.form-note.error { color: #c0392b; }

/* ---------- Arama sonuçları ---------- */
.search-info { color: var(--color-gray); margin-bottom: 30px; font-size: 15px; }
.no-results { padding: 40px 0 80px; text-align: center; color: var(--color-gray); }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 90px 0 110px; }
.error-404 .code { font-size: 120px; font-weight: 700; line-height: 1; color: var(--color-primary); }
.error-404 h1 { font-size: 26px; font-weight: 500; margin: 15px 0 12px; }
.error-404 p { color: var(--color-gray); margin-bottom: 30px; }

/* ---------- Duyarlılık ---------- */
@media (max-width: 991px) {
  .page-header { padding: 40px 0 32px; }
  .page-header .page-title { font-size: 28px; }

  .shop-layout { flex-direction: column; gap: 0; }
  .shop-sidebar {
    flex: none; max-width: none; width: 100%;
    display: none;
    border: 1px solid var(--color-border);
    padding: 20px;
    margin-bottom: 25px;
  }
  .shop-sidebar.open { display: block; }
  .filter-toggle-btn { display: block; }

  .products.columns-4 .product { flex: 0 0 33.333%; max-width: 33.333%; }

  .product-detail { flex-direction: column; gap: 35px; }
  .detail-gallery { flex: none; max-width: none; }

  .about-features { flex-direction: column; gap: 30px; }
  .contact-grid { flex-direction: column; }
  .contact-map-col { width: 100%; }
}

@media (max-width: 767px) {
  .products.columns-4 .product { flex: 0 0 50%; max-width: 50%; }
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .orderby { min-width: 0; width: 100%; }
  .contact-cards { flex-direction: column; }
  .error-404 .code { font-size: 80px; }
}

/* ---------- Renk varyantı seçici (ürün detay) ---------- */
.variant-picker { margin-bottom: 25px; }
.variant-picker .variant-label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 10px; }

.variant-swatches { display: flex; flex-wrap: wrap; gap: 10px; }

.variant-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  padding: 7px 14px;
  font-size: 13px;
  transition: border-color .25s ease;
}

.variant-swatch .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
}

.variant-swatch:hover { border-color: var(--color-primary); }
.variant-swatch.active { border-color: var(--color-primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--color-primary); }

/* ---------- Seçili filtre etiketleri ---------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  border: 1px solid var(--color-border);
  font-size: 13px;
  padding: 6px 8px 6px 12px;
}

.filter-chip .x {
  font-size: 15px;
  line-height: 1;
  color: var(--color-gray);
  padding: 0 2px;
}

.filter-chip:hover .x { color: var(--color-text); }
.filter-chip-clear { font-size: 13px; text-decoration: underline; color: var(--color-gray); margin-left: 4px; }
.filter-chip-clear:hover { color: var(--color-text); }

/* ---------- Sayfa editörü blok şablonları ---------- */
.pc-media {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}
.pc-media .pc-media-img { flex: 0 0 46%; }
.pc-media .pc-media-img img { width: 100%; display: block; }
.pc-media .pc-media-text { flex: 1; min-width: 0; }
.pc-media .pc-media-text h2 { margin-top: 0; }

@media (max-width: 767px) {
  .pc-media { flex-direction: column; gap: 24px; }
  .pc-media .pc-media-img { flex: none; width: 100%; }
}

/* Ürün detayı toptan teklif butonu */
.detail-quote-btn { display: inline-block; margin-top: 8px; text-decoration: none; }
