/*
Theme Name: RAABE AI knižnica
Theme URI: https://www.ai-kniznica.raabe.sk
Author: Valer
Author URI: valercans@gmail.com
Author email: valercans@gmail.com
License: Valerove rozmary
License URI: valercans@gmail.com
Version: 1.0
*/

:root {
  --main-width: 1330px;
  /* --main-width: 1170px; */
  /* --main-half-width: 585px; */
  --main-gap: 25px;
  --main-text-color: #5f5f5f;
  --main-light-grey-color: #f5f6fa;
  --main-grey-color: #999999;
  --main-yellow-color: yellow;
  --common-yellow-color: #fffbde;
  --border-radius: 8px;
  --text-gap: 8px;
}

body {
  background-color: white;
  margin: 0;
  padding: 0;
  font-family: "Rubik", serif;
  font-optical-sizing: auto;
  color: var(--main-text-color);
}

html, body {
  height: auto;
  min-height: 100vh;
}


* {
  padding: 0;
  margin: 0;
}

::selection {
  background: var(--main-yellow-color); /* Farba pozadia výberu */
}

::-moz-selection {
  background: var(--main-yellow-color); /* Farba pozadia výberu */
}

#wpadminbar {
  /* opacity: 0.3; */
  opacity: 0;
}

.header-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: var(--main-gap);
}

.header {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
}

.header-right {
  width: 100%;
  text-align: right;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

.header-right nav {
  width: 100%;
}

.header-right nav ul {
  display: flex;
  gap: calc(var(--main-gap) + 20px);
  width: 100%;
  justify-content: right;
  padding: 0;
  list-style-type: none;
}

.header-right nav ul li {
  text-decoration: none;
}

.header-right nav ul li a {
  color: var(--main-text-color);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.header-right nav ul li.active a::after,
.header-right nav ul li a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: var(--main-yellow-color);
  border-radius: 10px;
  top: 24px;
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.header-right nav ul li.active a::after,
.header-right nav li a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

hr.header-hr-shaddow {
  margin-top: var(--main-gap);
  border: none;
  height: var(--main-gap);
  width: 100%;
  background: linear-gradient(to bottom, #f4f4f4, #ffffff);
}

.wrapper-header-product {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: var(--main-gap);
}

.header-product {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  gap: 30px;
}

.header-product-left {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0;
}

.header-product-left > * {
  margin: 0;
  width: 100%;
}

.header-product-left .yellow-button {
  margin-top: var(--main-gap);
}

.header-product-right {
  width: 50%;
  text-align: center;
}

.header-product-right img {
  width: 100%;
  max-width: 400px;
}

.header-product-left h2 {
  font-size: 38px;
  color: var(--main-text-color);
  font-weight: 500;
}

.header-product-left h1 {
  font-size: 68px;
  color: var(--main-text-color);
  font-weight: 600;
  line-height: 75px;
  margin-bottom: 15px;
}

.header-product-left h1 span {
  color: var(--main-grey-color);
}

.header-product-left p {
  color: var(--main-text-color);
  font-size: 18px;
}

/***** searhc box ******/
.search-form {
  width: calc(var(--main-width) - var(--border-radius));
  display: flex;
  gap: var(--main-gap);
  background-color: white;
  border: 1px var(--main-grey-color) solid;
  border-radius: var(--border-radius);
  padding: calc(var(--border-radius) / 2);
  height: fit-content;
}

.search-input {
  border: none;
  border-radius: var(--border-radius);
  width: 100%;
  text-indent: calc(var(--border-radius) * 2);
  font-size: 18px;
  color: var(--main-text-color);
}

.search-input::placeholder {
  color: var(--main-grey-color);
}

.search-input:focus {
  border: none;
  outline: none;
}

.search-honeypot {
  display: none;
}

/*  */
.yellow-button {
  font-size: 18px;
  padding: 10px 20px;
  display: flex;
  gap: var(--text-gap);
  background-color: var(--main-yellow-color);
  border: 1px solid var(--main-yellow-color);
  border-radius: var(--border-radius);
  width: fit-content;
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.2s;
  vertical-align: middle;
}

.yellow-button:hover {
  border: 1px solid var(--main-text-color);
  background-color: var(--main-light-grey-color);
  cursor: pointer;
}

.yellow-button:active {
  border: 1px solid var(--main-text-color);
  background-color: white;
}

.yellow-button span {
  padding-top: 5px;
}

.footer-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: white;
}

.footer {
    width: 100%;
    max-width: calc(var(--main-width) - (var(--main-gap) * 1));
    padding: var(--main-gap) 0;
    display: flex;
    justify-content: space-between;
    gap: var(--main-gap);
    padding-bottom: 0;
}

.footer > * {
  width: 25%;
  font-size: 14px;
}

.footer-column-1 p > * {
  color: var(--main-text-color);
}

.footer-column-1 > p > a:hover {
  color: black;
  transition: all 0.3s;
}

.footer-column-1 p {
  margin-bottom: 10px;
}

.footer-column-4 {
  display: flex;
  justify-content: end;
  font-size: 14px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.footer-column-4 p {
  width: 100%;
  text-align: right;
}

.footer-column-4 .social-row {
  height: fit-content;
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: right;
  margin-top: 15px;
}

.footer div ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer div ul li {
  padding-top: 10px;
  width: fit-content;
}

.footer div ul li a {
  color: var(--main-text-color);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 14px;
}

.footer div ul li a:hover {
  color: black;
}

hr.footer-hr-shaddow {
  border: none;
  height: var(--main-gap);
  width: 100%;
  background: linear-gradient(to top, #f4f4f4, #ffffff);
}

.footer-subscribe {
  width: 100%;
  max-width: var(--main-width);
  padding: var(--main-gap) 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-subscribe p {
  font-size: 14px;
  color: var(--main-text-color);
  width: 100%;
  text-align: center;
}

.footer-subscribe p.claim {
  color: var(--main-grey-color);
}

.invitation {
  width: 100%;
  border-radius: var(--border-radius);
  padding-top: var(--main-gap);
  display: flex;
  justify-content: space-between;
  gap: var(--main-gap);
  margin: 0 auto;
  margin-top: var(--main-gap);
  position: relative;
}

.invitation img {
  height: fit-content;
}

.invitation-right {
  text-align: left;
  font-size: 18px;
  width: calc(100% - (340px + var(--main-gap)));
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-content: start;
  gap: var(--main-gap);
}


.home-buttons-invitation-wrapper {
  width: 100%;
  display: flex;
  gap: var(--main-gap);
}

.attention {
  display: flex;
  gap: calc(var(--main-gap) / 2);
  padding: calc(var(--main-gap) / 2);
  width: calc(100% - var(--main-gap));
  background-color: white;
  border-radius: var(--border-radius);
  font-size: 16px;
  text-align: left;
}

.attention img {
  width: 40px;
}

a.shop {
  background-color: var(--main-yellow-color);
  align-items: center;
  font-size: 16px;
  height: 23px;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
}

a.shop:hover {
  background-color: white;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
}

.intro-page-temp {
  text-align: center;
  font-size: 15pt;
  padding: var(--main-gap) 0;
}

.intro-page-temp a {
  color: var(--main-text-color);
  text-decoration: none;
}

.menu-wrapper {
  /* background-color: yellow; */
  background-color: rgb(235, 235, 142);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
  display: flex;
  z-index: 500;
  position: relative;
  justify-content: center;
}

.ai-top-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.ai-top-menu-left {
  width: 50%;
}

.ai-top-menu-right {
  width: 50%;
  text-align: right;
  padding: 10pt;
}

/* ----------------------------- */

.ai-main-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: var(--main-gap);
  background-color: var(--main-light-grey-color);
}

.no-padding-bottom {
  padding-bottom: var(--main-gap);
}

.ai-main-content {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  gap: var(--main-gap);
}

.chatbot-left-container {
  /* border: 1px solid rgb(173, 56, 56); */
  width: 400px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.chatbot-right-container {
  flex: 1 1 auto;
  padding: var(--main-gap);
  background-color: white;
  border-radius: var(--border-radius);
  /* height: fit-content; */
  height: 802px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.chatbot-body {
  height: 719px !important;
  max-height: 750px !important;
  position: relative;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
}

/*  Chat bot window */
#chatbase-bubble-window {
  display: none !important;
  /* height: 700px !important;
  width: 400px !important;
  max-height: 700px !important;
  position: absolute !important;
  bottom: -350px !important;
  left: calc(50% - calc(var(--main-width) / 2)) !important; */
}

#chatbase-bubble-button {
  position: absolute !important;
  bottom: -5% !important;
}

/* ----------------------------- */
/* Product Home Page */

.chatbot-notes {
  position: relative;
  border: 1px solid #52525b;
  border-radius: 5px;
  padding: calc(var(--main-gap) / 2);
}

.chatbot-notes::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid #52525b;
}

.not-allowed-slug {
  font-size: 20pt;
  color: red;
  margin: 0 auto;
  width: 500px;
  border: 3px solid red;
  border-radius: 5px;
  margin-top: 20pt;
  margin-bottom: 20pt;
  background-color: #ddc5c5;
}

.product-home-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--main-light-grey-color);
  padding-bottom: var(--main-gap);
}

.product-home-content {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product-home-eshop {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product-home-eshop .yellow-box {
  background-color: #d9cc19;
  width: 70%;
  margin: 0 auto;
}

.product-home-upper {
  width: calc(60% - (2 * var(--main-gap)));
  margin: var(--main-gap) 0;
  padding: 25px;
  background: white;
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  gap: var(--main-gap);
  text-align: left;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
  align-items: start;
}

.product-home-upper img {
  width: 55px;
}

.product-home-bottom {
  display: flex;
  gap: var(--main-gap);
}

.product-home-col1,
.product-home-col2 {
  width: 100%;
}

.product-home-col1 a,
.product-home-col2 a,
.product-home-col3 a {
  color: var(--main-text-color);
}

.product-home-col1 a:hover,
.product-home-col2 a:hover,
.product-home-col3 a:hover {
  background-color: yellow;
  border-radius: 5px;
}

.product-home-col1 ul,
.product-home-col2 ul,
.product-home-col3 ul {
  margin-left: var(--main-gap);
  margin-bottom: calc(var(--main-gap) / 2);
}

.product-home-col1 h3:first-of-type,
.product-home-col2 h3:first-of-type,
.product-home-col3 h3:first-of-type {
  margin-top: 0;
}

.product-home-col1 h3, .product-home-col2 h3, .product-home-col3 h3 {
  margin-top: var(--main-gap);
  margin-bottom: calc(var(--main-gap) / 2);
  font-weight: 600;
  font-size: 22px;
}

.product-home-col1 p,
.product-home-col2 p,
.product-home-col3 p {
  margin: calc(var(--main-gap) / 2) 0;
}

.product-home-col1 ul li,
.product-home-col2 ul li,
.product-home-col3 ul li {
  margin-bottom: calc(var(--main-gap) / 3);
}

.product-home-col1 ul li ul,
.product-home-col1 ul li ol,
.product-home-col1 ol li ul,
.product-home-col1 ol li ol {
  margin-top: calc(var(--main-gap) / 3);
}


.product-home-bottom-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--main-gap);
}

.product-home-bottom-gallery {
  width: 340px;
}

.product-home-bottom {
  width: calc(100% - (340px + var(--main-gap)));
  flex-wrap: wrap;
}

.product-home-bottom-gallery h3 {
  margin-bottom: calc(var(--main-gap) / 2);
  font-weight: 600;
  font-size: 22px;
}

.product-home-bottom-gallery p {
  margin-bottom: calc(var(--main-gap) / 2);
}

.product-home-bottom-gallery ul,
.product-home-bottom-gallery ol {
  margin-left: 20px;
}

.product-home-bottom-gallery ul li,
.product-home-bottom-gallery ol li {
  margin-bottom: calc(var(--main-gap) / 3);
}




/*  Display Resutls */

.json-item {
  padding-top: 10pt;
  border-bottom: 1px solid var(--main-grey-color);
  margin-bottom: 10px;
  padding-right: calc(var(--main-gap) / 2);
}

.json-item:last-of-type {
  border-bottom: none;
}

.json-wrapper {
  /*overflow-y: auto;*/
  height: auto;
  flex: 1;
  padding-right: 10px;
}

.json-title a {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: var(--main-text-color);
}

.json-title a:hover {
  cursor: pointer;
}

.json-content {
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.articles-cur-product {
  padding: 10pt;
}

.articles-cur-product a {
  margin-bottom: 10pt;
  display: block;
}

#ai-ajax-content {
  padding: 5pt;
  overflow-y: auto;
  max-height: 700px;
}

#ai-link-list {
  padding: 5pt;
  overflow-y: auto;
  max-height: 700px;
}

.found-word {
  background-color: yellow;
  padding: 0 2px;
  border-radius: 3px;
}

.link_button a {
  color: var(--main-text-color) !important;
}

/*  listing sub-products && articles in  Current article */

#ai-capitals-content {
  padding: 20px;
}

#ai-breadcrumbs {
  margin-bottom: 10px;
  font-size: 14px;
}
#ai-close-btn {
  margin-bottom: 15px;
  padding: 6px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
}

#ai-product-content > div {
  padding: 20pt;
}

#ai-product-content {
  max-height: 699px;
}

.ai-load-capital {
  padding-bottom: 10pt;
}

.ai-load-capital a {
  font-size: 14pt;
  font-weight: bold;
  text-decoration: none;
  color: #e6bb00;
}

.ai-load-capital a:hover {
  color: #f9e500;
}

.ai-load-article {
  padding-bottom: 10pt;
}

.ai-load-article a {
  font-size: 10pt;
  font-weight: bold;
  text-decoration: none;
  color: #3d3926;
}

.ai-load-article a:hover {
  color: #f9e500;
}

/* live search  */

.live-search-result-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

#live-search-results {
  display: none;
  position: absolute;
  z-index: 9999999;
  background: white;
  border: 1px solid #ccc;
  width: var(--main-width);
  max-height: 300px;
  min-height: 60px;
  overflow-y: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  margin-top: 10px;
}

.live-srch-item {
  padding: 5px;
  margin: 10px 0;
}

.live-srch-title a {
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.25s ease;
  display: block;
  padding: 7px 0;
  text-indent: 10px;
  border-radius: 10px;
}

.live-srch-title a:hover {
  background-color: var(--main-yellow-color);
}

.live-srch-content {
  font-size: 10pt;
  padding-bottom: 20pt;
}

.live-srch-link-button {
  border-bottom: 1px solid var(--main-grey-color);
}

.no-results {
  font-weight: normal;
  padding: 16pt;
  font-size: 16px;
}

/********************* NEW CSS TO ADD ************************/
/* 3.4.2025 */

.bot-response {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-right: 20px;
}

.close-article-btn {
  display: inline-block;
  background-color: #f5f5f5;
  border: none;
  color: #333;
  padding: 6px 12px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
}
.close-article-btn:hover {
  background-color: #e0e0e0;
}
#loading-spinner {
  font-style: italic;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

#loading-spinner img,
#bot-response img {
  width: 150px;
}

div:has(> img) {
  text-align: center;
}

a.ai-load-post {
  color: grey;
  display: block;
  border-bottom: 1px solid var(--main-grey-color);
  padding: 15px 0px;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 500;
}

a.ai-load-post:hover {
  background-color: yellow;
}

#ai-product-content ul li {
  margin-bottom: 0;
}

/* ------------------------------------------ */

#ai-back-btn {
  margin-bottom: 15px;
  padding: 6px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: var(--main-gap);
}

.main-content {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 20pt;
  font-weight: bold;
}

#chatbase-bubble-button {
  display: none !important;
}

.intro-page-temp {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--main-light-grey-color);
  flex-wrap: wrap;
}

.intro-page-temp-wrapper {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  flex-wrap: wrap;
}

ul.product-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--main-gap);
  list-style-type: none;
  margin: calc(var(--main-gap) / 2) 0;
}

ul.product-list li {
  width: calc(50% - (var(--main-gap) + 30px));
  display: flex;
  justify-content: flex-start;
  /*border: 1px solid var(--main-grey-color);*/
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  background-color: white;
  transition: all 0.25s ease;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
}

ul.product-list li:hover {
  transform: translateY(5px);
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
}

ul.product-list li a {
  display: flex;
  gap: 15px;
}

.product-list li a img {
  width: 100%;
  height: fit-content;
  max-width: 250px;
}

ul.product-list li a h2 {
  text-align: left;
  line-height: normal;
}

ul.product-list li a h2 span {
  color: var(--main-grey-color);
}

ul.product-list li a p {
  line-height: normal;
  text-align: left;
  margin-top: 10px;
  font-size: 16px;
}

.second-div {
  text-align-last: left;
}

.front-button {
  padding: 10px 15px;
  border: var(--main-grey-color) 1px solid;
  border-radius: 5px;
  background-color: white;
  transition: all 0.25s ease;
  font-size: 16px;
  box-shadow: 0 3px 13px rgba(0, 0, 0, 0.15);
  margin-top: 15px;
  display: block;
  width: fit-content;
}

ul.product-list li:hover .front-button {
  background-color: var(--main-yellow-color);
  box-shadow: 0 3px 13px rgba(0, 0, 0, 0);
}

.common-columns {
  width: 100%;
  font-size: 16px;
  margin-top: var(--main-gap);
  display: flex;
  gap: var(--main-gap);
  text-align: left;
}

.header-product-right img.main-img {
  /* max-width: fit-content; */
  max-width: 550px;
}

#ai-product-content ul {
  margin-left: 20px;
}

.grey-char {
  color: var(--main-grey-color);
}

.chatbot-right-container h2 {
  font-size: 28px;
  font-weight: 600;
}

.chatbot-right-container hr {
  border: 0;
  width: 100%;
  height: 1px;
  background-color: var(--main-text-color);
  margin: calc(var(--main-gap) / 2) 0;
}

.link_button a {
  color: var(--main-text-color);
  text-decoration: none;
  background-color: var(--main-yellow-color);
  border: solid 1px var(--main-yellow-color);
  border-radius: 10px;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  margin-bottom: 20px;
  width: fit-content;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.link_button a:hover {
  background-color: white;
  border: solid 1px var(--main-text-color);
}

.json-title a:hover .link_button {
  background-color: white;
  border: solid 1px var(--main-text-color);
}

.link_button a img {
  width: 16px !important;
  height: 16px;
}

#bot-info {
  margin-top: calc(var(--main-gap) / 2);
}

.chat-info {
  color: var(--main-grey-color);
  font-size: 14px;
}

a.ai-ajax-link {
  margin-bottom: 15px;
}

.close-results {
  padding: 7px 9px;
  background: var(--main-yellow-color);
  display: block;
  width: fit-content;
  border-radius: 10px;
  line-height: 10px;
  transition: all 0.25s ease;
  border: solid 1px var(--main-yellow-color);
  display: none;
}

.close-results:hover {
  background: white;
  border: solid 1px var(--main-text-color);
  cursor: pointer;
}

.title-close {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.bot-response ul,
.bot-response ol {
  margin-left: 20px;
}

.chatbot-right-container.fullscreen {
  width: 100% !important;
  height: 802px;
}

.chatbot-left-container.hidden {
  display: none !important;
}

.toggle-full-btn {
  background: var(--main-yellow-color);
  border: none;
  border-radius: 10px;
  padding: 10px;
  transition: all 0.25s ease;
  border: 1px solid var(--main-yellow-color);
}

.toggle-full-btn:hover {
  background-color: white;
  border: 1px solid var(--main-grey-color);
  cursor: pointer;
}

.toggle-full-btn img {
  width: 15px;
}

.main-icons-wrapper {
  display: flex;
  gap: 10px;
}

.tools-box-wrapper {
  display: flex;
  width: 100%;
  gap: calc(var(--main-gap) / 2);
  margin-bottom: 30px;
  position: relative;
}

.search-in-article {
  width: 100%;
}

.article-search-input {
  width: 100%;
  height: 100%;
  text-indent: 7px;
  border: 1px solid var(--main-grey-color);
  border-radius: 10px;
  color: var(--main-text-color);
}

.main-icons-wrapper button {
  background-color: var(--main-yellow-color);
  border: 1px solid var(--main-yellow-color);
  border-radius: 10px;
  transition: all 0.25s ease;
  padding: 6px 9px;
}

.main-icons-wrapper button:hover {
  background-color: white;
  border: 1px solid var(--main-grey-color);
  cursor: pointer;
}

.bot-response h1,
.bot-response h2 {
  page-break-after: avoid;
}

.bot-response p {
  orphans: 3;
  widows: 3;
}

.search-highlight {
  background-color: yellow;
  padding: 0 2px;
  border-radius: 3px;
}

.active-highlight {
  background-color: red;
  color: white;
}

.arrows {
  position: absolute;
  right: 5px;
  top: 5px;
  display: none;
  gap: 5px;
}

.arrows button {
  padding: 7px;
  background-color: var(--main-yellow-color);
  border: 1px solid var(--main-yellow-color);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.arrows button:hover {
  cursor: pointer;
  background-color: white;
  border: 1px solid var(--main-grey-color);
}

.arrow-numers {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

/*---------------------------------------------- Text CSS ---------------------------------------------*/
.bot-response h1 {
  font-size: 29px;
  margin-bottom: 15px;
}

.bot-response h2 {
  margin-bottom: 15px;
  margin-top: 15px;
  font-size: 24px;
}

.bot-response h3 {
  margin-top: 10px;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 5px;
}

.bot-response p {
  line-height: 24px;
  padding-bottom: 8px;
}

.bot-response ul,
.bot-response ol {
  padding-bottom: 10px;
  line-height: 24px;
}

.bot-response strong,
.bot-response b {
  font-weight: 500;
}

ol.bot-toc {
  list-style-type: none;
}

ol.bot-toc li a,
#bot-response a {
  color: var(--main-grey-color);
  transition: all 0.25s ease;
}

ol.bot-toc li a:hover,
#bot-response a:hover {
  color: var(--main-text-color);
}

.normal-page-temp {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--main-gap);
  background-color: var(--main-light-grey-color);
  padding: var(--main-gap) 0;
}

.normal-page-temp-wrapper {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--main-gap) * 2);
}

.left-column-kontakty {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 20%;
}

.right-column-kontakty {
  display: flex;
  flex-direction: column;
  width: calc(80% - 60px);
}

.right-column-kontakty h1 {
  margin-bottom: 20px;
}

.google-map {
  width: 100%;
}

.left-column-kontakty img {
  width: fit-content;
  margin-bottom: 10px;
}

.left-column-kontakty p {
  margin-bottom: 10px;
}

.left-column-kontakty a {
  color: var(--main-grey-color);
  transition: all 0.25s ease;
}

.left-column-kontakty a:hover {
  color: var(--main-text-color);
}

.form-group input {
  height: 40px;
  text-indent: 10px;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--main-grey-color);
  border-radius: 10px;
  width: 100%;
  margin-bottom: calc(var(--main-gap) / 2);
}

.form-group textarea {
  min-height: 200px;
  padding: 10px;
  width: calc(100% - 20px);
}

.button-odoslat {
  font-size: 18px;
  padding: 10px 20px;
  display: flex;
  gap: var(--text-gap);
  background-color: var(--main-yellow-color);
  border: 1px solid var(--main-yellow-color);
  border-radius: var(--border-radius);
  width: fit-content;
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.2s;
  vertical-align: middle;
}

.button-odoslat:hover {
  background-color: white;
  border: 1px solid var(--main-text-color);
  cursor: pointer;
}

.form-group {
  width: 100%;
}

.two-colums-contact-form {
  width: 100%;
  display: flex;
  gap: var(--main-gap);
}

.google-map {
  margin: var(--main-gap) 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.google-map iframe {
  border-radius: var(--border-radius);
  max-width: var(--main-width);
}

.menu-item {
  transition: all 0.25s ease;
  border-bottom: solid 5px rgb(255, 255, 255);
  padding-bottom: 5px;
}

.current-menu-item,
.menu-item:hover {
  border-bottom: solid 5px yellow;
  padding-bottom: 5px;
}

.hide {
  display: none;
}

hr.footer-hr-shaddow {
  border: none;
  height: var(--main-gap);
  width: 100%;
  background: linear-gradient(to top, #f4f4f4, #ffffff);
}

p.footer-end {
  width: 100%;
  text-align: center;
  margin: var(--main-gap) 0;
}

p.footer-end span {
  color: var(--main-grey-color);
}

.fade-target,
.product-content {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fade-out {
  opacity: 0;
  visibility: hidden;
}

.fade-in {
  opacity: 1;
  visibility: visible;
}

.message.success {
  margin-top: 30px;
  border: green 1px solid;
  width: fit-content;
  color: green;
  padding: 15px;
  border-radius: 10px;
}

.content-product-page {
  padding: 15px 0;
}

.product-home-eshop h1 {
  font-size: 38px;
}

.invitation-main-image {
  width: 340px;
}

.invitation-locker {
  width: 340px;
  position: absolute;
  top: 20px;
  left: -12px;
  z-index: 10;
}

table,
table tr,
table td {
  width: auto !important;
  height: auto !important;
  padding: 5px;
}

table {
  margin-top: var(--main-gap);
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
}

.intro-page-temp-wrapper h2 {
  width: 100%;
  text-align: center;
}

.intro-page-temp-wrapper p {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

h2.intro-title {
  font-size: 38px;
}

.landing-advertising-wrapper-1,
.landing-advertising-wrapper-2,
.landing-advertising-wrapper-3,
.landing-advertising-wrapper-4 {
  width: 100%;
  display: flex;
  justify-content: center;
}

.landing-advertising-wrapper-2,
.landing-advertising-wrapper-4 {
  background-color: var(--common-yellow-color);
}

.landing-advertising {
  width: 100%;
  max-width: 900px;
  display: flex;
  gap: var(--main-gap);
  align-items: center;
  text-align: left;
}

.landing-advertising img {
  width: 40%;
}

.landing-advertising h3 {
  margin-bottom: 12.5px;
  font-size: 28px;
}

.front-inner ul {
  margin-top: 15px;
  margin-left: 20px;
}

.autori-wrapper {
  width: 100%;
  justify-content: center;
  display: flex;
  padding: var(--main-gap) 0;
  background-color: var(--main-light-grey-color);
}

.autori {
  width: 100%;
  display: flex;
  max-width: var(--main-width);
  flex-wrap: wrap;
  gap: var(--main-gap);
}

.autori h1 {
  width: 100%;
}

.author {
  width: calc((25% - var(--main-gap) - 16px));
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--main-gap) / 2);
  align-content: flex-start;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 395px;
  position: relative;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.author:hover {
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
  transform: translateY(5px);
}

a.author {
  text-decoration: none;
  color: var(--main-text-color);
}

.author-photo {
  width: 100%;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 10px 10px 0 0;
}

.no-photo {
  background-size: 100px;
  opacity: 0.4;
}

.author .function {
  font-style: italic;
  font-size: 14px;
}

.author .description {
  font-size: 14px;
}

.white-gradien {
  position: absolute;
  bottom: 0px;
  left: 1px;
  width: calc(100% - 2px);
  background: linear-gradient(to top, white 0%, white 45%, transparent 100%);
  border-radius: 10px;
  z-index: 10;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
}

.author-link {
  padding: 10px 15px;
  border: 1px solid var(--main-grey-color);
  background-color: white;
  border-radius: 10px;
  text-decoration: none;
  color: var(--main-text-color);
  box-shadow: 0 3px 13px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.author-link:hover {
  background-color: var(--main-yellow-color);
  box-shadow: none;
}

.autori-subpage {
  padding: var(--main-gap);
  width: calc(100% - (var(--main-gap) * 2));
  background-color: var(--common-yellow-color);
  border-radius: 10px;
}

.autor-profile-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.autor-profile-subwrapper {
  width: 100%;
  max-width: var(--main-width);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.autor-profile {
  width: 100%;
  display: flex;
  gap: var(--main-gap);
  flex-wrap: wrap;
}


.breadcrumbs {
  display: flex;
  width: 100%;
  max-width: var(--main-width);
  gap: var(--main-gap);
  margin-bottom: var(--main-gap);
  align-items: center;
}

.breadcrumbs a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 5px;
}

.breadcrumbs a:hover {
  background-color: yellow;
}

.breadcrumbs span {
  opacity: 0.65;
}

.autor-profile-left {
  width: calc(35% - (var(--main-gap) / 2));
}

.autor-profile-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.autor-profile-right {
  width: calc(65% - (var(--main-gap) / 2));
}

.autor-profile-function {
  font-style: italic;
  margin: 10px 0;
}

hr.autor {
    width: 100%;
    border: none;
    height: 1px;
    background: var(--main-grey-color);
}

.autor-profile-product-wrapper {
  display: flex;
  gap: var(--main-gap);
  flex-wrap: wrap;
}

.autor-profile-product-wrapper a  {
  width: calc((25% - 26px) - var(--main-gap));
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
}

.autor-profile-product-wrapper a:hover {
  transform: translateY(5px);
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
}

a .autor-profile-product img {
  width: 75%;
}

a .autor-profile-product h3 {
  font-size: 18px;
}

h3.autor-common-title {
  font-size: 24px;
  margin-bottom: calc(var(--main-gap) / 2);
}

.autor-products-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  padding: var(--main-gap) 0;
  background-color: var(--main-light-grey-color);
  margin-top: var(--main-gap);
}

.autor-products {
  width: 100%;
  max-width: var(--main-width);
}

hr.pre-footer {
  border: none;
  background-color: var(--main-grey-color);
  height: 1px;
  width: 100%;
  opacity: 0.5;
}

.shaddow {
  color: var(--main-grey-color);
}

/* ------------------------ plain page ---------------------------*/
.plain-page-wrapper {
  margin: var(--main-gap) 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.plain-page {
  width: 100%;
  display: flex;
  max-width: var(--main-width);
  flex-wrap: wrap;
  gap: var(--main-gap);
}

.plain-page h1 {
  width: 100%;
}

.page-content h2 {
  width: 100%;
  margin: var(--main-gap) 0 calc(var(--main-gap) / 2) 0;
}

.page-content h2:first-of-type {
  margin-top: 0;
}

.page-content p {
  margin: 0 0 calc(var(--main-gap) / 2);
  font-size: 16px;
  line-height: calc(16px * 1.5);
}

.page-content a {
    font-weight: 400;
    padding: 1px;
    color: black;
    text-decoration: none;
    border-bottom: 3px solid yellow;
    transition: all 0.25s ease;
}

.page-content a:hover {
  border-color: var(--main-text-color);
  background-color: white;
}


.page-content ol,
.page-content ul {
  margin: calc(var(--main-gap) / 2) 0 var(--main-gap) 0;
  margin-left: 20px;
  line-height: calc(16px * 1.5);
}

.page-content ol li,
.page-content ul li {
  margin-bottom: calc(var(--main-gap) / 2);
}


/*------------------- video --------------------*/
/* Náhľad */
.video-thumbnail img {
  max-width: 70%;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
}

.video-thumbnail img:hover {
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
  transform: translateY(5px);
}

.video-thumbnail {
  text-align: left;
  margin-bottom: var(--main-gap);
}

/* Celý modal (overlay) */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* Kontajner pre video */
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}

/* Video samotné */
.video-modal-content video {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: block;
}

/* Zavrieť (X) tlačidlo */
.video-close {
  position: absolute;
  top: -32px;
  right: -32px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffca03;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-loader img {
  width: auto;
  height: auto;
  margin-bottom: 12px;
}

.video-progress {
  color: #333333;
  font-size: 18px;
  font-weight: bold;
  font-size: 44px;
}

.white-bg {
  background-color: white;
  margin-top: var(--main-gap);

}

.white-bg h3 {
  margin-top: var(--main-gap) !important;
}

.subpage img {
  max-width: fit-content;
}

.about-wrapper {
  width: 100%;
  display: flex;
  margin: var(--main-gap) 0;
}

.about {
  width: 100%;
  display: flex;
  gap: calc(var(--main-gap) * 2);
}

.about-left, .about-right {
  width: calc(50% - (var(--main-gap) / 2));
}

.about-left h2 {
  margin: var(--main-gap) 0 calc(var(--main-gap) / 2) 0;
}

.about-left h2:first-of-type {
  margin-top: 0;
}

.about-left ul,
.about-left ol {
  margin: calc(var(--main-gap) / 2) 0 calc(var(--main-gap) / 2) 0;
  margin-left: 20px;
}

.about-left ul li,
.about-left ol li {
  margin-bottom: calc(var(--main-gap) / 2);
}

.about ul.product-list {
  flex-wrap: wrap;
}

.about ul.product-list li {
  width: 100%;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
}

.about ul.product-list li:hover {
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
}

.about ul.product-list a {
  text-decoration: none;
  color: var(--main-text-color);
}

.about .video-thumbnail {
  text-align: left;
  margin: var(--main-gap) 0;
  width: 100%;
}

.about .video-thumbnail img {
  max-width: 100%;
}

.how {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--main-gap);
}

.first-how {
  width: 100%;
  display: flex;
  flex-wrap: wrap; 
  gap: calc(var(--main-gap) / 2) var(--main-gap);
}

.first-how h2 {
  width: 100%;
}

.first-how p {
  margin: calc(var(--main-gap) / 2) 0;
}

.first-how-description {
  width: 100%;
  display: flex;
  gap: var(--main-gap);
  text-align: left;
}

.first-how-description img {
  width: calc(40% - (var(--main-gap) / 2));
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--main-grey-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.first-how-description img:hover {
  border-color: var(--main-grey-color);
  transform: translateY(5px);
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.0);
}


.first-how-description-content {
  width: calc(60% - (var(--main-gap) / 2));
}


#lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

#lightbox-overlay img {
  max-width: 70%;
  max-height: 80%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 6px;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

#lightbox-overlay.show {
  display: flex;
}

.how-list-title {
  margin: var(--main-gap) 0 0 0;
}

.how-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--main-gap);
}

.how-list p {
  width: calc(50% - (var(--main-gap) / 2));
}

.second-how {
  padding: var(--main-gap);
  width: calc(100% - var(--main-gap));
  background-color: white;
  border-radius: var(--border-radius);
}

.second-how-content-nubmer {
    background-color: var(--main-yellow-color);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    font-size: 24px;
    height: 60px;
    font-weight: 500;
}

.second-how-content-left {
    width: calc(35% - 60px);
    aspect-ratio: 2/1.2;
}

.second-how-content-left .second-how-pict {
    background-image: url('https://ai.kniznica.raabe.sk/wp-content/uploads/2025/05/screen-1.png');
    height: -webkit-fill-available;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--main-grey-color);
    border-radius: 15px;
    box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.second-how-content-left .second-how-pict:hover {
  transform: translateY(5px);
    box-shadow: 0 11px 26px rgba(0, 0, 0, 0);
}


.second-how-content-right {
    width: calc(65% - 60px);
}

.second-how-content-right p {
    padding-bottom: calc(var(--main-gap) / 2);
}

.second-how-content {
    display: flex;
    gap: var(--main-gap);
    margin: var(--main-gap) 0;
}


.ai-toggle-buttons {
  display: none;
}

.hamburger-toggle {
    display: none;
    font-size: 20px;
    padding: 10px 15px;
    cursor: pointer;
    background: var(--main-light-grey-color);
    color: #333;
    box-shadow: 0 11px 26px rgba(0, 0, 0, 0.2);
  }



@media (max-width: 1350px) {
    :root {
        --main-width: 1175px;
    }

    .header-product-right img.main-img {
      max-width: fit-content;
    }
}


@media (max-width: 1250px) {
    :root {
        --main-width: 900px;
    }

    .product-list li a img {
        width: 100%;
        height: fit-content;
        max-width: 180px;
    }

    ul.product-list li a h2 {
        font-size: 24px;
    }

    ul.product-list li a p {
        font-size: 14px;
    }

    .about-left {
        width: calc(45% - (var(--main-gap) / 2));
    }

    .about-right {
        width: calc(55% - (var(--main-gap) / 2));
    }

    .first-how-description img {
        height: max-content;
        width: calc(52% - (var(--main-gap) / 2));
    }

    .first-how p:first-child {
        margin-top: 0;
    }

    .author {
        width: calc((33.33% - var(--main-gap) - 16px));
    }

    .chatbot-left-container {
        width: 350px;
    }

    .main-icons-wrapper {
        height: fit-content;
    }

    .header-product-left h1 {
        font-size: 48px;
        line-height: 55px;
    }

}


@media (max-width: 950px) {
    :root {
        --main-width: 700px;
    }

    ul.product-list li {
        width: 100%;
    }

    .landing-advertising {
        max-width: 700px;
    }

    .front-inner {
      margin: var(--main-gap) 0;
    }

    .footer-column-4 {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer {
        flex-wrap: wrap;
    }

    .footer-column-4 p {
        width: 100%;
        text-align: center;
    }

    .footer-column-4 .social-row {
        justify-content: center;
    }

    .header-right nav ul {
        gap: calc(var(--main-gap));
    }

    .header-product-right {
        display: flex;
        align-items: center;
    }

    .header-product-left h2 {
        font-size: 22px;
    }

    .header-product-left h1 {
        font-size: 38px;
        line-height: 43px;
    }

    .header-product-left p {
        font-size: 14px;
    }

    #lightbox-overlay img {
        width: 100%;
    }

    .second-how-content-nubmer {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .second-how-content-right {
        width: calc(65% - 30px);
    }

    .first-how-description {
        display: flex;
        flex-wrap: wrap;
    }

    .first-how-description-content {
        width: 100%;
    }

    .author {
        width: calc((50% - var(--main-gap) - 16px));
    }

    .autor-profile-product-wrapper a {
        width: calc((50% - 26px) - var(--main-gap));
    }

    .chatbot-left-container {
        width: 100%;
    }



    .chatbot-notes {
      display: none;
    }

    /*-------------- toogle chat ---------------*/
    .chatbot-left-container,
    .chatbot-right-container {
      display: none;
    }

    .chatbot-left-container.visible,
    .chatbot-right-container.visible {
      display: block;
    }

    .ai-toggle-buttons {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      gap: calc(var(--main-gap) / 2);
      position: absolute;
      bottom: var(--main-gap);
    }

    .ai-toggle-buttons button {
      flex: 1;
      padding: 10px;
      border: none;
      background: white;
      cursor: pointer;
      font-weight: bold;
      border-radius: var(--border-radius);
      box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }

    .ai-toggle-buttons button:hover {
      box-shadow: 0 7px 15px rgba(0, 0, 0, 0);
    }

    .ai-toggle-buttons button.active {
      background: var(--main-yellow-color);
      border-radius: var(--border-radius);
      box-shadow: 0 7px 15px rgba(0, 0, 0, 0);
    }

    .ai-main-wrapper {
      position: relative;
    }

  
    .ai-main-content {
        flex-wrap: wrap;
        gap: 0;
        height: 795px;
    }
    
    .chatbot-left-container.visible,
    .chatbot-right-container.visible {
      width: 100%;
    }

    .chatbot-body {
      height: 730px;
    }

    .ai-toggle-buttons {
        height: fit-content;
    }

    .chatbot-right-container.visible {
      height: 670px;
      box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
    }

    .bot-response {
      height: 555px;
    }

    .ai-toggle-buttons button {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    
    .ai-toggle-buttons img {
      width: 20px;
    }

    .toggle-full-btn {
      display: none;
    }

    .product-home-bottom {
        width: 100%;
    }

    .product-home-bottom-gallery {
        width: 260px;
    }

    .invitation-main-image {
        width: 260px;
    }

    .about {
        flex-wrap: wrap;
    }

    .about-left {
        width: 100%;
    }

    .about-right {
        width: 100%;
    }

    .chatbot-left-container {
      display: block;
    }
  }


  @media (max-width: 750px) {
    :root {
        --main-width: 500px;
    }

    .landing-advertising {
        max-width: 500px;
        flex-wrap: wrap;
    }

    .landing-advertising img {
        display: none;
    }

    .hamburger-toggle {
        display: block;
        text-align: left;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        border: 1px solid white;
    }

    .hamburger-toggle:hover {
      background-color: var(--main-yellow-color);
      box-shadow: 0 11px 26px rgba(0, 0, 0, 0.0);
    }

    .my-header-menu {
      display: none !important;
      flex-direction: column;
      gap: 10px;
      padding: 15px;
      margin-top: 5px;
    }

    .my-header-menu.active {
      display: flex !important;
    }

    .my-header-menu li {
      width: 100%;
      border: 1px solid var(--main-grey-color);
      border-radius: var(--border-radius);
      background-color: white;
      transition: all 0.3s ease;
    }

    .my-header-menu li:hover {
      background-color: var(--main-yellow-color);
    }

    .my-header-menu a {
      display: block;
      padding: 10px;
      color: var(--main-grey-color);
      text-decoration: none;
    }

    .header-right {
        justify-content: right;
    }

    .header-right nav {
        width: 80%;
        position: relative;
    }

    .my-header-menu.active {
        text-align: left;
        gap: 5px;
    }

    .main-menu-nav {
        position: absolute;
        width: 100%;
    }

    .header-right nav ul li a {
        width: calc(100% - var(--main-gap));
        padding: 5px 10px;
        display: block;
    }

    .current-menu-item, .menu-item:hover {
        border-bottom: 1px solid var(--main-grey-color);
        padding-bottom: 5px;
    }

    .header-right nav ul li {
        display: flex;
        position: relative;
        z-index: 100;
    }


    .footer-column-1 {
      width: 100%;
    }

    .footer-column-4 {
        width: 33.33%;
        justify-content: right;
        text-align: right;
    }

    .footer-column-4 p {
        width: 100%;
        text-align: right;
    }

    .footer-column-4 .social-row {
        justify-content: right;
    }

    .header-product {
        flex-wrap: wrap;
    }

    .header-product-right, 
    .header-product-left {
        width: 100%;
    }

    .second-how-content {
        flex-wrap: wrap;
    }

    .second-how-content-right {
        width: 100%;
    }

    .second-how-content-left {
        width: 50%;
    }

    .two-colums-contact-form {
        flex-wrap: wrap;
        gap: 0;
    }

    .normal-page-temp-wrapper {
        flex-direction: column-reverse;
        gap: var(--main-gap);
    }

    .left-column-kontakty,
    .right-column-kontakty {
        width: 100%;
    }

    .autor-profile-img {
        height: 120px;
    }

    .invitation {
      flex-wrap: wrap;
    }
    
    .invitation-right {
      width: 100%;
    }

    .invitation img {
        display: none;
    }

    .chatbot-right-container.visible {
      top: 25px;
      position: absolute;
      width: 61%;
    }
  }

  @media (max-width: 550px) {
  :root {
      --main-width: 320px;
  }

  body {
    min-height: 100vh;
  }

  .bot-response {
      height: 488px;
  }

  .has-articles {
      height: 550px;
  }

  .bot-response:empty {
      min-height: 485px;
      background-color: #fff; /* alebo iná neutrálna farba */
    }


    ul.product-list li a {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
  }

  .landing-advertising {
        max-width: 320px;
    }

  .footer-column-4 {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-column-4 p {
    text-align: center;
  }

  .footer-column-4 .social-row {
    justify-content: center;
  }

  .footer {
    justify-content: start;
    gap: 0 45px;
  }

  .current-menu-item, .menu-item:hover {
    border-bottom: 5px solid var(--main-yellow-color);
    padding-bottom: 5px;
  }

  a.author {
    width: 100%;
  }

  .autor-profile-left {
    width: 100%;
  }

  .autor-profile-img {
    width: 100%;
    height: 200px;
  }

  .autor-profile-right {
    width: 100%;
  }

  .breadcrumbs {
    flex-wrap: wrap;
    gap: calc(var(--main-gap) / 2);
  }

  .autor-profile-product-wrapper a {
    width: 100%;
  }

  a .autor-profile-product img {
    width: 60%;
  }

  .home-buttons-invitation-wrapper {
      flex-wrap: wrap;
      margin-bottom: var(--main-gap);
  }

  .video-thumbnail img {
      max-width: 100%;
  }

  #bot-response:empty {
    min-height: 300px;
  }

  .how-list p {
      width: 100%;
  }

  .how-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .chatbot-right-container.visible {
      width: 75%;
  }

  .bot-response h1 {
      font-size: 26px;
  }

}




