/*
Theme Name:   Repario
Theme URI:    https://repario.eu
Description:  Motyw potomny sklepu Repario – części zamienne AGD.
Author:       Repario
Template:     kadence
Version:      0.2.0
Text Domain:  repario
*/

:root {
	--rp-navy: #13233f;
	--rp-navy-2: #1f3a66;
	--rp-orange: #f2832b;
	--rp-ink: #13233f;
	--rp-muted: #5d6879;
	--rp-soft-text: #c9d3e4;
	--rp-line: #e3e7ee;
	--rp-bg-soft: #f5f7fa;
	--rp-ok: #1d7a45;
	--rp-ok-bg: #e3f4ea;
	--rp-warn: #9a4c0c;
	--rp-warn-bg: #fff1e4;
	--rp-radius: 12px;
	--rp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Kolory i krój dla Kadence */
	--global-palette1: var(--rp-orange);
	--global-palette2: var(--rp-navy);
	--global-palette3: var(--rp-navy);
	--global-palette4: var(--rp-ink);
	--global-palette5: var(--rp-muted);
	--global-palette7: var(--rp-bg-soft);
	--global-palette8: var(--rp-bg-soft);
	--global-palette9: #ffffff;
	--global-body-font-family: var(--rp-font);
	--global-heading-font-family: var(--rp-font);
}

body { font-family: var(--rp-font); color: var(--rp-ink); }
h1, h2, h3, h4 { font-family: var(--rp-font); color: var(--rp-ink); letter-spacing: -0.01em; }
a { color: var(--rp-navy-2); }
a:hover { color: var(--rp-navy); }

.rp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
@media (min-width: 768px) { .rp-wrap { padding: 0 24px; } }
.rp-center { text-align: center; }
.rp-section { margin-top: 56px; margin-bottom: 56px; }
.rp-h2 { font-size: 28px; font-weight: 800; margin: 0 0 24px; }
.rp-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.rp-section__head a { font-weight: 600; }
.rp-icon { flex-shrink: 0; color: var(--rp-orange); }

/* ---------- Przyciski (granatowy tekst na pomarańczu: kontrast 6:1) ---------- */
.rp-btn,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.checkout-button,
#place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	background: var(--rp-orange) !important;
	color: var(--rp-navy) !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.rp-btn:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
#place_order:hover {
	background: var(--rp-navy) !important;
	color: #fff !important;
}
.rp-btn--ghost { background: transparent !important; border: 1px solid var(--rp-navy) !important; }
.checkout-button, #place_order { min-height: 56px; font-size: 17px !important; width: 100%; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pasek nad nagłówkiem ---------- */
.rp-topbar { background: var(--rp-navy); color: var(--rp-soft-text); font-size: 13px; }
.rp-topbar .rp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.rp-topbar a { color: #fff; }

/* ---------- Hero z wyszukiwarką ---------- */
.rp-hero { background: var(--rp-navy); color: #fff; }
.rp-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 64px; padding-bottom: 72px; text-align: center; }
.rp-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0; max-width: 820px; }
.rp-hero p { color: var(--rp-soft-text); font-size: 18px; line-height: 1.5; margin: 0; max-width: 640px; }
.rp-eyebrow { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--rp-navy-2); color: var(--rp-orange); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rp-eyebrow--dark { background: none; padding: 0; color: var(--rp-warn); }
.rp-search { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 720px; background: #fff; border-radius: 14px; padding: 8px; box-sizing: border-box; }
.rp-search input[type="search"] { flex: 1 1 260px; min-width: 0; min-height: 52px; border: 0 !important; box-shadow: none !important; padding: 0 16px; font-size: 17px; color: var(--rp-ink); background: transparent; }
.rp-search input[type="search"]:focus { outline: 2px solid var(--rp-orange); outline-offset: 0; border-radius: 8px; }
.rp-search button { flex: 0 0 auto; min-height: 52px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--rp-orange); color: var(--rp-navy); font-size: 17px; font-weight: 700; cursor: pointer; }
.rp-search button:hover { background: var(--rp-navy-2); color: #fff; }
.rp-hero__hint { color: #fff; font-size: 15px; }

/* ---------- Kafelki urządzeń ---------- */
.rp-appliances { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.rp-appliance { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 12px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: #fff; color: var(--rp-ink); text-decoration: none; font-weight: 600; transition: border-color .15s, transform .15s; }
.rp-appliance:hover { border-color: var(--rp-orange); transform: translateY(-2px); color: var(--rp-ink); }

/* ---------- Pasek zaufania ---------- */
.rp-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rp-trust > div { display: flex; gap: 14px; padding: 20px; border-radius: var(--rp-radius); background: var(--rp-bg-soft); font-size: 14px; line-height: 1.5; color: var(--rp-muted); }
.rp-trust strong { display: block; color: var(--rp-ink); font-size: 16px; margin-bottom: 4px; }

/* ---------- Baner modułów, kroki, marki, CTA ---------- */
.rp-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 32px; border: 1px solid var(--rp-line); border-radius: 16px; }
.rp-promo img { flex: 1 1 320px; min-width: 0; max-width: 480px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.rp-promo__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rp-promo__text h2 { font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0; }
.rp-promo__text p { color: var(--rp-muted); font-size: 16px; line-height: 1.6; margin: 0; }

.rp-band { background: var(--rp-bg-soft); padding: 64px 0; }
.rp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.rp-steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--rp-radius); background: #fff; }
.rp-steps strong { font-size: 18px; }
.rp-steps p { margin: 0; color: var(--rp-muted); line-height: 1.5; }
.rp-steps__num { width: 44px; height: 44px; border-radius: 999px; background: var(--rp-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }

.rp-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.rp-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--rp-line); border-radius: 999px; color: var(--rp-ink); text-decoration: none; font-weight: 600; }
.rp-chips a:hover { border-color: var(--rp-orange); }

.rp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; border-radius: 16px; background: var(--rp-navy-2); color: #fff; }
.rp-cta > div { flex: 1 1 420px; }
.rp-cta h2 { color: #fff; font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.rp-cta p { color: var(--rp-soft-text); margin: 0; line-height: 1.5; }

/* ---------- Plakietki stanu ---------- */
.rp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.rp-badge { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.rp-badge--oem { background: var(--rp-ok-bg); color: var(--rp-ok); }
.rp-badge--alt { background: var(--rp-warn-bg); color: var(--rp-warn); }

/* ---------- Lista produktów (kafelki WooCommerce) ---------- */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 0 0 32px !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; background: #fff; padding: 0 0 16px !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex-grow: 1; color: var(--rp-ink); text-decoration: none; }
.woocommerce ul.products li.product img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; margin: 0 !important; border-bottom: 1px solid var(--rp-line); }
.woocommerce ul.products li.product .rp-badge { margin: 14px 16px 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; font-weight: 700; line-height: 1.35; padding: 8px 16px 0 !important; margin: 0; }
.rp-loop-oem { font-size: 13px; color: var(--rp-muted); padding: 6px 16px 0; }
.rp-stock { font-size: 13px; font-weight: 600; padding: 4px 16px 0; }
.rp-stock--in { color: var(--rp-ok); }
.rp-stock--later { color: var(--rp-warn); }
.woocommerce ul.products li.product .price { display: block; font-size: 20px !important; font-weight: 800; color: var(--rp-ink) !important; padding: 10px 16px 0; margin-top: auto !important; }
.woocommerce ul.products li.product .button { margin: 12px 16px 0 !important; min-height: 44px; }

/* Filtry i sortowanie */
.woocommerce .woocommerce-ordering select { min-height: 40px; border: 1px solid var(--rp-line); border-radius: 8px; padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--rp-line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--rp-navy); color: #fff; border-color: var(--rp-navy); }

/* ---------- Wyszukiwanie ---------- */
.rp-search-device { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; margin-bottom: 24px; border: 2px solid var(--rp-navy); border-radius: 16px; }
.rp-search-device__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rp-ok); }
.rp-search-device__model { font-size: 26px; font-weight: 800; }
.rp-search-device__text { color: var(--rp-muted); font-size: 15px; }
.rp-help-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; margin: 24px 0; border-radius: var(--rp-radius); background: var(--rp-bg-soft); }
.rp-help-box strong { font-size: 18px; }
.rp-help-box p { margin: 0; color: var(--rp-muted); }

/* ---------- Karta produktu ---------- */
.single-product .product_title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.15; }
.single-product .summary .price { font-size: 34px !important; font-weight: 800; color: var(--rp-ink) !important; }
.rp-numbers { color: var(--rp-muted); font-size: 15px; }
.rp-numbers strong { color: var(--rp-ink); }
.rp-fit { display: flex; flex-direction: column; gap: 8px; padding: 18px; margin: 0 0 16px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); width: 100%; box-sizing: border-box; }
.rp-fit label { font-weight: 700; font-size: 15px; }
.rp-fit input { min-height: 46px; border: 1px solid var(--rp-line); border-radius: 10px; padding: 0 14px; font-size: 16px; }
.rp-fit__result:empty { display: none; }
.rp-fit__result { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.rp-fit__result.is-ok { background: var(--rp-ok-bg); color: var(--rp-ok); }
.rp-fit__result.is-warn { background: var(--rp-warn-bg); color: var(--rp-warn); }
.rp-fit__hint { margin: 0; font-size: 13px; color: var(--rp-muted); }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.single-product form.cart .quantity input.qty { min-height: 52px; width: 72px; border-radius: 10px; border: 1px solid var(--rp-line); font-weight: 700; }
.single-product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; font-size: 17px !important; }
.rp-models { columns: 2; padding-left: 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid var(--rp-orange); }

/* ---------- Etapy zamówienia ---------- */
.rp-checkout-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 600; color: var(--rp-muted); }
.rp-checkout-steps li { display: flex; align-items: center; gap: 8px; }
.rp-checkout-steps span { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--rp-soft-text); box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.rp-checkout-steps .is-current { color: var(--rp-ink); }
.rp-checkout-steps .is-current span { background: var(--rp-orange); border-color: var(--rp-orange); color: var(--rp-navy); font-weight: 800; }
.rp-checkout-steps .is-done { color: var(--rp-ok); }
.rp-checkout-steps .is-done span { background: var(--rp-ok-bg); border-color: var(--rp-ok-bg); }

/* ---------- Koszyk ---------- */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main { --rp-panel: #fff; }
.woocommerce table.shop_table { border: 1px solid var(--rp-line) !important; border-radius: 14px !important; overflow: hidden; border-collapse: separate !important; }
.woocommerce table.shop_table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--rp-muted); }
.woocommerce table.shop_table td { border-top: 1px solid var(--rp-line) !important; padding: 16px !important; }
.woocommerce table.cart img { width: 96px !important; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--rp-line); border-radius: 10px; }
.woocommerce table.cart .product-name a { font-weight: 700; color: var(--rp-ink); text-decoration: none; }
.woocommerce table.cart dl.variation { font-size: 14px; color: var(--rp-ok); }
.woocommerce .cart-collaterals .cart_totals { padding: 24px; border-radius: 14px; background: var(--rp-bg-soft); }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; font-weight: 800; }
.woocommerce .cart_totals .order-total .amount { font-size: 26px; font-weight: 800; }
.woocommerce .coupon input.input-text { min-height: 44px; border-radius: 10px; border: 1px solid var(--rp-line); padding: 0 12px; }
.rp-cart-trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.rp-cart-trust li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: #fff; font-size: 14px; color: var(--rp-muted); }
.rp-cart-trust strong { display: block; color: var(--rp-ink); }

/* ---------- Zamówienie ---------- */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review { padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--rp-line); margin-bottom: 20px; }
.woocommerce-checkout h3, #order_review_heading { font-size: 20px; font-weight: 800; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 700; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single { min-height: 48px; border: 1px solid var(--rp-soft-text) !important; border-radius: 10px !important; padding: 0 14px; font-size: 16px; }
.woocommerce form .form-row textarea { padding: 12px 14px; }
.woocommerce-checkout #payment { background: transparent !important; }
.woocommerce-checkout #payment ul.payment_methods { border: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce ul#shipping_method li { padding: 14px 16px !important; border: 1px solid var(--rp-line); border-radius: 12px; list-style: none; }
.woocommerce ul#shipping_method { display: grid; gap: 10px; }
.woocommerce-checkout #payment div.payment_box { background: var(--rp-bg-soft) !important; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; line-height: 1.45; }

/* ---------- Potwierdzenie zamówienia ---------- */
.woocommerce-order .woocommerce-thankyou-order-received { font-size: 28px; font-weight: 800; padding: 28px; border-radius: 16px; background: var(--rp-ok-bg); color: var(--rp-ok); }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; }
.woocommerce ul.order_details li { border: 1px solid var(--rp-line) !important; border-radius: 12px; padding: 14px 18px !important; margin: 0 !important; }
.rp-next { padding: 28px; margin: 24px 0; border-radius: 16px; border: 1px solid var(--rp-line); }
.rp-next h2 { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.rp-next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: rp; }
.rp-next li { position: relative; padding-left: 46px; display: flex; flex-direction: column; gap: 2px; counter-increment: rp; }
.rp-next li::before { content: counter(rp); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--rp-soft-text); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--rp-muted); }
.rp-next li.is-done::before { content: "\2713"; background: var(--rp-ok); border-color: var(--rp-ok); color: #fff; }
.rp-next li.is-current::before { background: var(--rp-orange); border-color: var(--rp-orange); color: var(--rp-navy); }
.rp-next li span { color: var(--rp-muted); font-size: 15px; }

/* ---------- Usterki i kody błędów ---------- */
.rp-kb-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 18px; margin: 0 0 24px; border-radius: var(--rp-radius); background: var(--rp-bg-soft); font-size: 15px; }
.rp-kb-safety { margin: 28px 0; padding: 16px 18px; border-radius: var(--rp-radius); background: var(--rp-warn-bg); color: var(--rp-warn); font-size: 15px; line-height: 1.5; }
.rp-kb-products { margin: 36px 0; }
.rp-kb-products h2 { font-size: 24px; font-weight: 800; }
.rp-kb-cta { margin: 36px 0 16px; }
.rp-kb-note { font-size: 13px; color: var(--rp-muted); }
.rp-kb-code { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--rp-navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.rp-kb-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.rp-kb-list li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rp-kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rp-kb-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); color: var(--rp-ink); text-decoration: none; }
.rp-kb-card:hover { border-color: var(--rp-orange); color: var(--rp-ink); }
.rp-kb-card strong { font-size: 16px; line-height: 1.35; }
.rp-kb-card span:last-child { color: var(--rp-muted); font-size: 14px; line-height: 1.5; }

/* ---------- Formularz naprawy / kontaktu ---------- */
.rp-form { display: flex; flex-direction: column; gap: 16px; max-width: 820px; padding: 28px; border: 1px solid var(--rp-line); border-radius: 16px; background: #fff; }
.rp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rp-form-row { display: flex; flex-direction: column; gap: 6px; }
.rp-form-row--wide { grid-column: 1 / -1; }
.rp-form label { font-size: 14px; font-weight: 700; }
.rp-form input[type="text"], .rp-form input[type="email"], .rp-form input[type="tel"], .rp-form textarea { min-height: 48px; border: 1px solid var(--rp-soft-text); border-radius: 10px; padding: 10px 14px; font-size: 16px; font-family: inherit; box-sizing: border-box; width: 100%; }
.rp-form-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; line-height: 1.45; }
.rp-form-consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.rp-form-hint { margin: 0; font-size: 14px; color: var(--rp-muted); }
.rp-form .rp-btn { align-self: flex-start; border: 0; cursor: pointer; font-size: 16px; }
.rp-form-ok { padding: 20px 24px; border-radius: 12px; background: var(--rp-ok-bg); color: var(--rp-ok); line-height: 1.5; }
.rp-form-error { padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #b32d2e; font-weight: 600; }
.rp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Nota o znakach towarowych ---------- */
.rp-trademark { max-width: 1200px; margin: 0 auto; padding: 14px 24px 24px; font-size: 12px; line-height: 1.5; color: var(--rp-muted); text-align: center; }

/* ---------- Nagłówek i stopka Repario (domyślne z Kadence ukryte) ---------- */
#masthead, #colophon { display: none !important; }
.rp-header { background: #fff; border-bottom: 1px solid var(--rp-line); position: relative; z-index: 50; }
.rp-header__main { display: flex; align-items: center; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; }
.rp-logo { display: flex; flex-shrink: 0; }
.rp-logo .rp-logo-img { height: 44px; width: auto; max-width: 220px; }
.rp-header-search { flex: 1 1 auto; display: flex; gap: 6px; padding: 4px; border: 1px solid var(--rp-line); border-radius: 12px; background: #fff; min-width: 0; max-width: 640px; }
.rp-header-search:focus-within { border-color: var(--rp-navy); }
.rp-header-search input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 40px; border: 0 !important; box-shadow: none !important; padding: 0 12px; font-size: 15px; background: transparent; }
.rp-header-search input[type="search"]:focus { outline: none; }
.rp-header-search button { min-width: 46px; min-height: 40px; border: 0; border-radius: 8px; background: var(--rp-orange); color: var(--rp-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rp-header-search button:hover { background: var(--rp-navy); color: #fff; }
.rp-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.rp-account-link, .rp-cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--rp-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.rp-cart-link { background: var(--rp-bg-soft); font-weight: 700; }
.rp-account-link:hover, .rp-cart-link:hover { color: var(--rp-navy); background: var(--rp-line); }
.rp-cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rp-orange); color: var(--rp-navy); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.rp-cart-count.is-empty { background: var(--rp-line); color: var(--rp-muted); }

.rp-nav { border-top: 1px solid var(--rp-line); }
.rp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; }
.rp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.rp-nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 12px; color: var(--rp-ink); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.rp-nav a:hover, .rp-nav .current-menu-item > a, .rp-nav .current-product_cat-ancestor > a { box-shadow: inset 0 -3px 0 var(--rp-orange); color: var(--rp-ink); }
.rp-nav .rp-devices a:first-child { padding-left: 0; }
.rp-nav .rp-menu a { color: var(--rp-muted); font-weight: 500; }

.rp-mnav { display: none; border-top: 1px solid var(--rp-line); }
.rp-mnav summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.rp-mnav summary::-webkit-details-marker { display: none; }
.rp-mnav__panel { padding: 4px 16px 16px; }
.rp-mnav__label { margin: 8px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rp-muted); }
.rp-mnav ul { list-style: none; margin: 0 0 8px; padding: 0; }
.rp-mnav a { display: flex; align-items: center; min-height: 44px; color: var(--rp-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rp-line); }

@media (max-width: 900px) {
	.rp-nav { display: none; }
	.rp-mnav { display: block; }
	.rp-header__main { flex-wrap: wrap; }
	.rp-header-search { order: 3; flex-basis: 100%; max-width: none; }
	.rp-account-link span, .rp-cart-link > span:not(.rp-cart-count) { display: none; }
	.rp-logo .rp-logo-img { height: 36px; }
}
@media (max-width: 640px) {
	.rp-topbar .rp-wrap > span { display: none; }
	.rp-topbar .rp-wrap { padding-top: 6px; padding-bottom: 6px; }
	.rp-header__main { padding-top: 10px; padding-bottom: 10px; gap: 10px 16px; }
}

.rp-footer { background: var(--rp-navy); color: var(--rp-soft-text); margin-top: 64px; }
.rp-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.rp-footer__brand .rp-logo-img { height: 40px; width: auto; }
.rp-footer__brand p { margin: 14px 0 0; font-size: 14px; line-height: 1.6; max-width: 340px; }
.rp-footer__col h2 { color: #fff; font-size: 15px; font-weight: 700; margin: 6px 0 12px; }
.rp-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-footer a { color: var(--rp-soft-text); text-decoration: none; font-size: 14px; }
.rp-footer a:hover { color: #fff; text-decoration: underline; }
.rp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 8px; border-top: 1px solid var(--rp-navy-2); font-size: 13px; }
.rp-footer .rp-trademark { color: #8a97ad; text-align: left; padding: 8px 24px 28px; max-width: 1200px; }
@media (max-width: 900px) { .rp-footer__grid { grid-template-columns: 1fr 1fr; } .rp-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rp-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Strona główna: bez ramki, bez pustych przerw z edytora ---------- */
.entry-content > br, .entry-content > p:empty { display: none; }
.home .content-bg, .home .entry.single-entry { background: transparent !important; box-shadow: none !important; }
.home .entry-content-wrap { padding: 0 !important; }
.home .content-container, .home .site-container { max-width: none; padding-left: 0; padding-right: 0; }
.home .entry-content > *:first-child { margin-top: 0; }

/* ---------- Nagłówki stron (Kontakt, Naprawa, FAQ…) ---------- */
.entry-hero.page-hero-section { background: var(--rp-navy); }
.entry-hero.page-hero-section .entry-hero-container-inner { background: transparent; }
.entry-hero.page-hero-section h1, .entry-hero.page-hero-section .entry-title { color: #fff; font-weight: 800; }
.entry-hero.page-hero-section .kadence-breadcrumbs, .entry-hero.page-hero-section .kadence-breadcrumbs a { color: var(--rp-soft-text); }

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
	.rp-promo, .rp-cta { padding: 24px; }
	.rp-band { padding: 48px 0; }
	.rp-models { columns: 1; }
}

/* ---------- Tryb „Wkrótce otwarcie” WooCommerce: fonty marki zamiast Cardo ---------- */
.wp-block-woocommerce-coming-soon .has-cardo-font-family { font-family: inherit !important; font-weight: 800; letter-spacing: -.01em; }
.wp-block-woocommerce-coming-soon { padding: 64px 16px; }

/* ---------- Strony informacyjne: regulamin, polityka, dostawa ---------- */
.rp-admin-note { margin: 0 0 28px; padding: 14px 18px; border-left: 4px solid var(--rp-orange); border-radius: 8px; background: #fff4ea; color: var(--rp-ink); font-size: 15px; line-height: 1.55; }
.rp-missing { background: #fff4ea; padding: 1px 6px; border-radius: 4px; }
.rp-missing a { color: #a24a06; font-weight: 600; }
.rp-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.rp-table th, .rp-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rp-line); }
.rp-table thead th { background: var(--rp-bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--rp-muted); }
.page .entry-content h2 { margin-top: 1.8em; font-size: clamp(20px, 2.4vw, 26px); }
.page .entry-content h2:first-child, .page .rp-admin-note + h2 { margin-top: 0; }

/* ---------- Moduły programowane pod model, długie listy modeli ---------- */
.rp-programmed { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--rp-radius); background: var(--rp-warn-bg); color: var(--rp-ink); font-size: 14px; line-height: 1.5; }
.rp-programmed strong { display: block; margin-bottom: 2px; color: var(--rp-warn); font-size: 15px; }
.rp-fit.is-required { border-color: var(--rp-orange); border-width: 2px; }
.rp-models-filter { width: 100%; max-width: 420px; min-height: 44px; margin: 4px 0 16px; padding: 0 14px; border: 1px solid var(--rp-line); border-radius: 10px; font-size: 15px; box-sizing: border-box; }
.rp-models li span { color: var(--rp-muted); font-size: 13px; }
.rp-models li[hidden] { display: none; }
.rp-fit__nr { margin-bottom: 12px !important; }

/* ---------- Poradnik /usterki/ ---------- */
.rp-kb-page { margin: 0 !important; }
.rp-kb-hero { background: var(--rp-navy); color: #fff; }
.rp-kb-hero .rp-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 56px; padding-bottom: 64px; text-align: center; }
.rp-kb-hero h1 { color: #fff; font-size: clamp(28px, 4.5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.rp-kb-hero p { color: var(--rp-soft-text); font-size: 17px; line-height: 1.5; margin: 0; max-width: 680px; }
.rp-kb-archive { padding-top: 32px; padding-bottom: 24px; }
.rp-kb-filters { display: grid; gap: 12px; margin-bottom: 28px; }
.rp-kb-filters .rp-chips { gap: 8px; align-items: center; }
.rp-chips__label { min-width: 96px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rp-muted); }
.rp-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rp-line); border-radius: 999px; color: var(--rp-ink); background: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.rp-chip:hover { border-color: var(--rp-orange); color: var(--rp-ink); }
.rp-chip.is-active { background: var(--rp-navy); border-color: var(--rp-navy); color: #fff; }
.rp-kb-count { color: var(--rp-muted); margin: 0 0 16px; }
.rp-kb-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-kb-code--guide { background: var(--rp-orange); color: var(--rp-navy); }
.rp-kb-card { background: #fff; }
.rp-kb-card small { margin-top: auto; padding-top: 6px; color: var(--rp-muted); font-size: 12px; }
.rp-kb-card > span:not(.rp-kb-codes) { color: var(--rp-muted); font-size: 14px; line-height: 1.5; }
.rp-kb-archive .pagination, .rp-kb-archive .navigation { margin: 28px 0; }
@media (max-width: 640px) { .rp-chips__label { min-width: 100%; } }

/* ---------- Cena na zapytanie ---------- */
.rp-price-ask { font-size: 18px; font-weight: 700; color: var(--rp-navy); }
.rp-inquiry { margin: 20px 0; padding: 20px; border: 2px solid var(--rp-orange); border-radius: var(--rp-radius); background: #fff; }
.rp-inquiry h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.rp-inquiry > p { margin: 0 0 14px; color: var(--rp-muted); font-size: 15px; }
.rp-inquiry .rp-form-grid { grid-template-columns: 1fr; }

/* ---------- Zdjęcia produktów: cała płytka, bez przycinania ---------- */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.rp-kb-products ul.products li.product img {
	width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff;
	border: 1px solid var(--rp-line); border-radius: 10px; box-sizing: border-box; padding: 6px;
}
.woocommerce div.product div.images img { object-fit: contain; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--rp-line); border-radius: 6px; }
.woocommerce-cart-form .product-thumbnail img, .rp-cart-item img { object-fit: contain; background: #fff; }

/* ---------- Telefon: widoczny wszędzie ---------- */
.rp-topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.rp-topbar__phone strong { color: var(--rp-orange); font-size: 14px; letter-spacing: .02em; }
.rp-topbar__hours { color: var(--rp-soft-text); font-size: 12px; margin-left: 6px; }
.rp-phone-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--rp-orange); color: var(--rp-navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.rp-phone-link:hover { background: var(--rp-navy); color: #fff; }
.rp-callbar { display: none; }
@media (max-width: 900px) {
	.rp-phone-link span { display: none; }
	.rp-phone-link { padding: 0 12px; }
	.rp-callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 999; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 14px; background: var(--rp-orange); color: var(--rp-navy); font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(19,35,63,.28); }
	.rp-callbar strong { font-weight: 800; }
	body { padding-bottom: 76px; }
}
@media (max-width: 640px) {
	.rp-topbar__hours { display: none; }
	.rp-topbar .rp-wrap > a:last-child { display: none; }
}
.rp-footer__phone { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 16px; color: #fff !important; font-size: 20px !important; font-weight: 800; }
.rp-footer__phone svg { color: var(--rp-orange); }
.rp-footer__hours { margin-top: 4px !important; font-size: 13px !important; }
.rp-phone-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 28px; padding: 22px 24px; border-radius: var(--rp-radius); background: var(--rp-navy); color: #fff; }
.rp-phone-box__lead { margin: 0; font-size: 17px; line-height: 1.5; color: #fff; max-width: 520px; }
.rp-phone-box__hours { margin: 6px 0 0; color: var(--rp-soft-text); font-size: 14px; }
.rp-phone-box__btn { font-size: 18px !important; white-space: nowrap; }
.rp-inquiry__phone { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 6px 0 12px; border-radius: 12px; background: var(--rp-orange); color: var(--rp-navy); font-size: 18px; text-decoration: none; }
.rp-inquiry__phone strong { margin-left: 6px; font-weight: 800; }
.rp-inquiry__or { margin: 0 0 12px; color: var(--rp-muted); font-size: 14px; }
