/* ============================================================
   Atlanta Doodles and Poodles — bespoke theme
   Ported pixel-perfect from atlantadoodlesandpoodles.com.
   Theme CSS loads unlayered → always wins over framework rules.
   ============================================================ */

:root {
    --bg:           #ECE6D8;   /* soft beige page background */
    --paper:        #F6F1E6;   /* card / bevel beige */
    --ink:          #3E4C3E;   /* deep sage text */
    --muted:        #6E7A6C;   /* muted sage */
    --accent:       #C9B48F;   /* khaki accent */
    --accent-ink:   #2F3C2F;
    --accent-dark:  #A69168;
    --ring:         #D9CDB2;   /* card border */
    --success:      #3E5D46;   /* dark forest green — primary CTA */
    --success-dark: #344C3A;
    --radius:       18px;
    --shadow:       0 8px 24px rgba(30, 40, 30, .08);
    --max:          1120px;
}

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
*, *::before, *::after { box-sizing: border-box; }

h1, h2, h3, h4 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--success);
    margin: 0 0 .5em;
    line-height: 1.15;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ───────── Buttons ───────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; padding: 12px 24px; font-weight: 600;
    border: 1px solid var(--ring);
    background: linear-gradient(#ffffff, #F2EBDD);
    box-shadow: var(--shadow);
    min-width: 180px; text-align: center; cursor: pointer;
    color: var(--ink); text-decoration: none;
    transition: filter .2s, background .2s;
}
.btn:hover { filter: saturate(105%) brightness(1.02); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: rgba(0,0,0,.06); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; border: 1px solid var(--ring); box-shadow: none; min-width: auto; }
.btn.ghost:hover { background: #efe9da; }

.header-left .btn.ghost {
    padding: 8px 16px;
    min-width: auto;
}

.cta {
    background: var(--success); color: #fff;
    border: 1px solid rgba(0,0,0,.05);
    padding: 10px 16px; border-radius: 999px;
    font-weight: 600; box-shadow: var(--shadow);
    text-decoration: none; display: inline-block;
}
.cta:hover { background: var(--success-dark); }

.pill {
    display: inline-block; background: #e8e2d2; border: 1px solid var(--ring);
    padding: 4px 10px; border-radius: 999px; font-size: .9rem; color: var(--muted);
}

/* ───────── Callout box ───────── */
.callout {
    background: #E1D8C5; color: var(--ink); font-weight: 500;
    border: 1px solid var(--ring); padding: 18px; border-radius: 16px;
    margin-top: 1rem; font-size: .95rem;
}

/* ───────── Section primitive ───────── */
.section { padding: 48px 20px; }
.section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 12px; color: var(--success); text-align: center;
}
.section .lead {
    color: var(--muted); max-width: 760px; text-align: center;
    margin: 0 auto 24px; font-size: 1.05rem;
}
.section .small { font-size: .95rem; color: #8a8372; }

/* ───────── Hero — 2-column split layout ───────── */
.hero-section { margin: 0; padding: 0; }

.hero-container {
    display: flex;
    min-height: 70vh;
}

/* Left: image pane */
.hero-image {
    width: 66.67%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.hero-image video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Right: green content pane */
.hero-content {
    width: 33.33%;
    background: var(--success);
    padding: 3rem 2rem;
    display: flex; flex-direction: column; justify-content: center;
    text-align: center;
}
.hero-content .tagline {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: "Inter", sans-serif;
}
.hero-content h1 {
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.2;
}
.hero-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.hero-actions {
    display: flex; flex-direction: row; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.hero-content .btn.primary {
    background: #fff; color: var(--success);
    border-color: rgba(255,255,255,.3);
}
.hero-content .btn.primary:hover { background: #f0f0f0; }
.hero-content .btn {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,.5); min-width: 140px;
}
.hero-content .btn:hover { background: rgba(255,255,255,.1); filter: none; }

/* Mobile hero: stack vertically */
@media (max-width: 700px) {
    .hero-container { flex-direction: column; min-height: auto; }
    .hero-image { width: 100%; height: 50vh; }
    .hero-content {
        width: 100%; padding: 2rem 1rem;
        min-height: auto;
    }
    .hero-actions { flex-direction: column; }
}

/* ───────── Split (image + text, two-column) ───────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; text-align: center; }
.split > div { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.split .lead { text-align: center; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* ───────── 12-col grid + card ───────── */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.card {
    grid-column: span 4;
    background: var(--paper); border: 1px solid var(--ring);
    border-radius: 22px; overflow: hidden;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.card .thumb { aspect-ratio: 4/3; background: #ddd; object-fit: cover; width: 100%; }
.card .body  { padding: 16px 16px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.card .body > p { flex-grow: 1; }
.card .actions { padding: 16px; border-top: 1px solid var(--ring); margin-top: auto; display: flex; justify-content: flex-end; }

@media (max-width: 980px) { .card { grid-column: span 6; } }
@media (max-width: 640px) { .card { grid-column: span 12; } }

/* parent cards use a taller 2:3 portrait */
.parents-grid .card .thumb { aspect-ratio: 2/3; object-position: top center; }

/* gallery: 3-up at desktop, 2-up tablet, 1-up phone */
.gallery-grid .card,
.gallery-grid a.card { padding: 0 !important; border: none !important; box-shadow: var(--shadow); }
.gallery-grid a.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 12px; }
@media (max-width: 768px) { .gallery-grid .card, .gallery-grid a.card { grid-column: span 6; } }
@media (max-width: 640px) { .gallery-grid .card, .gallery-grid a.card { grid-column: span 12; } }

/* ───────── Testimonials ───────── */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--paper); border: 1px solid var(--ring); border-radius: 18px; padding: 24px; }
.quote p { margin: 0 0 14px; }
.quote .name { font-weight: 600; color: var(--success); }
@media (max-width: 768px) { .testi { grid-template-columns: 1fr; } }

/* ───────── Process steps (numbered) ───────── */
.process-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 980px; margin: 32px auto 0;
}
.process-step {
    background: var(--paper); border: 1px solid var(--ring);
    border-radius: var(--radius); padding: 28px 24px; text-align: center;
    box-shadow: var(--shadow); position: relative;
}
.process-step .step-number {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--success); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; margin-bottom: 12px;
}
.step-content h3 { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; color: var(--success); margin: 0 0 8px; }
.step-content p { color: var(--ink); margin: 0 0 14px; }
.process-step .btn, .process-step .pill { margin-top: 8px; }
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; } }

/* ───────── Puppy card (Featured Puppies) ───────── */
.puppy-card { display: flex; flex-direction: column; height: 100%; }
.card-image-wrapper { position: relative; overflow: hidden; }
.card-image-wrapper .thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.new-listing-badge {
    position: absolute; top: 8px; right: 8px;
    background: #e23b3b; color: #fff; font-weight: 800;
    padding: 4px 8px; border-radius: 4px; font-size: 11px; line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.puppy-name {
    margin: 0 0 8px; font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem; font-weight: 600; color: var(--success);
}
.puppy-description { margin: 0 0 16px; color: var(--muted); line-height: 1.5; flex-grow: 1; }
.puppy-pricing {
    margin: 0 0 16px; padding: 10px 12px;
    background: rgba(62, 93, 70, .05);
    border-radius: 10px; border-left: 3px solid var(--success);
    font-size: .92rem; color: var(--ink);
}
.puppy-pricing .row { display: flex; justify-content: space-between; padding: 2px 0; }
.puppy-pricing .label { font-weight: 600; color: var(--ink); }
.puppy-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-outline {
    flex: 1; text-align: center; padding: 10px 14px;
    border: 1px solid var(--ring); border-radius: 999px;
    background: transparent; color: var(--ink); font-weight: 600;
    transition: background .2s;
}
.btn-outline:hover { background: #efe9da; }
.btn-deposit {
    flex: 1; text-align: center; padding: 10px 14px;
    background: var(--success); color: #fff; border-radius: 999px; font-weight: 600;
    transition: background .2s;
}
.btn-deposit:hover { background: var(--success-dark); }

/* status fade for reserved/sold */
.puppy-card.status-sold .card-image-wrapper .thumb,
.puppy-card.status-reserved .card-image-wrapper .thumb { filter: grayscale(.4) opacity(.85); }
.puppy-status-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,0,0,.7); color: #fff;
    padding: 3px 10px; border-radius: 999px;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
}

/* ───────── Header ───────── */
.desktop-header-container {
    background: var(--bg);
    border-bottom: 1px solid var(--ring);
}
.desktop-header {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; padding: 18px 20px; gap: 20px;
}
.header-left  { display: flex; gap: 10px; }
.header-right { display: flex; justify-content: flex-end; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.brand img { width: 92px; height: 92px; object-fit: contain; }
.brand strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem; color: var(--success); text-align: center;
}
.brand .phone { font-weight: 600; font-size: .98rem; color: var(--muted); }
.desktop-only { display: block; }
@media (max-width: 980px) { .desktop-only { display: none !important; } }

/* ───────── Notification bar (NotificationBar Mendol) ───────── */
.notification-bar {
    position: sticky; top: 0; z-index: 60;
    background: var(--success); color: #fff;
    padding: 12px 16px; text-align: center; font-size: 1.05rem;
}
.notification-bar .container {
    display: flex; align-items: center; justify-content: center;
    position: relative; font-family: var(--gh-font-body, Inter, sans-serif);
}
.notification-bar p { margin: 0; display: flex; align-items: center; justify-content: center; }
.notification-bar a { 
    color: #fff !important; 
    text-decoration: none !important; 
    font-weight: 800 !important;
    margin-left: 0 !important;
}
.notification-bar a:hover {
    text-decoration: underline !important;
}
.close-notif {
    background: none; border: none; color: #fff; font-size: 1.4rem;
    cursor: pointer; line-height: 1; padding: 2px 6px; opacity: .7;
    position: absolute; right: 0;
}
.close-notif:hover { opacity: 1; }

/* ───────── Mobile navigation wrapper (hidden on desktop) ───────── */
.mobile-nav-wrapper { display: none; }
@media (max-width: 980px) { .mobile-nav-wrapper { display: block; } }

.mobile-nav-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 16px;
    background: rgba(246, 241, 230, .95);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--ring);
    height: 64px; box-sizing: border-box;
}
.mobile-logo {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); z-index: 1;
}
.mobile-logo img { height: 48px; width: auto; }
.nav-icon-btn {
    background: transparent; border: none; padding: 8px;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; color: var(--ink); z-index: 2;
}
.nav-icon-btn svg { width: 28px; height: 28px; }

/* Apply for a Puppy bar — sits directly below the mobile nav header */
.mobile-apply-bar {
    background: var(--bg);
    text-align: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ring);
}
.mobile-apply-bar .cta { display: inline-block; }

/* ───────── Sticky nav bar (desktop) ───────── */
.nav-wrap {
    position: sticky; top: 0; z-index: 40;
    background: rgba(246, 241, 230, .9);
    backdrop-filter: saturate(160%) blur(6px);
    -webkit-backdrop-filter: saturate(160%) blur(6px);
    border-top: 1px solid var(--ring); border-bottom: 1px solid var(--ring);
}
nav.primary, .nav-wrap nav {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 10px 0; max-width: var(--max); margin: 0 auto;
}
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-links a { padding: 8px 10px; border-radius: 999px; font-size: .96rem; transition: background .15s; }
.nav-links a:hover { background: rgba(62, 76, 62, .06); }
@media (max-width: 980px) { .nav-wrap { display: none; } }

/* ───────── Mobile slide-out menu (left drawer) ───────── */
.mobile-menu {
    position: fixed; top: 0; left: 0;
    width: 300px; max-width: 85vw; height: 100%;
    background: var(--paper); z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex; flex-direction: column;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-bottom: 1px solid var(--ring);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem; color: var(--success);
    height: 64px; box-sizing: border-box;
}
.mobile-menu-content { flex: 1; overflow-y: auto; }
.mobile-menu .nav-links {
    display: flex; flex-direction: column; gap: 0;
    padding: 16px 0;
}
.mobile-menu .nav-links a {
    padding: 14px 24px; font-size: 1.1rem;
    border-radius: 0;
}
.mobile-menu .nav-links a:hover { background: rgba(62,76,62,.04); }

/* Semi-transparent overlay when mobile menu is open */
.menu-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(47, 60, 47, 0.4); z-index: 99;
    backdrop-filter: blur(2px);
}
.menu-overlay.is-open { display: block; }

/* Contact popup */
.popup-overlay {
    position: fixed; inset: 0;
    background: rgba(47, 60, 47, 0.6); z-index: 110;
    display: none; place-items: center;
    backdrop-filter: blur(4px);
}
.popup-content {
    background: var(--paper); padding: 24px; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow);
    position: relative; display: flex; flex-direction: column;
    gap: 12px; min-width: 260px; max-width: 90vw;
}
.popup-close-btn {
    position: absolute; top: 10px; right: 12px;
    background: none; border: none; cursor: pointer;
    color: var(--muted); padding: 4px;
}

/* ───────── Footer ───────── */
footer {
    background: var(--accent-ink); color: #d8d2bf;
    padding: 40px 20px; margin-top: 48px;
}
.foot-wrap {
    max-width: var(--max); margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
    gap: 18px; text-align: center;
}
.foot-wrap a { color: #fff; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.social-icons { display: flex; gap: 16px; }
.social-icons svg { width: 24px; height: 24px; fill: currentColor; opacity: .85; }
.social-icons a:hover svg { opacity: 1; }
.foot-wrap .small { color: #a8a18d; }

/* ───────── Skip link + scroll reveal ───────── */
.skip-to-content {
    position: absolute; top: -40px; left: 0;
    background: var(--success); color: #fff; padding: 8px 16px;
    z-index: 200; transition: top .15s;
}
.skip-to-content:focus { top: 0; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ───────── Breeding-Mendol shared classes ───────── */
.breeding-page { background: var(--bg); }
.breeding-page .breeding-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.breeding-page .breeding-card { background: var(--paper); border: 1px solid var(--ring); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.breeding-page .breeding-card-body h3 { color: var(--success); font-family: "Cormorant Garamond", serif; }
.breeding-page .breeding-filter-btn { border: 1px solid var(--ring); color: var(--ink); background: transparent; }
.breeding-page .breeding-filter-btn.active { background: var(--success); color: #fff; border-color: var(--success); }
.breeding-page .puppy-price { color: var(--success); }
.breeding-page .breeding-card-btn { background: var(--success); color: #fff; }
.breeding-page .breeding-card-btn:hover { background: var(--success-dark); }

/* ───────── ad-* legacy classes (hero fallback) ───────── */
/* Keep for backwards compat with any cached pages */
.ad-hero { position: relative; min-height: 70vh; display: flex; flex-direction: column; }
.ad-hero-media { flex: 1; position: relative; overflow: hidden; }
.ad-hero-media img, .ad-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.ad-hero-content { background: var(--success); color: #fff; padding: 3rem 2rem; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.ad-hero-content h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.ad-hero-content .lede { color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.ad-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ad-btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; border: 2px solid rgba(255,255,255,.5); color: #fff; }
.ad-btn:hover { background: rgba(255,255,255,.15); }
.ad-btn-ghost { background: transparent; }

/* Additional Breeding-Mendol overrides for pixel perfection */
.breeding-page .breeding-card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.breeding-page .puppy-meta { list-style: none; padding: 0; margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.breeding-page .puppy-price { font-weight: 600; font-size: 1.1rem; margin: 0 0 16px; }
.breeding-page .breeding-header { text-align: center; margin-bottom: 24px; }
.breeding-page .breeding-filter-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.breeding-page .breeding-filter-btn { padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: .9rem; }
.breeding-page .breeding-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.breeding-page .breeding-card-body h3 { font-size: 1.4rem; margin: 0 0 12px; }
.breeding-page .breeding-card-btn { padding: 10px 14px; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 600; display: block; margin-top: auto; }

/* Bespoke overrides for Puppy Detail Page */
.breeding-detail { padding: 60px 20px; }
.breeding-detail h1 { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; color: var(--success); margin-bottom: 16px; }
.breeding-detail-media img { border-radius: 18px; box-shadow: var(--shadow); }
.breeding-spec { background: var(--paper); border: 1px solid var(--ring); border-radius: 16px; padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.breeding-spec li { border-bottom-color: var(--ring); padding: 10px 0; color: var(--ink); }
.breeding-spec li span { color: var(--muted); font-weight: 500; }
.breeding-spec li:last-child { border-bottom: none; }
.breeding-body { font-size: 1.05rem; line-height: 1.6; color: var(--ink); margin-top: 24px; }
.breeding-body p { margin-bottom: 16px; }
.breeding-gallery img { border-radius: 12px; box-shadow: var(--shadow); transition: transform 0.3s ease; cursor: pointer; }
.breeding-gallery img:hover { transform: scale(1.03); }

/* ───────── Design-port Phase 4: face-safe, consistent image cropping ───────── */
/* Puppy cards (homepage + listing grid): crop toward the top so heads/faces aren't cut */
.card .thumb,
.breeding-page .breeding-card-media img { object-fit: cover; object-position: center top; }
/* Gallery tiles: uniform squares, subject-centered, no letterboxing */
.gallery-grid a.card img { aspect-ratio: 1/1; object-fit: cover; object-position: center top; border-radius: 12px; }
.breeding-detail .breeding-gallery img { aspect-ratio: 1/1; object-fit: cover; object-position: center top; background: #f4f4f4; }
/* Puppy-detail showcase image: never crop the dog — contain, capped height, centered */
.breeding-detail .breeding-detail-media img { width: 100%; max-height: 600px; object-fit: contain; object-position: center; background: #f4f4f4; border-radius: 18px; box-shadow: var(--shadow); }

/* ───────── Variant configurator ("Select a Puppy Type") — live-site parity ───────── */
.puppy-configurator { background: var(--paper); border: 1px solid var(--ring); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow); }
.puppy-configurator h3 { color: var(--success); font-family: "Cormorant Garamond", Georgia, serif; }
.type-selector { display: flex; flex-wrap: wrap; gap: 10px; }
.puppy-type-btn { border: 1px solid var(--ring); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.puppy-type-btn:hover { background: #efe9da; }
.puppy-type-btn.selected { background: var(--success); color: #fff; border-color: var(--success); }
.pricing-breakdown { background: rgba(62,93,70,.06); border-left: 3px solid var(--success); border-radius: 10px; padding: 12px 14px; }
.pricing-breakdown .total-price { font-weight: 700; font-size: 1.1rem; color: var(--success); }
.pricing-breakdown .deposit-info, .pricing-breakdown .remaining-balance { color: var(--muted); font-size: .95rem; margin-top: 2px; }

/* ═════════ Application flow (apply / deposit / configurator) — on-brand, mobile-friendly ═════════ */
/* These classes are borrowed from the admin design system (app.css); theme.css loads after app.css
   on the frontend only, so these restyle the public apply/deposit pages without touching the admin. */

/* Cards & section headings */
.section .admin-card,
.breeding-detail .admin-card,
form .admin-card { background:#fff; border:1px solid var(--ring); border-radius:16px; padding:22px 24px; box-shadow:var(--shadow); margin-bottom:18px; }
.section .card-section-title,
form .card-section-title { font-family:"Cormorant Garamond", Georgia, serif; color:var(--success); font-size:1.4rem; font-weight:600; margin:0 0 14px; }

/* Form fields */
.section .form-group,
form .form-group { margin-bottom:14px; display:flex; flex-direction:column; }
.section .form-group > label,
form .form-group > label { font-weight:600; font-size:.9rem; color:var(--ink); margin-bottom:6px; }
.section .form-input, .section select.form-input, .section textarea.form-input, .section .wysiwyg,
form .form-input, form select.form-input, form textarea.form-input, form .wysiwyg {
    width:100%; box-sizing:border-box; padding:11px 14px; font:inherit; color:var(--ink);
    background:#fff; border:1px solid var(--ring); border-radius:10px; transition:border-color .15s, box-shadow .15s;
}
.section .form-input:focus, .section select.form-input:focus, .section textarea:focus, .section .wysiwyg:focus,
form .form-input:focus, form select.form-input:focus, form textarea:focus, form .wysiwyg:focus {
    outline:none; border-color:var(--success); box-shadow:0 0 0 3px rgba(62,93,70,.15);
}
.section textarea.form-input, .section .wysiwyg, form textarea.form-input, form .wysiwyg { min-height:96px; resize:vertical; }

/* Responsive form grids */
.section .responsive-grid, form .responsive-grid { display:grid; gap:16px; }
.section .responsive-grid.grid-2, form .responsive-grid.grid-2 { grid-template-columns:repeat(2,1fr); }
.section .responsive-grid.grid-3, form .responsive-grid.grid-3 { grid-template-columns:repeat(3,1fr); }
.section .responsive-grid.grid-4, form .responsive-grid.grid-4 { grid-template-columns:repeat(4,1fr); }

/* Buttons — unify to the bespoke pill look across the public flow */
.breeding-detail .btn-primary, .breeding-detail .btn-secondary, .breeding-detail .btn-outline,
.section .btn-primary, .section .btn-secondary, .section .btn-outline,
.breeding-card .btn-primary, .breeding-card .btn-secondary, .breeding-card .btn-outline,
.btn-deposit {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    border-radius:999px; padding:12px 26px; font-weight:600; font-size:1rem; line-height:1.1;
    text-decoration:none; cursor:pointer; border:1px solid transparent; min-height:46px;
    transition:background .15s, color .15s, filter .15s;
}
.breeding-detail .btn-primary, .section .btn-primary, .breeding-card .btn-primary, .btn-deposit { background:var(--success); color:#fff; box-shadow:var(--shadow); }
.breeding-detail .btn-primary:hover, .section .btn-primary:hover, .breeding-card .btn-primary:hover, .btn-deposit:hover { background:var(--success-dark); color:#fff; }
.breeding-detail .btn-secondary, .section .btn-secondary, .breeding-card .btn-secondary { background:transparent; color:var(--ink); border-color:var(--ring); }
.breeding-detail .btn-secondary:hover, .section .btn-secondary:hover, .breeding-card .btn-secondary:hover { background:#efe9da; }
.breeding-detail .btn-outline, .section .btn-outline, .breeding-card .btn-outline { background:#fff; color:var(--success); border-color:var(--success); }
.breeding-detail .btn-outline:hover, .section .btn-outline:hover, .breeding-card .btn-outline:hover { background:var(--success); color:#fff; }

/* Mobile — thumb-friendly, single-column */
@media (max-width:680px){
    .section .responsive-grid.grid-2, .section .responsive-grid.grid-3, .section .responsive-grid.grid-4,
    form .responsive-grid.grid-2, form .responsive-grid.grid-3, form .responsive-grid.grid-4 { grid-template-columns:1fr; }
    .section .admin-card, form .admin-card { padding:18px 16px; }
    /* Full-width primary actions in the application flow (submit + configurator apply only;
       leaves the wizard Back/Next nav row intact) */
    .breeding-detail #pricing-section .btn-primary,
    .section form button[type="submit"].btn-primary { width:100%; }
    /* Puppy/grid card action buttons stack full-width */
    .breeding-card-body .breeding-card-btn, .puppy-actions a { width:100%; }
    .breeding-card-body div[style*="display:flex"] { flex-direction:column; }
    /* Configurator type buttons: easy tap targets */
    .type-selector { gap:8px; }
    .puppy-type-btn { flex:1 1 100%; min-height:48px; }
    /* Apply wizard step pills wrap tighter */
    #step-indicator .step-pill { font-size:.75rem; padding:5px 10px; }
}

/* ───────── Imported Ghost (Koenig) content — responsive (puppy/litter/dog descriptions) ───────── */
.breeding-body { overflow-wrap: break-word; }
.breeding-body img, .kg-image { max-width: 100%; height: auto; border-radius: 10px; }
.kg-card { margin: 18px 0; }
.kg-width-wide, .kg-width-full { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; transform: none; }
.kg-gallery-card, .kg-gallery-container { max-width: 100%; }
.kg-gallery-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kg-gallery-image { flex: 1 1 auto; min-width: 0; }
.kg-gallery-image img { width: 100%; height: auto; display: block; border-radius: 10px; }
.kg-embed-card iframe, .kg-card iframe { max-width: 100%; }
@media (max-width: 640px) {
    .kg-gallery-row { flex-direction: column; }
    .kg-gallery-image { width: 100%; }
}

/* ───────── Phones only (≤640px): show listing card photos UNCROPPED ─────────
   On a single-column phone layout the varied sizes don't read, and the client
   prefers full photos. Tablet & desktop keep the uniform crop + focal point. */
@media (max-width: 640px) {
    .breeding-card-media { aspect-ratio: auto !important; height: auto !important; }
    .breeding-card-media img,
    .card .thumb,
    .card-image-wrapper .thumb {
        aspect-ratio: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}

/* ───────── Tag Header Section (matches live) ───────── */
.tag-header-section {
    background: var(--success);
    padding: 10px 0;
    text-align: center;
    margin-bottom: 2rem;
}
.tag-header-section h1 {
    color: white;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
}
