/*
Theme Name: Elinas Fotvård
Theme URI: https://example.com/
Author: Elinas Fotvård
Description: Stilrent ensidigt WordPress-tema för Elinas Fotvård med Cliento-bokning.
Version: 1.1.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: elinas-fotvard
*/
:root{--ink:#292725;--muted:#67605e;--pink:#b84f77;--blush:#fbf2f3;--cream:#F4EFE9;--line:#e8e1de}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.65;background:white}a{color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;line-height:1.17;font-weight:400}h1{font-size:clamp(2.45rem,5vw,4.8rem)}h2{font-size:clamp(2rem,3.4vw,3.2rem)}h3{font-size:1.15rem}p{color:#514d4b}.container{max-width:1160px;margin:auto;padding:0 24px}.site-header{background:#fff;position:relative;z-index:5;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:10px;padding-bottom:10px}.logo{width:132px;height:105px;object-fit:contain}.nav{display:flex;gap:24px;align-items:center}.nav a{text-decoration:none;font-size:14px;font-weight:600}.btn{display:inline-flex;justify-content:center;align-items:center;padding:13px 24px;border-radius:4px;background:var(--pink);color:#fff;text-decoration:none;font-weight:700;font-size:14px;border:1px solid var(--pink)}.btn:hover{background:#9e3f65}.btn-outline{background:transparent;color:var(--pink)}.btn-outline:hover{color:white}.hero{background:var(--cream)}.hero-grid{display:grid;grid-template-columns:1fr 1.06fr;align-items:center;gap:6%;padding-top:65px;padding-bottom:65px}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--pink);margin-bottom:18px}.hero h1{margin-bottom:22px}.hero p{font-size:17px;max-width:490px}.hero-photo{width:100%;height:485px;object-fit:cover;border-radius:3px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.section{padding:85px 0}.section-head{max-width:680px;margin-bottom:38px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service{border:1px solid var(--line);padding:30px;background:#fff}.service .number{color:var(--pink);font-size:13px;letter-spacing:.1em}.service h3{margin:12px 0}.service p{margin:0}.soft{background:var(--blush)}.split{display:grid;grid-template-columns:0.85fr 1.15fr;align-items:center;gap:8%}.portrait{width:100%;height:440px;object-fit:cover;object-position:center 35%;border-radius:3px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery img{width:100%;height:270px;object-fit:cover}.gallery img:last-child{object-position:center}.booking{background:var(--cream)}.booking-frame{background:#fff;padding:25px;min-height:200px;border:1px solid var(--line)}.contact{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact p{margin-bottom:10px}.site-footer{background:#292725;color:#fff;padding:24px 0;font-size:13px}.site-footer p{color:#e6dedb;margin:0}.footer-row{display:flex;justify-content:space-between;gap:20px}.note{font-size:13px;color:#77706d;margin-top:20px}@media(max-width:800px){.nav a:not(.btn){display:none}.logo{width:100px;height:80px}.hero-grid,.split,.contact{grid-template-columns:1fr}.hero-grid{padding-top:36px;padding-bottom:40px}.hero-photo{height:340px;order:-1}.section{padding:58px 0}.cards{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery img{height:210px}.portrait{height:370px}.footer-row{display:block}}@media(max-width:480px){.gallery{grid-template-columns:1fr}.gallery img{height:260px}.header-inner .btn{padding:10px 15px}}

/* Förfinad logotyp och mobilanpassning */
.site-header{background:#fefefe;border-bottom:1px solid #f1eeeb}
.header-inner{padding-top:4px;padding-bottom:4px}
.logo{width:245px;height:220px;object-fit:contain;mix-blend-mode:multiply}
.hero h1{font-size:clamp(2rem,3.4vw,3.25rem);max-width:580px}
.service h3{margin-top:0}
.service{border-radius:8px}
.hero-photo,.portrait,.gallery img{border-radius:8px}
@media(max-width:800px){.logo{width:185px;height:165px}.header-inner{gap:8px}.hero h1{font-size:clamp(1.9rem,6.2vw,2.65rem)}.hero-grid{gap:24px}.hero-photo{height:310px}.nav{gap:6px}.nav .btn{font-size:13px}.section-head{margin-bottom:26px}}
@media(max-width:480px){.container{padding-left:19px;padding-right:19px}.logo{width:158px;height:146px}.nav .btn{padding:10px 13px;font-size:12px}.hero-photo{height:245px}.hero-grid{padding-top:25px;padding-bottom:38px}.hero h1{font-size:2rem}.hero p{font-size:16px}.section{padding:50px 0}.service{padding:24px}.gallery{grid-template-columns:1fr}.gallery img{height:235px}.booking-frame{padding:10px;min-height:220px}.portrait{height:345px}.footer-row{line-height:1.8}}

/* Exakt logotypbakgrund, utan färgblandning */
.site-header{background:#fefefe!important}
.logo{mix-blend-mode:normal!important}

/* Enhetlig varm ljusbeige bakgrund bakom transparent logotyp */
.site-header{background:#F4EFE9!important;border-bottom-color:#F4EFE9!important}
.logo{mix-blend-mode:normal!important}

/* Enhetliga färgade ytor och bildtexter */
:root{--cream:#F4EFE9;--blush:#F4EFE9}
.site-header,.hero,.soft,.booking,.site-footer{background:#F4EFE9!important}
.site-footer,.site-footer p{color:#292725}
.site-footer{border-top:1px solid #e8e1de}
.gallery-item{margin:0;min-width:0}
.gallery-item img{width:100%;height:270px;object-fit:cover}
.gallery-item figcaption{font-size:15px;line-height:1.65;color:#514d4b;padding:15px 5px 0}
@media(max-width:800px){.gallery-item img{height:210px}}
@media(max-width:480px){.gallery-item img{height:235px}.gallery-item figcaption{padding:12px 2px 10px}}

/* Uppdaterad ordning: beige/vit/beige/vit/beige */
.hero,#salongen{background:#F4EFE9!important}
#behandlingar,#boka,#kontakt{background:#fff!important}
.hero-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:5%;align-items:center}
.hero h1{font-size:clamp(1.8rem,3vw,2.8rem);margin-bottom:22px}
.hero-about-title{font-size:clamp(1.4rem,2.2vw,2rem);margin-bottom:14px}
.hero p{max-width:640px;font-size:16px;line-height:1.75}
.hero-portrait{width:100%;height:auto;max-height:620px;object-fit:cover;object-position:center top}
@media(max-width:800px){.hero-grid{grid-template-columns:1fr;gap:24px}.hero-portrait{height:auto;max-height:500px;object-fit:contain}.hero h1{font-size:clamp(1.8rem,5vw,2.3rem)}}
@media(max-width:480px){.hero-portrait{height:auto;max-height:none}.hero-grid{padding-top:32px;padding-bottom:44px}.hero h1{font-size:1.85rem}.hero-about-title{font-size:1.5rem}.hero p{font-size:15.5px}}

.booking-page{min-height:65vh}.booking-page h1{font-size:clamp(2rem,4vw,3.3rem)}.booking-page .booking-frame{min-height:460px}.booking-page .container{max-width:1080px}

/* Mobilmeny och små skärmar */
.mobile-menu{display:none}
@media(max-width:800px){
 .header-inner{position:relative;min-height:100px;gap:10px}
 .header-inner>.nav{display:none}
 .logo{width:145px;height:112px}
 .mobile-menu{display:block;position:relative;margin-left:auto;flex:0 0 auto}
 .mobile-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;padding:12px 14px;border:1px solid #d9cec5;border-radius:6px;background:#fff;color:#292725}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .mobile-menu summary span{font-size:20px;line-height:1}
 .mobile-menu nav{position:absolute;right:0;top:calc(100% + 10px);width:min(290px,calc(100vw - 38px));z-index:50;background:#F4EFE9;border:1px solid #e8e1de;border-radius:8px;box-shadow:0 14px 25px #29272520;padding:12px;display:flex;flex-direction:column;gap:0}
 .mobile-menu nav a{display:block;text-decoration:none;font-size:16px;padding:11px 12px;font-weight:600}
 .mobile-menu nav .btn{margin-top:8px;text-align:center;color:white}
 .hero-grid{grid-template-columns:minmax(0,1fr)}
 .hero-grid>div,.hero-grid>img{min-width:0}
 .hero-portrait{width:100%;max-width:520px;justify-self:center}
 .booking-frame{width:100%;min-width:0;overflow-wrap:anywhere}
 #cliento-booking{width:100%;max-width:100%;min-width:0}
}
@media(max-width:480px){
 .header-inner{min-height:92px;padding-top:0;padding-bottom:0}
 .logo{width:120px;height:100px}
 .mobile-menu summary{padding:10px 12px}
 .hero h1{font-size:clamp(1.7rem,7.5vw,1.95rem);overflow-wrap:break-word}
 .hero-about-title{font-size:1.45rem}
 .hero-actions{display:grid;grid-template-columns:1fr;gap:10px}
 .hero-actions .btn{width:100%;min-height:48px}
 .section{padding:44px 0}
 .contact{gap:22px}
 .contact a{overflow-wrap:anywhere}
 .gallery-item img{height:auto;aspect-ratio:4/3;object-fit:cover}
 .booking-page .booking-frame{padding:8px}
 .footer-row{overflow-wrap:anywhere}
}

/* Header exactly matches the transparent logo backdrop */
.site-header{background:#F4EFE9!important}.logo{mix-blend-mode:normal!important}

/* Kontakt: jämnstora rubriker på samma höjd */
.contact{align-items:start}
.contact > div > h2{font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.2;margin:0 0 22px;font-weight:400}
@media(max-width:800px){.contact{gap:34px}}

/* Oktober: luftig sidfot pa sma skarmar */
.footer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:48px;row-gap:12px}
.footer-row p{min-width:0;overflow-wrap:break-word;line-height:1.6}
@media(max-width:800px){.footer-row{grid-template-columns:minmax(0,1fr);gap:14px}.site-footer{padding:30px 0}.footer-row p{font-size:14px;line-height:1.65}}
@media(max-width:480px){.site-footer .container{padding-left:22px;padding-right:22px}.footer-row{gap:16px}.footer-row p{max-width:100%;word-break:normal;overflow-wrap:normal}}

/* Finjustering: mindre luft mellan logga och första sektionen */
.hero-grid{padding-top:28px;padding-bottom:56px}
/* Välkomstrubriken ska vara mindre än huvudrubriken och balansera kontaktdelen */
.contact > div > h2{font-size:clamp(1.45rem,2.25vw,1.9rem);line-height:1.25;margin-bottom:18px}
@media(max-width:800px){.hero-grid{padding-top:20px;padding-bottom:44px}.contact > div > h2{font-size:1.55rem}}
@media(max-width:480px){.hero-grid{padding-top:14px;padding-bottom:40px}.contact > div > h2{font-size:1.45rem}}

/* 2026-10-25: komprimerad topp och balanserad kontaktsektion */
.header-inner{padding-top:0!important;padding-bottom:0!important;min-height:0!important}
.logo{width:184px!important;height:144px!important;object-fit:contain!important}
.hero-grid{padding-top:8px!important;padding-bottom:52px!important}
.contact > div > h2{font-size:1.35rem!important;line-height:1.35!important;font-weight:400!important;margin-top:0!important;margin-bottom:16px!important}
@media(max-width:800px){.logo{width:145px!important;height:112px!important}.hero-grid{padding-top:6px!important;padding-bottom:40px!important}.contact > div > h2{font-size:1.3rem!important}}
@media(max-width:480px){.logo{width:130px!important;height:102px!important}.hero-grid{padding-top:2px!important;padding-bottom:36px!important}.contact > div > h2{font-size:1.2rem!important}}

/* Match welcome label to company name in contact column */
.contact .welcome-label{font-size:inherit;line-height:1.5;margin:0 0 10px;font-weight:700}.contact .welcome-label strong{font-weight:700}

/* Align Varmt välkommen with company name below the eyebrow. */
@media (min-width:801px){.contact > div:nth-child(2){padding-top:36px}}
@media (max-width:800px){.contact > div:nth-child(2){padding-top:0}}

/* Större logga utan extra vertikalt mellanrum till första blocket. */
.logo{width:230px!important;height:160px!important;object-fit:contain!important}
.header-inner{padding-top:0!important;padding-bottom:0!important;min-height:0!important}
.hero-grid{padding-top:0!important}
@media(max-width:800px){.logo{width:180px!important;height:130px!important}.hero-grid{padding-top:0!important}}
@media(max-width:480px){.logo{width:165px!important;height:120px!important}.hero-grid{padding-top:0!important}}

/* Logotypen är kvadratisk: lika bredd och höjd ger faktiskt större motiv. */
.logo{width:240px!important;height:240px!important;max-width:none!important;object-fit:contain!important;margin-top:-24px!important;margin-bottom:-24px!important}
@media(max-width:800px){.logo{width:205px!important;height:205px!important;margin-top:-20px!important;margin-bottom:-20px!important}}
@media(max-width:480px){.logo{width:190px!important;height:190px!important;margin-top:-18px!important;margin-bottom:-18px!important}}

/* Logo: keep full artwork visible; remove negative offsets that cropped the top. */
.site-header,.header-inner{overflow:visible!important}
.logo{width:240px!important;height:240px!important;margin-top:0!important;margin-bottom:0!important;object-fit:contain!important}
.header-inner{padding-top:10px!important;padding-bottom:0!important}
.hero-grid{padding-top:0!important}
@media(max-width:800px){.logo{width:205px!important;height:205px!important;margin-top:0!important;margin-bottom:0!important}.header-inner{padding-top:8px!important}}
@media(max-width:480px){.logo{width:190px!important;height:190px!important;margin-top:0!important;margin-bottom:0!important}.header-inner{padding-top:8px!important}}

/* Sidfot: tva tydliga separata rader pa mobil, utan sammantryckning */
.footer-row{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:20px}
.footer-row > p,.footer-row > span{display:block;flex:0 1 auto;min-width:0;margin:0;line-height:1.65}
@media(max-width:800px){
 .site-footer{padding:28px 0}
 .footer-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:14px!important;grid-template-columns:none!important}
 .footer-row > p,.footer-row > span{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;line-height:1.65!important;font-size:14px!important}
}

/* Centrerad och luftig sidfot på mobil */
@media (max-width: 800px) {
  .site-footer .footer-row {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important;
    text-align: center !important; gap: 12px !important;
  }
  .site-footer .footer-row > p, .site-footer .footer-row > span {
    width: 100% !important; text-align: center !important;
    margin: 0 !important; line-height: 1.6 !important;
  }
}

/* Slutlig mobiljustering: sidfotens innehall centrerat oberoende av tidigare regler. */
@media screen and (max-width: 800px) {
 body .site-footer .container.footer-row {
   display: flex !important; flex-flow: column nowrap !important;
   width: 100% !important; align-items: center !important;
   justify-content: center !important; text-align: center !important;
   gap: 12px !important; padding-left: 20px !important; padding-right: 20px !important;
   box-sizing: border-box !important;
 }
 body .site-footer .container.footer-row p {
   display: block !important; width: 100% !important; max-width: none !important;
   flex: 0 0 auto !important; text-align: center !important;
   margin: 0 auto !important; padding: 0 !important;
   font-size: 14px !important; line-height: 1.6 !important;
   white-space: normal !important; overflow-wrap: normal !important;
 }
}

/* Matcha bokningssidans yttre ytor med webbplatsens beige bakgrund. Clientos inre iframe kan styras av Cliento. */
.booking-page,.booking-page .booking{background:#F4EFE9!important;}
.booking-page .booking-frame{border-color:transparent!important;border-radius:8px;}


/* Beige bokningsyta med varma, ljusa kontrastfärger i Cliento. */
.booking-page {
  --cb-color-neutral-100: #F4EFE9;
  --cb-color-neutral-90: #EBE3DA;
  --cb-color-neutral-80: #E2D7CB;
}
.booking-page .booking-frame,
.booking-page #cliento-booking { background-color: #F4EFE9 !important; }


/* Karta: laddas enbart efter aktivt klick, inga Google-anrop vid sidladdning. */
.location-section{background:#F4EFE9}
.location-map{min-height:350px;border:1px solid #e9dfd9;border-radius:20px;overflow:hidden;background:#f4eeea}
.location-map-placeholder{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:30px 22px;box-sizing:border-box}
.location-map-placeholder strong{font-size:20px;color:#342b30}
.location-map-placeholder span{font-size:15px}
.location-map-placeholder p{max-width:500px;margin:4px auto 8px;line-height:1.6;font-size:14px}
.location-map-pin{font-size:40px;color:#a66c91;line-height:1}
.location-map iframe{display:block;width:100%;height:350px;border:0}
.location-directions{text-align:center;margin:18px 0 0}
.location-directions a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.location-map,.location-map-placeholder{min-height:300px}.location-map iframe{height:300px}.location-map-placeholder{padding:26px 18px}}

/* Google Maps visas direkt, utan knapp. */
.location-map{min-height:350px}
.location-map iframe{width:100%;height:350px;display:block;border:0}
@media(max-width:600px){.location-map{min-height:300px}.location-map iframe{height:300px}}


/* Anpassad felsida (404) */
.error-page{background:#F4EFE9;min-height:60vh;display:flex;align-items:center;padding:76px 0 96px}
.error-inner{max-width:750px;margin:auto;text-align:center}
.error-number{font-family:Georgia,'Times New Roman',serif;font-size:clamp(6rem,18vw,11rem);line-height:1;color:#b84f77;letter-spacing:-.06em;margin:0 0 12px}
.error-page h1{font-size:clamp(2rem,4.5vw,3.4rem);margin:0 0 20px}
.error-page .error-copy{font-size:17px;max-width:530px;margin:0 auto 30px}
.error-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.error-actions .btn{min-width:160px}
@media(max-width:480px){.error-page{padding:54px 0 72px}.error-copy{font-size:16px}.error-actions .btn{width:100%}}

/* Hitta hit i huvudmenyn: jämnare utrymme på mellanstora skärmar. */
@media(min-width:801px) and (max-width:1100px){.header-inner>.nav{gap:12px}.header-inner>.nav a{font-size:13px}}

/* Alla tre salongsbilder behåller samma 4:3-yta. Hela behandlingsrummet visas utan beskärning. */
.gallery .gallery-item img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.gallery .gallery-item:nth-child(3) img{aspect-ratio:4/3;object-fit:contain;background:#f5f1ec}

/* Samma bildruta för alla tre: ny bild har anpassats till 4:3-format utan tomma fält. */
.gallery .gallery-item:nth-child(3) img{object-fit:cover!important;background:transparent!important}

/* Begär ljust läge. Brave kan åsidosätta detta med tvingat dark mode. */
:root { color-scheme: only light; }

/* Vit introduktion och beige bokningsdel. */
.booking-page .booking-intro{background:#fff!important;padding-bottom:40px}
.booking-page .booking-intro .section-head{margin-bottom:0}
.booking-page .booking-intro .section-head p{margin-bottom:0}
.booking-page .booking{padding-top:40px}
