/* ============================================================
   PETSHOP — Amazon ortaklık vitrini
   Sitenin mevcut bileşenlerini kullanır: .service-masthead (kapak), .card / .cards-grid (ilan kartı),
   filtre paneli görünümü (İlanlar sayfası), turuncu "kicker" rozetleri (ana sayfa bölüm başlıkları).
   Bu dosya yalnızca Petshop'a özgü eklemeleri içerir.
   ============================================================ */

/* --- Ortak küçük parçalar --- */
.psh-kicker { display: inline-flex; background: #f97316; color: #fff; padding: 5px 10px; border-radius: 6px; font-size: .76rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.psh-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.psh-pill { display: inline-flex; align-items: center; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; border-radius: 8px; padding: 4px 9px; font-size: .74rem; font-weight: 700; line-height: 1.3; }
.psh-pill--ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.psh-pill--info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.psh-pill--dark { background: #111827; color: #fff; border-color: #111827; }
.psh-stars { color: #f59e0b; }
.psh-masthead-note { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 14px 0 0; color: var(--gray-500, #6b7280); font-size: .88rem; }

/* --- Düzen: sol filtre paneli + ürün ızgarası (İlanlar sayfasıyla aynı) --- */
.psh-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-xl, 32px); align-items: start; }
.psh-main, .psh-side { min-width: 0; }
.psh-side { position: sticky; top: calc(var(--header-height, 72px) + 20px); padding: 22px; border: 1px solid color-mix(in srgb, var(--color-surface, #fff) 90%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--color-surface, #fff) 82%, transparent); box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, .08)), inset 0 0 0 1px var(--color-border, #e5e7eb); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%); }
.psh-side__head { display: flex; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary, #f97316); }
.psh-side__head h2 { font-size: 1.1rem; font-weight: 600; color: var(--gray-800, #1f2937); display: flex; align-items: center; gap: 8px; margin: 0; }
.psh-side__head svg { color: var(--primary, #f97316); }
.psh-flist { display: flex; flex-direction: column; gap: 8px; }
.psh-flink { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 13px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; color: var(--gray-700, #374151); text-decoration: none; font-size: .93rem; transition: border-color .15s, background .15s; }
.psh-flink:hover { border-color: #fdba74; }
.psh-flink small { background: #f3f4f6; color: var(--gray-500, #6b7280); border-radius: 8px; padding: 2px 8px; font-size: .75rem; font-weight: 600; }
.psh-flink[aria-current="page"] { background: #fff7ed; border-color: #fdba74; color: #c2410c; font-weight: 600; }
.psh-flink[aria-current="page"] small { background: #ffedd5; color: #c2410c; }
.psh-fgroup { margin-top: 20px; }
.psh-flabel { margin: 0 0 8px; font-size: .82rem; font-weight: 700; color: var(--gray-700, #374151); }
.psh-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.psh-chip { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; color: var(--gray-700, #374151); text-decoration: none; font-size: .88rem; display: inline-flex; align-items: center; }
.psh-chip:hover { border-color: #fdba74; }
.psh-chip[aria-current="true"] { background: #fff7ed; border-color: #f97316; color: #c2410c; font-weight: 700; }
.psh-assure { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid #e5e7eb; display: grid; gap: 12px; }
.psh-assure li { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--gray-500, #6b7280); }
.psh-assure li svg { flex: 0 0 15px; margin-top: 2px; color: #059669; }
.psh-assure strong { color: var(--gray-800, #1f2937); font-size: .84rem; }
.psh-flink:focus-visible, .psh-chip:focus-visible { outline: 3px solid #111827; outline-offset: 2px; }

/* --- Ürün kartı (site .card bileşeninin ürüne uyarlaması) --- */
.psh-card { display: flex; flex-direction: column; height: 100%; }
.psh-card .card-body-link { display: flex; flex-direction: column; flex: 1 1 auto; }
.psh-card .card-content { flex: 1 1 auto; }
.psh-card__cta { margin-top: auto; }
.psh-card .card-image { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #f3f4f6; }
.psh-card .card-image img { object-fit: contain; padding: 14px; }
.psh-card:hover .card-image img { transform: scale(1.03); }
/* Kategori etiketi (sol üst) uzun olabilir: tek satır + üç nokta, görselin tamamını kaplamaz.
   Ürün etiketi (Yeni / Editörün Seçimi) görselin sol altında durur; iki etiket hiçbir zaman üst üste binmez. */
.psh-card .card-badge { max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psh-ribbon { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #111827; color: #fff; border-radius: 6px; padding: 4px 8px; font-size: .68rem; font-weight: 800; }
.psh-card .card-content { padding-bottom: 6px; }
.psh-card__summary { margin: 0 0 6px; color: var(--gray-500, #6b7280); font-size: .82rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.psh-card__cta { padding: 4px 16px 16px; display: grid; gap: 6px; text-align: center; }
.psh-card__cta .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.psh-card__note { font-size: .72rem; color: var(--gray-500, #6b7280); }
.psh-card__more { color: #c2410c; text-decoration: underline; text-underline-offset: 2px; }
.psh-card__more:hover { color: #9a3412; }
.psh-cards { margin: 0; }

.psh-empty { padding: 48px 20px; text-align: center; color: var(--gray-500, #6b7280); background: #fff; border: 1px dashed #e5e7eb; border-radius: 16px; }
.psh-pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 0; flex-wrap: wrap; }
.psh-pager a, .psh-pager span { min-width: 40px; min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; text-decoration: none; color: var(--gray-700, #374151); }
.psh-pager [aria-current="page"] { background: var(--primary, #f97316); border-color: var(--primary, #f97316); color: #fff; }

/* --- Editoryal paneller (rehber, adımlar, listeler, SSS) --- */
.psh-panel { margin-top: 32px; padding: 26px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.psh-panel h2 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 14px; color: #111827; }
.psh-panel--flat { margin-top: 24px; box-shadow: none; }
.psh-panel__lead { margin: -4px 0 18px; color: var(--gray-500, #6b7280); max-width: 64ch; }
.psh-rich { max-width: 72ch; color: #374151; line-height: 1.75; }
.psh-rich p { margin: 0 0 14px; }
.psh-rich h3 { font-size: 1.05rem; margin: 22px 0 8px; color: #111827; }
.psh-rich ul { margin: 0 0 14px; padding-left: 20px; }
.psh-rich li { margin: 6px 0; }
.psh-rich li::marker { color: #f97316; }

.psh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.psh-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid #f3f4f6; border-radius: 12px; background: #fffbf7; }
.psh-steps__no { flex: 0 0 34px; height: 34px; border-radius: 10px; background: #f97316; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.psh-steps strong { display: block; margin-bottom: 4px; color: #111827; }
.psh-steps p { margin: 0; color: var(--gray-500, #6b7280); font-size: .9rem; line-height: 1.55; }

.psh-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.psh-list { border: 1px solid #f3f4f6; border-radius: 12px; padding: 16px; background: #fffbf7; }
.psh-list h3 { margin: 0 0 2px; font-size: 1.05rem; color: #111827; }
.psh-list > p { margin: 0 0 10px; color: var(--gray-500, #6b7280); font-size: .86rem; }
.psh-list ul { list-style: none; margin: 0; padding: 0; }
.psh-list li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid #f3f4f6; font-size: .92rem; line-height: 1.4; }
.psh-list li svg { flex: 0 0 15px; margin-top: 3px; color: #059669; }
.psh-list li small { display: block; color: var(--gray-500, #6b7280); font-size: .82rem; }
.psh-list li a { color: #c2410c; text-underline-offset: 3px; }

.psh-faq details { border: 1px solid #e5e7eb; border-radius: 12px; margin: 0 0 8px; background: #fff; }
.psh-faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; min-height: 48px; list-style: none; position: relative; color: #111827; }
.psh-faq summary::-webkit-details-marker { display: none; }
.psh-faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.4rem; line-height: 1.2; color: #f97316; }
.psh-faq details[open] { border-color: #fdba74; background: #fffbf7; }
.psh-faq details[open] summary::after { content: "–"; }
.psh-faq details p { margin: 0; padding: 0 16px 16px; color: #4b5563; line-height: 1.7; }
.psh-faq summary:focus-visible { outline: 3px solid #111827; outline-offset: 2px; }

.psh-note { margin-top: 32px; padding: 16px 18px; background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #f97316; border-radius: 4px 12px 12px 4px; color: var(--gray-500, #6b7280); font-size: .84rem; line-height: 1.65; }
.psh-note h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .95rem; color: #111827; }
.psh-note h2 svg { color: #f97316; }
.psh-note p { margin: 0; max-width: 92ch; }

/* --- Yatay şerit (ilan sayfası + ana sayfa): ana sayfadaki bölüm başlığı düzeni --- */
.psh-strip { padding: 32px 0 6px; }
.psh-strip__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 12px; }
.psh-strip__head h2 { color: #111827; font-size: 1.25rem; line-height: 1.2; margin: 0; }
.psh-strip__head p { color: #6b7280; font-size: .88rem; margin: 4px 0 0; }
.psh-strip__more { color: var(--color-brand-hover, #c2410c); display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.psh-strip__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.psh-strip__track { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.psh-strip__track { align-items: stretch; }
.psh-strip__item { flex: 0 0 min(196px, 62vw); scroll-snap-align: start; display: flex; }
.psh-strip__item .card { width: 100%; }
/* Şerit kartları: ana sayfadaki ilan kartı boyunda (küçük), hepsi AYNI yükseklikte, buton hep en altta */
.psh-strip .psh-card .card-image { aspect-ratio: 1.24 / 1; }
.psh-strip .psh-card .card-image img { padding: 10px; }
.psh-strip .psh-card .card-content { padding: 10px 12px 4px; }
.psh-strip .psh-card .card-title { font-size: .9rem; line-height: 1.3; min-height: 2.6em; margin-bottom: 6px; }
.psh-strip .psh-pills { margin-bottom: 4px; flex-wrap: nowrap; overflow: hidden; }
.psh-strip .psh-pill { font-size: .68rem; padding: 3px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.psh-strip .card-petline { margin-bottom: 2px; font-size: .76rem; min-height: 20px; }
.psh-strip .psh-card__summary { display: none; }
.psh-strip .psh-card__cta { padding: 4px 12px 12px; margin-top: auto; }
.psh-strip .psh-card__cta .btn { min-height: 38px; font-size: .8rem; padding: 8px 6px; }
.psh-strip .psh-card__note { font-size: .68rem; }
.psh-strip .card-badge { font-size: .64rem; padding: 3px 7px; }
.psh-strip .psh-ribbon { font-size: .62rem; padding: 3px 6px; }
.psh-strip__note { margin: 4px 0 0; font-size: .76rem; color: #6b7280; }

/* --- İlan sayfası yan sütun kutusu: küçük, alt alta liste --- */
.psh-sidebox { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); margin-top: 16px; min-width: 0; }
.psh-sidebox h2 { font-size: 1.05rem; line-height: 1.25; margin: 0 0 4px; color: #111827; }
.psh-sidebox__lead { margin: 0 0 10px; font-size: .84rem; color: var(--gray-500, #6b7280); }
.psh-minilist { list-style: none; margin: 0; padding: 0; }
.psh-minilist li + li { border-top: 1px solid #f3f4f6; }
.psh-mini { display: flex; align-items: center; gap: 12px; padding: 10px 4px; text-decoration: none; color: inherit; border-radius: 10px; }
.psh-mini:hover { background: #fffbf7; }
.psh-mini:focus-visible { outline: 3px solid #111827; outline-offset: 2px; }
.psh-mini__img { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid #f3f4f6; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.psh-mini__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.psh-mini__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.psh-mini__title { font-size: .88rem; font-weight: 600; line-height: 1.3; color: #111827; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.psh-mini:hover .psh-mini__title { color: #c2410c; }
.psh-mini__meta { font-size: .76rem; color: var(--gray-500, #6b7280); }
.psh-mini__tag { align-self: flex-start; background: #111827; color: #fff; border-radius: 5px; padding: 1px 6px; font-size: .64rem; font-weight: 800; }
.psh-mini__go { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; background: #f97316; color: #fff; border-radius: 8px; padding: 7px 10px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.psh-mini:hover .psh-mini__go { background: #ea580c; }
.psh-sidebox__foot { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 0; font-size: .78rem; color: var(--gray-500, #6b7280); }
.psh-sidebox__foot a { color: #c2410c; font-weight: 700; text-decoration: none; }
.psh-sidebox__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Ürün detayı --- */
.psh-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.psh-detail__media { position: sticky; top: calc(var(--header-height, 72px) + 20px); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.psh-detail__media img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 28px; }
.psh-detail__rating { margin: 4px 0 14px; color: #4b5563; display: flex; align-items: center; gap: 6px; }
.psh-detail__rating strong { color: #111827; }
.psh-buy { margin: 0 0 8px; padding: 18px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 16px; display: grid; gap: 10px; }
.psh-buy .btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; }
.psh-buy p { margin: 0; font-size: .82rem; color: #6b7280; line-height: 1.55; }
.psh-buy a:not(.btn) { color: #c2410c; text-underline-offset: 3px; }
.psh-specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.psh-specs th, .psh-specs td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
.psh-specs th { width: 36%; color: #6b7280; font-weight: 600; }
.psh-desc { line-height: 1.75; color: #374151; white-space: pre-line; }
.psh-related { margin-top: 44px; }
.psh-related h2 { font-size: 1.25rem; margin: 0 0 14px; color: #111827; }

/* --- Duyarlı --- */
@media (max-width: 1024px) {
    .psh-layout { grid-template-columns: minmax(0, 1fr); }
    .psh-side { position: static; min-width: 0; }
    .psh-flist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
    .psh-flink { flex: 0 0 auto; white-space: nowrap; }
    .psh-assure { display: none; }
    .psh-detail { grid-template-columns: minmax(0, 1fr); }
    .psh-detail__media { position: static; }
}
@media (max-width: 800px) {
    .psh-steps, .psh-lists { grid-template-columns: 1fr; }
    .psh-panel { padding: 18px; }
}
@media (max-width: 720px) {
    .psh-card__summary { display: none; }
    .psh-card__cta { padding: 4px 10px 12px; }
    .psh-card__cta .btn { font-size: .82rem; padding: 10px 8px; }
    .psh-strip__head { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .psh-card:hover .card-image img { transform: none; } }
