
/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. welcome
06. features
07. team
08. pricing
09. blog
10. contact
11. footer
12. preloader
13. Pricing widget (homepage configurator)

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: "Raleway", sans-serif;
}

::selection {
  background: #18B52B;
  color: #fff;
}

::-moz-selection {
  background: #18B52B;
  color: #fff;
}

.section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
}

.section.colored {
  background: #f2f2fe;
}

.hr {
  bottom: 0px;
  width: 100%;
  height: 1px;
  margin-top: 100px;
  border-bottom: 1px solid #eee;
}

.left-heading.light .section-title {
  color: #ffffff;
}

.left-heading .section-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 42px;
  color: #1e1e1e;
  letter-spacing: 0.25px;
  margin-bottom: 30px;
  position: relative;
}

.center-heading {
  text-align: center;
}

.center-heading .section-title {
  font-weight: 500;
  font-size: 28px;
  color: #1e1e1e;
  letter-spacing: 1.75px;
  line-height: 38px;
  margin-bottom: 20px;
}

.center-heading.colored .section-title {
  color: #ffffff;
}

.center-text {
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  color: #777;
  line-height: 28px;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

.center-text.colored {
  color: #fff;
}

.center-text p {
  font-size: 15px;
  color: #777;
  margin-bottom: 30px;
}

.left-text {
  font-weight: 400;
  font-size: 16px;
  color: #777;
  line-height: 28px;
  letter-spacing: 1px;
}

.left-text.light {
  color: #fff;
}

.left-text p {
  margin-bottom: 30px;
}

.left-text p.dark {
  color: #3B566E;
}

.padding-bottom-top-60 {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.padding-bottom-80 {
  padding-bottom: 80px !important;
}

.padding-bottom-100 {
  padding-bottom: 100px !important;
}

.border-bottom {
  border-bottom: 1px solid #eee !important;
}

.mbottom-30 {
  margin-bottom: 30px !important;
}

.align-self-center {
  -ms-flex-item-align: center !important;
  align-self: center !important;
}

.align-self-bottom {
  -ms-flex-item-align: flex-end !important;
  align-self: flex-end !important;
}

.padding-bottom-0 {
  padding-bottom: 0px !important;
}

.padding-top-0 {
  padding-top: 0px !important;
}

.padding-top-80 {
  padding-top: 80px !important;
}

.padding-top-70 {
  padding-top: 70px !important;
}

.padding-top-20 {
  padding-top: 20px !important;
}

.margin-bottom-0 {
  margin-bottom: 0px !important;
}

.margin-bottom-30 {
  margin-bottom: 30px !important;
}

.margin-top-30 {
  margin-top: 30px !important;
}

.margin-top-15 {
  margin-top: 15px !important;
}

.margin-bottom-45 {
  margin-bottom: 45px !important;
}

.margin-bottom-20 {
  margin-bottom: 20px !important;
}

.margin-bottom-60 {
  margin-bottom: 60px !important;
}

.margin-bottom-100 {
  margin-bottom: 100px !important;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

a.main-button-slider {
  font-size: 13px;
  border-radius: 20px;
  padding: 12px 20px;
  background-color: #18B52B;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.25px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

a.main-button-slider:hover {
  background-color: #49ed5d;
}

a.main-button {
  font-size: 13px;
  border-radius: 20px;
  padding: 12px 20px;
  background-color: #49ed5d;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.25px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

a.main-button:hover {
  background-color: #18B52B;
}

button.main-button {
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  border-radius: 20px;
  padding: 12px 20px;
  background-color: #49ed5d;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.25px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

button.main-button:hover {
  background-color: #18B52B;
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/
.header-area {
  position: fixed;
  top: 30px;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header-area .main-nav {
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
  border-radius: 40px;
  min-height: 80px;
  background: #fff;
}

.header-area .main-nav .logo {
  float: left;
  margin-top: 37px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  margin-left: 30px;
}

.header-area .main-nav .logo img {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 27px;
  margin-left: 0px;
  margin-right: 30px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 20px;
  padding-right: 20px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li a:hover {
  color: #18B52B;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 23px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #3B566E;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #3B566E;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #3B566E;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #3B566E;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area.header-sticky .logo {
  margin-top: 25px;
}

.header-area.header-sticky .nav {
  margin-top: 20px !important;
}

.header-area.header-sticky .nav li a {
  color: #1e1e1e;
}

.header-area.header-sticky .nav li a.active {
  color: #18B52B;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 991px) {
  .header-area {
    padding: 0px 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-top: 27px !important;
    margin-left: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    margin-top: 80px !important;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #fff !important;
    color: #3B566E !important;
  }
  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
  }
}

@media (min-width: 992px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}

/* 
---------------------------------------------
welcome
--------------------------------------------- 
*/
.welcome-area {
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../images/banner-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; 
  height: 100vh;
}

.welcome-area .header-text {
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  text-align: center;
  width: 100%;
}

.welcome-area .header-text h1 {
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: 1.4px;
  margin-bottom: 30px;
  color: #fff;
}

.welcome-area .header-text p {
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  line-height: 28px;
  letter-spacing: 0.25px;
  margin-bottom: 40px;
  position: relative;
}

@media (max-width: 991px) {
  .welcome-area .header-text {
    top: 65% !important;
    transform: perspective(1px) translateY(-60%) !important;
    text-align: center;
  }
  .welcome-area .header-text h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
  }
  .welcome-area .header-text h1 span {
    color: #fff;
  }
  .welcome-area .header-text p {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
  }
}

@media (max-width: 820px) {
  .welcome-area .header-text {
    top: 65% !important;
    transform: perspective(1px) translateY(-60%) !important;
  }
   .welcome-area .header-text h1 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;
  }
  .welcome-area .header-text p {
    margin-bottom: 20px;
  }
}

@media (max-width: 765px) {
  .welcome-area {
    margin-bottom: 100px;
  }
  .welcome-area .header-text {
    top: 50% !important;
    transform: perspective(1px) translateY(-50%) !important;
    text-align: center;
  }
  .welcome-area .header-text .buttons {
    display: none;
  }
  .welcome-area .header-text h1 {
    font-weight: 600;
    font-size: 24px !important;
    line-height: 30px !important;
    margin-bottom: 30px !important;
  }
  .welcome-area .header-text h1 span {
    color: #fff;
  }
  .welcome-area .header-text p {
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 40px;
  }
}


/* 
---------------------------------------------
features
--------------------------------------------- 
*/
.features-small-item {
  cursor: pointer;
  display: block;
  background: #FFFFFF;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.10);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  margin-bottom: 30px;
}

.features-small-item:hover .icon {
  background-color: #18B52B;
}

.features-small-item .icon {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 90px;
  height: 90px;
  line-height: 90px;
  margin: auto;
  position: relative;
  margin-bottom: 30px;
  background: #49ed5d;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.features-small-item .icon i {
  font-size: 18px;
  color: #fff;
}

.features-small-item .features-title {
  font-weight: 500;
  font-size: 18px;
  color: #1e1e1e;
  letter-spacing: 0.7px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.features-small-item p {
  font-weight: 400;
  font-size: 13px;
  color: #777;
  letter-spacing: 0.5px;
  line-height: 25px;
  position: relative;
  z-index: 2;
}

.features-small-item a {
  float: right;
  position: relative;
  z-index: 2;
}

.home-feature {
  /* Ceník má “překrývat” hero (cca 1/3) */
  position: relative;
  z-index: 20;

  padding-bottom: 0px;
  padding-top: 0px;

  /* dynamický overlap: menší na menších monitorech, větší na velkých */
  margin-top: clamp(-420px, -30vh, -240px);
}

/* aby po kliknutí na anchor #pricing-plans nebyl obsah schovaný pod fixed headerem */
#pricing-plans {
  scroll-margin-top: 120px;
}

@media (max-width: 991px) {
  .home-feature {
    /* na mobilech overlap nechceme (rozbíjí čitelnost) */
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  #pricing-plans {
    scroll-margin-top: 90px;
  }
}

/* 
---------------------------------------------
parallax & home seperator
--------------------------------------------- 
*/
.mini {
  min-height: 215px;
  overflow: hidden;
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
}

.mini:before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  opacity: .95;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url(../images/work-process-bg.png);
  z-index: 2;
  top: -20%;
  left: -20%;
}

.mini .mini-content {
  position: relative;
  z-index: 3;
}

.mini .mini-content .info {
  text-align: center;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
}

.mini .mini-content .info small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  margin-bottom: 5px;
}

.mini .mini-content .info strong {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 40px;
  display: block;
}

.mini .mini-content .info h1 {
  color: #fff;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.25px;
  margin-bottom: 30px;
}

.mini .mini-content .info p {
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: 0.25px;
  line-height: 26px;
  font-weight: 400;
  font-size: 15px;
}

.mini .mini-content .info p span {
  text-decoration: underline;
}

.mini .mini-content .mini-box {
  display: block;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  position: relative;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  text-align: center;
}

.mini .mini-content .mini-box:hover {
  margin-top: -10px;
}

.mini .mini-content .mini-box:before {
  content: '';
  position: absolute;
  z-index: -1;
  background: #fff;
  width: 100%;
  opacity: .15;
  height: 100%;
  bottom: -10px;
  left: 0px;
  right: -20px;
  margin: auto;
  border-radius: 20px;
}

.mini .mini-content .mini-box i {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
}

.mini .mini-content .mini-box span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #777;
  letter-spacing: .75px;
}

.mini .mini-content .mini-box strong {
  display: block;
  font-weight: 400;
  font-size: 17px;
  color: #1e1e1e;
  letter-spacing: 0.25px;
  margin-bottom: 5px;
  margin-top: 20px;
}

.counter {
  overflow: hidden;
  position: relative;
}

.counter:before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  opacity: .90;
  background-image: url(../images/fun-facts-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 2;
  top: -20%;
  left: -20%;
}

.counter .content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.counter .content .count-item {
  height: 340px;
  position: relative;
  float: left;
  width: 100%;
}

.counter .content .count-item.decoration-bottom {
  position: relative;
}

.counter .content .count-item.decoration-bottom:after {
  content: '';
  position: absolute;
  width: 70%;
  height: 32px;
  top: 160px;
  left: 70%;
  background: url(../images/circle-dec.png) center center no-repeat;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.counter .content .count-item.decoration-top {
  position: relative;
}

.counter .content .count-item.decoration-top:after {
  content: '';
  position: absolute;
  width: 70%;
  height: 32px;
  top: 140px;
  left: 70%;
  background: url(../images/circle-dec.png) center center no-repeat;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.counter .content .count-item:hover strong {
  margin-top: 110px;
}

.counter .content .count-item strong {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 0.25px;
  margin-bottom: 10px;
  color: #fff;
  margin-top: 120px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.counter .content .count-item span {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.25px;
}

@media (max-width: 991px) {
  .parallax {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .parallax .content {
    position: relative !important;
    top: 0% !important;
    transform: perspective(1px) translateY(0%) !important;
  }
  .counter {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .counter .content {
    position: relative !important;
    top: 0% !important;
    transform: perspective(1px) translateY(0%) !important;
  }
  .counter .content .count-item {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .counter .content .count-item:hover strong {
    margin-top: 0px;
  }
  .counter .content .count-item:before {
    display: none;
  }
  .counter .content .count-item:after {
    display: none;
  }
  .counter .content .count-item strong {
    margin-top: 0px;
  }
}

/* 
---------------------------------------------
team
--------------------------------------------- 
*/
.team-item {
  background: #fff;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 25px;
}

.team-item:hover .team-content .team-info {
  margin-left: 30px;
}

.team-item i {
  display: block;
  margin-left: 25px;
  margin-top: 25px;
  font-size: 30px;
  color: #4E47DE;
  text-align: center;
}

.team-item .user-image {
  width: 60px;
  height: 60px;
  overflow: hidden;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  margin-left: 25px;
  float: left;
}

.team-item .team-content {
  text-align: left;
  overflow: hidden;
}

.team-item .team-content .team-info {
  float: left;
  margin-left: 20px;
  margin-top: 8px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.team-item .team-content .team-info .user-name {
  display: block;
  font-weight: 400;
  font-size: 17px;
  color: #1e1e1e;
  letter-spacing: 0.25px;
  margin-bottom: 5px;
}

.team-item .team-content .team-info span {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: #18B52B;
  letter-spacing: 0.25px;
}

.team-item .team-content p {
  margin-top: 25px;
  padding-left: 25px;
  padding-right: 25px;
  margin-bottom: 25px;
  font-weight: 400;
  font-size: 15px;
  color: #777;
  letter-spacing: 0.6px;
  line-height: 26px;
}

/* 
---------------------------------------------
pricing
--------------------------------------------- 
*/
.pricing-item {
  background: #FFFFFF;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  margin-bottom: 30px;
  margin-top: 20px;
  padding: 30px 0px 40px 0px;
}

.pricing-item.active .pricing-header {
  position: relative;
}

.pricing-item.active .pricing-header .pricing-title {
  color: #1e1e1e;
}

.pricing-item.active .pricing-body .price-wrapper {
  background-color: #18B52B;
}

.pricing-item.active .pricing-body .price-wrapper .currency {
  color: #fff;
}

.pricing-item.active .pricing-body .price-wrapper .price {
  color: #fff;
}

.pricing-item.active .pricing-body .price-wrapper .period {
  color: #fff;
}

.pricing-item .pricing-header {
  text-align: center;
  display: block;
  position: relative;
  padding-bottom: 10px;
}

.pricing-item .pricing-header .pricing-title {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.25px;
  color: #1e1e1e;
  width: 180px;
  height: 40px;
  line-height: 40px;
  left: 0px;
  right: 0px;
  margin: auto;
}

.pricing-item .pricing-body {
  margin-bottom: 40px;
}

.pricing-item .pricing-body .price-wrapper {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 13px;
  background: #49ed5d;
  width: 80%;
  margin: auto;
  margin-bottom: 40px;
  margin-top: 5px;
  border-radius: 20px;
}

.pricing-item .pricing-body .price-wrapper .currency {
  height: 47px;
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  position: relative;
  top: -1px;
}

.pricing-item .pricing-body .price-wrapper .price {
  font-weight: 500;
  font-size: 28px;
  color: #fff;
}

.pricing-item .pricing-body .price-wrapper .period {
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  display: block;
  letter-spacing: 0.88px;
}

.pricing-item .pricing-body .list li {
  text-align: center;
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 13px;
  color: #7a7a7a;
  letter-spacing: 0.25px;
  text-decoration: line-through;
}

.pricing-item .pricing-body .list li.active {
  color: #7a7a7a;
  text-decoration: none;
}

.pricing-item .pricing-footer {
  text-align: center;
  margin-top: 50px;
}

/* 
---------------------------------------------
blog
--------------------------------------------- 
*/
.blog-post-thumb {
  text-align: center;
  margin-bottom: 30px;
}

.blog-post-thumb.big .img {
  height: 400px;
}

.blog-post-thumb .img {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  height: 200px;
}

.blog-post-thumb .blog-content {
  margin-top: -30px;
  padding-top: 50px;
}

.blog-post-thumb h3 {
  margin-bottom: 20px !important;
}

.blog-post-thumb h3 a {
  font-weight: 500;
  font-size: 18px;
  color: #1e1e1e;
  letter-spacing: 0.25px;
  line-height: 26px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.blog-post-thumb h3 a:hover {
  color: #18B52B;
}

.blog-post-thumb .text {
  font-weight: 400;
  font-size: 13px;
  color: #777;
  letter-spacing: 0.26px;
  line-height: 26px;
  margin-bottom: 15px;
}

.blog-post-thumb .post-footer span {
  float: left;
  height: 30px;
  line-height: 30px;
  font-weight: 300;
  font-size: 14px;
  color: #777;
  padding-left: 30px;
}

.blog-post-thumb a.main-button  {
  margin-top: 10px;
  display: inline-block;
}

.blog-list .blog-post-thumb {
  text-align: left;
}


/* 
---------------------------------------------
contact
--------------------------------------------- 
*/

#contact-us {
  padding: 160px 0px;
}

#contact-us h5 {
  font-weight: 500;
  font-size: 18px;
  color: #1e1e1e;
  letter-spacing: 0.25px;
  line-height: 26px;
}

.contact-text {
  font-weight: 400;
  font-size: 14px;
  color: #6F8BA4;
  letter-spacing: 0.6px;
  line-height: 26px;
}

.contact-text p {
  margin-bottom: 28px;
}

.contact-form input,
.contact-form textarea {
  color: #777;
  font-size: 14px;
  border: 1px solid #eee;
  width: 100%;
  height: 50px;
  outline: none;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-bottom: 30px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
  padding: 20px;
}

/* 
---------------------------------------------
footer
--------------------------------------------- 
*/
footer {
  background-image: linear-gradient(127deg, #49ed5d 0%, #49ed5d 91%);
  padding-top: 30px;
}

footer .social {
  overflow: hidden;
  margin-top: 10px;
  text-align: center;
}

footer .social li {
  margin: 0px 10px;
  display: inline-block;
}

footer .social li a {
  color: #49ed5d;
   text-align: center;
  background-color: #fff;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  display: inline-block;
  font-size: 16px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

footer .social li a:hover {
  background-color: #89c791;
  color: #fff;
}

footer .copyright {
  text-align: center;
  border-top: 1px solid rgba(250,250,250,0.2);
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 400;
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.88px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  footer .text {
    margin-bottom: 30px;
  }
  footer h5 {
    margin-bottom: 15px;
  }
  footer .footer-nav {
    margin-bottom: 30px;
  }
}

/* 
---------------------------------------------
preloader
--------------------------------------------- 
*/
#preloader {
  overflow: hidden;
  background: #444444b4;          /* bílé pozadí */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 9999;
  display: flex;             /* flexbox pro centrování GIFu */
  align-items: center;       /* vertikální centrování */
  justify-content: center;   /* horizontální centrování */
}

#preloader img {
  width: 320px;   /* velikost GIFu, můžeš změnit */
  height: auto;  /* zachová poměr stran */
}

/* 
---------------------------------------------
Pricing widget (homepage configurator)
--------------------------------------------- 
*/
.features-small-item.pricing-widget {
  text-align: left;
  padding: 26px;
  overflow: hidden;
}

.pricing-widget__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pricing-widget__subtitle {
  margin: 0;
  opacity: .82;
}

.pricing-widget__crumbs {
  font-size: 13px;
  opacity: .72;
  text-align: right;
  max-width: 46%;
}

/* “Apple-ish” grid: víc vzduchu, měkčí panely */
.pricing-widget__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1.75fr;
  gap: 16px;
}

/* Sloupce jako panely */
.pricing-widget__col {
  border: 1px solid rgba(30,30,30,.08);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-widget__col:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.pricing-widget__colhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-widget__label {
  font-weight: 700;
  font-size: 13px;
  opacity: .88;
  letter-spacing: .2px;
}

/* Search jako “pill” */
.pricing-widget__search {
  width: 190px;
  max-width: 52%;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.95);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pricing-widget__search:focus {
  border-color: rgba(24,181,43,.55);
  box-shadow: 0 0 0 4px rgba(24,181,43,.14);
}

/* Scroll listy méně “těžké” */
.pricing-widget__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
  scroll-behavior: smooth;
}

.pricing-widget__services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
  scroll-behavior: smooth;
}

/* hezčí scrollbar (jen webkit) */
.pricing-widget__list::-webkit-scrollbar,
.pricing-widget__services::-webkit-scrollbar { width: 10px; }
.pricing-widget__list::-webkit-scrollbar-thumb,
.pricing-widget__services::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.14);
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.9);
}

/* položky jako "segmented" list item */
.pricing-widget__item {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 11px 12px;
  background: rgba(255,255,255,.96);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.pricing-widget__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.pricing-widget__item.is-active {
  border-color: rgba(24,181,43,.55);
  box-shadow: 0 0 0 4px rgba(24,181,43,.12);
}

/* mini ikonky */
.pricing-widget__itemimg {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(73,237,93,.14);
}

.pricing-widget__itemimg {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;   /* ⬅️ zruší zelený box */
  border-radius: 0;           /* ⬅️ zruší zaoblení */
}

.pricing-widget__itemimg img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}


.pricing-widget__itemname {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
}

/* empty */
.pricing-widget__empty {
  opacity: .68;
  font-size: 14px;
  padding: 12px 8px;
}

/* Popular */
.pricing-widget__popular { margin-bottom: 12px; }
.pricing-widget__subhead {
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
  opacity: .82;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.pricing-widget__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-widget__chip {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.96);
  cursor: pointer;
  font-size: 13px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-widget__chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.pricing-widget__chipprice {
  opacity: .7;
  margin-left: 8px;
  font-weight: 700;
}

/* Service cards: víc “Apple card” */
.pricing-widget__service {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-widget__service:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.pricing-widget__servicename {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.pricing-widget__servicemeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  opacity: .88;
  font-size: 13px;
}

.pricing-widget__price {
  font-weight: 900;
}

.pricing-widget__meta { opacity: .8; }

/* CTA: použijeme tvůj main-button, ale dáme ho víc “pill” a s animací */
.pricing-widget__servicecta {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.pricing-widget__servicecta .main-button {
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 10px 20px rgba(24,181,43,.18);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pricing-widget__servicecta .main-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(24,181,43,.24);
}

/* Mobile bar */
.pricing-widget__mobilebar {
  display: none;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.pricing-widget__back {
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.96);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-widget__back:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

/* Skeleton loading (Pricing widget) */
.pw-skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pw-skel-row {
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.09) 35%,
    rgba(0,0,0,.05) 70%
  );
  background-size: 220% 100%;
  animation: pwShimmer 1.1s ease-in-out infinite;
}

.pw-skel-row.small { height: 38px; border-radius: 14px; }
.pw-skel-row.big { height: 74px; border-radius: 18px; }

@keyframes pwShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pw-skel-row { animation: none !important; }
}

.pricing-widget__note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  opacity: .75;
}

.pricing-widget__mobiletitle { font-weight: 900; }

/* animace “fade+slide in” pro obsah */
.pw-anim-in {
  animation: pwFadeUp .26s ease both;
}
@keyframes pwFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile behavior */
@media (max-width: 991px) {
  .pricing-widget__head { flex-direction: column; align-items: flex-start; }
  .pricing-widget__crumbs { max-width: 100%; text-align: left; }
  .pricing-widget__grid { grid-template-columns: 1fr; }
  .pricing-widget__list, .pricing-widget__services { max-height: 420px; }
  .pricing-widget__mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .pricing-widget__search { width: 100%; max-width: 100%; }
}

/* Sticky CTA (mobile) */
.pw-sticky {
  position: sticky;
  bottom: 0;
  margin-top: 14px;
  z-index: 20;
}

.pw-sticky__inner {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.pw-sticky__text { min-width: 0; }
.pw-sticky__title {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pw-sticky__sub {
  font-size: 12px;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pw-sticky__btn {
  border-radius: 999px;
  padding: 12px 16px;
  white-space: nowrap;
}

.pw-sticky__btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  .pw-sticky { display: none !important; }
}

.pricing-widget__service.is-selected {
  border-color: #18b52b8c;
  box-shadow: 0 0 0 4px rgba(24,181,43,.12), 0 14px 30px rgba(0,0,0,.08);
}

/* Mobile: hide per-card CTA, use sticky instead */
@media (max-width: 991px) {
  .pricing-widget__servicecta {
    display: none;
  }

  .pricing-widget__service {
    cursor: pointer;
    position: relative; /* důležité pro badge */
    padding-right: 64px; /* aby badge nelezl do textu */
  }

  .pricing-widget__service::after {
    content: "Vybrat";
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.08);
    opacity: .75;
    pointer-events: none;
    white-space: nowrap;
  }

  .pricing-widget__service.is-selected::after {
    content: "Vybráno";
    background: rgba(24,181,43,.15);
    border-color: rgba(24,181,43,.28);
    opacity: 1;
  }
}


/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pricing-widget__col,
  .pricing-widget__item,
  .pricing-widget__chip,
  .pricing-widget__service,
  .pricing-widget__servicecta .main-button {
    transition: none !important;
  }
  .pw-anim-in { animation: none !important; }
}


.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px; 
}

/* ============================
   MOBILE: Ceník výš + hero tlačítka viditelný
   ============================ */
@media (max-width: 765px) {

  /* 1) Zapnout hero tlačítka na mobilech (teď je vypínáš) */
  .welcome-area .header-text .buttons,
  .welcome-area .header-text .hero-buttons {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
  }

  /* ať jsou tlačítka pěkně přes celou šířku když je málo místa */
  .welcome-area .header-text .buttons a,
  .welcome-area .header-text .hero-buttons a {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* 2) Ceník výš na mobilu (menší mezera mezi hero a ceníkem) */
  .welcome-area {
    margin-bottom: 24px !important; /* měl jsi 100px */
  }

  .home-feature {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* pokud sekce .section přidává velký padding, tak ho na ceníku stáhneme */
  #pricing-plans.section {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  /* když máš fixed header, ať anchor neskáče blbě */
  #pricing-plans {
    scroll-margin-top: 90px;
  }
}

.insurance-icon {
  text-align: center;
  padding: 40px 0;
}

.insurance-icon img {
  width: 112px;
  height: 112px;
  opacity: 0.85;
}

/* ============================
   used phones (homepage)
   ============================ */
.used-phone-card{background:rgba(255,255,255,.97);border-radius:18px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.18);}
.used-phone-card__img{position:relative;background:#fff;}
.used-phone-card__img img{width:100%;height:220px;object-fit:cover;display:block;}
.used-phone-card__placeholder{height:220px;display:flex;align-items:center;justify-content:center;font-size:52px;opacity:.65;}
.used-phone-card__badge{position:absolute;left:12px;top:12px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:700;color:#111;background:rgba(255,255,255,.95);}
.used-phone-card__badge--available{border:1px solid rgba(0,140,70,.35);}
.used-phone-card__badge--reserved{border:1px solid rgba(255,140,0,.35);}
.used-phone-card__badge--sold{border:1px solid rgba(220,20,60,.35);}
.used-phone-card__body{padding:14px 14px 16px;}
.used-phone-card__title{font-weight:800;font-size:16px;line-height:1.25;margin-bottom:6px;color:#111;}
.used-phone-card__meta{font-size:13px;opacity:.8;color:#111;margin-top:4px;}
.used-phone-card__price{font-weight:900;font-size:18px;margin-top:8px;color:#111;}
.used-phone-card__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.used-phone-tag{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:rgba(17,17,17,.08);font-size:12px;color:#111;}
.used-phone-card__actions{margin-top:12px;}
.used-phone-card__actions .main-button-slider{width:100%;text-align:center;}
.used-phone-card--clickable{cursor:pointer;}
.used-phone-card--clickable:focus{outline:3px solid rgba(255,255,255,.65);outline-offset:4px;}
@media (max-width: 575px){
  .used-phone-card__img img,.used-phone-card__placeholder{height:200px;}
}

/* =========================
   used phone modal
   ========================= */
.used-phone-modal{position:fixed;inset:0;z-index:9999;display:none;}
.used-phone-modal.is-open{display:block;}
.used-phone-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);}
.used-phone-modal__panel{position:relative;max-width:980px;margin:24px auto;background:#fff;border-radius:18px;box-shadow:0 18px 48px rgba(0,0,0,.35);overflow:hidden;}
.used-phone-modal__close{position:absolute;right:12px;top:10px;width:38px;height:38px;border-radius:10px;border:0;background:rgba(17,17,17,.06);font-size:26px;line-height:38px;cursor:pointer;z-index:2;}
.used-phone-modal__grid{display:grid;grid-template-columns: 1.05fr .95fr;gap:0;}
.used-phone-modal__gallery{padding:16px;}
.used-phone-modal__main{border-radius:14px;overflow:hidden;background:#f3f3f3;}
.used-phone-modal__main img{width:100%;height:420px;object-fit:contain;display:block;background:#fff;}
.used-phone-modal__thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;}
.used-phone-modal__thumbs button{border:0;background:transparent;padding:0;cursor:pointer;border-radius:12px;overflow:hidden;box-shadow:0 6px 16px rgba(0,0,0,.14);}
.used-phone-modal__thumbs img{width:72px;height:72px;object-fit:cover;display:block;}
.used-phone-modal__thumbs button.is-active{outline:3px solid rgba(39,117,255,.55);outline-offset:2px;}
.used-phone-modal__content{padding:18px 18px 18px 8px;}
.used-phone-modal__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.used-phone-modal__title{font-weight:900;font-size:20px;line-height:1.2;color:#111;}
.used-phone-modal__badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:800;background:rgba(17,17,17,.06);color:#111;}
.used-phone-modal__meta{margin-top:10px;font-size:13px;opacity:.85;color:#111;}
.used-phone-modal__price{margin-top:12px;font-weight:900;font-size:22px;color:#111;}
.used-phone-modal__identifier{margin-top:8px;font-size:13px;opacity:.85;color:#111;}
.used-phone-modal__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.used-phone-modal__tags .used-phone-tag{background:rgba(17,17,17,.08);}
.used-phone-modal__desc{margin-top:12px;font-size:14px;line-height:1.5;color:#111;opacity:.92;white-space:pre-line;}
.used-phone-modal__actions{margin-top:16px;}
.used-phone-modal__actions .main-button-slider{width:100%;text-align:center;}

@media (max-width: 991px){
  .used-phone-modal__panel{margin:12px;max-width:calc(100% - 24px);}
  .used-phone-modal__grid{grid-template-columns:1fr;}
  .used-phone-modal__content{padding:14px 16px 16px;}
  .used-phone-modal__main img{height:320px;}
  .used-phone-modal__thumbs img{width:64px;height:64px;}
}

/* =========================================
   USED PHONES - MODERN SLIDER
   ========================================= */

/* Kontejner slideru */
.up-slider-wrap {
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.up-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px; /* místo pro scrollbar */
  -webkit-overflow-scrolling: touch;
  /* Skrytí scrollbaru pro čistší vzhled (volitelné) */
  scrollbar-width: none; 
}
.up-slider::-webkit-scrollbar { display: none; }

/* Karta telefonu */
.up-card {
  flex: 0 0 280px; /* Fixní šířka karty */
  scroll-snap-align: start;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.up-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Oblast obrázku (čtverec) */
.up-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Čtverec */
  background: #f8f9fa;
  overflow: hidden;
}

.up-gallery img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Aby byl vidět celý telefon */
  padding: 15px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none; /* Aby šlo klikat na šipky */
}

/* První fotka je vidět defaultně */
.up-gallery img.active {
  opacity: 1;
  z-index: 1;
}

/* Ovládání galerie v kartě */
.up-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  color: #111;
  opacity: 0; /* Viditelné až po najetí */
  transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.up-nav:hover { background: #fff; }
.up-card:hover .up-nav { opacity: 1; }
.up-nav.prev { left: 10px; }
.up-nav.next { right: 10px; }

/* Badge (stav) */
.up-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.up-badge.available { color: #18b52b; }
.up-badge.reserved { color: #f59e0b; }
.up-badge.sold { color: #dc2626; }

/* Info tlačítko (i) */
.up-info-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #18b52b;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: serif; /* Pro hezké "i" */
  font-style: italic;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(24, 181, 43, 0.4);
  transition: transform 0.2s;
}
.up-info-btn:hover {
  transform: scale(1.1);
}

/* Spodní část karty */
.up-content {
  padding: 15px;
  text-align: center;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.up-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: #111;
}

.up-specs {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.up-price {
  font-weight: 800;
  font-size: 18px;
  color: #18b52b;
}

/* Responzivita */
@media (max-width: 600px) {
  .up-card {
    flex: 0 0 85vw; /* Na mobilu skoro přes celou šířku */
  }
  .up-nav { opacity: 1; } /* Na mobilu šipky vidět pořád */
}


/* =========================================
   NEW MODAL (Detail)
   ========================================= */
.up-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.up-modal.is-open { display: flex; }

.up-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
}

.up-modal-panel {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  z-index: 10;
}

/* Levá část modalu - fotka */
.up-modal-left {
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.up-modal-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

/* Pravá část modalu - info */
.up-modal-right {
  padding: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.up-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.up-modal-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.up-modal-price { font-size: 24px; color: #18b52b; font-weight: 800; margin-bottom: 20px; }

.up-modal-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.up-modal-label { color: #666; }
.up-modal-val { font-weight: 600; }

.up-modal-desc {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  white-space: pre-line;
}

.up-modal-cta {
  margin-top: auto;
  padding-top: 20px;
}
.up-modal-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #18b52b;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.up-modal-btn:hover { background: #149c25; color: #fff; }

@media (max-width: 768px) {
  .up-modal-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .up-modal-left { height: 250px; }
  .up-modal-img { max-height: 200px; }
}

/* Navigace galerie uvnitř modalu */
.up-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex; /* Flex, aby byl znak uprostřed */
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: #111;
  transition: all 0.2s;
  padding-bottom: 4px; /* Optické vyrovnání šipky */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.up-modal-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.up-modal-nav.prev { left: 20px; }
.up-modal-nav.next { right: 20px; }

/* Skrytí tlačítek na mobilu, pokud je fotka malá (volitelné, ale vypadá to lépe) */
@media (max-width: 768px) {
  .up-modal-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .up-modal-nav.prev { left: 10px; }
  .up-modal-nav.next { right: 10px; }
}

.up-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 20;
  display: flex; /* Flex je důležitý pro vycentrování šipky */
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #111;
  padding-bottom: 4px;
  transition: all 0.2s;
  /* Výchozí stav může být skrytý, JS ho zobrazí pokud je více fotek */
  display: none; 
}

.up-modal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.up-modal-nav.prev { left: 20px; }
.up-modal-nav.next { right: 20px; }

/* Animace hlavního obrázku v modalu */
.up-modal-img {
  /* Původní styly zůstávají (max-width, max-height...) */
  transition: opacity 0.2s ease-in-out;
  opacity: 1; /* Výchozí stav - viditelný */
  will-change: opacity; /* Optimalizace pro prohlížeč */
}

/* Třída pro stav "mizení" */
.up-modal-img.fade-out {
  opacity: 0;
}