/* Yaazh Reparatie: booking, status, landing, account. Builds on calc.css variables. */
.yr-book, .yr-status, .yr-landing, .yr-account { padding-bottom: 48px; }
.yr h3 { font-size: 18px; font-weight: 800; color: var(--yr-ink); margin: 0 0 10px; }
.yr .yr-muted { color: var(--yr-muted); font-size: 14px; }
.yr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* progress */
.yr-progress { display: none; list-style: none; margin: 0 0 20px; padding: 0; gap: 8px; }
.yr-form.is-stepped ~ .yr-progress, .yr-book .yr-progress { display: flex; }
.yr-progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--yr-muted); padding-top: 10px; border-top: 3px solid var(--yr-line); }
.yr-progress li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--yr-soft); font-size: 12px; flex: none; }
.yr-progress li.is-now { color: var(--yr-ink); border-color: var(--yr-red); }
.yr-progress li.is-now span { background: var(--yr-red); color: #fff; }
.yr-progress li.is-done { border-color: var(--yr-ink); color: var(--yr-ink); }
.yr-progress li.is-done span { background: var(--yr-ink); color: #fff; }
@media (max-width: 640px) { .yr-progress li { font-size: 0; gap: 0; } .yr-progress li span { font-size: 12px; } }

/* form */
.yr-form { display: block; }
.yr-step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.yr-step legend { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--yr-ink); margin-bottom: 14px; padding: 0; }
.yr-form.is-stepped .yr-step legend .yr-step-n { display: none; }
.yr-step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--yr-ink); color: #fff; display: inline-grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.yr-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.yr-field > span { font-weight: 600; font-size: 14.5px; color: var(--yr-ink); }
.yr-field > span em { font-weight: 400; color: var(--yr-muted); font-style: normal; }
.yr-field input, .yr-field select, .yr-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--yr-ink); background: #fff; border: 1.5px solid var(--yr-line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s;
}
.yr-field textarea { resize: vertical; }
.yr-field input:focus, .yr-field select:focus, .yr-field textarea:focus { border-color: var(--yr-ink); }
.yr-field .is-invalid, .yr .is-invalid { border-color: var(--yr-red) !important; background: #fff8f8; }
.yr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.yr-span2 { grid-column: span 2; }
@media (max-width: 640px) { .yr-grid { grid-template-columns: 1fr; } .yr-span2 { grid-column: auto; } }
.yr-addr.is-optional > span::after { content: ' (optioneel)'; font-weight: 400; color: var(--yr-muted); }
.yr-addr-note.is-optional { display: block; }
.yr-addr-note:not(.is-optional) { display: none; }

.yr-choices { display: grid; gap: 10px; margin-bottom: 14px; }
.yr-choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--yr-line); border-radius: var(--yr-radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.yr-choice:hover { border-color: #d6d0ca; }
.yr-choice:has(input:checked) { border-color: var(--yr-red); box-shadow: 0 8px 24px rgba(227, 6, 19, .1); }
.yr-choice input { accent-color: var(--yr-red); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.yr-choice-body { display: flex; flex-direction: column; gap: 4px; }
.yr-choice-body strong { font-size: 16.5px; color: var(--yr-ink); }
.yr-choice-body small { color: var(--yr-muted); font-size: 13.5px; line-height: 1.4; }
.yr-tag { display: inline-block; align-self: flex-start; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--yr-ink); background: var(--yr-soft); border-radius: 999px; padding: 4px 10px; }

.yr-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.yr-check input { accent-color: var(--yr-red); width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.yr-check small { display: block; color: var(--yr-muted); font-size: 13px; margin-top: 2px; }
.yr-check a { color: var(--yr-red); }
.yr-loaner { border-top: 1px solid var(--yr-line); margin-top: 6px; }
.yr-terms { border-top: 1px solid var(--yr-line); margin-top: 8px; padding-top: 6px; }

.yr-paybox { display: flex; flex-direction: column; gap: 4px; background: var(--yr-soft); border-radius: 14px; padding: 14px 18px; margin-top: 12px; }
.yr-paybox > div { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.yr-paybox strong { font-size: 22px; font-weight: 800; color: var(--yr-ink); }
.yr-paybox small { color: var(--yr-muted); }

.yr-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 8px; }
.yr-nav .yr-next, .yr-nav .yr-submit { margin-left: auto; }
.yr-form:not(.is-stepped) .yr-prev, .yr-form:not(.is-stepped) .yr-next { display: none; }
.yr-btn[disabled] { opacity: .5; pointer-events: none; }
button.yr-btn { border: 0; cursor: pointer; font-family: inherit; }
button.yr-btn-ghost { border: 1.5px solid var(--yr-line); }
.yr-link { background: none; border: 0; padding: 0; color: var(--yr-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }

/* summary of chosen repairs */
.yr-summary { border: 1.5px solid var(--yr-line); border-radius: var(--yr-radius); padding: 16px 18px; margin-bottom: 16px; background: #fff; }
.yr-summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.yr-summary-head strong { font-size: 18px; color: var(--yr-ink); }
.yr-summary-head a { color: var(--yr-red); font-weight: 600; font-size: 14px; }
.yr-lines { list-style: none; margin: 0; padding: 0; }
.yr-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--yr-line); font-size: 15px; }
.yr-lines li b { white-space: nowrap; color: var(--yr-ink); }
.yr-lines .yr-lines-total { border-bottom: 0; font-weight: 800; font-size: 16.5px; color: var(--yr-ink); }

/* alerts */
.yr-alert { background: #fff3f3; border: 1.5px solid #f6c5c8; color: var(--yr-ink); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }
.yr-alert ul { margin: 6px 0 0 18px; padding: 0; }
.yr-success { background: #eefaf1; border: 1.5px solid #bfe6c9; border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }

/* status page */
.yr-statusbox { background: #fff; border: 2px solid var(--yr-ink); border-radius: var(--yr-radius); padding: 18px 20px; margin-bottom: 18px; }
.yr-statusbox.is-cancelled { border-color: var(--yr-line); opacity: .8; }
.yr-statusbox p { margin: 10px 0 0; font-size: 16px; }
.yr-statusbox .yr-note { background: var(--yr-soft); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.yr-badge { display: inline-block; background: var(--yr-red); color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 14px; }
.yr-timeline { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 0 0 22px; padding: 0; }
.yr-timeline li { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--yr-muted); font-weight: 600; }
.yr-timeline li span { height: 6px; border-radius: 99px; background: var(--yr-line); }
.yr-timeline li.is-done span { background: var(--yr-ink); }
.yr-timeline li.is-now { color: var(--yr-ink); }
.yr-timeline li.is-now span { background: var(--yr-red); }
@media (max-width: 640px) { .yr-timeline li { font-size: 0; } .yr-timeline li.is-now { font-size: 12px; grid-column: span 1; white-space: nowrap; } }
.yr-card-block { background: #fff; border: 1.5px solid var(--yr-line); border-radius: var(--yr-radius); padding: 18px 20px; margin-bottom: 14px; }
.yr-card-block p { margin: 0 0 10px; }
.yr-card-block .yr-row { margin-top: 14px; }
.yr-card-block form { margin: 0; }
.yr-bignum { font-size: 34px; font-weight: 800; letter-spacing: .02em; color: var(--yr-ink); margin: 8px 0 0 !important; }
.yr-howto { margin: 0 0 10px 18px; padding: 0; }
.yr-howto li { margin-bottom: 6px; }
.yr-warranty summary, .yr-history summary { cursor: pointer; font-weight: 700; color: var(--yr-ink); }
.yr-history { margin: 18px 0; }
.yr-history ul { list-style: none; padding: 0; margin: 10px 0 0; }
.yr-history li { padding: 6px 0; border-bottom: 1px solid var(--yr-line); font-size: 14px; }
.yr-history time { color: var(--yr-muted); }
.yr-foot { align-items: center; justify-content: space-between; margin-top: 20px; }
.yr-lookup { max-width: 460px; }

/* landing */
.yr-hero { padding: 28px 0 8px; }
.yr-hero h1 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; color: var(--yr-ink); margin: 6px 0 14px; max-width: 14ch; }
.yr-hero > p { font-size: 18px; color: var(--yr-muted); max-width: 52ch; margin: 0 0 22px; }
.yr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 36px 0; }
.yr-stepcard { background: #fff; border: 1px solid var(--yr-line); border-radius: var(--yr-radius); padding: 18px; }
.yr-stepcard h3 { margin: 12px 0 6px; font-size: 17px; }
.yr-stepcard p { margin: 0; color: var(--yr-muted); font-size: 14.5px; }
.yr-visit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--yr-ink); color: #fff; border-radius: 22px; padding: 26px 28px; }
.yr-visit h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.yr-visit p { margin: 0; }
.yr-visit .yr-muted { color: #c9c2bc; }
.yr-faq { margin-top: 36px; }
.yr-faq h2 { font-size: 26px; color: var(--yr-ink); }
.yr-faq details { border-bottom: 1px solid var(--yr-line); padding: 14px 0; }
.yr-faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--yr-ink); }
.yr-faq p { color: var(--yr-text); margin: 8px 0 0; }

/* homepage block */
.yr-homeblock { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--yr-line); border-radius: 22px; padding: 24px 26px; padding-bottom: 24px; }
.yr-homeblock h2 { font-size: clamp(20px, 2.6vw, 26px); color: var(--yr-ink); margin: 4px 0 6px; }
.yr-homeblock p { margin: 0; color: var(--yr-muted); }

/* account */
.yr-acc-list { list-style: none; padding: 0; margin: 0; }
.yr-acc-list a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--yr-line); text-decoration: none; }
.yr-acc-list .yr-badge { font-size: 12px; padding: 3px 10px; }
.yr-acc-list small { color: var(--yr-muted); margin-left: auto; }

/* ===== 0.3: full-width layout, theme overrides, logos ===== */
.yr-page { padding: 28px 20px 72px; }
.yr-page-in { max-width: 1180px; margin: 0 auto; }
.yr-fullpage .yr { max-width: 1180px; }
.yr-fullpage .yr-book, .yr-fullpage .yr-status { max-width: 820px; }

/* The theme styles every h2 with a red left bar and every link with an underline: not inside our blocks. */
.yr h1, .yr h2, .yr h3 { border: 0 !important; padding-left: 0 !important; }
.yr h1::before, .yr h2::before, .yr h3::before { content: none !important; display: none !important; }
.yr a, .yr a:hover, .yr a:focus { text-decoration: none !important; }
.yr .yr-summary-head a, .yr .yr-check a, .yr .yr-results .yr-empty a, .yr .yr-muted a { text-decoration: underline !important; }
.yr p { color: inherit; }

/* landing hero: text + logo card */
.yr-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 20px 0 8px; }
.yr-hero h1 { max-width: none; }
.yr-hero-card { background: #fff; border: 1px solid var(--yr-line); border-radius: 22px; padding: 22px; box-shadow: 0 12px 40px rgba(26, 20, 16, .06); }
.yr-hero-card-title { font-weight: 700; color: var(--yr-ink); margin: 0 0 14px !important; }
.yr-hero-card-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--yr-red) !important; }
@media (max-width: 860px) { .yr-hero { grid-template-columns: 1fr; gap: 24px; } }

/* logo grid */
.yr-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.yr-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 12px 6px; border-radius: 14px; background: var(--yr-soft); color: var(--yr-ink) !important; transition: background .15s, transform .15s; }
a.yr-logo:hover { background: #fff; box-shadow: 0 0 0 1.5px var(--yr-ink) inset; transform: translateY(-1px); }
.yr-logo svg { width: 30px; height: 30px; fill: currentColor; }
.yr-logo-txt { font-size: 12px; font-weight: 600; color: var(--yr-muted); }
@media (max-width: 480px) { .yr-logos { grid-template-columns: repeat(3, 1fr); } }

/* steps: 4 in a row on desktop */
.yr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .yr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .yr-steps { grid-template-columns: 1fr; } }

/* dark "walk in" block: force readable colours whatever the theme says */
.yr .yr-visit, .yr .yr-visit h2, .yr .yr-visit p, .yr .yr-visit .yr-visit-addr { color: #fff !important; }
.yr .yr-visit .yr-visit-note { color: #cfc7c0 !important; margin-top: 6px !important; }
.yr-btn-light { background: #fff; color: var(--yr-ink) !important; }
.yr-btn-light:hover { background: #f1ece8; }

/* homepage block: text + logos */
.yr-homeblock { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.yr-homeblock .yr-row { margin-top: 16px; }
.yr-homeblock .yr-logos { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .yr-homeblock { grid-template-columns: 1fr; } }

/* calculator: brand tiles with logo */
.yr-brand { flex-direction: row !important; align-items: center; gap: 12px !important; display: grid !important; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; }
.yr-brand .yr-brand-logo { grid-row: span 2; }
.yr-brand-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--yr-soft); display: inline-grid; place-items: center; color: var(--yr-ink); }
.yr-brand-logo svg { width: 22px; height: 22px; fill: currentColor; }
.yr-brand-logo b { font-size: 17px; }
.yr-eyebrow-logo { display: inline-flex; align-items: center; gap: 8px; }
.yr-eyebrow-logo .yr-brand-logo { width: 26px; height: 26px; border-radius: 7px; }
.yr-eyebrow-logo .yr-brand-logo svg { width: 15px; height: 15px; }
.yr-head-brand { display: flex; align-items: center; gap: 14px; }
.yr-head-brand .yr-brand-logo { width: 52px; height: 52px; border-radius: 14px; }
.yr-head-brand .yr-brand-logo svg { width: 28px; height: 28px; }

/* repair pay page */
.yr-pay { max-width: 720px; }
.yr-pay #order_review > table.shop_table { display: none; }
.yr-pay .yr-pay-methods ul.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 12px; }
.yr-pay .yr-pay-methods #place_order { background: var(--yr-red); color: #fff; border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 16px; cursor: pointer; width: 100%; }
.yr .yr-fee-note { display: block; margin-top: 6px; color: var(--yr-muted); font-size: 12.5px; }
