/* Allika Rehvipood – värvid on võetud Allika Pesula logost. */
.arp {
	--arp-navy: #085374;
	--arp-navy-deep: #063F59;
	--arp-cyan: #18B9E2;
	--arp-ink: #0E2A38;
	--arp-text-2: #434B52;
	--arp-muted: #5A636B;
	--arp-ground: #F5F6F7;
	--arp-surface: #FFFFFF;
	--arp-tint: #F1F3F4;
	--arp-tint-2: #F1F3F4;
	--arp-line: #E3E6E9;
	--arp-line-2: #C8CDD2;
	--arp-display: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--arp-body: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	font-family: var(--arp-body);
	color: var(--arp-ink);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.arp *, .arp *::before, .arp *::after { box-sizing: inherit; }
.arp h1, .arp h2, .arp h3, .arp p, .arp ul, .arp ol, .arp dl, .arp dd, .arp fieldset { margin: 0; padding: 0; }
.arp ul, .arp ol { list-style: none; }
.arp a { color: var(--arp-navy); }
.arp a:hover { color: var(--arp-navy-deep); }
.arp :focus-visible { outline: 3px solid var(--arp-cyan); outline-offset: 2px; }
.arp svg { flex: none; }

/* Pood kasutab kogu ekraani laiust ka siis, kui teema sisuveerg on kitsas. */
#arp-shop { background: transparent; }
.arp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; }

/* Typography */
.arp-h1 { font-family: var(--arp-display); font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; color: var(--arp-ink); max-width: 14ch; }
.arp-h2 { font-family: var(--arp-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; color: inherit; }
.arp-h2--lg { font-size: clamp(28px, 3.4vw, 40px); }
.arp-h2--xl { font-size: clamp(30px, 3.8vw, 44px); }
.arp-lead { font-size: 19px; line-height: 1.55; color: var(--arp-text-2); max-width: 540px; }
.arp-muted { color: var(--arp-muted); font-size: 15px; }
.arp-small { display: block; color: var(--arp-muted); font-size: 13px; }
.arp-label { display: block; font-size: 14px; font-weight: 600; }
.arp-kicker { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--arp-navy); }
.arp-link { font-size: 15px; font-weight: 500; padding: 6px; }
.arp-center { align-self: center; }

/* Buttons */
.arp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 26px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; border: 0; transition: background-color .15s, color .15s; }
.arp-btn--wide { width: 100%; }
.arp button, .arp .arp-btn { text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1.2; text-shadow: none; }
.arp-btn--primary { background: var(--arp-navy); color: #fff; min-height: 56px; font-size: 17px; }
.arp-btn--primary:hover { background: var(--arp-navy-deep); color: #fff; }
.arp-btn--outline { background: transparent; color: var(--arp-ink); border: 1.5px solid var(--arp-ink); min-height: 48px; }
.arp-btn--outline:hover { background: var(--arp-ink); color: #fff; }
.arp-btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.arp-hero { max-width: 1200px; margin: 0 auto; padding: 64px 24px 64px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.arp-hero--finder-only { padding: 0; justify-content: center; }
.arp-hero--finder-only .arp-finder { max-width: 720px; }
.arp-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.arp-promises { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 8px; }
.arp-promises li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.arp-promises svg { color: var(--arp-navy); }

/* Finder */
.arp-finder { flex: 1 1 400px; min-width: 0; background: var(--arp-surface); border-radius: 24px; padding: 32px; border: 1px solid var(--arp-line); box-shadow: 0 1px 2px rgba(16,24,32,.04), 0 8px 24px rgba(16,24,32,.06); display: flex; flex-direction: column; gap: 22px; }
.arp-finder__title { font-size: 26px; margin-bottom: 4px; }
.arp-fieldset { border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.arp-fieldset legend { font-size: 14px; font-weight: 600; padding: 0 0 10px; }
.arp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.arp-pill { position: relative; cursor: pointer; }
.arp .arp-pill input[type="radio"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; clip: rect(0 0 0 0); overflow: hidden; appearance: none; -webkit-appearance: none; }
.arp-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--arp-line-2); background: #fff; font-size: 15px; font-weight: 500; color: var(--arp-ink); }
.arp .arp-pill input:checked + span, .arp .arp-pill.is-on span { background: var(--arp-navy); border-color: var(--arp-navy); color: #fff; }
.arp .arp-pill:hover span { border-color: var(--arp-ink); }
.arp-pill input:focus-visible + span { outline: 3px solid var(--arp-cyan); outline-offset: 2px; }
.arp-size-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.arp-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.arp .arp-field select { height: 48px; border-radius: 12px; border: 1px solid var(--arp-line-2); padding: 0 36px 0 14px; font: inherit; font-size: 16px; font-weight: 500; color: var(--arp-ink); width: 100%; cursor: pointer; appearance: none; -webkit-appearance: none; box-shadow: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230E2A38' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.arp .arp-field select:hover { border-color: var(--arp-ink); }
.arp-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.arp-stepper { display: flex; align-items: center; gap: 4px; border: 1px solid var(--arp-line-2); border-radius: 24px; padding: 2px; }
.arp-stepper button { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; font: inherit; font-size: 22px; cursor: pointer; color: var(--arp-ink); padding: 0; }
.arp-stepper button:hover { background: var(--arp-tint); }
.arp-stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Size band */
.arp-band { background: #fff; color: var(--arp-ink); border: 1px solid var(--arp-line); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.arp-band__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.arp-band__text p { color: var(--arp-text-2); font-size: 17px; }
.arp-size-demo { flex: 2 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.arp-size-demo__part { flex: 1 1 110px; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--arp-ground); border: 1px solid var(--arp-line); }
.arp-size-demo__part span { font-family: var(--arp-display); font-size: 46px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.arp-size-demo__part small { font-size: 14px; color: var(--arp-muted); }
.arp-size-demo__part--hl { border-color: var(--arp-ink); }
.arp-size-demo__part--hl small { color: var(--arp-ink); font-weight: 500; }

/* Results */
.arp-results { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 24px; }
.arp-results__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.arp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.arp .arp-empty { grid-column: 1 / -1; padding: 40px; border-radius: 22px; border: 1.5px dashed var(--arp-line-2); color: var(--arp-text-2); text-align: center; background: #fff; }
.arp-card { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--arp-line); }
.arp-card__media { height: 220px; background: #fff; border-bottom: 1px solid var(--arp-line); display: flex; align-items: center; justify-content: center; position: relative; padding: 16px; }
/* Tyreorderi pildid on valge taustaga: valgel kaardil sulanduvad need kokku, multiply peidab ka helehalli serva. */
.arp .arp-card__media img { width: auto; height: 100%; max-height: 188px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.arp-card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 11px; border-radius: 14px; background: var(--arp-ground); border: 1px solid var(--arp-line); font-size: 13px; font-weight: 600; }
.arp-card__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.arp-card__brand { display: block; font-size: 14px; font-weight: 600; color: var(--arp-muted); }
.arp-card__model { font-family: var(--arp-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin: 2px 0 2px; }
.arp-card__eu { font-size: 14px; color: var(--arp-text-2); }
.arp-card__stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.arp-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--arp-cyan); }
.arp-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--arp-tint); padding-top: 16px; margin-top: auto; }
.arp-card__price strong { font-family: var(--arp-display); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.arp-card__error { color: #A3271B; font-size: 14px; font-weight: 500; }

/* Ways */
.arp-ways { background: #fff; border-top: 1px solid var(--arp-line); border-bottom: 1px solid var(--arp-line); margin-bottom: 80px; }
.arp-ways__inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.arp-ways__intro { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.arp-ways__intro p { color: var(--arp-text-2); font-size: 18px; }
.arp-ways__cards { display: flex; flex-wrap: wrap; gap: 24px; }
.arp-way { flex: 1 1 420px; min-width: 0; border-radius: 24px; border: 1px solid var(--arp-line); padding: 36px; display: flex; flex-direction: column; gap: 18px; background: var(--arp-ground); position: relative; overflow: hidden; }
.arp-way h3 { font-family: var(--arp-display); font-size: 28px; letter-spacing: -0.01em; font-weight: 600; }
.arp-way p { color: var(--arp-text-2); font-size: 17px; }
.arp-way__icon { width: 56px; height: 56px; border-radius: 28px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--arp-ink); }
.arp-way dl { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--arp-line); padding-top: 18px; font-size: 15px; }
.arp-way dl div { display: flex; justify-content: space-between; gap: 12px; }
.arp-way dt { color: var(--arp-muted); }
.arp-way dd { font-weight: 600; }
.arp-way--brand { background: var(--arp-navy); border-color: var(--arp-navy); color: #fff; }
.arp-way--brand p, .arp-way--brand dt { color: #D9EFF7; }
.arp-way--brand dl { border-top-color: rgba(255,255,255,.24); }
.arp-way--brand .arp-way__icon { background: rgba(255,255,255,.14); color: #fff; }
.arp-way__sparks { position: absolute; top: 28px; right: 32px; display: flex; gap: 6px; align-items: flex-start; }

/* Steps */
.arp-steps { display: flex; flex-direction: column; gap: 40px; }
.arp-steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.arp-steps__list li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--arp-ink); padding-top: 24px; }
.arp-steps__n { font-family: var(--arp-display); font-size: 52px; line-height: 1; font-weight: 500; color: var(--arp-navy); }
.arp-steps__list h3 { font-size: 20px; font-weight: 700; }
.arp-steps__list p { color: var(--arp-text-2); }

/* Help */
.arp-help { border-radius: 24px; background: var(--arp-ground); padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.arp-help__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.arp-help__text p { color: var(--arp-text-2); font-size: 18px; max-width: 520px; }
.arp-help__card { flex: 0 1 360px; min-width: 0; background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.arp-help__phone, .arp-help__mail { display: flex; align-items: center; gap: 12px; color: var(--arp-ink); text-decoration: none; min-height: 44px; }
.arp-help__phone { font-size: 20px; font-weight: 700; }
.arp-help__mail { font-size: 17px; font-weight: 500; }

/* ---------------- Kassa ---------------- */
.arp-checkout { background: #fff; border: 1px solid var(--arp-line); border-radius: 24px; padding: 28px; margin: 0 0 32px; display: flex; flex-direction: column; gap: 22px; clear: both; }
.arp-checkout__title { font-family: var(--arp-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.arp-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.arp-choice, .arp-loc { position: relative; display: block; cursor: pointer; }
.arp-choice input, .arp-loc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.arp-choice__body, .arp-loc__body { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--arp-line-2); background: #fff; height: 100%; }
.arp-choice input:checked + .arp-choice__body, .arp-loc input:checked + .arp-loc__body { border: 2px solid var(--arp-navy); background: #fff; padding: 19px; }
.arp-choice input:focus-visible + .arp-choice__body, .arp-loc input:focus-visible + .arp-loc__body { outline: 3px solid var(--arp-cyan); outline-offset: 2px; }
.arp-choice__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.arp-choice__name { font-size: 17px; font-weight: 700; }
.arp-choice__price { font-weight: 600; white-space: nowrap; }
.arp-choice__desc, .arp-loc__addr { font-size: 15px; color: var(--arp-text-2); }
.arp-loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.arp-loc__name { font-weight: 700; }
.arp-loc__hours { font-size: 13px; color: var(--arp-muted); }
.arp-panel { display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--arp-tint); padding-top: 22px; }
.arp-panel[hidden] { display: none; }
.arp-panel .arp-fieldset legend { font-size: 15px; font-weight: 700; }
.arp-check { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--arp-line-2); border-radius: 16px; background: #fff; cursor: pointer; }
.arp-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--arp-navy); flex: none; }
.arp-check > span { display: flex; flex-direction: column; gap: 2px; }
.arp-check > span > span { font-size: 15px; color: var(--arp-text-2); }
.arp .arp-info { background: var(--arp-ground); border-radius: 16px; padding: 16px 20px; font-size: 15px; color: #0E3B50; }
.arp-counter { display: block; text-align: right; font-size: 13px; color: var(--arp-muted); font-variant-numeric: tabular-nums; }
.arp-cart-thumb { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: var(--arp-tint); align-items: center; justify-content: center; }
.arp-addr-hidden { display: none !important; }
.arp-order-summary { margin: 24px 0; padding: 20px 24px; border-radius: 16px; background: var(--arp-ground); color: #0E3B50; }

@media (max-width: 640px) {
	.arp-hero { padding-top: 40px; gap: 36px; }
	.arp-finder, .arp-band, .arp-help, .arp-way { padding: 24px; }
	.arp-size-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.arp-size-demo__part span { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.arp-btn { transition: none; }
}

/* Kojutarne aadress kassas */
.arp-addr { gap: 4px; }
.arp-addr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 16px; }
.arp .arp-addr__row { margin: 0 0 14px; padding: 0; width: 100%; float: none; }
.arp .arp-addr__row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.arp .arp-addr__row input { width: 100%; min-height: 46px; }
