/* =========================================================
   v2 – Koyu tipografi, ürün sayfaları, breadcrumb, modern footer
   ========================================================= */
:root { --text: #2f343b; --dark: #0f1217; --muted: #5b616a; }
body { color: var(--text); }
h1, h2, h3, h4, h5, h6 { color: var(--dark); }
.elementor-widget-text-editor, .elementor-widget-text-editor p, .sg-classic { color: var(--text); }
.elementor-heading-title { color: var(--dark); }
strong, b { color: var(--dark); }

/* Sayfa başlığı + breadcrumb */
.sg-page-head { background: linear-gradient(180deg, #fff 0%, #f3f5f7 100%); border-bottom: 1px solid #e8eaed; padding: 34px 0 40px; margin-bottom: 50px; }
.sg-page-head .sg-page-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.sg-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.sg-crumbs a { color: var(--muted); }
.sg-crumbs a:hover { color: var(--link); }
.sg-crumbs .sep { opacity: .5; }
.sg-crumbs [aria-current] { color: var(--dark); font-weight: 500; }

/* ---------- Ürün detay sayfaları ---------- */
.sg-product { padding-bottom: 40px; }
.sg-product > .elementor > .elementor-section { margin-bottom: 40px !important; }
.sg-product > .elementor > .elementor-section:first-child .elementor-widget-image {
  background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(15, 18, 23, .07); padding: 30px; max-width: 980px; margin: 0 auto;
}
.sg-product > .elementor > .elementor-section:first-child .elementor-widget-image img { max-height: 520px; width: auto; object-fit: contain; }
.sg-product .elementor-widget-text-editor { font-size: 16.5px; line-height: 1.75; }
.sg-product .elementor-widget-text-editor h1, .sg-product .elementor-widget-text-editor h2,
.sg-product .elementor-widget-text-editor h3, .sg-product .elementor-widget-text-editor h4 {
  font-size: 22px; line-height: 1.25; letter-spacing: -.3px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--link); display: inline-block;
}
/* teknik özellik listeleri -> tablo görünümü */
.sg-product .elementor-widget-text-editor ul { list-style: none; padding: 0; margin: 0 0 1.2em; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(15, 18, 23, .05); overflow: hidden; }
.sg-product .elementor-widget-text-editor ul li { margin: 0; padding: 11px 18px 11px 40px; border-bottom: 1px solid #eef0f2; position: relative; color: var(--dark); }
.sg-product .elementor-widget-text-editor ul li:last-child { border-bottom: 0; }
.sg-product .elementor-widget-text-editor ul li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 8px; height: 8px; border-radius: 2px; background: var(--link); }
.sg-product .elementor-widget-text-editor ul li:nth-child(even) { background: #fafbfc; }
/* karusel kartı */
.sg-product .sg-carousel { border-radius: 14px; box-shadow: 0 10px 40px rgba(15, 18, 23, .08); }
.sg-product .sg-carousel-slide { aspect-ratio: 4 / 3; background: #fff; }
.sg-product .sg-carousel-slide a { display: block; width: 100%; height: 100%; }
.sg-product .sg-carousel-slide img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.sg-product .sg-carousel-dots { background: #fff; }
/* teklif formu kartı */
.sg-product .elementor-section:has(.elementor-widget-trx_sc_contact_form_7) .elementor-container { justify-content: center; }
.sg-product .elementor-section:has(.elementor-widget-trx_sc_contact_form_7) .elementor-column:not(:has(.elementor-widget)) { display: none; }
.sg-product .elementor-column:has(.elementor-widget-trx_sc_contact_form_7) { width: 100% !important; max-width: 780px; }
.sg-product .elementor-column:has(.elementor-widget-trx_sc_contact_form_7) > .elementor-widget-wrap {
  background: #fff; border-radius: 16px; box-shadow: 0 12px 44px rgba(15, 18, 23, .08); padding: 36px 40px 30px !important;
}
.sg-product .form-style-8 input, .sg-product .form-style-8 textarea { font-size: 16px; color: var(--dark); }
.sg-product .form-style-8 ::placeholder { color: #8a9099; }
@media (max-width: 767px) {
  .sg-product > .elementor > .elementor-section:first-child .elementor-widget-image { padding: 14px; }
  .sg-product .elementor-column:has(.elementor-widget-trx_sc_contact_form_7) > .elementor-widget-wrap { padding: 24px 20px !important; }
}

/* Kategori sayfalarındaki ürün kartları */
.elementor-widget-image a img { transition: transform .35s ease; }
.elementor-widget-image a:hover img { transform: translateY(-4px); }

/* ---------- Modern footer ---------- */
.sg-footer { background: #0f1217; color: #b9bec6; margin-top: 60px; font-size: 15.5px; }
.sg-f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 70px; padding-bottom: 56px; }
.sg-f-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.sg-f-logo img { display: block; height: 40px; width: auto; }
.sg-f-brand p { color: #b9bec6; line-height: 1.7; margin-bottom: 22px; }
.sg-footer .sg-socials { display: flex; gap: 10px; }
.sg-footer .sg-socials a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; font-size: 14px; transition: background .25s;
}
.sg-footer .sg-socials a:hover { background: var(--link); color: #fff; }
.sg-f-title { color: #fff; font-size: 17px; letter-spacing: 0; margin: 6px 0 22px; position: relative; padding-bottom: 14px; }
.sg-f-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--link); border-radius: 2px; }
.sg-f-links { list-style: none; padding: 0; margin: 0; }
.sg-f-links li { margin: 0 0 10px; }
.sg-f-links a { color: #b9bec6; transition: color .2s, padding .2s; }
.sg-f-links a:hover { color: #fff; padding-left: 4px; }
.sg-f-contact { list-style: none; padding: 0; margin: 0 0 22px; }
.sg-f-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.55; }
.sg-f-contact i { color: var(--link); width: 16px; margin-top: 5px; flex: none; text-align: center; }
.sg-f-contact a { color: #e6e9ed; }
.sg-f-contact a:hover { color: #fff; }
.sg-f-cta { padding: .85em 1.6em; font-size: 15px; border-radius: 6px; }
.sg-f-cta:hover { background: #fff; color: var(--dark); }
.sg-f-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #8d939c; }
.sg-f-bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 22px; }
.sg-f-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sg-f-legal a { color: #8d939c; }
.sg-f-legal a:hover { color: #fff; }
.sg-credit a { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; color: #e6e9ed; font-weight: 700; }
.sg-credit a:hover { color: #fff; }
.sg-credit-mark { width: 10px; height: 10px; background: #ffe600; flex: none; }
@media (max-width: 1023px) { .sg-f-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) {
  .sg-f-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .sg-f-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* Anasayfa "Haberler" bölümü: gereksiz boşluklar */
.elementor-element-fa74633 .elementor-spacer-inner, .elementor-element-a667eaa .elementor-spacer-inner { height: 80px !important; }
.elementor-element-d402949, .elementor-element-18c5621 { display: none !important; }
.elementor-element-6764417 { margin-bottom: 24px !important; }
@media (max-width: 767px) {
  .elementor-element-fa74633 .elementor-spacer-inner, .elementor-element-a667eaa .elementor-spacer-inner { height: 50px !important; }
}

/* ---------- İletişim sayfaları (form-style-3) ---------- */
.elementor-section:has(.form-style-3) > .elementor-container,
.elementor-section:has(+ .elementor-section .form-style-3) > .elementor-container { max-width: 900px; }
.elementor-section:has(+ .elementor-section .form-style-3) .elementor-heading-title { text-align: center; }
.elementor-column:has(.form-style-3) > .elementor-widget-wrap {
  background: #fff; border-radius: 16px; box-shadow: 0 12px 44px rgba(15, 18, 23, .08); padding: 40px 44px 34px !important;
}
.form-style-3 .wpcf7-form p, .form-style-3 p { margin: 0 0 18px; }
.form-style-3 .columns_wrap { margin: 0 -9px; }
.form-style-3 .columns_wrap > [class*="column-"] { padding: 0 9px; }
.form-style-3 .style-line { display: block; position: relative; }
.form-style-3 .style-line::before {
  position: absolute; left: 16px; top: 15px; z-index: 1; margin: 0; width: 18px; text-align: center;
  font-size: 15px; line-height: 1; color: var(--link); pointer-events: none;
}
.form-style-3 .icon-textarea::before { top: 17px; }
.form-style-3 input[type=text], .form-style-3 input[type=email], .form-style-3 input[type=tel], .form-style-3 textarea {
  width: 100%; border: 1px solid #e1e4e8; background: #f7f8fa; border-radius: 10px; padding: 13px 16px 13px 44px;
  font-size: 16px; color: var(--dark); transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-style-3 textarea { min-height: 170px; resize: vertical; }
.form-style-3 input:focus, .form-style-3 textarea:focus { outline: 0; border-color: var(--link); background: #fff; box-shadow: 0 0 0 3px rgba(17, 152, 222, .12); }
.form-style-3 ::placeholder { color: #8a9099; }
.form-style-3 .wpcf7-list-item { margin: 0; }
.form-style-3 .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.form-style-3 .wpcf7-list-item input { margin-top: 4px; }
.form-style-3 .wpcf7-submit { padding: 14px 40px; border-radius: 8px; font-size: 16px; }
.elementor-column:has(.form-style-3) .elementor-widget-trx_sc_socials { margin-top: 10px; padding-top: 22px; border-top: 1px solid #eef0f2; }
.elementor-column:has(.form-style-3) .sc_socials .socials_wrap { display: flex; gap: 10px; justify-content: center; }
.elementor-column:has(.form-style-3) .sc_socials .social_item .social_icon {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: #f1f3f5; color: var(--dark); transition: background .2s, color .2s;
}
.elementor-column:has(.form-style-3) .sc_socials .social_item:hover .social_icon { background: var(--link); color: #fff; }
@media (max-width: 767px) {
  .form-style-3 .columns_wrap > .column-1_2 { width: 100%; }
  .elementor-column:has(.form-style-3) > .elementor-widget-wrap { padding: 26px 20px !important; }
}
.form-style-3 .style-line::before { font-family: "Font Awesome 5 Free"; font-weight: 900; }
.form-style-3 .icon-name::before { content: "\f007"; }
.form-style-3 .icon-email::before { content: "\f0e0"; }
.form-style-3 .icon-phone::before { content: "\f095"; }
.form-style-3 .icon-subject::before { content: "\f05a"; }
.form-style-3 .icon-textarea::before { content: "\f303"; }

/* ---------- Teklif Al sayfaları (form-style-8, ürün sayfaları hariç) ---------- */
.sg-main > .elementor .elementor-section:has(.form-style-8) .elementor-container { justify-content: center; max-width: 900px; }
.sg-main > .elementor .elementor-section:has(.form-style-8) .elementor-column:not(:has(.elementor-widget)) { display: none; }
.sg-main > .elementor .elementor-column:has(.form-style-8) { width: 100% !important; }
.sg-main > .elementor .elementor-column:has(.form-style-8) > .elementor-widget-wrap {
  background: #fff; border-radius: 16px; box-shadow: 0 12px 44px rgba(15, 18, 23, .08); padding: 40px 44px 34px !important;
}
.sg-main > .elementor .elementor-column:has(.form-style-8) .elementor-heading-title { text-align: center; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 .columns_wrap { margin: 0; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 p { margin: 0 0 16px; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 .wpcf7-form-control-wrap { display: block; position: relative; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 input[type=text], :is(.sg-main, .sg-product) > .elementor .form-style-8 input[type=email],
:is(.sg-main, .sg-product) > .elementor .form-style-8 input[type=tel], :is(.sg-main, .sg-product) > .elementor .form-style-8 textarea {
  width: 100%; height: auto; border: 1px solid #e1e4e8; background: #f7f8fa; border-radius: 10px; padding: 13px 16px 13px 44px;
  font-size: 16px; color: var(--dark); transition: border-color .2s, background .2s, box-shadow .2s;
}
:is(.sg-main, .sg-product) > .elementor .form-style-8 textarea { min-height: 170px; resize: vertical; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 input:focus, :is(.sg-main, .sg-product) > .elementor .form-style-8 textarea:focus {
  outline: 0; border-color: var(--link); background: #fff; box-shadow: 0 0 0 3px rgba(17, 152, 222, .12);
}
:is(.sg-main, .sg-product) > .elementor .form-style-8 .wpcf7-form-control-wrap::before {
  position: absolute; left: 16px; top: 16px; z-index: 1; width: 18px; text-align: center; font-size: 15px; line-height: 1;
  font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--link); pointer-events: none; content: "\f303";
}
:is(.sg-main, .sg-product) > .elementor .form-style-8 [data-name=your-name]::before { content: "\f007"; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 [data-name=your-email]::before { content: "\f0e0"; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 [data-name=phone]::before { content: "\f095"; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 [data-name=sirket]::before { content: "\f1ad"; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 .wpcf7-submit { padding: 14px 40px; border-radius: 8px; font-size: 16px; }
@media (max-width: 767px) {
  .sg-main > .elementor .elementor-column:has(.form-style-8) > .elementor-widget-wrap { padding: 26px 20px !important; }
}
:is(.sg-main, .sg-product) > .elementor .form-style-8 [data-name=company]::before { content: "\f1ad"; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 [data-name=acceptance]::before { content: none; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 .wpcf7-list-item { margin: 0; }
:is(.sg-main, .sg-product) > .elementor .form-style-8 .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
:is(.sg-main, .sg-product) > .elementor .form-style-8 .wpcf7-list-item input { margin-top: 4px; }
.sg-product .elementor-column:has(.form-style-8) .elementor-heading-title { text-align: center; }
