/*
Theme Name: Yemek Tarifleri
Theme URI: https://example.com
Author: Yemek Tarifleri
Author URI: https://example.com
Description: Yemek tarifleri için özel WordPress teması. Slider, kategoriler ve tarif listesi ile modern arayüz.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yemek-tarifleri
*/

/* ===== CSS Değişkenleri (Customizer'dan gelir) ===== */
:root {
  --yt-primary-color: #e74c3c;
  --yt-secondary-color: #2c3e50;
  --yt-accent-color: #f39c12;
  --yt-heading-font: 'Playfair Display', serif;
  --yt-body-font: 'Source Sans 3', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--yt-body-font);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yt-primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--yt-heading-font); margin-top: 0; }

/* ===== Container ===== */
.yt-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header – İki katmanlı ===== */
.yt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
/* Üst bar – beyaz */
.yt-header-top {
  background: #fff;
  padding: 14px 0;
}
.yt-header-top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.yt-logo-wrap { flex-shrink: 0; }
.yt-logo-link {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.yt-logo-link:hover { text-decoration: none; }
.yt-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.yt-logo-main {
  font-family: var(--yt-heading-font);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--yt-primary-color);
  line-height: 1.2;
  display: block;
}
.yt-logo-tagline {
  font-size: .8rem;
  color: #888;
  margin-top: 2px;
  display: block;
}
/* Arama – tek birim (input + buton bitişik) */
.yt-header-search-wrap { flex: 1; min-width: 200px; max-width: 420px; margin: 0 auto; }
.yt-search-inline {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.yt-search-inline .yt-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-size: .95rem;
}
.yt-search-inline .yt-search-input::placeholder { color: #999; }
.yt-search-inline .yt-search-submit {
  width: 48px;
  padding: 0;
  border: none;
  background: var(--yt-primary-color);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yt-search-inline .yt-search-submit:hover { background: #c0392b; }
/* Üst bar butonları */
.yt-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.yt-btn-tarif-gonder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--yt-accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.yt-btn-tarif-gonder:hover { background: #d68910; color: #fff; text-decoration: none; }
.yt-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  color: var(--yt-secondary-color);
  border: 1px solid #333;
  border-radius: 8px;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.yt-btn-login:hover { background: #f5f5f5; color: var(--yt-secondary-color); text-decoration: none; }
.yt-btn-login-text { font-weight: 600; }
.yt-btn-register {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--yt-primary-color); color: #fff;
  border: none; border-radius: 8px; font-size: .9rem; font-weight: 600;
  text-decoration: none;
}
.yt-btn-register:hover { background: #c0392b; color: #fff; text-decoration: none; }
/* Alt bar – navigasyon (tema ana rengi) */
.yt-header-nav-wrap {
  background: var(--yt-primary-color);
  position: relative;
}
.yt-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.yt-nav-list li { margin: 0; }
.yt-nav-list a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
  text-decoration: none;
}
.yt-nav-list a:hover { background: rgba(0,0,0,.15); color: #fff; text-decoration: none; }
.yt-nav-list .current-menu-item a {
  background: rgba(0,0,0,.2);
}
.yt-nav-list .current-menu-item {
  position: relative;
}
.yt-nav-list .current-menu-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--yt-accent-color);
}
.yt-nav-bottom-line {
  display: block;
  height: 4px;
  background: var(--yt-accent-color);
  width: 100%;
}
.yt-button { display: inline-block; padding: 10px 20px; background: var(--yt-primary-color); color: #fff; border-radius: 8px; font-weight: 500; }
.yt-button:hover { opacity: .9; color: #fff; text-decoration: none; }

/* ===== Slider ===== */
.yt-slider-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}
.yt-slider {
  display: flex;
  transition: transform 0.5s ease;
}
.yt-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}
.yt-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 40px 20px 30px;
}
.yt-slide-content .yt-container { padding: 0 20px; }
.yt-slide-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
.yt-slide-title a { color: #fff; text-decoration: none; }
.yt-slide-title a:hover { text-decoration: underline; }
.yt-slide-meta { color: rgba(255,255,255,.85); font-size: .9rem; }
.yt-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.yt-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  padding: 0;
}
.yt-slider-dot.active { background: #fff; }
.yt-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yt-secondary-color);
}
.yt-slider-arrow:hover { background: #fff; }
.yt-slider-arrow.prev { left: 15px; }
.yt-slider-arrow.next { right: 15px; }

/* ===== Kategoriler (Yuvarlak - Hikaye tarzı) ===== */
.yt-categories-section { padding: 40px 0; background: #fff; }
.yt-section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: center;
  color: var(--yt-secondary-color);
}
.yt-categories-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.yt-categories-scroll::-webkit-scrollbar { height: 6px; }
.yt-categories-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.yt-categories-list {
  display: flex;
  gap: 24px;
  padding: 0 10px;
  min-width: min-content;
  justify-content: center;
  flex-wrap: nowrap;
}
.yt-cat-circle {
  flex-shrink: 0;
  width: 90px;
  text-align: center;
}
.yt-cat-circle a { text-decoration: none; color: inherit; display: block; }
.yt-cat-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 8px;
  border: 3px solid var(--yt-primary-color);
  transition: transform .2s;
}
.yt-cat-circle:hover .yt-cat-avatar { transform: scale(1.05); }
.yt-cat-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--yt-secondary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Dikey Tarif Listesi (Anasayfa) ===== */
.yt-recipes-vertical { padding: 40px 0 60px; background: #fafafa; }
.yt-recipe-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.yt-recipe-row:last-child { border-bottom: none; }
.yt-recipe-thumb {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #e0e0e0;
}
.yt-recipe-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-recipe-thumb .yt-no-thumb,
.yt-recipe-card .yt-recipe-thumb .yt-no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e8e8e8;
  color: #888;
  font-size: .9rem;
}
.yt-recipe-info h3 { margin: 0 0 10px; font-size: 1.25rem; }
.yt-recipe-info h3 a { color: var(--yt-secondary-color); }
.yt-recipe-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .9rem;
  color: #666;
}
.yt-recipe-meta-list span { display: inline-flex; align-items: center; gap: 4px; }

/* ===== Tüm Tarifler - 3'lü Grid ===== */
.yt-archive-header { padding: 30px 0 20px; text-align: center; }
.yt-archive-title { margin: 0; font-size: 2rem; color: var(--yt-secondary-color); }
.yt-recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 30px 0 50px;
}
.yt-recipe-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
  transition: box-shadow .3s, transform .3s;
}
.yt-recipe-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.yt-recipe-card-thumb-wrap { position: relative; }
.yt-recipe-card .yt-recipe-thumb { aspect-ratio: 16/10; }
.yt-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.yt-fav-btn:hover { background: #fff; transform: scale(1.1); }
.yt-fav-btn.is-fav { color: var(--yt-primary-color); }
.yt-recipe-card .yt-recipe-info { padding: 16px; }
.yt-recipe-card .yt-recipe-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.yt-recipe-card .yt-recipe-meta-list { gap: 12px; font-size: .85rem; }

/* ===== Sayfalama ===== */
.yt-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 30px 0 50px;
  flex-wrap: wrap;
}
.yt-pagination a,
.yt-pagination span,
.yt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--yt-secondary-color);
  font-weight: 500;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  margin: 0 2px;
}
.yt-pagination a:hover,
.yt-pagination a.page-numbers:hover {
  background: var(--yt-primary-color);
  color: #fff;
  border-color: var(--yt-primary-color);
}
.yt-pagination .current,
.yt-pagination span.current {
  background: var(--yt-primary-color);
  color: #fff;
  border-color: var(--yt-primary-color);
}

/* ===== Footer ===== */
.yt-footer {
  background: var(--yt-secondary-color);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}
.yt-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.yt-footer p { margin: 0 0 8px; opacity: .9; }
.yt-footer a { color: #fff; opacity: .9; }
.yt-footer a:hover { opacity: 1; }
.yt-footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); text-align: center; font-size: .9rem; opacity: .8; }

/* ===== Single Tarif ===== */
.yt-single-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 10px;
}
.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--yt-secondary-color);
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.yt-btn:hover { background: #f5f5f5; }
.yt-btn-print:hover { border-color: var(--yt-primary-color); color: var(--yt-primary-color); }
.yt-btn-favorite.active,
.yt-btn-favorite.is-fav { border-color: var(--yt-primary-color); color: var(--yt-primary-color); }
.yt-btn-icon { font-size: 1.1em; }
/* Breadcrumb */
.yt-breadcrumb {
  padding: 12px 0 16px;
  font-size: .9rem;
  color: #666;
}
.yt-breadcrumb a { color: #666; text-decoration: none; }
.yt-breadcrumb a:hover { color: var(--yt-primary-color); }
.yt-breadcrumb-sep { margin: 0 8px; color: #999; }
.yt-breadcrumb-current { color: var(--yt-secondary-color); font-weight: 500; }

.yt-single-header { text-align: center; padding: 24px 0 20px; }
.yt-single-title { margin: 0 0 10px; font-size: 2rem; }
.yt-single-meta { margin-top: 8px; }
.yt-single-meta-link { color: #666; font-size: .95rem; text-decoration: none; }
.yt-single-meta-link:hover { color: var(--yt-primary-color); }
.yt-recipe-info-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
.yt-recipe-info-item { display: inline-flex; align-items: center; gap: 6px; color: #555; font-size: .95rem; }
.yt-recipe-info-icon { font-size: 1.1em; }
.yt-recipe-info-block { padding: 16px 0 28px; border-bottom: 1px solid #eee; margin-bottom: 28px; max-width: 720px; margin-left: auto; margin-right: auto; }
.yt-single-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 0 28px;
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}
.yt-single-action-row .yt-btn-comments { text-decoration: none; }
.yt-single-action-row .yt-btn-comments:hover { text-decoration: none; }
.yt-single-featured { max-width: 800px; margin: 0 auto 30px; border-radius: 12px; overflow: hidden; }
.yt-single-content { max-width: 720px; margin: 0 auto 50px; }
.yt-single-content p { margin-bottom: 1.2em; }

/* Besin değerleri bloğu */
.yt-nutrition-block { max-width: 720px; margin: 0 auto 36px; padding: 24px; background: #f8f9fa; border-radius: 12px; }
.yt-nutrition-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.yt-nutrition-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--yt-primary-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; text-align: center; line-height: 1.2;
}
.yt-nutrition-calorie { padding: 8px; }
.yt-nutrition-details { flex: 1; min-width: 180px; }
.yt-nutrition-row { padding: 8px 0; border-bottom: 1px solid #e8e8e8; display: flex; justify-content: space-between; gap: 12px; }
.yt-nutrition-row:last-child { border-bottom: none; }

/* Yazar kutusu */
.yt-author-box { max-width: 720px; margin: 0 auto 36px; }
.yt-author-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px; background: #fff; border: 1px solid #eee; border-radius: 12px;
}
.yt-author-avatar { flex-shrink: 0; }
.yt-author-avatar img { border-radius: 50%; display: block; }
.yt-author-info { flex: 1; min-width: 120px; }
.yt-author-name { font-weight: 600; font-size: 1.1rem; color: var(--yt-secondary-color); display: block; margin-bottom: 2px; }
.yt-author-name:hover { color: var(--yt-primary-color); }
.yt-author-desc { font-size: .9rem; color: #666; }
.yt-btn-follow { background: var(--yt-primary-color); color: #fff; border-color: var(--yt-primary-color); }
.yt-btn-follow:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

/* Ben de Yaptım */
.yt-made-it-wrap { text-align: center; padding: 32px 20px 40px; }
.yt-btn-made-it {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yt-primary-color); color: #fff; border-color: var(--yt-primary-color);
  padding: 14px 24px; font-size: 1rem; font-weight: 600;
}
.yt-btn-made-it:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.yt-made-it-desc { margin: 12px 0 0; font-size: .9rem; color: #666; }
.yt-made-it-desc,
.yt-made-it-desc a { color: #666; background: transparent; }
.yt-made-it-desc a { text-decoration: underline; }
.yt-made-it-desc a:hover { color: var(--yt-primary-color); }

/* ===== Yorumlar bölümü ===== */
.yt-comments {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  border-top: 1px solid #eee;
}
.yt-comments-inner { width: 100%; }
.yt-comments-title {
  font-size: 1.35rem;
  margin: 0 0 20px;
  color: var(--yt-secondary-color);
}
.yt-comment-form-wrap {
  margin-top: 32px;
  padding: 28px 0 0;
  border-top: 1px solid #eee;
}
.yt-comment-form-title {
  font-size: 1.25rem;
  margin: 0 0 16px;
  color: var(--yt-secondary-color);
  font-weight: 600;
}
/* WordPress comment form */
.yt-comment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}
.yt-comment-form .logged-in-as,
.yt-comment-form .comment-notes {
  order: -1;
  margin: 0 0 8px;
  font-size: .9rem;
  color: #666;
  background: transparent !important;
  padding: 0;
}
.yt-comment-form .logged-in-as a,
.yt-comment-form .comment-notes a {
  color: var(--yt-primary-color);
  text-decoration: none;
}
.yt-comment-form .logged-in-as a:hover,
.yt-comment-form .comment-notes a:hover { text-decoration: underline; }
.yt-comment-form p {
  margin: 0;
  max-width: 100%;
}
.yt-comment-form .comment-form-comment {
  width: 100%;
}
.yt-comment-form .comment-form-comment label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--yt-secondary-color);
  font-size: .95rem;
}
.yt-comment-form textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}
.yt-comment-form textarea:focus {
  outline: none;
  border-color: var(--yt-primary-color);
  box-shadow: 0 0 0 2px rgba(231, 76, 60, .15);
}
.yt-comment-form .form-submit {
  margin: 8px 0 0;
}
.yt-comment-form .submit,
.yt-comment-form input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  background: var(--yt-primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.yt-comment-form .submit:hover,
.yt-comment-form input[type="submit"]:hover {
  background: #c0392b;
  color: #fff;
}
/* Yorum listesi */
.yt-comment-list { list-style: none; margin: 0 0 28px; padding: 0; }
.yt-comment-list ol { list-style: none; margin: 12px 0 0 24px; padding: 0; }
.yt-comment-body {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.yt-comment-body:last-of-type { border-bottom: none; }
.yt-comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.yt-comment-meta .avatar { border-radius: 50%; display: block; }
.yt-comment-meta-text { display: flex; flex-direction: column; gap: 2px; }
.yt-comment-author { font-size: 1rem; }
.yt-comment-author a { color: var(--yt-secondary-color); text-decoration: none; }
.yt-comment-author a:hover { color: var(--yt-primary-color); }
.yt-comment-meta time { font-size: .85rem; color: #888; }
.yt-comment-content { margin: 8px 0 12px; line-height: 1.6; }
.yt-comment-content p { margin: 0 0 8px; }
.yt-comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link {
  display: inline-block;
  font-size: .9rem;
  color: var(--yt-primary-color);
  text-decoration: none;
}
.comment-reply-link:hover { text-decoration: underline; }

.yt-recipe-block { margin: 0 auto 40px; max-width: 720px; }
.yt-recipe-block-title { font-size: 1.35rem; margin-bottom: 16px; color: var(--yt-secondary-color); }
.yt-ingredients-list { margin: 0; padding-left: 24px; }
.yt-ingredients-list li { margin-bottom: 8px; }
.yt-steps-list { margin: 0; padding-left: 24px; }
.yt-steps-list li { margin-bottom: 12px; }
/* Yazdırma */
/* Tarif gönder formu */
.yt-submit-tarif-wrap { max-width: 720px; margin: 0 auto; padding: 30px 0 60px; }
.yt-submit-login-required { text-align: center; padding: 40px 20px; background: #f8f9fa; border-radius: 12px; }
.yt-submit-message { margin-bottom: 20px; font-size: 1.1rem; }
.yt-submit-title { margin-bottom: 24px; font-size: 1.75rem; color: var(--yt-secondary-color); }
.yt-submit-success { padding: 20px; margin-bottom: 24px; background: #d4edda; border: 1px solid #c3e6cb; border-radius: 8px; color: #155724; }
.yt-submit-tarif-form .yt-form-row { margin-bottom: 20px; }
.yt-submit-tarif-form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--yt-secondary-color); }
.yt-submit-tarif-form .required { color: var(--yt-primary-color); }
.yt-submit-tarif-form input[type="text"],
.yt-submit-tarif-form input[type="url"],
.yt-submit-tarif-form textarea,
.yt-submit-tarif-form select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }
.yt-submit-tarif-form input[type="file"] { padding: 8px 0; }
.yt-form-submit { margin-top: 28px; }
.yt-btn-outline { display: inline-block; padding: 10px 20px; border: 1px solid var(--yt-primary-color); color: var(--yt-primary-color); border-radius: 8px; font-weight: 500; }
.yt-btn-outline:hover { background: var(--yt-primary-color); color: #fff; text-decoration: none; }

/* Single tarif – video ve galeri */
.yt-single-video { margin: 0 auto 30px; max-width: 800px; }
.yt-video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.yt-video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.yt-single-gallery { margin: 0 auto 40px; max-width: 900px; }
.yt-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.yt-gallery-item { margin: 0; border-radius: 12px; overflow: hidden; }
.yt-gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* ===== Özel Giriş / Üye Ol sayfaları ===== */
.yt-auth-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}
.yt-auth-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.yt-auth-title {
  margin: 0 0 24px;
  font-size: 1.75rem;
  color: var(--yt-secondary-color);
  text-align: center;
  font-weight: 700;
}
.yt-auth-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fde8e8;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  color: #721c24;
  font-size: .95rem;
}
.yt-auth-form { margin: 0; }
.yt-auth-form .yt-form-row {
  margin: 0 0 18px;
}
.yt-auth-form .yt-form-row-remember { margin-bottom: 20px; }
.yt-auth-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--yt-secondary-color);
  font-size: .95rem;
}
.yt-auth-form .yt-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s;
}
.yt-auth-form .yt-input:focus {
  outline: none;
  border-color: var(--yt-primary-color);
  box-shadow: 0 0 0 2px rgba(231, 76, 60, .12);
}
.yt-auth-form .yt-checkbox-label {
  font-weight: 400;
  color: #555;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.yt-auth-form .yt-form-submit {
  margin: 24px 0 0;
}
.yt-btn-primary {
  background: var(--yt-primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.yt-btn-primary:hover { background: #c0392b; color: #fff; }
.yt-btn-block { width: 100%; justify-content: center; display: inline-flex; }
.yt-auth-footer {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: .95rem;
  color: #666;
}
.yt-auth-footer a {
  color: var(--yt-primary-color);
  font-weight: 600;
  text-decoration: none;
}
.yt-auth-footer a:hover { text-decoration: underline; }
.yt-auth-logged-in { text-align: center; }
.yt-auth-message { margin: 0 0 16px; font-size: 1.1rem; color: #555; }
.yt-auth-logged-in .yt-btn { margin-top: 8px; }
.required { color: var(--yt-primary-color); }

/* Favorilerim sayfası */
.yt-favorilerim-wrap { padding: 20px 0; }
.yt-favorilerim-ul { list-style: none; margin: 0; padding: 0; }
.yt-favorilerim-ul li { padding: 10px 0; border-bottom: 1px solid #eee; }
.yt-favorilerim-ul a { font-weight: 500; }
.yt-no-favs, .yt-loading { color: #666; }

/* Yazdırma */
@media print {
  .yt-header, .yt-footer, .yt-single-actions, .yt-comments, .yt-pagination, .yt-nav, .yt-btn, .yt-made-it-wrap, .yt-author-box { display: none !important; }
  body { background: #fff; }
  #yt-print-area { max-width: 100%; }
  .yt-container { max-width: 100%; }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .yt-recipes-grid { grid-template-columns: repeat(2, 1fr); }
  .yt-recipe-row { grid-template-columns: 200px 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .yt-header-top-inner { flex-direction: column; align-items: stretch; }
  .yt-header-search-wrap { max-width: none; margin: 0; }
  .yt-header-actions { justify-content: flex-end; }
  .yt-nav-list { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .yt-recipes-grid { grid-template-columns: 1fr; }
  .yt-recipe-row { grid-template-columns: 1fr; }
  .yt-recipe-thumb { max-width: 100%; aspect-ratio: 16/10; }
  .yt-slide { aspect-ratio: 16/10; }
  .yt-cat-avatar { width: 70px; height: 70px; }
  .yt-cat-circle { width: 80px; }
}
@media (max-width: 480px) {
  .yt-header-actions { flex-wrap: wrap; gap: 8px; }
}
