/* GKÖCH Warranty frontend v1.6.1
 * Approved Design implementation. Scoped to the warranty portal only.
 * The active theme still owns the header, footer and font family.
 */
.gkw-portal{
  --gkw-red:#d40000;
  --gkw-red-dark:#b90000;
  --gkw-black:#1e1c1b;
  --gkw-text:#171717;
  --gkw-muted:#777;
  --gkw-grey:#c9c7c7;
  --gkw-soft:#f1f1f1;
  --gkw-border:#cfcfcf;
  --gkw-danger:#a8322c;
  --gkw-success:#1f7754;
  --gkw-content:1200px;
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  color:var(--gkw-text);
  font-family:inherit;
  font-size:16px;
  font-style:normal;
  line-height:1.45;
  float:none!important;
  clear:both;
  text-align:left;
}

.gkw-serial-control{display:flex;gap:10px;align-items:stretch}.gkw-serial-control input{flex:1;min-width:0}.gkw-serial-check{flex:0 0 auto;border:1px solid #e51b23;background:#fff;color:#c5161d;font:inherit;font-weight:700;padding:0 22px;cursor:pointer}.gkw-serial-check:hover,.gkw-serial-check:focus{background:#fff3f3}.gkw-serial-check:disabled{opacity:.55;cursor:wait}.gkw-serial-status{min-height:20px}.gkw-serial-status.is-success{color:#18733c}.gkw-serial-status.is-error{color:#b42318}.gkw-serial-status.is-loading{color:#646970}.gkw-field select.is-serial-locked{background:#f4f6f8;color:#1d2327;cursor:not-allowed}.gkw-token-status-card{margin-bottom:28px}.gkw-token-status-card>p{max-width:760px}.gkw-lookup-detail-title{margin:30px 0 14px;font-size:18px}
@media(max-width:600px){.gkw-serial-control{display:grid}.gkw-serial-check{min-height:46px}}
.gkw-portal *,
.gkw-portal *::before,
.gkw-portal *::after{box-sizing:border-box}
.gkw-portal input,
.gkw-portal select,
.gkw-portal textarea,
.gkw-portal button{font-family:inherit;font-style:inherit}
.gkw-portal h1,
.gkw-portal h2,
.gkw-portal h3,
.gkw-portal h4,
.gkw-portal p{letter-spacing:normal;text-transform:none}
.gkw-portal a{text-decoration:none}

/* Keep the active Elessi/theme template, only remove the theme's page wrapper limits. */
body.gkw-warranty-page #content,
body.gkw-warranty-page #main-content,
body.gkw-warranty-page .site-content,
body.gkw-warranty-page .content-area,
body.gkw-warranty-page main.site-main{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
}
body.gkw-warranty-page #content>.row,
body.gkw-warranty-page #main-content>.row,
body.gkw-warranty-page .site-content>.row{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.gkw-warranty-page #content>.row>.columns,
body.gkw-warranty-page #content>.row>[class*="large-"],
body.gkw-warranty-page #main-content>.row>.columns{
  width:100%!important;
  max-width:none!important;
  flex:0 0 100%!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.gkw-warranty-page .entry-title,
body.gkw-warranty-page .page-title-wrap,
body.gkw-warranty-page .nasa-breadcrumb-root{display:none!important}

/* ===== Hero ===== */
.gkw-hero{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100vw;
  max-width:100vw;
  min-height:350px;
  margin:0 0 30px calc(50% - 50vw);
  padding:42px 24px 34px;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.61) 52%,rgba(0,0,0,.73) 100%),
    url('../images/warranty-hero.webp') center 58%/cover no-repeat;
}
.gkw-hero-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:min(100%,var(--gkw-content));
  margin:0 auto;
  text-align:center;
}
.gkw-kicker{
  display:block;
  margin:0 0 9px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
.gkw-hero h1{
  max-width:980px;
  margin:0 0 48px;
  color:#fff!important;
  font-size:clamp(34px,3.5vw,50px);
  font-weight:700;
  line-height:1.08;
  text-align:center;
  text-transform:uppercase!important;
  text-shadow:0 2px 16px rgba(0,0,0,.4);
}
.gkw-hero p{
  max-width:920px;
  margin:22px auto 0;
  color:#eee!important;
  font-size:13px;
  line-height:1.5;
  text-align:center;
}
.gkw-hero-card{
  display:flex;
  align-items:stretch;
  justify-content:center;
  width:min(100%,900px);
  min-height:52px;
  margin:0 auto;
  border:1px solid rgba(255,255,255,.75);
  background:#d7d7d7;
  color:#111;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
}
.gkw-process-title{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 190px;
  margin:0;
  padding:10px 18px;
  background:#6b6b6b;
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  text-transform:uppercase!important;
}
.gkw-process-step{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1 1 0;
  min-width:0;
  gap:10px;
  padding:10px 15px;
  color:#151515;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  text-align:left;
}
.gkw-process-step>b{
  display:grid;
  place-items:center;
  flex:0 0 25px;
  width:25px;
  height:25px;
  border-radius:4px;
  background:#f01a12;
  color:#fff;
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.gkw-process-step>span{min-width:0}
.gkw-hero.gkw-hero-single h1{margin-bottom:18px}

/* ===== Tabs ===== */
.gkw-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  width:min(var(--gkw-content),calc(100% - 48px));
  margin:0 auto;
  padding:0 0 24px;
  border-bottom:1px solid #bdbdbd;
  background:transparent;
}
.gkw-tab{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  padding:14px 18px;
  border:0;
  border-radius:0;
  background:var(--gkw-grey);
  color:#151515!important;
  font-size:16px;
  font-weight:700;
  letter-spacing:0;
  text-align:center;
  text-transform:uppercase!important;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease;
}
.gkw-tab:hover,.gkw-tab:focus{background:#bdbbbb;color:#111!important;outline:none}
.gkw-tab:focus-visible{outline:3px solid rgba(212,0,0,.25);outline-offset:2px}
.gkw-tab.is-active,.gkw-tab.is-active:hover,.gkw-tab.is-active:focus{background:var(--gkw-red);color:#fff!important}

/* Progressive enhancement: both forms remain usable without JS. */
.gkw-panel{
  display:block;
  width:min(var(--gkw-content),calc(100% - 48px));
  margin:0 auto;
  scroll-margin-top:24px;
}
.gkw-panel+.gkw-panel{margin-top:24px}
html.gkw-js .gkw-panel{display:none}
html.gkw-js .gkw-panel.is-active{display:block}
html.gkw-js .gkw-panel[hidden]{display:none!important}

/* ===== Form container ===== */
.gkw-card{
  width:100%;
  margin:0;
  padding:28px 0 30px;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.gkw-card-heading{margin-bottom:24px}
.gkw-card-heading h2{
  margin:3px 0 4px;
  color:#111!important;
  font-size:28px;
  font-weight:700;
  line-height:1.2;
}
.gkw-card-heading p{margin:0;color:#555;font-size:14px}
.gkw-step{
  display:block;
  color:var(--gkw-red);
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.gkw-required,.gkw-field em{color:var(--gkw-red);font-style:normal}
.gkw-section-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin:30px 0 16px;
  color:#151515;
  font-size:18px;
  font-weight:700;
  line-height:1.3;
}
.gkw-section-title>span{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:4px;
  background:#f01a12;
  color:#fff;
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.gkw-grid{display:grid;gap:22px 26px}
.gkw-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gkw-field{display:grid;gap:8px;min-width:0;margin:0}
.gkw-field-full{grid-column:1/-1}
.gkw-field>span{color:#171717;font-size:14px;font-weight:700;line-height:1.3}
.gkw-field input,
.gkw-field select,
.gkw-field textarea{
  width:100%!important;
  max-width:none!important;
  min-height:44px;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid var(--gkw-border)!important;
  border-radius:0!important;
  outline:none!important;
  background:#fff!important;
  color:#1c1c1c!important;
  font:inherit!important;
  font-size:14px!important;
  line-height:1.35!important;
  box-shadow:none!important;
}
.gkw-field select{padding-right:34px!important}
.gkw-field input::placeholder,
.gkw-field textarea::placeholder{color:#777;opacity:1}
.gkw-field input[type=file]{padding:0!important;background:#fff!important;overflow:hidden}
.gkw-field input[type=file]::file-selector-button{
  min-height:42px;
  margin:0 12px 0 0;
  padding:0 16px;
  border:0;
  border-right:1px solid var(--gkw-border);
  background:#f5f5f5;
  color:#222;
  font:inherit;
  cursor:pointer;
}
.gkw-field input:focus,
.gkw-field select:focus,
.gkw-field textarea:focus{border-color:var(--gkw-red)!important;box-shadow:0 0 0 2px rgba(212,0,0,.10)!important}
.gkw-field small{color:#858585;font-size:12px;line-height:1.4}
.gkw-consent{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin:28px 0 22px;
  padding:15px 16px;
  border-radius:0;
  background:#f2f2f2;
}
.gkw-consent input{flex:0 0 auto;margin:3px 0 0;accent-color:var(--gkw-red)}
.gkw-consent span{font-size:13px;line-height:1.45}
.gkw-consent a{color:#3e3021;font-weight:700;text-decoration:underline}
.gkw-submit{
  min-width:300px;
  min-height:45px;
  padding:12px 28px;
  border:0!important;
  border-radius:0!important;
  background:var(--gkw-red)!important;
  color:#fff!important;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  text-transform:none;
  cursor:pointer;
  box-shadow:none!important;
}
.gkw-submit:hover{background:var(--gkw-red-dark)!important}
.gkw-submit:focus-visible{outline:3px solid rgba(212,0,0,.26);outline-offset:2px}
.gkw-submit:disabled{opacity:.65;cursor:wait}
.gkw-alert{margin:18px 0;padding:14px 16px;border-radius:0}
.gkw-alert small{display:block;margin-top:8px;font-size:12px;word-break:break-word}
.gkw-alert-error{border:1px solid #e4b2ac;background:#fff1ef;color:#7f2822}
.gkw-alert-success{border:1px solid #9fd1b9;background:#edf8f2;color:#175f42}
.gkw-result-card{margin:18px 0;padding:20px;border:1px solid #c9c9c9;border-radius:0;background:#f7f7f7}
.gkw-result-card span{display:block;font-size:12px;letter-spacing:.08em!important;text-transform:uppercase!important}
.gkw-result-card strong{display:block;margin:3px 0;font-size:28px}
.gkw-result-card p{margin:0}
.gkw-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* ===== Lookup ===== */
.gkw-lookup-form{margin-top:34px}
.gkw-lookup-form .gkw-submit{margin-top:28px;min-width:290px}
.gkw-lookup-result{margin-top:28px;padding-top:26px;border-top:1px solid var(--gkw-border)}
.gkw-lookup-result h3{margin:8px 0 20px;font-size:25px;font-weight:700}
.gkw-status{display:inline-block;padding:7px 11px;border-radius:999px;font-size:13px;font-weight:800}
.gkw-status-active{background:#e4f4eb;color:#15623f}
.gkw-status-pending,.gkw-status-reserved{background:#fff3d8;color:#805b12}
.gkw-status-rejected,.gkw-status-cancelled,.gkw-status-expired,.gkw-status-replaced,.gkw-status-void{background:#f5e7e5;color:#84362f}
.gkw-lookup-result dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.gkw-lookup-result dl div{padding:13px;border:1px solid #ddd;border-radius:0}
.gkw-lookup-result dt{color:#777;font-size:12px;letter-spacing:.05em;text-transform:uppercase}
.gkw-lookup-result dd{margin:3px 0 0;font-weight:700}
.gkw-customer-access{margin:28px 0;padding:22px;border:1px solid #d6d6d6;background:#f7f7f7}
.gkw-customer-access>h3{margin:0 0 8px;font-size:20px}
.gkw-customer-access>p{margin:0;color:#555;font-size:13px;line-height:1.55}
.gkw-customer-access-form{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:16px;margin-top:18px}
.gkw-customer-access-form .gkw-submit{min-width:230px}
.gkw-lookup-detail-title{margin:30px 0 0;font-size:18px}
.gkw-customer-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.gkw-customer-detail-heading>div>p{max-width:720px;margin:0 0 20px;color:#555;font-size:13px;line-height:1.55}
.gkw-customer-logout{flex:0 0 auto}
.gkw-customer-logout button{padding:9px 13px;border:1px solid #aaa;background:#fff;color:#333;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.gkw-customer-logout button:hover{border-color:var(--gkw-red);color:var(--gkw-red)}
.gkw-customer-timeline{margin-top:28px;padding-top:24px;border-top:1px solid var(--gkw-border)}
.gkw-customer-timeline h4{margin:0 0 18px;font-size:20px}
.gkw-customer-timeline ol{position:relative;margin:0;padding:0;list-style:none}
.gkw-customer-timeline li{position:relative;display:grid;grid-template-columns:145px 1fr;gap:20px;min-height:46px;padding:0 0 18px 22px}
.gkw-customer-timeline li:before{position:absolute;top:5px;left:0;width:9px;height:9px;border-radius:50%;background:var(--gkw-red);content:""}
.gkw-customer-timeline li:after{position:absolute;top:15px;bottom:-3px;left:4px;width:1px;background:#d0d0d0;content:""}
.gkw-customer-timeline li:last-child:after{display:none}
.gkw-customer-timeline time{color:#666;font-size:12px}
.gkw-customer-timeline strong{font-size:14px}
.gkw-customer-timeline-note{margin:4px 0 0;color:#666;font-size:12px;line-height:1.5}

/* ===== Support strip ===== */
.gkw-service-notice{
  display:grid;
  grid-template-columns:280px minmax(240px,.9fr) minmax(300px,1.3fr);
  align-items:stretch;
  width:min(var(--gkw-content),calc(100% - 48px));
  min-height:60px;
  margin:0 auto 46px;
  padding:0;
  border-radius:0;
  background:#f0f0f0;
}
.gkw-service-notice h3{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:14px 22px;
  background:#c8c8c8;
  color:#151515;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  text-align:center;
  text-transform:uppercase!important;
}
.gkw-service-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:14px 24px;
}
.gkw-service-item svg{
  flex:0 0 23px;
  width:23px;
  height:23px;
  fill:var(--gkw-red);
}
.gkw-service-item p{margin:0;font-size:14px;line-height:1.35}
.gkw-service-item strong{font-weight:700}
.gkw-service-phone p,.gkw-service-phone a{color:var(--gkw-red)!important}
.gkw-service-phone a{font-weight:700}

/* ===== Validation ===== */
.gkw-form.was-validated :invalid{border-color:#b7483d!important;box-shadow:0 0 0 2px rgba(183,72,61,.10)!important}
.gkw-field .gkw-field-error{display:none;color:#8a2f28;font-size:12px}
.gkw-field.has-error .gkw-field-error{display:block}
.gkw-scanner-note{display:block;margin-top:4px;color:#666;font-size:12px}

/* ===== Theme/loader compatibility limited to the warranty page ===== */
html.gkw-warranty-runtime e-page-transition,
html.gkw-warranty-runtime .e-page-transition,
html.gkw-warranty-runtime .e-page-transition--entering,
html.gkw-warranty-runtime .e-page-transition--exiting,
html.gkw-warranty-runtime [class*="e-page-transition"],
html.gkw-warranty-runtime .elementor-page-transition,
html.gkw-warranty-runtime .elementor-preloader,
html.gkw-warranty-runtime .page-preloader,
html.gkw-warranty-runtime .site-preloader,
html.gkw-warranty-runtime .site-loader,
html.gkw-warranty-runtime .page-loader,
html.gkw-warranty-runtime #page-loader,
html.gkw-warranty-runtime #preloader,
html.gkw-warranty-runtime #nasa-before-load,
html.gkw-warranty-runtime #nasa-before-load .nasa-loader,
body.gkw-warranty-page #nasa-before-load,
body.gkw-warranty-page #nasa-before-load .nasa-loader,
html.gkw-warranty-runtime .loading-overlay,
html.gkw-warranty-runtime .loading-screen,
html.gkw-warranty-runtime .animsition-loading,
html.gkw-warranty-runtime .pace{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}

@media(max-width:1024px){
  .gkw-hero{min-height:330px;padding:38px 22px 30px;background-position:center 58%}
  .gkw-hero h1{margin-bottom:34px;font-size:38px}
  .gkw-hero-card{width:min(100%,820px)}
  .gkw-process-title{flex-basis:170px}
  .gkw-process-step{padding:10px 11px;font-size:13px}
  .gkw-tabs,.gkw-panel,.gkw-service-notice{width:calc(100% - 36px)}
  .gkw-service-notice{grid-template-columns:250px 1fr 1.2fr}
}

@media(max-width:767px){
  .gkw-portal{font-size:15px}
  .gkw-hero{
    min-height:350px;
    margin-bottom:18px;
    padding:34px 18px 26px;
    background-position:55% center;
  }
  .gkw-hero-inner{max-width:430px}
  .gkw-kicker{font-size:10px}
  .gkw-hero h1{
    max-width:350px;
    margin-bottom:26px;
    font-size:30px;
    line-height:1.16;
    letter-spacing:.012em!important;
  }
  .gkw-hero p{max-width:360px;margin-top:18px;font-size:12px;line-height:1.4}
  .gkw-hero-card{
    display:grid;
    grid-template-columns:1fr;
    width:250px;
    min-height:0;
    border:0;
    box-shadow:none;
  }
  .gkw-process-title{
    display:block;
    width:100%;
    padding:9px 12px;
    background:#686868;
    font-size:11px;
    text-align:center;
  }
  .gkw-process-step{
    justify-content:flex-start;
    gap:10px;
    width:100%;
    padding:7px 20px;
    font-size:12px;
  }
  .gkw-process-step:first-of-type{padding-top:12px}
  .gkw-process-step:last-child{padding-bottom:12px}
  .gkw-process-step>b{flex-basis:22px;width:22px;height:22px;border-radius:3px;font-size:11px}

  .gkw-tabs{
    gap:10px;
    width:calc(100% - 28px);
    padding-bottom:16px;
  }
  .gkw-tab{min-height:54px;padding:10px 8px;font-size:12px;line-height:1.2}
  .gkw-panel{width:calc(100% - 28px)}
  .gkw-card{padding:20px 0 34px}
  .gkw-card-heading{margin-bottom:20px}
  .gkw-card-heading h2{font-size:23px}
  .gkw-card-heading p{font-size:13px}
  .gkw-section-title{margin:27px 0 14px;font-size:16px}
  .gkw-section-title>span{flex-basis:25px;width:25px;height:25px;font-size:11px}
  .gkw-grid{gap:17px}
  .gkw-grid-2,.gkw-lookup-result dl{grid-template-columns:1fr}
  .gkw-field-full{grid-column:auto}
  .gkw-field>span{font-size:13px}
  .gkw-field input,.gkw-field select,.gkw-field textarea{min-height:42px;font-size:13px!important}
  .gkw-field small{font-size:11px}
  .gkw-consent{margin:23px 0 18px;padding:13px}
  .gkw-consent span{font-size:12px}
  .gkw-submit,.gkw-lookup-form .gkw-submit{width:100%;min-width:0;margin-top:0}
  .gkw-lookup-form{margin-top:25px}
  .gkw-lookup-form .gkw-submit{margin-top:22px}
  .gkw-customer-access{padding:18px}
  .gkw-customer-access-form{grid-template-columns:1fr}
  .gkw-customer-access-form .gkw-submit{width:100%;min-width:0}
  .gkw-customer-detail-heading{display:block}
  .gkw-customer-logout{margin:0 0 20px}
  .gkw-customer-timeline li{grid-template-columns:1fr;gap:4px;padding-left:20px}

  .gkw-service-notice{
    grid-template-columns:1fr;
    width:calc(100% - 28px);
    margin-bottom:34px;
  }
  .gkw-service-notice h3{min-height:48px;padding:12px 16px;font-size:12px}
  .gkw-service-item{justify-content:center;padding:12px 16px}
  .gkw-service-item+.gkw-service-item{padding-top:7px}
  .gkw-service-item:last-child{padding-bottom:17px}
  .gkw-service-item svg{flex-basis:20px;width:20px;height:20px}
  .gkw-service-item p{font-size:12px}
}

@media(max-width:420px){
  .gkw-hero{min-height:335px}
  .gkw-hero h1{max-width:310px;font-size:28px;line-height:1.16}
  .gkw-tabs,.gkw-panel,.gkw-service-notice{width:calc(100% - 20px)}
  .gkw-tab{font-size:11px}
}
