/*
Theme Name: Applove Premium 1:1
Author: Applove
Description: Screenshot-matched premium repair configurator.
Version: 1.1.7
Requires PHP: 8.0
*/
:root{--text:#10121a;--muted:#7b8291;--blue:#377aff;--line:#e8ebf2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 25% 20%,#edf4ff 0%,transparent 45%),linear-gradient(180deg,#fafcff,#f1f5fc 63%,#fff);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,'Inter','Helvetica Neue',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.hide{display:none!important}.shell{width:min(1510px,calc(100% - 72px));margin:auto}.header{height:66px;background:rgba(255,255,255,.86);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid #e8edf577;box-shadow:0 4px 24px #283a5508;position:sticky;top:0;z-index:30}.head-inner{height:100%;display:flex;align-items:center;gap:52px}.brand{font-size:27px;font-weight:790;letter-spacing:-1.8px;white-space:nowrap}.heart{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:27px;color:#d63a9c;text-shadow:1px 2px 2px #ac8ee5}.nav{display:flex;align-items:center;gap:26px;font-size:13px;color:#343947}.nav a{padding:15px 7px}.nav .active{background:#eef3ff;border-radius:30px;color:#183b85;position:relative}.nav .active:after{content:'';position:absolute;height:2px;background:#548bff;bottom:5px;left:22%;right:22%}.head-actions{margin-left:auto;display:flex;gap:10px}.glassbutton,.darkbutton{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 21px;border-radius:25px;border:1px solid #e9edf4;font-size:12px;font-weight:600;box-shadow:0 5px 18px #232b3911;background:linear-gradient(145deg,#fff,#f9fbffdb);transition:transform .2s,box-shadow .2s}.darkbutton{color:white;background:linear-gradient(145deg,#1a1d25,#050608);border:0;padding:11px 23px}.glassbutton:hover,.darkbutton:hover{transform:translateY(-2px);box-shadow:0 8px 24px #31446a24}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:46px 8px 28px}.eyebrow{display:block;color:#8290a5;font-size:10px;letter-spacing:.16em;font-weight:760}.hero h1{font-size:clamp(34px,3.1vw,55px);line-height:1.04;letter-spacing:-.055em;margin:10px 0 12px;font-weight:780}.hero p{max-width:540px;color:#737d8f;font-size:17px;line-height:1.38;margin:0}.hero-trust{display:flex;align-items:center;gap:24px;flex-shrink:0}.hero-trust span{font-size:12px;font-weight:650;padding-right:22px;border-right:1px solid #e5eaf3;line-height:1.4}.hero-trust span:last-child{border:0}.hero-trust small{font-size:11px;font-weight:400;color:#657080}.devicegrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.device{position:relative;display:flex;align-items:flex-start;flex-direction:column;min-width:0;min-height:260px;text-align:left;padding:13px 17px 18px;border:1px solid #fff;border-radius:24px;background:linear-gradient(146deg,rgba(255,255,255,.95),rgba(250,251,254,.81));box-shadow:0 13px 40px #4d668512,inset 0 1px #fff;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}.device:hover{transform:translateY(-4px);box-shadow:0 16px 32px #5c789726}.device.selected{border:1.5px solid #4b8bff;box-shadow:0 0 0 1px #4b8bff,0 14px 28px #5084e528;background:#f7faff}.device img{width:100%;height:165px;object-fit:contain;filter:drop-shadow(0 9px 9px #29384d26);margin:0 auto 8px}.device strong{font-size:20px;letter-spacing:-.06em;line-height:1.1;margin:0 0 5px}.device small{font-size:12px;line-height:1.25;color:#768192;padding-right:20px}.device .check{position:absolute;right:15px;bottom:18px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:linear-gradient(155deg,#fff,#f5f8ff);border:1px solid #edf0f7;box-shadow:0 4px 14px #1e324117;color:#225fe7;font-size:12px}.device .check::before{content:'→';font-size:17px}.device .check{font-size:0}.model-panel{margin-top:30px;padding:17px 19px 15px;border-radius:26px;background:linear-gradient(135deg,#fffefefd,#ffffffb8);box-shadow:0 12px 45px #364d6710;border:1px solid #fff}.model-head{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:14px}.model-head h2,.repair-panel h2{margin:0;font-size:23px;letter-spacing:-.055em}.search{background:linear-gradient(135deg,#f7f9fc,#f4f6fa);border:1px solid #edf0f5;border-radius:40px;padding:11px 18px;min-width:260px;font-size:12px;outline:0}.modelgrid{display:flex;overflow-x:auto;gap:10px;padding:3px 2px 8px;scroll-snap-type:x proximity}.model{flex:0 0 175px;min-height:87px;max-width:175px;text-align:left;padding:15px 12px;border:1px solid #e9edf5;border-radius:17px;background:linear-gradient(150deg,#fff,#f9fbff);font-size:12px;font-weight:650;color:#4b5667;scroll-snap-align:start;transition:.2s}.model:hover,.model.selected{border-color:#4a85fc;box-shadow:0 0 0 1px #478afa1d,0 8px 16px #427fe418;background:#eff6ff;color:#234a9d}.repair-panel{display:grid;grid-template-columns:47% 53%;gap:22px;margin-top:25px;padding:10px 4px 30px}.chosen-device{display:grid;grid-template-columns:44% 56%;align-items:start;gap:18px}.chosen-photo{min-height:320px;display:flex;align-items:flex-start;justify-content:center}.chosen-photo img{width:100%;max-height:320px;object-fit:contain;filter:drop-shadow(0 12px 16px #1d29372a)}.chosen-device h2{font-size:32px;letter-spacing:-.065em;margin:10px 0 15px}.helper{font-size:12px;color:#7f899b;line-height:1.6}.repair-list h2{margin-bottom:12px}.group{background:rgba(255,255,255,.79);border:1px solid #e9eef6;border-radius:19px;margin:11px 0;padding:15px 19px;box-shadow:0 8px 22px #405a7d0b}.group-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.group-title strong{font-size:16px;letter-spacing:-.02em}.group-title small{font-size:11px;color:#8190a2}.variant{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;border-top:1px solid #eef2f7;padding-top:12px}.variant-name{font-size:13px;font-weight:690}.variant-right{display:flex;gap:10px;align-items:center}.price{white-space:nowrap;font-size:16px;font-weight:750}.variant .glassbutton{padding:9px 14px;min-height:33px}.glassbutton.primary{background:#eef5ff;border-color:#bcd5ff;color:#2c6bea}.status,.selected-repair{padding:23px;background:#fff;border:1px solid #e5ecf7;border-radius:20px}.summary-panel{margin-bottom:24px}.summary-panel h3{font-size:24px;letter-spacing:-.05em}.summary-panel .big{font-size:36px;font-weight:770}.afterword{padding:40px 0 70px;margin-top:20px;border-top:1px solid #e5eaf0}.afterword h2{font-size:23px;letter-spacing:-.05em}.afterword p{max-width:720px;color:#788396;font-size:14px}.footer{border-top:1px solid #e8ecf2;background:#fff9;color:#7a8798;padding:26px 0;font-size:12px}.footinner{display:flex;justify-content:space-between;gap:20px}@media(max-width:1100px){.shell{width:calc(100% - 36px)}.nav{gap:7px}.hero-trust{display:none}.devicegrid{grid-template-columns:repeat(3,1fr)}.device{min-height:230px}}@media(max-width:640px){.head-inner{gap:10px}.brand{font-size:23px}.nav,.location{display:none!important}.head-actions{margin-left:auto}.darkbutton{font-size:11px;padding:9px 13px}.hero{padding:37px 3px 22px}.hero h1{font-size:34px}.hero p{font-size:14px}.devicegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.device{min-height:205px;padding:8px 12px 14px;border-radius:20px}.device img{height:123px}.device strong{font-size:17px}.device small{font-size:10px}.model-head{align-items:stretch;flex-direction:column}.search{width:100%;min-width:0}.model{flex-basis:140px}.repair-panel{grid-template-columns:1fr}.chosen-device{grid-template-columns:34% 66%}.chosen-photo{min-height:160px}.chosen-photo img{max-height:195px}.chosen-device h2{font-size:24px}.variant{flex-wrap:wrap}.footinner{flex-direction:column}}

/* Applove mobile fixes – Safari iOS button coloring and seamless navigation */
.device,.device strong,.device small,.model,.model.selected,.device.selected{
  -webkit-appearance:none;appearance:none;
  color:#10121a;
  -webkit-text-fill-color:#10121a;
}
.device small{-webkit-text-fill-color:#768192;color:#768192}
.model{color:#4b5667;-webkit-text-fill-color:#4b5667}
.model.selected{color:#234a9d;-webkit-text-fill-color:#234a9d}
.device{font-family:inherit}
.device:focus-visible,.model:focus-visible{outline:3px solid #377aff;outline-offset:3px}
#model-section,#service-section,#summary-section{scroll-margin-top:90px}
@media(max-width:640px){#model-section,#service-section,#summary-section{scroll-margin-top:82px}}

#model-section,#service-section,#summary-section{scroll-margin-top:90px}.group .helper{line-height:1.5}

/* 1.1.5: support longer individually quoted prices */
.variant-right{flex-wrap:wrap;justify-content:flex-end}.variant .price{white-space:normal;text-align:right;min-width:140px}.selected-repair .big{font-size:clamp(22px,3vw,36px)}


/* 1.1.7: stabilny układ ceny i przycisku na mobile + darmowa diagnostyka */
.variant{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:16px}
.variant-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:10px;min-width:170px;margin-left:auto}
.variant .price{display:block;text-align:right;line-height:1.1}
.variant .glassbutton{align-self:flex-end}
.price-free{color:#159947}
.glassbutton.greenbutton{background:#effcf3;border-color:#b9ebc6;color:#159947}
.group.is-diagnostic .group-title small{color:#159947}
@media(max-width:640px){.variant{grid-template-columns:minmax(0,1fr) auto;align-items:end}.variant-right{min-width:156px;gap:8px}.variant .price{font-size:15px}.variant .glassbutton{min-width:138px;justify-content:center}.helper{word-break:break-word}}
