/* HELPPOSORTTI.COM – tyylit (sama ulkoasu kuin aiemmin, siirretty sivun sisältä tähän tiedostoon) */
:root{
  --teksti:#2b3a55;                 /* pehmeä tumma sininen mustan tilalle */
  --teksti-pehme:rgba(43,58,85,.82);
  --bg-gelp:rgba(251, 201, 52, .950);
  --box-shadow:1px 3px 5px rgb(0,0,0,.26);
}
*{ padding:0; margin:0; font-family:Tahoma, sans-serif; scroll-behavior:smooth; scroll-padding-top:.026rem; }
body{ text-wrap:balance; font-family:"Sans-serif"; color:var(--teksti); background:#fff; }

/* NAVIGAATIO + TAUSTAKUVA */
nav{
  background-image:url(../kuvat/huonekaluja-sortti-nouto.jpg);
  background-color:rgba(252, 206, 101, .88);
  box-shadow:var(--box-shadow);
  background-blend-mode:multiply;
  background-size:cover;
  background-position:center;
  text-shadow:1px 1px 2px #226;
}
nav img{ width:26px; }
nav a{
  color:white; text-decoration:none; font-family:sans-serif; font-weight:bold;
  font-size:clamp(1.113px, 5vw, 1.13rem);
  margin-left:.13rem; padding:.13em .26em; border-radius:.33em; transition:.55s ease;
}
nav a:hover{ color:yellowgreen; transition:.4s ease; }
nav ul{
  position:relative; justify-content:space-around; right:2px; top:8px;
  display:flex; flex-wrap:wrap; list-style:none;
  background-color:rgba(255,255,255,0); backdrop-filter:blur(8px); align-items:center;
}
nav ul a:hover{ color:rgba(255,255,255,.85); border:none; }
nav h2{ font-size:clamp(1.113px, 5vw, 1.13rem); }
nav section a{ display:inline-block; padding:9px; }

/* LOMAKKEET */
input[type=text], select, textarea{
  font-family:"verdana"; color:var(--teksti); background-color:rgba(255,255,255,.80);
  width:88%; padding:.26rem; border:0 solid #ccc; border-radius:5px;
  margin-top:6px; margin-bottom:.6px; resize:vertical;
}
input[type=text]:hover{ background-color:rgba(255,255,255,1); }
input[type=submit]{
  background-color:rgba(255,201,54,.26); color:var(--teksti); padding:5px 10px;
  border:none; border-radius:5px; cursor:pointer;
}
input[type=submit]:hover{ background:rgba(255,201,58,1); transition:all .55s ease; }
a{ color:var(--teksti); text-decoration:underline; }
a:hover{ transition:all .26s ease; color:tomato; }

/* YLÄOSA */
h1{ font-size:clamp(1.5rem, 2.6vw, 2.6rem); color:var(--teksti); padding-bottom:.55rem; }
header{
  height:calc(10%); padding:1.13rem; margin:0 10px 10px;
  background-color:rgba(255,194,13,.230); background-size:cover;
  box-shadow:var(--box-shadow); border-radius:.55rem;
}
header span{ font-size:clamp(1.13rem, 1vw, 1.26rem); font-weight:normal; line-height:1.5; }
header p{ padding:0 0 .55em; }
header strong{ color:var(--teksti); }
header sup{ padding:0; }
header h1 .h1-pieni{ display:block; font-size:clamp(1.13rem, 1vw, 1.26rem); font-weight:bold; line-height:1; }
header .h2-rivit{ font:normal .88rem/1.3 Verdana; margin:0 0 1rem; }
header .h3-puhelin{ font:normal 1.13rem/1.3 Verdana; padding:0 0 .55rem; display:block; }
button{
  width:126px; padding:.56rem .55rem; margin:.13rem 0; border-radius:13px; border:0;
  cursor:pointer; box-shadow:1px 1px 2px #ccc; transition:.55s ease-in-out;
  background-color:rgba(255,194,13,.69690); font-weight:bold; color:var(--teksti);
}
button:hover{ background-color:rgba(255,194,13,.260); }
p{ line-height:1.3; text-wrap:balance; }
section{ padding:1.13rem; margin:0 26px 10px; border-radius:5px; box-shadow:var(--box-shadow); }
article h2{ color:var(--teksti); }
.punainen{ background-color:tomato; }
#isoHinta{ font-size:1.13em; font-weight:bold; }
.isompi{ font-size:1.2rem; color:var(--teksti); }
.h2-pieni{ font-size:20px; line-height:1.2; }

/* NAVIN PIKALOMAKE */
#navi-formular{
  display:flex; flex-wrap:wrap; max-width:calc(2% + 155px); text-wrap:balance;
  background-color:rgba(251,201,52,.2260); padding:1.13rem; margin-left:.55rem; margin-top:1.26rem;
  font-size:clamp(.69rem, 1.13vw + 1rem, 1.30rem);
  border:.052rem solid rgba(255,255,255,.550); border-radius:.55em; backdrop-filter:blur(2px);
}
#navi-formular h2{ color:white; }
#navi-formular p{ font-size:.88rem; color:white; }

/* OSIOIDEN OTSIKOT (pallukka + teksti) */
.osio-otsikko{
  font-size:clamp(1.13rem, 1vw, 1.26rem); font-weight:bold;
  background-color:rgba(255,201,54,var(--a,.26));
  padding:.26rem; border-radius:.26rem; margin:2.26rem;
}
main sup{ padding:1rem 0; }
input[type="checkbox"]{
  height:44px; width:44px; clip-path:circle(50%); accent-color:rgba(251,201,52,.950);
  appearance:none; background:rgba(251,201,52,.950); font-size:26px;
}
input[type="checkbox"]:checked{ appearance:auto; }

/* TEKSTI- + KUVAKORTIT */
.kortti-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(269px, 1fr)); gap:.3rem;
  background:rgba(255,194,54,var(--a,1));
}
.kortti-grid > article:not(.kuva-kortti){ color:white; }
.kortti-grid ul.avainsanat{
  display:block; list-style:none; font-size:13px; line-height:1.7; letter-spacing:.88px; padding:.5rem .8rem; border-radius:.3rem;
  background-color:rgba(255,194,74,.260); color:var(--teksti-pehme);
}
.kortti-grid h2{ padding-bottom:.55rem; }
.kortti-grid p.t1{ color:var(--teksti); }
.kortti-grid p.t2{ color:var(--teksti-pehme); }
.kortti-grid p.t3{ color:var(--teksti-pehme); }
.kortti-grid sup strong{ color:var(--teksti); }
.kortti-grid sub{ color:var(--teksti); }
.kuva-kortti{
  object-fit:cover; border-radius:.55rem; padding:1rem; background-position:center; margin:.88rem;
  background-blend-mode:multiply; background-color:rgba(252,206,101,.55); color:transparent;
  background-size:cover; box-shadow:3px 2px 2px white; border:8px solid white; text-align:center;
}
.kuva-kortti.reunus{ border:.69rem solid rgba(255,194,54,1); box-shadow:var(--box-shadow); }
.kuva-kortti:hover{
  background-size:cover; background-repeat:no-repeat; background-color:rgba(251,201,52,.550);
  color:white; text-shadow:1px 1px 1px #000; transition:.4s ease-in-out;
}
.kuva-kortti > h3{ padding:.69rem; font-size:.82rem; }   /* 30 % pienempi kuin ennen (1.17rem) */
.kuva-kortti > p{ padding:0 .69rem; font-size:.7rem; }   /* 30 % pienempi kuin ennen (1rem) */
.submit-btn{
  background-color:#cd6e52; color:#fff; padding:15px 33px; border:none; font-size:18px;
  text-transform:uppercase; cursor:pointer; border-radius:5px; letter-spacing:2px; font-weight:bold; width:auto;
}
.submit-btn:hover{ background-color:#b95c42; }

/* TYHJENNYS */
.tyhjennys{ background:rgba(255,194,54,.260); }
.tyhjennys h2.otsikko{ padding-bottom:.55rem; }
.tyhjennys h3, .tyhjennys h4{ color:var(--teksti); }
.tyhjennys h4{ padding-top:.55rem; font-size:1.13rem; }
.tyhjennys p.sisalto{ color:var(--teksti); padding-top:.55rem; }
.tyhjennys article h2{ font-size:22px; margin:1.055rem 0 1rem; }
.tyhjennys ul{ list-style:none; }
.tyhjennys article > ul li{ font-weight:bold; padding:.55rem; justify-items:center; }
.tyhjennys article > ul li input[type="checkbox"]{ width:1.3rem; height:1.3rem; }

/* TILAUSLOMAKE */
.tilaa-otsikko{ display:block; background:rgba(255,191,52,.88); border-radius:.55rem; }
.tilaa-lomake{ background-color:rgba(255,194,74,1); }
.tilaa-lomake h2{ color:white; text-shadow:2px 3px 5px #222; }
.tilaa-lomake input[type="checkbox"]{ width:13px; height:13px; background:ghostwhite; vertical-align:middle; margin-left:8px; }
.tilaa-lomake input[type=text], .tilaa-lomake textarea{ color:var(--teksti); padding:.55rem; }
.tilaa-lomake input[type=submit]{ background-color:white; color:var(--teksti); }
.honey{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
/* POPUP lähetyksen jälkeen */
.popup-tausta{ position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:1rem; }
.popup{ background:#fff8e1; border-radius:1rem; padding:1.6rem 1.4rem; max-width:380px; width:100%; text-align:center; box-shadow:0 10px 40px rgba(0,0,0,.4); border:4px solid rgba(255,194,13,1); }
.popup-kuvake{ width:64px; height:64px; margin:0 auto .8rem; border-radius:50%; background:#2e9d3a; color:#fff; font-size:2.4rem; line-height:64px; font-weight:bold; }
.popup.virhe .popup-kuvake{ background:#c43d22; }
.popup h2{ font-size:1.4rem; color:var(--teksti); margin-bottom:.6rem; }
.popup p{ margin-bottom:1.1rem; }
.popup button{ width:auto; padding:.6rem 1.8rem; }
.google-tahdet{ color:rgba(255,194,94,.50); display:block; margin-left:26px; font:bold .88rem/1.3 sans-serif; }

/* HINTAKORTIT */
.hinta-otsikko{ background:rgba(255,191,52,.26); border-radius:.55rem; }
.hintagrid{
  background:rgba(255,191,52,.10); display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(213px,100%), 1fr));
  height:auto; justify-content:space-around; gap:.2em; padding:.31em;
  box-shadow:none; margin:0; border-radius:0;
}
.hintagrid ul li{ list-style:none; display:flex; align-items:center; padding:.26rem; }
.hintagrid article{ background-color:rgba(255,195,74,.13); border:2px solid white; padding:.88rem; border-radius:.88rem; }
.hintagrid h3{
  font-size:clamp(1.13rem, 1.55vw, 1.13rem); padding:1.13rem; border-radius:.55rem;
  box-shadow:2px 2px 2px #bbb; background-color:rgba(255,195,74,.88); margin-top:1rem;
}
.hintagrid h3 span.iso{ font-size:1.55rem; }
.hintagrid sup{ line-height:1; letter-spacing:.1px; }
.hintagrid input[type="checkbox"]{
  height:20px; width:20px; clip-path:circle(50%); accent-color:rgba(255,201,58,1);
  appearance:none; background:rgba(255,201,58,1); margin:0 .2rem;
}
.hintagrid input[type="checkbox"]:checked{ appearance:auto; display:flex; }
.hintagrid ul{ margin-top:1rem; }

/* GALLERIAT */
.galleria{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:1rem; }
.galleria picture{ padding:0; width:auto; display:flex; flex-direction:column; align-items:center; max-width:clamp(5.26rem, 13vw, 26.26rem); }
.galleria img{
  width:clamp(5.26rem, 13vw, 26.26rem); height:auto; object-fit:cover; aspect-ratio:16/9;
  border-radius:.55rem; border:.26rem solid white; box-shadow:2px 2px 4px #ccc;
}
.galleria img:hover{ scale:230%; mix-blend-mode:normal; transition:.26s ease; }
.galleria h2{ font-size:clamp(.88rem, 2vw, 1.55rem); color:var(--teksti); transition:.3s ease; }
.galleria h3{ font-size:clamp(.88rem, 2vw, 1.55rem); color:var(--teksti); }

/* HYVÄ TIETÄÄ */
summary{ padding:.26rem; font-size:1.13rem; font-weight:bold; cursor:pointer; }
details{ padding:.26rem; font-size:1.013rem; }
details p{ margin-left:26px; }
.tietoa ul{ margin-left:1.3rem; }

/* ALAPALKKI */
footer{
  display:flex; justify-content:space-around; flex-wrap:wrap; font-size:13px; font-weight:bold;
  gap:1rem; background:rgba(255,194,54,1); padding:1rem;
}
footer ul{ list-style:none; margin-left:.55rem; }
footer li{ padding:.26rem; }
footer li a{ display:inline-block; padding:.45rem 0; }
footer .footer-otsikko{ font-weight:bold; font-size:1.26rem; padding:.551rem; color:var(--teksti); }
footer .tekijanoikeus{ width:100%; padding:0; margin:0; box-shadow:none; }

/* NAVIN LOMAKKEEN LÄHETÄ-NAPPI: selkeä, umpinainen */
#navi-formular input[type=submit]{
  background-color:rgba(255,201,54,1); color:var(--teksti); font-weight:bold; font-size:1rem;
  padding:.6rem 1.6rem; margin-top:.5rem; border-radius:13px; text-shadow:none;
  box-shadow:1px 2px 4px rgba(0,0,0,.35);
}
#navi-formular input[type=submit]:hover{ background-color:#fff; }

/* GALLERIA: ei ylitä ruutua */
main > .galleria{ padding:0 26px; margin-bottom:10px; }
.galleria picture{ min-width:0; }
.galleria h2{ overflow-wrap:anywhere; hyphens:auto; }
@media (max-width:700px){
  .galleria{ justify-content:center; }
  .galleria picture{ width:calc(50% - .5rem); max-width:none; }
  .galleria img{ width:100%; }
  .galleria img:hover{ scale:1; }
}

/* SISÄLLÖN MAKSIMILEVEYS */
main{ max-width:1100px; margin:0 auto; }

/* VALINTAMERKKI JA TEKSTI SAMALLE RIVILLE */
.hintagrid li label, .tyhjennys li label{ display:flex; align-items:center; gap:.4rem; }
.hintagrid input[type="checkbox"]:checked{ display:inline-block; flex:none; }
.hintagrid input[type="checkbox"], .tyhjennys input[type="checkbox"]{ flex:none; margin:0; }
.tyhjennys article > ul li{ display:block; text-align:left; }
.tyhjennys li label{ justify-content:flex-start; }
.tyhjennys li label{ width:100%; margin:0; justify-self:start; }

/* TILAA-NAPIT: Mac-tyyli */
.submit-btn, #navi-formular input[type=submit]{
  padding:.55rem 1.4rem; border-radius:8px; font-size:1rem; font-weight:600;
  text-transform:none; letter-spacing:0; line-height:1.2; width:auto;
  box-shadow:0 1px 2px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.25);
  transition:background-color .15s ease, transform .05s ease;
}
.submit-btn:active, #navi-formular input[type=submit]:active{ transform:scale(.97); }

/* TILAA + WHATSAPP + TEKSTIVIESTI vierekkäin */
.napit-rivi{ display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.napit-rivi .submit-btn{ margin:0; }
a.submit-btn{ display:inline-block; text-decoration:none; color:var(--teksti); }
a.submit-btn:hover{ color:var(--teksti); }
@media (max-width:480px){
  .napit-rivi{ gap:.4rem; }
  .napit-rivi .submit-btn{ padding:.5rem .75rem; font-size:.9rem; }
}

/* WhatsApp = vihreä, Tekstiviesti = sininen */
a.submit-btn.nappi-wa{ background-color:#1ebe5d; color:#fff; }
a.submit-btn.nappi-wa:hover{ background-color:#19a64f; color:#fff; }
a.submit-btn.nappi-sms{ background-color:transparent; color:#3a3a3a; box-shadow:none; border:2px solid #cd6e52; text-shadow:none; }
a.submit-btn.nappi-sms:hover{ background-color:rgba(205,110,82,.9); color:#fff; }

/* PEHMEÄT ISOT VARJOT (kuten kierratys-nouto-kuljetus.fi) */
:root{ --varjo-osio:0 10px 28px rgba(0,0,0,.22); --varjo-kortti:0 4px 14px rgba(0,0,0,.14); }
header, main section:not(.hintagrid){ box-shadow:var(--varjo-osio); }
.hintagrid article{ box-shadow:var(--varjo-kortti); }
.hintagrid h3{ box-shadow:2px 3px 6px rgba(0,0,0,.2); }

/* NAPPIEN IKONIT */
.nappi-ikoni{ width:1.25em; height:1.25em; fill:currentColor; vertical-align:-.28em; margin-right:.4rem; }

/* NAPPIEN TEKSTI: vaaleampi sininen (ei lähes musta) */
:root{ --nappi-teksti:#2f5496; }
button, #navi-formular input[type=submit], .tilaa-lomake input[type=submit]{ color:var(--nappi-teksti); }
.submit-btn, a.submit-btn.nappi-wa{ color:#fff; }
a.submit-btn.nappi-sms{ color:var(--nappi-teksti); }
a.submit-btn.nappi-sms:hover{ color:#fff; }
