@import url(font-awesome.min.css);
@import url(ionicons.min.css);
@import url(animate.css);
@import url(photoswipe.css);
@import url(default-skin/default-skin.css);
/* @import url(jquery.mCustomScrollbar.css); */
/* Google Fonts */
@import url("http://fonts.googleapis.com/css?family=Montserrat:400,700");
@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700");

/* RESET + ZÁKLAD */
html, body {
  width: 100%; /* Zajistí, že tělo a HTML mají správnou šířku */
  overflow-x: hidden; /* Opět zabraňuje horizontálnímu posouvání */
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111111;
  color: white;
  font-weight: bold;
}

*{
  box-sizing: border-box;
  max-width: 100%;
}

.main-container {
  margin-left: 260px; /* místo pro sidebar */
  margin-right: 260px;
  padding: 25px;
  background-color: #111111;
  border-radius: 20px 0 0 0;
  position: relative;
  z-index: 10;
}

/* HEADER S OBRÁZKEM A TEXTEM */
.header {
  position: relative;
  background-image: url("../img/slide-3.png");
  background-size: cover;
  background-position: center;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* tmavý overlay */
  z-index: 1;
}

.header h1 {
  font-size: 60px;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  font-weight: 700;
  color: #ffffff;
}

.accordion {
  margin: 20px 0;
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  background-color: #1c1c1c;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  display: none;
  padding: 15px 20px;
  background-color: #222222;
}

.accordion-content table {
  width: 100%;
  border-collapse: collapse;
}

.accordion-content td {
  padding: 8px 12px;
  vertical-align: top;
}

.accordion-content td:first-child {
  width: 40px;
  font-weight: bold;
  color: #ffffff;
}

.accordion.open .accordion-content {
  display: block;
}

.accordion-header i {
  transition: transform 0.3s;
}

.accordion.open .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content a {
  color: #ffe77c;
}

.header h1 {
  margin-left: 2rem;
}

/* TOP BAR: LOGIN + KOŠÍK */
.top-bar {
  border-radius: 12px;
  margin-bottom: 25px;
  background-color: #1c1c1c;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.top-bar p {
  color: #000;
}

.user-info,
.cart-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

#nickInput {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
}

#loginForm button {
  background-color: #ffd700;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

#loginForm button:hover {
  background-color: #ffe23e;
}

.cart-btns {
  gap: 5px;
}

.cart-btns {
  color: #ffffff;
}

.cart-text p{
  color: #ffffff;
}

.deleteBtn{
  background-color: #ff0000;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

.deleteBtn:hover {
  background-color: #ff4545;
}

.payBtn{
  background-color: #2bff00;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

.payBtn:hover {
  background-color: #4aff4a;
}

#userDetails {
  display: flex;
  align-items: center;
  gap: 10px;
}

#userDetails img {
  width: 32px;
  height: 32px;
  border-radius: 0%;
}

.cart-info span {
  margin-right: 10px;
}

.cart-text {
  display: flex;
  flex-direction: row;
}

.cart-btns {
  display: flex;
  flex-direction: row;
}

.store {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
}

.cart-container {
  border-radius: 12px;
  margin-bottom: 25px;
  background-color: #1c1c1c;
  padding: 15px 25px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cart-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #fff;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
}

.cart-items {
  padding: 1rem;
}

.cart-panels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-card {
  background-color: #1e1e2f;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  flex-wrap: wrap;
  color: #fff;
}

.cart-item-card button {
  margin: 0 5px;
  padding: 3px 6px;
  cursor: pointer;
}

.cart-item-card span {
  min-width: 100px;
  font-weight: 500;
}

.cart-item-card .item-name {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
}

.qty-btn, .remove-btn {
  background-color: #f0f0f0;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 1rem;
}

.qty-btn:hover {
  background-color: #dcdcdc;
}

.remove-btn {
  color: #fff;
  background-color: #dc3545;
}

.remove-btn:hover {
  background-color: #c82333;
}

@media (max-width: 600px) {
  .cart-item-card {
      flex-direction: column;
      align-items: flex-start;
  }
}

.store-sidebar {
  font-weight: bold;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  width: 200px;
  background-color: #1c1c1c;
  border-radius: 12px;
  padding: 15px;
  height: fit-content;
  flex: 0 0 200px;
}

.store h1 {
  font-weight: 700;
}

.store h2 {
  font-weight: 700;
}

.store-sidebar h3 {
  color: #ffd700;
  margin-bottom: 10px;
}

.store p {
  font-weight: 300;
}

.store-sidebar ul {
  list-style: none;
  padding: 0;
}

.store-sidebar li {
  margin-bottom: 8px;
  cursor: pointer;
  color: #ccc;
  padding: 6px;
  border-radius: 6px;
}

.store-sidebar li:hover,
.store-sidebar li.active {
  background-color: #333;
  color: white;
}

.category-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.intro-text {
	padding: 2rem;
	background: #1c1c1c;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.intro-text h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
  color: #ffffff;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
}
.intro-text h2 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
  color: #ffffff;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
}
.intro-text p {
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
}

.store-items {
  flex: 1;
  box-sizing: border-box;
}

.hidden {
  display: none;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  background-color: transparent;
  padding: 0;
}
.item {
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: transform 0.2s ease;
}

.item:hover {
  transform: scale(1.05);
}

.item img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

.returnToShopBtn {
  margin: 10px;
  background-color: #ffd700;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

.returnToShopBtn:hover {
  background-color: #ffe23e;
}

.souhlas {
  font-weight: 300;
}

.souhlas a {
  color: #ffe77c;
}

/* ------------------------------------- */
/* 6. Social Icons ..................... */
/* ------------------------------------- */
.social-icons {
  width: 100%;
  position: fixed;
  left: 6%;
  bottom: 5%;
  margin-left: -22px;
  margin-bottom: -22px;
  display: block;
  z-index: 9;
  width: auto;
  overflow: hidden;
  white-space: nowrap;
  -webkit-transition: all 0.7s cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 0.7s cubic-bezier(0.42, 0, 0.58, 1);
  -ms-transition: all 0.7s cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 0.7s cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 0.7s cubic-bezier(0.42, 0, 0.58, 1);
}
.social-icons i {
  color: #ffffff;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}
.social-icons a {
  color: white;
  width: 50px;
  line-height: 50px;
  letter-spacing: 0;
  background: transparent;
  font-size: 1em;
  font-weight: 300;
  height: 50px;
  display: inline-block;
  text-align: center;
  float: left;
  margin-right: 2px;
  border: none;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}
.social-icons a:hover {
  color: #ffd000;
  background: transparent;
}
.social-icons a:hover i {
  color: #ffd000;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

/* ------------------------------------- */
#cloud-animation {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  position: fixed;
}
#cloud-animation img {
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
}

@-webkit-keyframes animCloud {
  from {
    -webkit-transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
  }
}
@-moz-keyframes animCloud {
  from {
    -moz-transform: translateX(100%);
  }
  to {
    -moz-transform: translateX(-100%);
  }
}
@keyframes animCloud {
  from {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
#cloud1 {
  -webkit-animation: animCloud 25s infinite linear;
  -moz-animation: animCloud 25s infinite linear;
  animation: animCloud 25s infinite linear;
}

#cloud2 {
  -webkit-animation: animCloud 35s infinite linear;
  -moz-animation: animCloud 35s infinite linear;
  animation: animCloud 35s infinite linear;
}

#cloud3 {
  -webkit-animation: animCloud 45s infinite linear;
  -moz-animation: animCloud 45s infinite linear;
  animation: animCloud 45s infinite linear;
}

#cloud4 {
  -webkit-animation: animCloud 55s infinite linear;
  -moz-animation: animCloud 55s infinite linear;
  animation: animCloud 55s infinite linear;
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  .light-btn {
    max-width: 70%;
    min-width: 60%;
  }

  .action-btn {
    max-width: 70%;
    min-width: 60%;
  }

  .photo-line figure {
    padding: 0;
    margin: 0 0 20px !important;
    width: 100% !important;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  }

  .info-contact .item-map:first-child {
    padding-left: 0;
  }
  .info-contact .item-map:last-child {
    padding-right: 0;
  }

  .dialog__content {
    width: 80%;
    max-width: 80%;
    min-width: 75%;
  }

  .dialog .dialog-inner {
    padding: 40px 20px 90px;
    overflow: hidden;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  #left-side {
    padding: 50px 0 100px;
  }
  #left-side .content {
    padding: 0 3%;
  }
  #left-side.minimal-phone {
    height: 100vh;
  }

  h1.text-intro {
    font-size: 30px;
  }

  h2.text-intro {
    font-size: 18px;
  }

  .light-btn {
    max-width: 80%;
    min-width: 70%;
  }

  .action-btn {
    max-width: 80%;
    min-width: 70%;
  }

  .dialog__content {
    width: 95%;
    max-width: 95%;
    min-width: 75%;
  }

  .dialog .close-newsletter {
    top: 2px;
    right: 5px;
  }
  .dialog .dialog-inner {
    padding: 40px 20px 50px;
  }
  .dialog .dialog-inner h4 {
    font-size: 25px;
    margin-bottom: 20px;
  }

  #subscribe .block-message {
    padding: 5px 2px;
  }
  #subscribe p.notify-valid {
    font-size: 12px;
  }
}
/* Only for tablet in landscape mode */
/* Only for phone in landscape mode */
@media screen and (max-device-width: 667px) and (orientation: landscape) {
  #left-side {
    padding: 50px 0 100px;
  }

  h1.text-intro {
    font-size: 30px;
  }

  h2.text-intro {
    font-size: 18px;
  }

  .dialog__content {
    width: 100%;
    max-width: 100%;
    min-width: 75%;
  }

  .dialog .close-newsletter {
    top: 2px;
    right: 5px;
  }
  .dialog .dialog-inner {
    padding: 40px 20px 50px;
  }
  .dialog .dialog-inner h4 {
    font-size: 25px;
    margin-bottom: 5px;
  }

  #subscribe #notifyMe {
    margin-top: 10px;
  }
  #subscribe #notifyMe .form-group .form-control {
    width: 70%;
    margin: 0;
    float: left;
  }
  #subscribe #notifyMe .form-group button.submit {
    width: 30%;
    margin: 0;
    float: left;
  }
  #subscribe .block-message {
    padding: 5px 2px;
  }
  #subscribe p.notify-valid {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 15px;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .store {
    flex-direction: column;
  }

  .store-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .store-items {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 32px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 10px;
  }

  .user-info, .cart-info {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .items-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

.accordion-header {
  font-size: 1rem;
  padding: 12px 16px;
}

@media (max-width: 480px) {
  .accordion-header {
    font-size: 0.95rem;
  }
}

@media (max-width: 800px) {
  .main-container {
    margin-left: 60px; /* místo pro sidebar */
    margin-right: 0px;
  }
}