/**
 * Budgetmodeller landing page (page-templates/template-budgetmodeller.php).
 *
 * Plain CSS on purpose, like product-vildmark.css: the Tailwind bundle is
 * compiled and committed, and this page needs a handful of values the
 * bundle does not carry (the hero gradient, the rail shadow, the multiply
 * blend on product cutouts). Every value below is lifted from the approved
 * design canvas; the two breakpoints are the canvas artboards (390 mobile,
 * 1440 desktop) with `lg` (1024px) as the switch, matching header.php.
 *
 * Palette: wood-900 #4a3c2e, wood-800 #5a4838, wood-700 #6f5a44,
 * wood-500 #a68b63, wood-300 #d4c4ad, wood-200 #e8dfd2, wood-100 #f5f0e8,
 * wood-50 #faf8f5, forest-700 #15803d, forest-600 #16a34a,
 * forest-400 #4ade80, forest-300 #86efac, forest-200 #bbf7d0,
 * forest-100 #dcfce7, forest-50 #f0fdf4, forest-800 #166534.
 */

.uw-bm {
    color: #4a3c2e;
    -webkit-font-smoothing: antialiased;
    /* Room for the sticky bar on mobile. */
    padding-bottom: 84px;
}

.uw-bm h1,
.uw-bm h2,
.uw-bm h3,
.uw-bm p,
.uw-bm ul {
    margin: 0;
}

/* The shared showroom band (template-parts/showroom-cta.php) centres its
   lead paragraph with mx-auto, which the margin reset above overrides, so
   the text sat to the left under the centred heading (client L85). */
.uw-bm [aria-labelledby="section-showroom"] p {
    margin-left: auto;
    margin-right: auto;
}

.uw-bm ul {
    list-style: none;
    padding: 0;
}

.uw-bm a {
    text-decoration: none;
    transition: color .2s, background-color .2s, border-color .2s;
}

.uw-bm-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.uw-bm-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.uw-bm-person {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.uw-bm-person--dim {
    opacity: .45;
}

.uw-bm-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #15803d;
}

.uw-bm-h2 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
    color: #4a3c2e;
}

.uw-bm-section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 860px;
}

.uw-bm-section-head p {
    font-size: 16px;
    line-height: 1.55;
    color: #6f5a44;
}

/* Buttons ---------------------------------------------------------------- */

.uw-bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.uw-bm-btn--card {
    padding: 14px 24px;
    background: #15803d;
    color: #ffffff;
    font-size: 16px;
    border-radius: 8px;
}

.uw-bm-btn--card:hover {
    background: #166534;
    color: #ffffff;
}

.uw-bm-btn--card-secondary {
    padding: 12px 24px;
    background: #f5f0e8;
    color: #5a4838;
    font-size: 16px;
    border-radius: 8px;
}

.uw-bm-btn--card-secondary:hover {
    background: #e8dfd2;
    color: #4a3c2e;
}

/* Hero --------------------------------------------------------------------- */

.uw-bm-hero {
    position: relative;
    background: #4a3c2e;
    overflow: hidden;
    min-height: 560px;
}

.uw-bm-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 60%;
}

.uw-bm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .8) 100%);
}

.uw-bm-hero__inner {
    position: relative;
    z-index: 1;
    padding: 40px 20px 96px;
}

.uw-bm-hero__col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.uw-bm-hero__pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(134, 239, 172, .15);
    border: 1px solid rgba(134, 239, 172, .3);
    color: #bbf7d0;
}

.uw-bm-hero__title {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 700;
    color: #ffffff;
}

.uw-bm-hero__title span {
    color: #d4c4ad;
}

.uw-bm-hero__lead {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .88);
    max-width: 560px;
}

.uw-bm-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.uw-bm-btn--hero {
    padding: 15px 24px;
    background: #16a34a;
    color: #ffffff;
    font-size: 17px;
    border-radius: 9999px;
}

.uw-bm-btn--hero:hover {
    background: #15803d;
    color: #ffffff;
}

.uw-bm-btn--hero-outline {
    padding: 13px 24px;
    background: transparent;
    color: #ffffff;
    font-size: 17px;
    border-radius: 9999px;
    border: 2px solid #ffffff;
}

.uw-bm-btn--hero-outline:hover {
    background: #ffffff;
    color: #4a3c2e;
}

.uw-bm-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 4px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 500;
}

.uw-bm-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.uw-bm-hero__trust-item svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #4ade80;
}

.uw-bm-hero__trustpilot {
    display: none;
    flex: 1 1 200px;
    min-width: 200px;
}

/* Price rail --------------------------------------------------------------- */

.uw-bm-rail {
    position: relative;
    z-index: 2;
    margin: -64px 16px 0;
}

.uw-bm-rail__grid {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .25), 0 4px 6px -2px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.uw-bm-rail__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    color: inherit;
}

.uw-bm-rail__item + .uw-bm-rail__item {
    border-top: 1px solid #f5f0e8;
}

.uw-bm-rail__item--featured {
    background: #f0fdf4;
}

.uw-bm-rail__item:hover {
    color: inherit;
}

.uw-bm-rail__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.uw-bm-rail__persons {
    display: none;
    align-items: center;
    gap: 3px;
    color: #15803d;
}

.uw-bm-rail__label {
    font-size: 12px;
    font-weight: 600;
    color: #6f5a44;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.uw-bm-rail__item--featured .uw-bm-rail__label {
    color: #15803d;
}

.uw-bm-rail__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    color: #4a3c2e;
}

.uw-bm-rail__price-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uw-bm-rail__price {
    font-size: 20px;
    font-weight: 700;
    color: #15803d;
    line-height: 1;
    white-space: nowrap;
}

.uw-bm-rail__was {
    display: none;
    font-size: 13px;
    color: #6f5a44;
    white-space: nowrap;
}

.uw-bm-rail__was s {
    text-decoration: line-through;
}

.uw-bm-rail__chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #a68b63;
}

.uw-bm-rail__item--featured .uw-bm-rail__chevron {
    color: #15803d;
}

/* The three models --------------------------------------------------------- */

.uw-bm-models {
    background: #ffffff;
    padding: 56px 0 64px;
}

.uw-bm-models__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.uw-bm-models__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.uw-bm-models__compare {
    display: none;
    font-size: 15px;
    font-weight: 600;
    color: #15803d;
    white-space: nowrap;
    padding-bottom: 6px;
}

.uw-bm-models__compare:hover {
    color: #166534;
}

.uw-bm-models__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.uw-bm-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8dfd2;
    border-radius: 16px;
    overflow: hidden;
}

.uw-bm-card--featured {
    border: 2px solid #15803d;
    box-shadow: 0 20px 25px -5px rgba(21, 128, 61, .12), 0 8px 10px -6px rgba(21, 128, 61, .12);
}

.uw-bm-card__media {
    position: relative;
    background: #f5f0e8;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/*
 * The shop's product cutouts are square transparent PNGs with the tub
 * filling roughly the middle two thirds, so the image runs edge to edge
 * and its own transparent margins become the breathing room. The negative
 * bottom margin trims the empty band under the tub so it sits on the
 * card's edge like the design. No overflow clipping here: the media box
 * grows past 4:3 rather than cutting the chimney.
 */
.uw-bm-card__media img {
    width: 82%;
    height: auto;
    display: block;
    margin-bottom: -9%;
}

/*
 * The four Classic cards use square product renders on a pure white
 * background. The whole product (chimney cap and steps included) must show,
 * so the image is contained in a square on a white card media area. Only the
 * real-image cards are affected: the placeholder rule below is separate.
 */
.uw-bm-card__media:not(.uw-bm-card__media--placeholder) {
    background: #fff;
}

.uw-bm-card__media:not(.uw-bm-card__media--placeholder) img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 0;
}

.uw-bm-card__media--placeholder {
    align-items: center;
}

.uw-bm-card__media--placeholder img {
    width: 60%;
    margin-bottom: 0;
    opacity: .6;
}

.uw-bm-card__pill {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #4a3c2e;
    z-index: 1;
}

.uw-bm-card__pill .uw-bm-person {
    color: #15803d;
}

.uw-bm-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 9999px;
    background: #15803d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 1;
}

.uw-bm-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    flex: 1;
}

.uw-bm-card__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uw-bm-card__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #4a3c2e;
}

.uw-bm-card__spec {
    font-size: 14px;
    color: #6f5a44;
}

.uw-bm-card__extras {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.uw-bm-card__extras li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 8px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
}

.uw-bm-card__extras .uw-bm-check {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.uw-bm-card__blurb {
    font-size: 15px;
    line-height: 1.55;
    color: #5a4838;
}

.uw-bm-card__blurb p {
    margin: 0;
}

.uw-bm-card__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f5f0e8;
    margin-top: auto;
}

.uw-bm-card__price {
    font-size: 28px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

.uw-bm-card__was {
    font-size: 15px;
    color: #6f5a44;
    text-decoration: line-through;
    white-space: nowrap;
}

.uw-bm-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uw-bm-card__actions .uw-bm-btn--card-secondary {
    display: none;
}

/* Comparison --------------------------------------------------------------- */

.uw-bm-compare {
    background: #faf8f5;
    border-top: 1px solid #f5f0e8;
    border-bottom: 1px solid #f5f0e8;
    padding: 56px 0;
}

.uw-bm-compare__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.uw-bm-compare__head p {
    display: none;
}

.uw-bm-compare__box {
    background: #ffffff;
    border: 1px solid #e8dfd2;
    border-radius: 16px;
    overflow: hidden;
}

/* Mobile: model columns + a same-on-all list. */
.uw-bm-compare__mobile {
    display: block;
}

.uw-bm-compare__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uw-bm-compare__list-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
}

.uw-bm-compare__list-item + .uw-bm-compare__list-item {
    border-top: 1px solid #f5f0e8;
}

.uw-bm-compare__list-item--featured {
    background: #f0fdf4;
}

.uw-bm-compare__list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.uw-bm-compare__list-head .uw-bm-compare__col-name {
    font-size: 16px;
    font-weight: 700;
    color: #4a3c2e;
    overflow-wrap: anywhere;
}

.uw-bm-compare__list-item--featured .uw-bm-compare__col-name {
    color: #15803d;
}

.uw-bm-compare__list-price {
    font-size: 16px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

.uw-bm-compare__list-item .uw-bm-compare__col-sub {
    font-size: 13px;
    color: #6f5a44;
}

.uw-bm-compare__list-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 2px;
}

.uw-bm-compare__list-extra {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #5a4838;
}

.uw-bm-compare__list-extra .uw-bm-check {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.uw-bm-compare__list-extra--no {
    color: #a68b63;
}

.uw-bm-compare__same {
    padding: 18px 16px;
    border-top: 1px solid #f5f0e8;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uw-bm-compare__same-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #a68b63;
}

.uw-bm-compare__same-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #5a4838;
}

.uw-bm-check {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #16a34a;
}

/* Desktop: the full table. */
.uw-bm-compare__table {
    display: none;
    width: 100%;
    border-collapse: collapse;
}

.uw-bm-compare__table thead tr {
    background: #f5f0e8;
}

.uw-bm-compare__th {
    padding: 20px 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #4a3c2e;
}

.uw-bm-compare__th--label {
    width: 22%;
    font-size: 14px;
    color: #6f5a44;
}

.uw-bm-compare__th--featured {
    color: #15803d;
}

.uw-bm-compare__td {
    padding: 18px 24px;
    font-size: 16px;
    color: #5a4838;
    border-top: 1px solid #f5f0e8;
    text-align: left;
}

.uw-bm-compare__td--label {
    font-size: 14px;
    font-weight: 600;
    color: #6f5a44;
}

.uw-bm-compare__td--strong {
    font-weight: 600;
    color: #4a3c2e;
}

.uw-bm-compare__td--yes .uw-bm-check {
    display: inline-block;
    vertical-align: middle;
}

.uw-bm-compare__td--no {
    color: #a68b63;
}

.uw-bm-compare__td--same {
    background: #faf8f5;
}

.uw-bm-compare__td--same > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uw-bm-compare__same-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #a68b63;
    margin-left: 6px;
}

.uw-bm-compare__table tr.uw-bm-compare__price-row {
    background: #f0fdf4;
}

.uw-bm-compare__price-row .uw-bm-compare__td {
    border-top: 1px solid #dcfce7;
}

.uw-bm-compare__price-row .uw-bm-compare__td--label {
    color: #4a3c2e;
}

.uw-bm-compare__td--price {
    font-size: 22px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

/* Included (dark band) ----------------------------------------------------- */

.uw-bm-included {
    background: #4a3c2e;
    padding: 56px 0;
}

.uw-bm-included__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.uw-bm-included__media {
    position: relative;
}

.uw-bm-included__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.uw-bm-included__tag {
    display: none;
    position: absolute;
    left: 24px;
    bottom: 24px;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .94);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #4a3c2e;
}

.uw-bm-included__tag .uw-bm-ico {
    color: #15803d;
}

.uw-bm-included__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.uw-bm-included__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uw-bm-included__head .uw-bm-eyebrow {
    color: #86efac;
}

.uw-bm-included__head .uw-bm-h2 {
    color: #ffffff;
}

.uw-bm-included__head p {
    font-size: 15px;
    line-height: 1.55;
    color: #e8dfd2;
}

.uw-bm-included__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uw-bm-included__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #f5f0e8;
}

.uw-bm-included__note {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
    color: #e8dfd2;
}

.uw-bm-included__note strong {
    color: #ffffff;
}

.uw-bm-included__list .uw-bm-check {
    color: #4ade80;
    margin-top: 1px;
}

/* Craft / proof ------------------------------------------------------------ */

.uw-bm-craft {
    background: #ffffff;
    padding: 56px 0;
}

.uw-bm-craft__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.uw-bm-craft__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.uw-bm-craft__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uw-bm-craft__copy p {
    font-size: 16px;
    line-height: 1.65;
    color: #5a4838;
}

.uw-bm-craft__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    padding-top: 8px;
}

.uw-bm-craft__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uw-bm-craft__stat-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #4a3c2e;
    line-height: 1;
}

.uw-bm-craft__stat-label {
    font-size: 13px;
    color: #6f5a44;
}

.uw-bm-craft__media {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.uw-bm-craft__media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Heating cross-sell strip ------------------------------------------------- */

.uw-bm-heating {
    background: #f0fdf4;
    border-top: 1px solid #dcfce7;
    border-bottom: 1px solid #dcfce7;
    padding: 36px 0;
}

.uw-bm-heating__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.uw-bm-heating__text {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.uw-bm-heating__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #15803d;
    flex: 0 0 48px;
}

.uw-bm-heating__icon svg {
    width: 24px;
    height: 24px;
}

.uw-bm-heating__text p {
    font-size: 16px;
    line-height: 1.5;
    color: #166534;
}

.uw-bm-heating__text strong {
    font-weight: 600;
}

.uw-bm-btn--outline-green {
    padding: 12px 24px;
    border: 2px solid #15803d;
    color: #15803d;
    font-size: 16px;
    border-radius: 8px;
    background: transparent;
}

.uw-bm-btn--outline-green:hover {
    background: #15803d;
    color: #ffffff;
}

/* Sticky mobile bar -------------------------------------------------------- */

.uw-bm-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #ffffff;
    border-top: 1px solid #e8dfd2;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 12px;
}

.uw-bm-sticky__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.uw-bm-sticky__label {
    font-size: 12px;
    color: #6f5a44;
}

.uw-bm-sticky__price {
    font-size: 18px;
    font-weight: 700;
    color: #15803d;
    line-height: 1;
    white-space: nowrap;
}

.uw-bm-sticky__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 9999px;
    background: #f5f0e8;
    color: #15803d;
}

.uw-bm-sticky__phone:hover {
    background: #e8dfd2;
    color: #15803d;
}

.uw-bm-btn--sticky {
    padding: 14px 22px;
    background: #15803d;
    color: #ffffff;
    font-size: 15px;
    border-radius: 9999px;
}

.uw-bm-btn--sticky:hover {
    background: #166534;
    color: #ffffff;
}

/* Empty state (no published models yet) ------------------------------------ */

.uw-bm-empty {
    padding: 64px 0;
}

.uw-bm-empty__box {
    padding: 32px;
    border: 1px dashed #d4c4ad;
    border-radius: 16px;
    background: #faf8f5;
    color: #6f5a44;
    font-size: 16px;
    line-height: 1.6;
}

/* Tablet ------------------------------------------------------------------- */

@media (min-width: 640px) {
    .uw-bm-hero__actions {
        flex-direction: row;
        align-items: center;
    }

    .uw-bm-models__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* A single published model: centre it rather than leave an empty column. */
    .uw-bm-models__grid > .uw-bm-card:only-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 520px);
    }

    .uw-bm-heating__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .uw-bm-heating__text {
        align-items: center;
    }
}

/* Desktop (the 1440 artboard) --------------------------------------------- */

@media (min-width: 1024px) {
    .uw-bm-container {
        padding: 0 32px;
    }

    .uw-bm-h2 {
        font-size: 44px;
        line-height: 1.1;
    }

    .uw-bm-section-head {
        gap: 14px;
    }

    .uw-bm-section-head p {
        font-size: 18px;
        line-height: 1.6;
    }

    /* Hero */
    .uw-bm-hero {
        height: 760px;
        min-height: 0;
    }

    .uw-bm-hero__img {
        object-position: 50% 60%;
    }

    .uw-bm-hero__overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .15) 100%);
    }

    .uw-bm-hero__inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 96px 32px 0;
    }

    .uw-bm-hero__col {
        gap: 24px;
        width: 700px;
        max-width: 100%;
    }

    .uw-bm-hero__pill {
        font-size: 12px;
    }

    .uw-bm-hero__title {
        font-size: 60px;
        line-height: 1.04;
    }

    .uw-bm-hero__lead {
        font-size: 19px;
    }

    .uw-bm-hero__actions {
        gap: 16px;
        margin-top: 8px;
    }

    .uw-bm-btn--hero {
        padding: 16px 32px;
        font-size: 18px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .25), 0 4px 6px -4px rgba(0, 0, 0, .25);
    }

    .uw-bm-btn--hero-outline {
        padding: 14px 32px;
        font-size: 18px;
    }

    .uw-bm-hero__trust {
        flex-wrap: nowrap;
        gap: 24px;
        margin-top: 16px;
        font-size: 14px;
    }

    .uw-bm-hero__trust-item {
        gap: 8px;
    }

    .uw-bm-hero__trust-item svg {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .uw-bm-hero__trustpilot {
        display: block;
    }

    /* Price rail: three floating cards straddling the hero edge */
    .uw-bm-rail {
        max-width: 1280px;
        margin: -72px auto 0;
        padding: 0 32px;
    }

    .uw-bm-rail__grid {
        display: grid;
        grid-template-columns: repeat(var(--uw-bm-cols, 3), minmax(0, 1fr));
        gap: 20px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .uw-bm-rail__item {
        padding: 22px 26px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .25), 0 4px 6px -2px rgba(0, 0, 0, .08);
        transition: transform .2s, box-shadow .2s;
    }

    .uw-bm-rail__item:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 44px -12px rgba(0, 0, 0, .3), 0 4px 6px -2px rgba(0, 0, 0, .08);
    }

    .uw-bm-rail__item + .uw-bm-rail__item {
        border-top: 0;
    }

    .uw-bm-rail__item--featured {
        background: #ffffff;
        outline: 2px solid #15803d;
        outline-offset: -2px;
    }

    .uw-bm-rail__meta {
        gap: 4px;
    }

    .uw-bm-rail__persons {
        display: flex;
    }

    .uw-bm-rail__label {
        font-size: 13px;
    }

    .uw-bm-rail__item--featured .uw-bm-rail__label {
        color: #6f5a44;
    }

    .uw-bm-rail__name {
        font-size: 20px;
    }

    .uw-bm-rail__price-col {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .uw-bm-rail__price {
        font-size: 24px;
    }

    .uw-bm-rail__was {
        display: block;
    }

    .uw-bm-rail__chevron {
        display: none;
    }

    /* Models */
    .uw-bm-models {
        padding: 96px 0 104px;
    }

    .uw-bm-models__inner {
        gap: 48px;
    }

    .uw-bm-models__head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 48px;
    }

    .uw-bm-models__compare {
        display: inline-block;
    }

    .uw-bm-models__grid {
        grid-template-columns: repeat(var(--uw-bm-cols, 3), minmax(0, 1fr));
    }

    /* Height follows the cutout (a square image at full width lands
       taller than 4:3), so no aspect-ratio here: on a flex container it
       would pin the box and clip the chimney. */
    .uw-bm-card__media {
        min-height: 0;
    }

    .uw-bm-card__media--placeholder {
        aspect-ratio: 4 / 3;
    }

    .uw-bm-card__media img {
        width: 100%;
    }

    .uw-bm-card__pill,
    .uw-bm-card__badge {
        top: 16px;
    }

    .uw-bm-card__pill {
        left: 16px;
    }

    .uw-bm-card__badge {
        right: 16px;
        font-size: 12px;
    }

    .uw-bm-card__body {
        gap: 16px;
        padding: 28px;
    }

    .uw-bm-card__title-wrap {
        gap: 6px;
    }

    .uw-bm-card__title {
        font-size: 26px;
    }

    .uw-bm-card__blurb {
        font-size: 16px;
    }

    .uw-bm-card__price {
        font-size: 30px;
    }

    .uw-bm-card__was {
        font-size: 16px;
    }

    .uw-bm-card__actions .uw-bm-btn--card-secondary {
        display: inline-flex;
    }

    /* Comparison */
    .uw-bm-compare {
        padding: 96px 0;
    }

    .uw-bm-compare__inner {
        gap: 40px;
    }

    .uw-bm-compare__head p {
        display: block;
    }

    .uw-bm-compare__mobile {
        display: none;
    }

    .uw-bm-compare__table {
        display: table;
    }

    /* Included */
    .uw-bm-included {
        padding: 104px 0;
    }

    .uw-bm-included__inner {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 72px;
        align-items: center;
    }

    .uw-bm-included__media img {
        height: 520px;
        border-radius: 24px;
    }

    .uw-bm-included__tag {
        display: inline-flex;
    }

    .uw-bm-included__copy {
        gap: 28px;
    }

    .uw-bm-included__head {
        gap: 14px;
    }

    .uw-bm-included__head p {
        font-size: 17px;
        line-height: 1.6;
    }

    .uw-bm-included__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 28px;
    }

    .uw-bm-included__list li {
        font-size: 15px;
    }

    .uw-bm-included__list .uw-bm-check {
        margin-top: 2px;
    }

    /* Craft */
    .uw-bm-craft {
        padding: 104px 0;
    }

    .uw-bm-craft__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 72px;
        align-items: center;
    }

    .uw-bm-craft__copy {
        gap: 28px;
    }

    .uw-bm-craft__head {
        gap: 14px;
    }

    .uw-bm-craft__head .uw-bm-h2 {
        font-size: 40px;
        line-height: 1.12;
    }

    .uw-bm-craft__copy p {
        font-size: 17px;
    }

    .uw-bm-craft__stats {
        gap: 40px;
    }

    .uw-bm-craft__stat-value {
        font-size: 32px;
    }

    .uw-bm-craft__media {
        display: block;
        height: 560px;
    }

    .uw-bm-craft__media img {
        position: absolute;
        height: auto;
    }

    .uw-bm-craft__media .uw-bm-craft__img--drone {
        top: 0;
        right: 0;
        width: 84%;
        height: 420px;
        border-radius: 24px;
    }

    .uw-bm-craft__media .uw-bm-craft__img--water {
        left: 0;
        bottom: 0;
        width: 52%;
        height: 260px;
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
        border: 6px solid #ffffff;
    }

    /* Heating strip */
    .uw-bm-heating__text p {
        font-size: 17px;
    }

    /* Sticky bar is a mobile affordance. */
    .uw-bm {
        padding-bottom: 0;
    }

    .uw-bm-sticky {
        display: none;
    }
}

/* Four models across: tighter rail, cards and table so 1216px still breathes. */
@media (min-width: 1024px) {
    .uw-bm--cols-4 .uw-bm-rail__grid {
        gap: 16px;
    }

    .uw-bm--cols-4 .uw-bm-rail__item {
        padding: 18px 20px;
        gap: 12px;
    }

    .uw-bm--cols-4 .uw-bm-rail__name {
        font-size: 17px;
    }

    .uw-bm--cols-4 .uw-bm-rail__label {
        font-size: 12px;
    }

    .uw-bm--cols-4 .uw-bm-rail__price {
        font-size: 20px;
    }

    .uw-bm--cols-4 .uw-bm-models__grid {
        gap: 16px;
    }

    .uw-bm--cols-4 .uw-bm-card__body {
        padding: 22px 20px;
        gap: 14px;
    }

    .uw-bm--cols-4 .uw-bm-card__title {
        font-size: 22px;
    }

    .uw-bm--cols-4 .uw-bm-card__blurb {
        font-size: 15px;
    }

    .uw-bm--cols-4 .uw-bm-card__price {
        font-size: 26px;
    }

    /* Four narrow cards: the badge no longer fits beside the persons pill,
       so it sits under it instead of overlapping. */
    .uw-bm--cols-4 .uw-bm-card__badge {
        top: 54px;
        right: auto;
        left: 16px;
    }

    .uw-bm--cols-4 .uw-bm-btn--card,
    .uw-bm--cols-4 .uw-bm-btn--card-secondary {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 15px;
        white-space: normal;
        text-align: center;
    }

    .uw-bm--cols-4 .uw-bm-compare__th {
        padding: 18px 16px;
        font-size: 16px;
    }

    .uw-bm--cols-4 .uw-bm-compare__th--label {
        width: 20%;
    }

    .uw-bm--cols-4 .uw-bm-compare__td {
        padding: 16px;
        font-size: 15px;
    }
}
