/*
Theme Name: Aggeruddäck Sport
Theme URI: https://aggeruddack.se
Author: Aggeruddäck AB
Description: Modernt mörkblått WordPress-tema för Aggeruddäck AB.
Version: 1.1.47
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aggeruddack-sport
*/
:root{--bg:#080f1d;--panel:#101e32;--line:#273b55;--blue:#168dff;--cyan:#3ec9f5;--white:#f7fbff;--muted:#b5c8dc}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0;background:var(--bg);color:var(--white);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #92d8ff;outline-offset:4px}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.site-header{background:rgba(7,16,30,.94);border-bottom:1px solid rgba(137,172,213,.17);position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}body.admin-bar .site-header{top:32px}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:82px}.logo{font-size:1.3rem;font-weight:900;letter-spacing:-.055em;white-space:nowrap}.logo span,.accent{color:var(--cyan)}.nav{display:flex;align-items:center;gap:30px;font-size:.95rem;font-weight:650}.nav>a:not(.btn):hover,.footer a:hover,.text-link:hover{color:var(--cyan)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;background:linear-gradient(120deg,#087ee9,#12a3f6);color:#fff;padding:13px 22px;border-radius:11px;font-weight:750;border:1px solid #289efa;transition:transform .2s,box-shadow .2s,background .2s;box-shadow:0 7px 25px rgba(0,111,231,.17)}.btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,111,231,.28)}.btn.secondary{background:rgba(16,34,57,.56);border-color:#6588ad;box-shadow:none}.btn.secondary:hover{background:#1b3654}.hero{position:relative;overflow:hidden;padding:104px 0 112px;background:radial-gradient(ellipse at 78% 35%,rgba(13,104,187,.3),transparent 55%),linear-gradient(125deg,#091321,#0d2038 65%,#07111f);border-bottom:1px solid rgba(104,150,201,.15)}.hero-layout{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:40px}.hero-content{position:relative;z-index:2}.eyebrow{font-weight:850;color:#68c9fa;letter-spacing:.15em;text-transform:uppercase;font-size:.77rem}.eyebrow-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--cyan);margin-right:8px;box-shadow:0 0 16px var(--cyan)}.hero h1{font-size:clamp(3.1rem,6.2vw,5.6rem);line-height:1.05;letter-spacing:-.065em;margin:19px 0 24px}.hero h1 em{font-style:normal;color:#42b9ff}.lead{font-size:1.12rem;color:#d1e1f2;max-width:590px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.hero-small{margin-top:30px;color:#8fb0cd;font-size:.85rem}.hero-art{position:relative;min-height:410px;display:grid;place-items:center;isolation:isolate}.hero-art:before{content:'';position:absolute;inset:12%;background:#008bff33;filter:blur(65px);border-radius:50%;z-index:-1}.tire-outer{width:min(370px,90%);aspect-ratio:1;border-radius:50%;background:repeating-conic-gradient(from 8deg,#111a27 0 7deg,#27364a 7deg 11deg,#0a121e 11deg 19deg);box-shadow:0 32px 70px #0009,0 0 0 13px #080f1a,0 0 0 15px #355775;display:grid;place-items:center;transform:rotate(-17deg)}.tire-rim{width:67%;aspect-ratio:1;border:15px solid #647d97;border-radius:50%;background:repeating-conic-gradient(#a4c4dd 0deg 10deg,#182b42 10deg 50deg,#a4c4dd 50deg 60deg);box-shadow:inset 0 0 0 8px #101e2e,0 0 0 9px #172a3d;display:grid;place-items:center}.tire-center{width:26%;aspect-ratio:1;background:radial-gradient(circle,#d6e7f1,#4a6885 65%,#0e1e2c 70%);border-radius:50%;border:5px solid #263e54}.hero-art-label{position:absolute;right:0;bottom:12px;color:#a4c8e5;letter-spacing:.15em;font-size:.72rem;line-height:1.8;text-align:right}.hero-art-label strong{font-size:.92rem;color:white}.section{padding:90px 0}.section.alt{background:linear-gradient(180deg,#0d1b2d,#101f34)}.section h2{font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.045em;line-height:1.15;margin:13px 0 20px}.section-intro{max-width:700px;color:var(--muted);margin-bottom:30px}.feature{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center}.benefits{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}.benefits span{border:1px solid #2c4662;background:#102238;color:#d6e9f7;border-radius:99px;padding:7px 12px;font-size:.84rem}.feature-panel{position:relative;overflow:hidden;background:linear-gradient(135deg,#164a80,#0d243e 70%);border:1px solid #356ca3;border-radius:23px;padding:43px;min-height:315px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 22px 55px #0004}.feature-panel:after{content:'';position:absolute;width:230px;height:230px;border:40px solid #ffffff08;border-radius:50%;right:-120px;top:-100px;pointer-events:none}.feature-panel strong{font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.2;margin-top:13px}.feature-panel p{color:#d5e7ff}.feature-panel .btn{align-self:flex-start}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tile{background:linear-gradient(150deg,#192d46,#101e30);border:1px solid #2a4260;border-radius:19px;padding:32px;min-height:240px;transition:transform .2s,border-color .2s,box-shadow .2s}.tile:hover{transform:translateY(-4px);border-color:#3e8dc8;box-shadow:0 18px 35px #0003}.tile .symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:#123c61;color:#69ceff;font-size:1.9rem;font-weight:700}.tile h3{font-size:1.35rem;margin:24px 0 8px}.tile p{color:var(--muted);margin:0}.contact-section{background:radial-gradient(ellipse at 20% 0%,#112a44,transparent 60%),#080f1d}.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.contact-card{background:linear-gradient(160deg,#172b44,#102036);border:1px solid #304963;border-radius:18px;padding:30px;min-height:280px}.contact-icon{color:var(--cyan);font-size:1.9rem}.contact-card h3{font-size:1.25rem;margin:12px 0}.contact-card p{color:#d0e1f0}.contact-card p a{text-decoration:underline;text-decoration-color:#5e8cb2;text-underline-offset:4px;overflow-wrap:anywhere}.contact-card .actions{margin-top:18px}.actions.compact{gap:8px}.actions.compact .btn{padding:10px 13px;font-size:.87rem}.text-link{color:#7bd2ff;font-weight:750}.hours>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #34506b;padding:9px 0;font-size:.92rem}.hours strong{white-space:nowrap}.hours-note{font-size:.8rem;color:#a7bdd2!important}.footer{background:#070d16;border-top:1px solid var(--line);padding:35px 0;color:var(--muted)}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.page-content{padding:65px 0;min-height:55vh}.page-content h1{font-size:clamp(2rem,4vw,2.8rem)}.wp-block-image img{height:auto;max-width:100%}.mobile-nav{display:none}@media(max-width:900px){.hero-layout{grid-template-columns:1fr 0.7fr;gap:15px}.hero-art{min-height:300px}.feature{gap:30px}.contact-grid{gap:12px}.contact-card{padding:23px}.nav{gap:17px}}@media(max-width:700px){body.admin-bar .site-header{top:46px}.header-inner{min-height:72px}.logo{font-size:1.12rem}.nav{display:none}.mobile-nav{display:block;position:relative}.mobile-nav summary{cursor:pointer;list-style:none;border:1px solid #4a6887;border-radius:9px;padding:8px 12px;font-weight:700}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav nav{position:absolute;right:0;top:calc(100% + 12px);width:min(290px,calc(100vw - 40px));background:#10243b;border:1px solid #3a5875;box-shadow:0 16px 40px #0008;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:4px}.mobile-nav nav a{padding:11px 12px}.mobile-nav nav .btn{margin-top:5px}.hero{padding:70px 0 75px}.hero-layout{grid-template-columns:1fr}.hero-art{display:none}.hero h1{font-size:clamp(3rem,12vw,4.5rem)}.section{padding:65px 0}.grid,.contact-grid,.feature{grid-template-columns:1fr}.tile,.contact-card{min-height:auto}.feature-panel{padding:32px;min-height:260px}.actions .btn{max-width:100%}}@media(max-width:400px){.wrap{width:calc(100% - 28px)}.hero h1{font-size:2.9rem}.btn{padding:12px 15px}.actions{flex-direction:column;align-items:stretch}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.tile{transition:none}}

/* Header logo – 1.1.1 */
.brand{display:flex;align-items:center;min-width:0}.brand-image-link,.custom-logo-link{display:inline-flex;align-items:center}.brand-image,.custom-logo{display:block;width:auto;height:auto;max-height:68px;max-width:min(330px,48vw);object-fit:contain}@media(max-width:700px){.brand-image,.custom-logo{max-height:54px;max-width:min(220px,58vw)}}@media(max-width:400px){.brand-image,.custom-logo{max-height:48px;max-width:190px}}

/* Version 1.1.2 – larger logo, refined navigation and realistic wheel */
.header-inner{min-height:98px;gap:36px}.brand{flex:0 1 auto}.brand-image,.custom-logo{max-height:87px;max-width:min(410px,39vw)}.nav{gap:34px;margin-left:auto;white-space:nowrap}.nav .btn{padding-inline:23px}.hero-art{min-height:450px}.hero-tire-photo{width:min(400px,94%);aspect-ratio:1;border-radius:50%;position:relative;background-image:url('Däcklogotyp med blå swooshes.png');background-repeat:no-repeat;background-size:1020px auto;background-position:center -1px;filter:drop-shadow(0 24px 30px rgba(0,0,0,.5));-webkit-mask-image:radial-gradient(circle at 50% 43%,#000 0 53%,transparent 73%);mask-image:radial-gradient(circle at 50% 43%,#000 0 53%,transparent 73%)}.hero-art-label{bottom:0}@media(max-width:900px){.header-inner{gap:18px}.brand-image,.custom-logo{max-width:270px;max-height:75px}.nav{gap:17px}.hero-tire-photo{width:min(320px,100%);background-size:820px auto}}@media(max-width:700px){.header-inner{min-height:76px}.brand-image,.custom-logo{max-height:62px;max-width:min(250px,57vw)}.nav{display:none}.hero-art{display:none}}@media(max-width:400px){.brand-image,.custom-logo{max-height:55px;max-width:205px}}

/* Version 1.1.3: use actual tire in the supplied logo artwork */
.hero-tire-photo{display:none}.hero-tire-crop{position:relative;width:min(420px,100%);height:355px;overflow:hidden;isolation:isolate;filter:drop-shadow(0 22px 25px rgba(0,0,0,.35))}.hero-tire-crop img{position:absolute;display:block;max-width:none;width:1120px;height:auto;left:50%;top:-8px;transform:translateX(-50%)}.brand-image,.custom-logo{max-height:95px;max-width:min(450px,42vw)}.header-inner{min-height:105px}@media(max-width:900px){.hero-tire-crop{width:320px;height:280px}.hero-tire-crop img{width:875px}.brand-image,.custom-logo{max-height:80px;max-width:300px}}@media(max-width:700px){.header-inner{min-height:76px}.brand-image,.custom-logo{max-height:62px;max-width:min(250px,57vw)}}@media(max-width:400px){.brand-image,.custom-logo{max-height:55px;max-width:205px}}

/* 1.1.4: show photographic tire from original logo, without text */
.hero-wheel-real{position:relative;overflow:hidden;width:min(410px,100%);aspect-ratio:1;margin-inline:auto;isolation:isolate;filter:drop-shadow(0 20px 25px rgba(0,0,0,.42))}.hero-wheel-real img{position:absolute;max-width:none!important;width:1100px!important;height:auto!important;left:50%;top:0;transform:translateX(-50%);object-fit:unset!important}.hero-wheel-real:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,transparent 75%,#0c2941 100%)}@media(max-width:900px){.hero-wheel-real{width:min(320px,100%)}.hero-wheel-real img{width:860px!important}}@media(max-width:700px){.hero-wheel-real{display:none}}

/* 1.1.5 – standalone wheel image, no duplicated brand text */
.hero-wheel-115{width:min(430px,100%);margin:auto;display:flex;align-items:center;justify-content:center}.hero-wheel-115 img{width:100%;height:auto;max-height:440px;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(0,0,0,.3))}@media(max-width:900px){.hero-wheel-115{width:min(340px,100%)}}@media(max-width:700px){.hero-wheel-115{width:min(300px,85vw)}}

/* 1.1.6 – single brand logo, clearer tire-focused hero */
.hero{padding:82px 0 92px;background:radial-gradient(ellipse at 78% 52%,rgba(0,143,235,.46),transparent 51%),linear-gradient(115deg,#06172f 0%,#07345e 65%,#06213d 100%)}
.hero-layout{grid-template-columns:1.1fr .9fr;gap:24px}
.hero-content{max-width:660px}
.hero h1{font-weight:900}
.hero h1 em{color:#22d3ed}
.hero-art{min-height:420px}
.hero-wheel-feature{width:min(470px,100%)}
.hero-wheel-feature img{max-height:490px;filter:drop-shadow(0 28px 34px rgba(0,0,0,.5))}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr .8fr}.hero-wheel-feature{width:min(340px,100%)}}
@media(max-width:700px){.hero{padding:65px 0 72px}.hero-layout{grid-template-columns:1fr}.hero-art{display:flex;min-height:0;margin-top:20px}.hero-wheel-feature{width:min(290px,70vw)}.hero-wheel-feature img{max-height:300px}}
@media(max-width:400px){.hero-wheel-feature{width:min(250px,70vw)}}

/* 1.1.8 – photorealistic tire hero with feathered edges */
.hero-wheel-feature {width:min(530px,100%);}
.hero-wheel-feature img {
  width:100%;height:auto;max-height:none;object-fit:contain;
  -webkit-mask-image:radial-gradient(ellipse 64% 62% at 50% 50%,#000 67%,transparent 100%);
  mask-image:radial-gradient(ellipse 64% 62% at 50% 50%,#000 67%,transparent 100%);
  filter:none;
}
@media(max-width:900px){.hero-wheel-feature{width:min(370px,100%)}}
@media(max-width:700px){.hero-wheel-feature{width:min(330px,86vw)}}

/* 1.1.9 – seamless photographic hero edges */
.hero-wheel-feature{overflow:visible;isolation:isolate;}
.hero-wheel-feature img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;
  -webkit-mask-image:radial-gradient(ellipse 61% 58% at 50% 51%,#000 48%,rgba(0,0,0,.96) 63%,rgba(0,0,0,.65) 78%,transparent 100%);
  mask-image:radial-gradient(ellipse 61% 58% at 50% 51%,#000 48%,rgba(0,0,0,.96) 63%,rgba(0,0,0,.65) 78%,transparent 100%);}

/* Version 1.1.10: four service cards, responsive layout and sales contact link */
#tjanster .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#tjanster .tile{display:flex;flex-direction:column;padding:25px;min-width:0}
#tjanster .tile h3{font-size:1.2rem}
#tjanster .tire-sales-cta{align-self:flex-start;margin-top:auto;padding:10px 15px;font-size:.88rem}
#tjanster .tile p{margin-bottom:20px}
@media(max-width:1050px){#tjanster .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#tjanster .grid{grid-template-columns:1fr}}

/* 1.1.12 – compact service cards on mobile only; desktop layout unchanged */
@media(max-width:700px){
  #tjanster .grid{gap:14px}
  #tjanster .tile{padding:20px;min-height:0;border-radius:17px}
  #tjanster .tile .symbol{width:44px;height:44px;border-radius:12px;font-size:1.55rem}
  #tjanster .tile h3{margin:13px 0 5px;font-size:1.15rem;line-height:1.35}
  #tjanster .tile p{margin:0 0 15px;line-height:1.5}
  #tjanster .tire-sales-cta{margin-top:auto;padding:9px 14px;font-size:.87rem;min-height:42px}
}

/* 1.1.13: Keep anchor headings clear of the sticky navigation. */
html{scroll-padding-top:125px}
#tjanster,#dackhotell,#kontakt{scroll-margin-top:125px}
@media(max-width:700px){html{scroll-padding-top:125px}#tjanster,#dackhotell,#kontakt{scroll-margin-top:125px}}
@media(max-width:782px){body.admin-bar #tjanster,body.admin-bar #dackhotell,body.admin-bar #kontakt{scroll-margin-top:175px}}

/* 1.1.14 – Prevent horizontal overflow on narrow screens.
   Keep the desktop design unchanged and allow grid/flex children to shrink. */
@media (max-width:700px) {
  html, body { max-width:100%; overflow-x:clip; }
  .wrap { max-width:calc(100% - 40px); }
  .header-inner, .brand, .mobile-nav, .section, .grid,
  .grid > *, .feature, .feature > *, .contact-grid,
  .contact-grid > *, #tjanster .tile { min-width:0; }
  .section h2, .tile h3, .tile p, .contact-card,
  .contact-card p, .section-intro { overflow-wrap:anywhere; }
  img, svg, video, iframe { max-width:100%; }
  .hours > div { flex-wrap:wrap; }
  .hours strong { white-space:normal; }
  .mobile-nav nav { max-width:calc(100vw - 40px); }
}
@media (max-width:400px) {
  .wrap { max-width:calc(100% - 28px); }
}

/* 1.1.15 – Keep mobile content within the viewport, including open navigation. */
@media(max-width:700px){
  html{width:100%;overflow-x:hidden;overflow-x:clip}
  body{width:100%;min-width:0;overflow-x:hidden;overflow-x:clip}
  #content,main,.site-header,.footer,.section,.contact-section{width:100%;max-width:100%;min-width:0}
  .wrap{width:calc(100% - 40px);max-width:1160px;min-width:0}
  .section h1,.section h2,.section h3,.section p,.contact-card,.tile{max-width:100%;min-width:0;overflow-wrap:break-word}
  .mobile-nav{flex:0 0 auto}
  .mobile-nav nav{box-sizing:border-box;width:min(290px,calc(100vw - 40px));max-width:calc(100vw - 40px);right:0}
  .mobile-nav nav a{white-space:normal;overflow-wrap:anywhere}
  .mobile-nav:not([open]) nav{display:none}
}
@media(max-width:400px){.wrap{width:calc(100% - 28px)}.mobile-nav nav{max-width:calc(100vw - 28px)}}

/* 1.1.18 – tire quotation */
.tire-quote-section{background:#0c1a2c}.tire-quote-panel{max-width:790px;padding:clamp(22px,4vw,40px);background:linear-gradient(150deg,#192d46,#101e30);border:1px solid #34516f;border-radius:20px}.tire-quote-form{display:grid;gap:22px}.tire-quote-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tire-quote-form label{display:grid;gap:7px;font-weight:650}.tire-quote-form input:not([type=radio]),.tire-quote-form select{width:100%;min-width:0;padding:13px 14px;border:1px solid #6b88a5;border-radius:9px;background:#0b1a2d;color:#fff;font:inherit}.tire-quote-form input:focus-visible,.tire-quote-form select:focus-visible{outline:3px solid #64c5ff;outline-offset:2px}.tire-quote-form fieldset{border:1px solid #3c5773;border-radius:12px;padding:17px}.tire-quote-form legend{font-weight:750;padding:0 7px}.tire-quote-options{display:flex;gap:14px;flex-wrap:wrap}.tire-quote-options label{display:flex;align-items:center;gap:7px;font-weight:500}.tire-quote-options input{accent-color:#149cff;width:18px;height:18px}.tire-quote-privacy{color:#b5c8dc;font-size:.9rem;margin:0}.tire-quote-form button{justify-self:start;cursor:pointer;font:inherit}.tire-quote-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.tire-quote-notice{padding:13px 16px;border-radius:9px;margin:0 0 24px;background:#183b52;border:1px solid #69b8e6}.tire-quote-notice.error{background:#44252c;border-color:#f39aa8}@media(max-width:600px){.tire-quote-fields{grid-template-columns:1fr}.tire-quote-options{flex-direction:column}.tire-quote-form button{width:100%}}

/* 1.1.24 – däckhotellansökan, enbart visuell anpassning */
body.page-slug-bli-dackhotellskund .page-content,body.page:has(.krwp-hotel-application) .page-content{padding-top:clamp(36px,6vw,72px);padding-bottom:clamp(55px,7vw,90px)}
body.page:has(.krwp-hotel-application) .page-content article{max-width:960px;margin-inline:auto}
body.page:has(.krwp-hotel-application) .page-content h1{font-size:clamp(2.2rem,4.5vw,3.45rem);letter-spacing:-.045em;line-height:1.12;margin:0 0 24px}
body.page .page-content .krwp-hotel-application{width:100%;max-width:960px;margin:0 0 30px;padding:clamp(22px,4vw,44px);border:1px solid #355775;border-radius:22px;background:linear-gradient(145deg,#1a344f 0%,#14273f 55%,#101d31 100%);box-shadow:0 22px 50px rgba(0,0,0,.24)}
body.page .page-content .krwp-hotel-application .krwp-hotel-intro{color:#c8dcee;font-size:1.08rem;margin-bottom:30px;max-width:700px}
body.page .page-content .krwp-hotel-application form{gap:22px 24px}
body.page .page-content .krwp-hotel-application label{font-size:1rem;font-weight:650;color:#f6fbff}
body.page .page-content .krwp-hotel-application input:not([type=hidden]),body.page .page-content .krwp-hotel-application select,body.page .page-content .krwp-hotel-application textarea{background:#0b1b2e;color:#fff;border:1px solid #6888a7;border-radius:11px;min-height:54px;padding:14px 16px;margin-top:9px;font-size:1rem;box-shadow:inset 0 1px 3px rgba(0,0,0,.12)}
body.page .page-content .krwp-hotel-application select option{background:#0b1b2e;color:#fff}
body.page .page-content .krwp-hotel-application textarea{min-height:145px}
body.page .page-content .krwp-hotel-application input:focus,body.page .page-content .krwp-hotel-application select:focus,body.page .page-content .krwp-hotel-application textarea:focus{outline:3px solid #67c9ff;outline-offset:2px;border-color:#39b4ff}
body.page .page-content .krwp-hotel-application button[type=submit]{min-height:56px;padding:14px 30px;background:linear-gradient(120deg,#087ee9,#12a3f6);border:1px solid #289efa;border-radius:11px;font-size:1.05rem;font-weight:750;box-shadow:0 8px 25px rgba(0,111,231,.2);transition:transform .2s,box-shadow .2s}
body.page .page-content .krwp-hotel-application button[type=submit]:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,111,231,.3)}
@media(max-width:640px){body.page .page-content .krwp-hotel-application{padding:22px 18px;border-radius:18px}body.page .page-content .krwp-hotel-application form{grid-template-columns:minmax(0,1fr);gap:18px}body.page .page-content .krwp-hotel-application form>p:nth-last-child(-n+2){grid-column:auto}body.page .page-content .krwp-hotel-application button[type=submit]{width:100%}}

/* 1.1.25 – tydlig rubrik ovanför däckhotellsansökan; knappen lämnas orörd. */
body.page:has(.krwp-hotel-application) .page-content article > h1{display:block!important;visibility:visible!important;opacity:1!important;color:#f7fbff!important;font-size:clamp(2.25rem,4.4vw,3.4rem)!important;font-weight:800;line-height:1.15;letter-spacing:-.04em;margin:0 0 24px!important;padding:0 0 0 16px;border-left:5px solid #3ec9f5;max-width:960px}
body.page:has(.krwp-hotel-application) .page-content article > h1 + .entry-content{margin-top:0}
body.page:has(.krwp-hotel-application) .page-content{padding-top:clamp(38px,5vw,64px)}
@media(max-width:700px){body.page:has(.krwp-hotel-application) .page-content article > h1{font-size:clamp(1.95rem,7vw,2.6rem)!important;margin-bottom:20px!important;padding-left:12px}}

/* Dedicated hotel page */
.hotel-page{padding:80px 0;background:linear-gradient(140deg,#0b192b,#103657 60%,#091525)}.hotel-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:35px;align-items:center}.hotel-page h1{font-size:clamp(2.6rem,5vw,4.3rem);line-height:1.12;letter-spacing:-.055em}.hotel-page h1 span{color:#42d2eb}.hotel-lead{font-size:1.1rem;color:#c9def0}.hotel-photo{width:100%;height:auto;filter:drop-shadow(0 25px 35px #0008)}.hotel-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:55px}.hotel-card{background:linear-gradient(145deg,#1a3553,#112239);border:1px solid #355b80;border-radius:18px;padding:28px}.hotel-card h2{font-size:1.3rem;margin:0 0 10px}.hotel-card p{color:#c6d9e9;margin:0}.hotel-cta{margin-top:36px;padding:32px;border-radius:20px;border:1px solid #3872a3;background:linear-gradient(120deg,#164a7b,#10243e)}.hotel-cta h2{margin:0 0 12px;font-size:1.7rem}.hotel-cta p{color:#d0e4f4}@media(max-width:760px){.hotel-hero,.hotel-cards{grid-template-columns:1fr}.hotel-photo{max-width:420px}.hotel-cards{margin-top:32px}.hotel-cta{padding:24px}}

/* 1.1.29: matching action heights on Däckhotell */
.hotel-page .actions .btn{min-height:52px;align-items:center;text-align:center}

/* 1.1.32 – bokningssidan matchar formuläret för däckoffert.
   Endast visuell styling; engångskod och bokningsflöde sköts av Kundregister. */
body.page:has(.krwp-public-booking) .page-content{padding-top:clamp(52px,7vw,90px);padding-bottom:clamp(60px,8vw,100px);background:#0c1a2c}
body.page:has(.krwp-public-booking) .page-content article{max-width:960px}
body.page:has(.krwp-public-booking) .page-content article>h1{font-size:clamp(2.2rem,4vw,3.1rem);font-weight:800;line-height:1.15;letter-spacing:-.045em;margin:0 0 24px;color:#f7fbff}
body.page .page-content .krwp-public-booking{max-width:790px!important;width:100%;margin:0 0 30px!important;padding:clamp(22px,4vw,40px)!important;background:linear-gradient(150deg,#192d46,#101e30)!important;border:1px solid #34516f!important;border-radius:20px!important;box-shadow:none!important;color:#f7fbff!important}
body.page .page-content .krwp-public-booking h2{font-size:clamp(1.4rem,2.4vw,1.75rem);letter-spacing:-.025em;margin-bottom:24px!important}
body.page .page-content .krwp-public-booking h3{font-size:1.35rem}
body.page .page-content .krwp-public-booking p{color:#c4d6e8!important;line-height:1.65}
body.page .page-content .krwp-public-booking label{font-weight:650;color:#f7fbff!important}
body.page .page-content .krwp-public-booking select,body.page .page-content .krwp-public-booking input:not([type=hidden]){width:100%;min-width:0;min-height:54px;padding:13px 14px;border:1px solid #6b88a5!important;border-radius:9px!important;background:#0b1a2d!important;color:#fff!important;font:inherit;box-shadow:none!important}
body.page .page-content .krwp-public-booking select option{background:#0b1a2d;color:#fff}
body.page .page-content .krwp-public-booking input:focus-visible,body.page .page-content .krwp-public-booking select:focus-visible{outline:3px solid #64c5ff!important;outline-offset:2px}
body.page .page-content .krwp-public-booking button{min-height:50px;padding:13px 22px;border:1px solid #289efa!important;border-radius:11px!important;background:linear-gradient(120deg,#087ee9,#12a3f6)!important;color:#fff!important;font:inherit;font-weight:750;cursor:pointer;box-shadow:0 7px 25px rgba(0,111,231,.17);transition:transform .2s,box-shadow .2s}
body.page .page-content .krwp-public-booking button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,111,231,.28)}
body.page .page-content .krwp-public-booking button:disabled{opacity:.55;cursor:not-allowed}
body.page .page-content .krwp-public-booking .krwp-reserved-hotel-slot{background:#2465c6!important;border:2px solid #b8d7ff!important}
body.page .page-content .krwp-public-booking form{gap:12px;margin:18px 0 0}
body.page .page-content .krwp-public-booking #krwp-verify-message:not(:empty){margin-top:18px}
@media(max-width:600px){body.page .page-content .krwp-public-booking{padding:22px 18px!important}body.page .page-content .krwp-public-booking button{width:100%}body.page:has(.krwp-public-booking) .page-content article>h1{font-size:clamp(2rem,7vw,2.6rem)}}

/* 1.1.33 – remove duplicate booking heading and center the booking form.
   Only the public booking form is affected; all booking behavior is unchanged. */
body.page:has(.krwp-public-booking) .page-content article{max-width:790px;margin-inline:auto}
body.page:has(.krwp-public-booking) .page-content article>h1{max-width:790px;margin:0 0 24px}
body.page .page-content .krwp-public-booking{max-width:790px!important;margin:0 auto 30px!important}
body.page .page-content .krwp-public-booking>h2:first-child{display:none!important}
body.page .page-content .krwp-public-booking>label:first-of-type{display:block;margin-top:0}

/* 1.1.34 – match booking page with Bli Däckhotellskund styling. Visual only. */
body.page:has(.krwp-public-booking) .page-content{background:transparent;padding-top:clamp(38px,5vw,64px);padding-bottom:clamp(55px,7vw,90px)}
body.page:has(.krwp-public-booking) .page-content article{max-width:960px;margin-inline:auto}
body.page:has(.krwp-public-booking) .page-content article>h1{max-width:960px;font-size:clamp(2.25rem,4.4vw,3.4rem)!important;font-weight:800;line-height:1.15;letter-spacing:-.04em;margin:0 0 24px!important;padding-left:16px;border-left:5px solid #3ec9f5}
body.page .page-content .krwp-public-booking{width:100%;max-width:960px!important;margin:0 0 30px!important;padding:clamp(22px,4vw,44px)!important;background:linear-gradient(145deg,#1a344f 0%,#14273f 55%,#101d31 100%)!important;border:1px solid #355775!important;border-radius:22px!important;box-shadow:0 22px 50px rgba(0,0,0,.24)!important}
body.page .page-content .krwp-public-booking select,body.page .page-content .krwp-public-booking input:not([type=hidden]){background:#0b1b2e!important;border:1px solid #6888a7!important;border-radius:11px!important;min-height:54px;padding:14px 16px;font-size:1rem}
body.page .page-content .krwp-public-booking select option{background:#0b1b2e}
body.page .page-content .krwp-public-booking button{min-height:56px;padding:14px 30px;font-size:1.05rem;font-weight:750}
@media(max-width:640px){body.page .page-content .krwp-public-booking{padding:22px 18px!important;border-radius:18px!important}body.page:has(.krwp-public-booking) .page-content article>h1{font-size:clamp(1.95rem,7vw,2.6rem)!important;padding-left:12px}}

/* 1.1.35 – compact, centered booking form; retain 1.1.34 colors and functionality. */
@media (min-width: 701px){
  body.page:has(.krwp-public-booking) .page-content article{max-width:760px;margin-inline:auto}
  body.page:has(.krwp-public-booking) .page-content article>h1{max-width:760px}
  body.page .page-content .krwp-public-booking{max-width:760px!important;margin:0 auto 30px!important;padding:clamp(26px,3vw,38px)!important}
}
@media (max-width:700px){
  body.page:has(.krwp-public-booking) .page-content article{max-width:100%}
  body.page .page-content .krwp-public-booking{max-width:100%!important;margin:0 auto 30px!important}
}

/* Header: live opening status, using Kundregister public hours. */
.ad-header-hours{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;flex:0 0 auto;padding:7px 12px;border:1px solid #35516d;border-radius:11px;background:#12263c;line-height:1.3;white-space:nowrap}
.ad-hours-status{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:13px}
.ad-hours-dot{height:9px;width:9px;border-radius:50%;background:#f87171;box-shadow:0 0 0 3px #f8717122}
.ad-header-hours.is-open .ad-hours-dot{background:#4ade80;box-shadow:0 0 0 3px #4ade8022}
.ad-header-hours.is-open .ad-hours-state{color:#86efac}
.ad-header-hours.is-closed .ad-hours-state{color:#fca5a5}
.ad-hours-today{font-size:11px;color:#d0e2f5}
@media(max-width:1100px){.header-inner{gap:12px}.nav{gap:13px}.ad-header-hours{padding:6px 9px}}
@media(max-width:850px){.ad-header-hours{margin-left:auto}.header-inner{gap:9px}}
@media(max-width:700px){.ad-header-hours{padding:5px 8px}.ad-hours-status{font-size:11px}.ad-hours-today{font-size:10px}.header-inner{gap:7px}}
@media(max-width:400px){.ad-header-hours{padding:4px 6px}.ad-hours-status{font-size:10px}.ad-hours-today{font-size:9px}}

/* 1.1.39: framhav statusen utan ram eller bakgrundsplatta */
.ad-header-hours,.ad-header-hours.is-open,.ad-header-hours.is-closed{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0 4px;}
.ad-header-hours.is-closed .ad-hours-state{color:#ff555e;}
.ad-header-hours.is-closed .ad-hours-dot{background:#ff414b;box-shadow:0 0 0 3px rgba(255,65,75,.16);}
.ad-header-hours .ad-hours-today{color:#fff;font-weight:650;}

/* 1.1.40: Centrera öppetstatus mellan logotyp och navigering. */
@media (min-width: 1101px) {
  .header-inner { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; column-gap:20px; }
  .header-inner > .brand { grid-column:1; justify-self:start; min-width:0; }
  .header-inner > .ad-header-hours { grid-column:2; justify-self:center; align-items:center; text-align:center; margin:0; }
  .header-inner > .nav { grid-column:3; justify-self:end; margin-left:0; }
  .header-inner > .mobile-nav { display:none; }
}
@media (min-width:701px) and (max-width:1100px) {
  .header-inner { display:flex; justify-content:space-between; gap:14px; }
  .header-inner > .ad-header-hours { margin-inline:auto; align-items:center; text-align:center; }
  .header-inner > .nav { margin-left:0; }
}
@media (max-width:700px) {
  .header-inner > .ad-header-hours { margin-left:auto; align-items:center; text-align:center; }
}

/* 1.1.41: Tydligare öppettider utan att ändra headerns höjd. */
@media (min-width:1101px) {
  .ad-header-hours .ad-hours-status {font-size:17px;line-height:1.15;}
  .ad-header-hours .ad-hours-today {font-size:15px;line-height:1.2;}
  .ad-header-hours {gap:3px;}
}
@media (min-width:851px) and (max-width:1100px) {
  .ad-header-hours .ad-hours-status {font-size:15px;line-height:1.15;}
  .ad-header-hours .ad-hours-today {font-size:13px;line-height:1.2;}
}

/* Private Kundregister pages: no theme title or oversized heading gap. */
.page-content.kr-admin-page{padding-top:12px;padding-bottom:30px;min-height:0}
.page-content.kr-admin-page > article{margin-top:0}

/* 1.1.45 – Discreet staff login on the public home page */
.nav .ad-staff-login{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:36px;margin-left:-18px;color:#8ea8c4;opacity:.72;border-radius:8px;transition:color .2s,opacity .2s,background .2s}
.nav .ad-staff-login:hover,.nav .ad-staff-login:focus-visible{color:#fff;opacity:1;background:rgba(100,167,227,.14)}
.mobile-nav nav .ad-mobile-staff-login{font-size:.85rem;color:#b6c9de;border-top:1px solid #3a5875;margin-top:8px;padding-top:14px}
@media(max-width:900px) and (min-width:701px){.nav .ad-staff-login{margin-left:-8px}}

/* 1.1.47 – Mobile header: separate opening status from logo and menu. */
@media (max-width:700px) {
  .site-header .header-inner {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:10px;
    row-gap:3px;
    padding-top:8px;
    padding-bottom:9px;
    min-height:0;
  }
  .site-header .header-inner > .brand {
    grid-column:1;
    grid-row:1;
    min-width:0;
    max-width:100%;
    justify-self:start;
  }
  .site-header .brand-image,
  .site-header .custom-logo {
    display:block;
    width:auto;
    height:auto;
    max-width:min(235px,100%);
    max-height:58px;
    object-fit:contain;
  }
  .site-header .header-inner > .mobile-nav {
    grid-column:2;
    grid-row:1;
    justify-self:end;
    margin:0;
    min-width:0;
  }
  .site-header .mobile-nav summary {white-space:nowrap;font-size:14px;padding:8px 10px;}
  .site-header .header-inner > .ad-header-hours {
    grid-column:1 / -1;
    grid-row:2;
    justify-self:center;
    margin:0;
    padding:2px 0 0;
    width:100%;
    min-width:0;
    align-items:center;
    text-align:center;
    white-space:normal;
    gap:1px;
  }
  .site-header .ad-hours-status {font-size:12px;line-height:1.3;}
  .site-header .ad-hours-today {font-size:11px;line-height:1.3;}
  .site-header .header-inner > .nav {display:none;}
}
@media (max-width:380px) {
  .site-header .brand-image,.site-header .custom-logo {max-width:min(190px,100%);max-height:50px;}
  .site-header .mobile-nav summary {font-size:13px;padding:7px 8px;}
}
