.af-tire-pricing{
  --af-green:#1D9A3B;
  --af-bg:#050806;
  --af-panel:#0a0f0c;
  --af-panel2:#0c120e;
  --af-line:rgba(255,255,255,.12);
  --af-line-strong:rgba(255,255,255,.17);
  --af-text:#f5f7f5;
  --af-muted:#9ba59e;
  --af-max:1360px;
  font-family:"Manrope",Arial,sans-serif;
  color:var(--af-text);
  background:var(--af-bg);
  position:relative;
  left:50%;
  width:100vw;
  max-width:100vw;
  margin:0 -50vw 0 -50vw;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
}
.af-tire-pricing *{box-sizing:border-box}
.af-tire-pricing h1,.af-tire-pricing h2,.af-tire-pricing p{margin:0}
.af-tire-pricing a{text-decoration:none}
.af-pricing-wrap{width:min(calc(100% - 48px),var(--af-max));margin-inline:auto}

/* HERO */
.af-pricing-head{position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid var(--af-line);background:#060a07}
.af-pricing-head__art{position:absolute;inset:0 0 0 auto;width:48%;background:linear-gradient(90deg,#060a07 0%,rgba(6,10,7,.78) 28%,rgba(6,10,7,.12) 100%),url('../img/hero-tire.webp') right center/cover no-repeat;opacity:.86;pointer-events:none}
.af-pricing-head__inner{position:relative;z-index:1;min-height:220px;padding:30px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:44px}
.af-pricing-head__copy{max-width:860px}
.af-breadcrumbs{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:11px;font-weight:800;letter-spacing:.08em}
.af-breadcrumbs span{color:var(--af-green)}
.af-breadcrumbs i{color:#6d7770;font-style:normal;font-size:17px;line-height:1}
.af-breadcrumbs b{color:#b7c0ba;font-size:10px}
.af-pricing-head h1{color:#fff;font-size:clamp(42px,4.4vw,64px);line-height:.98;letter-spacing:-.05em;font-weight:800}
.af-pricing-head p{margin-top:10px;color:var(--af-muted);font-size:17px;line-height:1.45}
.af-pricing-btn{min-height:48px;padding:0 24px;border:1px solid var(--af-green);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--af-green);color:#041006!important;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap;transition:transform .16s ease,filter .16s ease}
.af-pricing-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.af-pricing-btn--outline{background:rgba(0,0,0,.28);color:#fff!important;border-color:rgba(255,255,255,.56)}

/* CONTENT */
.af-pricing-main{padding:18px 0 18px}
.af-matrix-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#263029 #080c09}
.af-matrix-scroll::-webkit-scrollbar{height:7px}.af-matrix-scroll::-webkit-scrollbar-track{background:#080c09}.af-matrix-scroll::-webkit-scrollbar-thumb{background:#263029;border-radius:99px}
.af-price-matrix{min-width:1180px;border:1px solid var(--af-line);border-radius:10px;overflow:hidden;background:var(--af-panel)}
.af-matrix-row{display:grid;grid-template-columns:minmax(280px,2.06fr) repeat(7,minmax(118px,1fr));background:var(--af-panel)}
.af-matrix-row+.af-matrix-row{border-top:1px solid var(--af-line)}
.af-matrix-corner,.af-matrix-vehicle,.af-matrix-service,.af-matrix-price{min-width:0}
.af-matrix-corner,.af-matrix-vehicle{min-height:58px;padding:11px 12px;display:flex;align-items:center;justify-content:center;text-align:center;background:linear-gradient(180deg,#101612,#0b100d)}
.af-matrix-corner{justify-content:flex-start;padding-left:18px;color:#bfc7c1;font-size:11px;font-weight:800;letter-spacing:.08em}
.af-matrix-vehicle{border-left:1px solid var(--af-line);color:#fff;font-size:13px;line-height:1.18;font-weight:700}
.af-matrix-service{min-height:64px;padding:10px 18px;display:flex;flex-direction:column;justify-content:center;gap:3px;background:#0b100d;position:sticky;left:0;z-index:3;box-shadow:8px 0 14px rgba(0,0,0,.16)}
.af-matrix-service strong{color:#fff;font-size:14px;line-height:1.18;font-weight:700}
.af-matrix-service span{max-width:265px;color:var(--af-muted);font-size:11.5px;line-height:1.24;font-weight:400}
.af-matrix-price{min-height:64px;padding:10px 8px;border-left:1px solid var(--af-line);display:flex;align-items:center;justify-content:center;text-align:center;background:#090e0b}
.af-matrix-price strong{color:var(--af-green);font-size:22px;line-height:1;font-weight:800;letter-spacing:-.025em}
.af-matrix-mobile-label{display:none}
.af-matrix-row:not(.af-matrix-header):hover .af-matrix-service,.af-matrix-row:not(.af-matrix-header):hover .af-matrix-price{background:#0d140f}
.af-matrix-header .af-matrix-corner{position:sticky;left:0;z-index:4;box-shadow:8px 0 14px rgba(0,0,0,.16)}
.af-swipe-hint{display:none;color:#758079;font-size:12px;margin-top:9px}

/* VANNEASENNUS */
.af-mount-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--af-line)}
.af-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:12px}
.af-section-heading h2{color:#fff;font-size:31px;line-height:1.05;letter-spacing:-.035em;font-weight:800}
.af-section-heading p{margin-top:6px;color:var(--af-muted);font-size:13px;line-height:1.4}
.af-runflat-inline{flex:0 0 auto;color:var(--af-green);font-size:13px;font-weight:600;white-space:nowrap}
.af-runflat-inline strong{margin-left:5px;font-size:15px;font-weight:800}
.af-size-grid{display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden;border:1px solid var(--af-line);border-radius:8px;background:var(--af-panel)}
.af-size-cell{min-height:68px;padding:10px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#090e0b;text-align:center}
.af-size-cell+.af-size-cell{border-left:1px solid var(--af-line)}
.af-size-cell span{color:#c9d0cb;font-size:12px;font-weight:700}
.af-size-cell strong{color:var(--af-green);font-size:24px;line-height:1;font-weight:800;letter-spacing:-.03em}

/* RENGASHOTELLI */
.af-hotel-card{position:relative;overflow:hidden;margin-top:18px;min-height:112px;padding:18px 22px;border:1px solid var(--af-line-strong);border-radius:9px;background:linear-gradient(90deg,#0b100d 0%,#0a0f0c 52%,#090d0a 100%);display:grid;grid-template-columns:minmax(300px,1.45fr) minmax(200px,.8fr) auto;align-items:center;gap:28px}
.af-hotel-card__art{position:absolute;inset:0 32% 0 38%;background:linear-gradient(90deg,#0b100d 0%,rgba(11,16,13,.1) 28%,rgba(9,13,10,.08) 70%,#090d0a 100%),url('../img/hotel-tires.webp') center/cover no-repeat;opacity:.6;pointer-events:none}
.af-hotel-card>*:not(.af-hotel-card__art){position:relative;z-index:1}
.af-hotel-card__copy h2{color:#fff;font-size:29px;line-height:1.04;letter-spacing:-.035em;font-weight:800}
.af-hotel-card__copy p{max-width:430px;margin-top:7px;color:#adb6b0;font-size:12.5px;line-height:1.45}
.af-hotel-price span{display:block;color:#b2bbb5;font-size:11px;font-weight:500}
.af-hotel-price strong{display:block;margin-top:2px;color:var(--af-green);font-size:32px;line-height:1;font-weight:800;letter-spacing:-.035em}
.af-hotel-actions{display:flex;align-items:center;gap:12px}
.af-hotel-actions .af-pricing-btn{min-width:170px}
.af-hotel-actions .af-pricing-btn--outline{min-width:244px}

/* FOOTER */
.af-company-footer{margin-top:0;border-top:2px solid var(--af-green);background:linear-gradient(180deg,#0a0e0b,#070a08 78%,#050806);color:#fff}
.af-company-footer__top{min-height:110px;display:grid;grid-template-columns:1fr 1.45fr 1fr 1.15fr 1.15fr auto;align-items:center;gap:22px;padding:16px 0}
.af-company-item{min-width:0;display:flex;align-items:center;gap:13px;color:#fff!important}
.af-company-item--static{cursor:default}
.af-company-icon{flex:0 0 31px;width:31px;height:31px;color:var(--af-green);display:grid;place-items:center}
.af-company-icon svg{width:27px;height:27px;fill:currentColor}
.af-company-item small{display:block;margin-bottom:4px;color:#a4aea7;font-size:9px;font-weight:700;letter-spacing:.07em}
.af-company-item strong{display:block;color:#fff;font-size:12px;line-height:1.35;font-weight:500}
.af-company-logo{display:flex;align-items:center;justify-content:center;min-height:72px;color:#fff!important}
.af-footer-logo-img{display:block;max-width:150px;max-height:76px;width:auto;height:auto;object-fit:contain}
.af-footer-logo-fallback{text-align:center;font-size:20px;font-weight:800;letter-spacing:.04em;line-height:1;color:#fff}
.af-footer-logo-fallback b{color:var(--af-green)}
.af-footer-logo-fallback small{display:block;margin-top:7px;color:#8d978f;font-size:7px;letter-spacing:.18em}
.af-to-top{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff!important}
.af-to-top span{width:42px;height:42px;border:1px solid rgba(29,154,59,.28);border-radius:50%;display:grid;place-items:center;color:var(--af-green);background:rgba(29,154,59,.05)}
.af-to-top svg{width:24px;height:24px;fill:currentColor}
.af-to-top small{font-size:8px;font-weight:700;color:#c5ccc7}
.af-company-footer__bottom{min-height:38px;border-top:1px solid rgba(255,255,255,.07);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#7f8982;font-size:9px}
.af-company-footer__links{display:flex;align-items:center;gap:0}
.af-company-footer__links a{color:#9da69f!important;padding:0 10px;border-left:1px solid rgba(255,255,255,.16)}
.af-company-footer__links a:first-child{border-left:0}

/* REMOVE AQUALINE/WPBAKERY WHITE GAPS ON THIS PAGE ONLY */
body.af-rh-page{background:#050806!important}
body.af-rh-hide-theme-title .page-header,
body.af-rh-hide-theme-title .page-title,
body.af-rh-hide-theme-title .entry-header>.entry-title,
body.af-rh-hide-theme-title .entry-title.page-title,
body.af-rh-hide-theme-title .page-title-wrapper,
body.af-rh-hide-theme-title .page-header-wrapper{display:none!important}

body.af-rh-remove-theme-gaps #content,
body.af-rh-remove-theme-gaps .site-content,
body.af-rh-remove-theme-gaps .content-area,
body.af-rh-remove-theme-gaps .page-content,
body.af-rh-remove-theme-gaps .entry-content,
body.af-rh-remove-theme-gaps main#main{margin-top:0!important;padding-top:0!important;padding-bottom:0!important;background:#050806!important}
body.af-rh-remove-theme-gaps .entry-content>:first-child{margin-top:0!important}
body.af-rh-remove-theme-gaps .entry-content>:last-child{margin-bottom:0!important}
body.af-rh-remove-theme-gaps .vc_row:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .vc_column_container:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .vc_column-inner:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .wpb_wrapper:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .wpb_content_element:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .elementor:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .elementor-section:has(.af-tire-pricing),
body.af-rh-remove-theme-gaps .elementor-element:has(.af-tire-pricing){margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;background:#050806!important}

body.af-rh-hide-theme-footer footer#colophon,
body.af-rh-hide-theme-footer .site-footer,
body.af-rh-hide-theme-footer #footer:not(.af-company-footer),
body.af-rh-hide-theme-footer footer.footer,
body.af-rh-hide-theme-footer .footer-wrapper,
body.af-rh-hide-theme-footer .footer-area{display:none!important}

@media(min-width:1181px){
  .af-price-matrix{min-width:0}
}
@media(max-width:1180px){
  .af-swipe-hint{display:block}
  .af-price-matrix{min-width:1180px}
  .af-hotel-card{grid-template-columns:1fr auto;gap:20px}
  .af-hotel-card__copy{grid-column:1/2}
  .af-hotel-price{grid-column:2/3;grid-row:1}
  .af-hotel-actions{grid-column:1/-1}
  .af-hotel-card__art{inset:0 0 0 48%}
  .af-company-footer__top{grid-template-columns:1fr 1fr 1fr;gap:20px}
  .af-company-logo{grid-column:2;grid-row:1/3}
  .af-to-top{grid-column:3}
}
@media(max-width:760px){
  .af-pricing-wrap{width:min(calc(100% - 24px),var(--af-max))}
  .af-pricing-head__art{width:66%;opacity:.48}
  .af-pricing-head__inner{min-height:0;padding:28px 0 24px;display:block}
  .af-breadcrumbs{margin-bottom:11px}
  .af-pricing-head h1{font-size:39px;max-width:630px}
  .af-pricing-head p{font-size:14px}
  .af-pricing-head .af-pricing-btn{margin-top:20px;width:100%}
  .af-pricing-main{padding-top:12px}
  .af-price-matrix{min-width:1060px}
  .af-matrix-row{grid-template-columns:250px repeat(7,115px)}
  .af-matrix-corner,.af-matrix-vehicle{min-height:54px}
  .af-matrix-service,.af-matrix-price{min-height:66px}
  .af-matrix-service{padding:9px 14px}
  .af-matrix-service strong{font-size:13px}
  .af-matrix-service span{font-size:10.5px}
  .af-matrix-price strong{font-size:20px}
  .af-section-heading{display:block}
  .af-section-heading h2{font-size:27px}
  .af-runflat-inline{margin-top:8px}
  .af-size-grid{grid-template-columns:repeat(2,1fr)}
  .af-size-cell{min-height:72px}
  .af-size-cell:nth-child(odd):last-child{grid-column:1/-1}
  .af-size-cell+.af-size-cell{border-left:1px solid var(--af-line)}
  .af-size-cell:nth-child(3),.af-size-cell:nth-child(5){border-left:0;border-top:1px solid var(--af-line)}
  .af-size-cell:nth-child(4){border-top:1px solid var(--af-line)}
  .af-hotel-card{display:block;padding:20px}
  .af-hotel-card__art{inset:0 0 0 35%;opacity:.36}
  .af-hotel-price{margin-top:18px}
  .af-hotel-price strong{font-size:30px}
  .af-hotel-actions{margin-top:18px;display:grid;grid-template-columns:1fr}
  .af-hotel-actions .af-pricing-btn,.af-hotel-actions .af-pricing-btn--outline{min-width:0;width:100%}
  .af-company-footer__top{grid-template-columns:1fr 1fr;gap:18px;padding:24px 0}
  .af-company-logo{grid-column:1/-1;grid-row:auto;order:-1}
  .af-to-top{grid-column:auto}
  .af-company-footer__bottom{padding:12px 0;display:block;text-align:center}
  .af-company-footer__links{justify-content:center;margin-top:10px;flex-wrap:wrap}
}
@media(max-width:460px){
  .af-pricing-head h1{font-size:34px}
  .af-company-footer__top{grid-template-columns:1fr}
  .af-company-logo,.af-to-top{grid-column:1}
  .af-company-item{padding:2px 0}
  .af-to-top{margin-top:4px}
}
@supports not (overflow:clip){.af-tire-pricing{overflow-x:hidden}}

/* 0.5.4 — Auto Final uses Manrope throughout the pricing page. */
.af-tire-pricing,
.af-tire-pricing *,
.af-company-footer,
.af-company-footer * {
  font-family:"Manrope",Arial,sans-serif;
}

/* 0.5.5 — Typografia yhtenäiseksi Rengashotelli-sivun kanssa. Rakennetta ei muuteta. */
.af-pricing-head h1{
  font-size:clamp(38px,4.4vw,58px);
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:600;
}
.af-pricing-head p{
  margin-top:11px;
  color:#c2c9c5;
  font-size:16px;
  line-height:1.45;
}
.af-breadcrumbs{
  font-size:11px;
  font-weight:700;
  letter-spacing:.10em;
}
.af-breadcrumbs b{font-weight:600}
.af-pricing-btn{
  font-weight:700;
  letter-spacing:.08em;
}
.af-matrix-corner{
  font-weight:700;
  letter-spacing:.08em;
}
.af-matrix-vehicle{
  font-size:13px;
  font-weight:600;
}
.af-matrix-service strong{
  font-size:14px;
  line-height:1.18;
  font-weight:600;
}
.af-matrix-service span{
  font-size:11.5px;
  line-height:1.35;
  font-weight:400;
}
.af-matrix-price strong{
  font-size:22px;
  font-weight:700;
  letter-spacing:-.025em;
}
.af-section-heading h2{
  font-size:clamp(27px,3vw,38px);
  line-height:1.08;
  letter-spacing:-.03em;
  font-weight:700;
}
.af-section-heading p{
  margin-top:6px;
  font-size:14px;
  line-height:1.45;
}
.af-runflat-inline{font-weight:600}
.af-runflat-inline strong{font-weight:700}
.af-size-cell span{
  font-size:13px;
  font-weight:600;
}
.af-size-cell strong{
  font-size:24px;
  font-weight:700;
  letter-spacing:-.025em;
}
.af-hotel-card__copy h2{
  font-size:25px;
  line-height:1.08;
  letter-spacing:-.025em;
  font-weight:700;
}
.af-hotel-card__copy p{
  font-size:13px;
  line-height:1.5;
}
.af-hotel-price strong{
  font-size:30px;
  font-weight:700;
  letter-spacing:-.03em;
}

@media(max-width:760px){
  .af-pricing-head h1{font-size:38px;line-height:1.02}
  .af-pricing-head p{font-size:15px;line-height:1.45}
  .af-matrix-service strong{font-size:13px;font-weight:600}
  .af-matrix-service span{font-size:10.5px;line-height:1.35}
  .af-matrix-price strong{font-size:20px;font-weight:700}
  .af-section-heading h2{font-size:27px;font-weight:700}
  .af-size-cell strong{font-size:22px;font-weight:700}
  .af-hotel-card__copy h2{font-size:24px;font-weight:700}
  .af-hotel-price strong{font-size:28px;font-weight:700}
}
