/*
Theme Name: Akita Puppies Rehoming
Theme URI: https://akitapuppiesrehoming.com/
Author: Medor
Description: Akita puppy listing theme in the Maltese listing style.
Version: 2.2.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: akita-puppies
*/

:root {
  --orange: #f97316;
  --teal: #149a9a;
  --green: #22c55e;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --soft: #f7f7f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, sans-serif; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Inter, sans-serif; letter-spacing: -0.03em; }
.wrap { width: min(1080px, calc(100% - 28px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: linear-gradient(#fff, #fff8f4); border-bottom: 1px solid #f3e8df; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--orange); font-weight: 800; font-size: 22px; }
.brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }
.menu-toggle, .nav-cta { border: 2px solid #111; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { text-decoration: none; font-weight: 650; color: #374151; }
.nav a.current { color: var(--orange); }
.listing-page, .home-list { padding: 16px 0 48px; }
.puppy-search { display: flex; background: var(--orange); border-radius: 10px; overflow: hidden; margin: 12px 0 18px; }
.puppy-search input { flex: 1; border: 0; background: transparent; color: #fff; padding: 15px 16px; font: inherit; font-weight: 750; }
.puppy-search input::placeholder { color: #fff; opacity: 0.95; }
.puppy-search button { border: 0; background: transparent; color: #fff; font-weight: 800; padding: 0 16px; cursor: pointer; }
.crumbs { color: var(--muted); font-size: 14px; margin: 8px 0; }
.crumbs a { text-decoration: none; }
.listing-title { text-align: center; font-size: clamp(28px, 5vw, 36px); margin: 10px 0 18px; }
.listing-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.tool { border: 2px solid var(--teal); color: var(--teal); text-decoration: none; border-radius: 12px; padding: 12px; text-align: center; font-weight: 800; letter-spacing: 0.04em; font-size: 13px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; background: #f3f4f6; border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.save-btn { background: var(--orange); color: #fff; text-decoration: none; border-radius: 10px; padding: 10px 14px; font-weight: 800; }
.listing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.list-card { background: #fff; border: 1px solid #eee; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 8px 22px rgba(17,24,39,.05); }
.list-photo { position: relative; background: #f3f4f6; }
.list-photo img { width: 100%; height: 190px; object-fit: cover; }
.heart { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 18px; }
.list-badges { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.list-badges span { background: #fff; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 800; }
.list-body { padding: 12px; }
.list-row { display: flex; align-items: center; gap: 8px; }
.price-pill { background: var(--green); color: #fff; border-radius: 999px; padding: 5px 10px; font-weight: 800; display: inline-block; }
.price-pill.reserved { background: #f59e0b; }
.sex { margin-left: auto; color: #9ca3af; font-size: 18px; }
.list-body h3 { margin: 8px 0 2px; font-size: 18px; }
.list-body p { margin: 0; color: #374151; }
.breed { font-weight: 750; }
.section { padding: 36px 0; }
.section.soft { background: var(--soft); }
.page-title { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 12px; }
.btn, button.btn { display: inline-flex; background: var(--orange); color: #fff; text-decoration: none; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 800; cursor: pointer; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.split img, .puppy-detail img { width: 100%; border-radius: 18px; object-fit: cover; }
.cards, .quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card, .quote { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.quote cite { display: block; margin-top: 8px; color: var(--orange); font-style: normal; font-weight: 700; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.form label { display: block; font-weight: 750; margin: 12px 0 6px; }
.form input, .form textarea, .form select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: inherit; }
.notice { background: #ecfdf3; color: #166534; border-radius: 10px; padding: 10px; }
.notice.err { background: #fef2f2; color: #991b1b; }
.hp { position: absolute; left: -9999px; }
.site-footer { background: #111827; color: #fff; padding: 28px 0; margin-top: 20px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.follow-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.follow-photos img { height: 160px; object-fit: cover; }
@media (max-width: 800px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; flex-direction: column; padding: 14px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .split, .footer-grid, .cards, .quotes { grid-template-columns: 1fr; }
  .list-photo img { height: 150px; }
}
@media (min-width: 801px) {
  .menu-toggle { display: none; }
  .listing-grid { grid-template-columns: 1fr 1fr 1fr; }
  .list-photo img { height: 220px; }
}
