/*
Theme Name: Hawthorn
Description: Child theme of Hello Elementor for Hawthorn Poultry. Holds breed meta fields on pages.
Template: hello-elementor
Version: 1.0.1
Text Domain: hawthorn
*/

/* Price badge and availability pill. Rendered by [hp_price]/[hp_status]
   (inc/breed-shortcodes.php) because Jan edits the meta box and Elementor
   cannot colour a pill from a meta value. Colours from docs/design/direction.md. */
.hp-price{display:inline-block;font-family:'Amatic SC',cursive;font-weight:700;font-size:30px;line-height:1;background:#fff;color:#3A1A00;padding:8px 16px 6px;border-radius:8px}
.hp-price--dark{background:#1E0E00;color:#fff}
.hp-status{display:inline-block;font-family:Nunito,sans-serif;font-weight:700;font-size:13px;line-height:1.2;color:#fff;padding:6px 14px;border-radius:999px;white-space:nowrap}
.hp-status--available{background:#2E7D32}
.hp-status--coming-soon{background:#9A5B00}
.hp-status--sold-out{background:#6B6B6B}
.hp-status--ask{background:#6B6B6B}
.hp-note{list-style:none;margin:0;padding:0;font-family:'Open Sans',sans-serif;font-size:15px;color:#5A5650}
.hp-note li{padding:8px 0;border-top:1px solid #E6E2DE}
.hp-note li:first-child{border-top:0}
/* Birds For Sale title bar: "Last updated" text from [hp_updated]. */
.hp-updated{font-family:'Open Sans',sans-serif;font-size:15px;color:#E9DFD5}
.hp-loop-card .hp-note{margin-top:4px}

/* Home "Find your breed" cards: WebKit collapses a lazy-loaded <img> inside an inline <a> to 0x0
   below the fold, so cards 3 and 4 showed no photo at 390px. Block-level link fixes it
   (found by Lane F2, 2026-11-06). */
.elementor-widget-image.hp-card-img a,
.hp-card-img .elementor-widget-container > a { display: block; width: 100%; height: 100%; }
