/* Custom styles for bkstudio */

@media (min-width: 769px) {
  .ets_blog_sidebar {
    display: none;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1600px;
    max-width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  #search_widget {
    min-width: 22.5rem;
  }
}

.post-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.list-inline, .list-unstyled {
  padding-left: 0;
  list-style: none;
}
.list-inline-item:not(:last-child)::after {
  content: " |";
}

.tvnews-event-hoverbtn {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.tvnews-event-hoverbtn picture,
.tvnews-event-hoverbtn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

ul.clanok {
  list-style-type: disc;
  padding-left: 40px;
}

.blockquote {
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
  font-style: italic;
  color: #555;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

.ratio {
  aspect-ratio: 16 / 9;
  position: relative;
}
.ratio iframe {
  width: 100%;
  height: 100%;
  position: absolute;
}

.cms-quote-form-wide {
  max-width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
}
.cms-quote-form-wide h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.75rem;
}
.form-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.left-col, .right-col {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
textarea {
  min-height: 230px;
  resize: vertical;
}
input, textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border-color: #007bff;
  outline: none;
}
.form-actions {
  margin-top: 2rem;
  text-align: center;
}
button {
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
button:hover {
  background-color: #0056b3;
}
#quoteFormCMSStatus {
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 768px) {
  .cms-quote-form-wide {
    padding: 1rem;
  }
  .form-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .left-col, .right-col {
    min-width: 100%;
  }
  textarea {
    min-height: 200px;
  }
}

.add-to-cart-btn {
  margin-top: 10px;
  width: 100%;
  background-color: #1f8dd6;
  color: white;
  font-weight: bold;
  border-radius: 4px;
}
.add-to-cart-btn:hover {
  background-color: #176ba3;
}

/* REVIEW MODULE */

.bk-reviews-latest {
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 16px;
  margin: 3rem 0;
}

.bk-review-grid {
  column-count: 5;
  column-gap: 2rem;
}
/* Ak je šírka kontajnera menšia ako 600px, zruš column layout */
@media (max-width: 100%) {
  .bk-review-grid {
    column-count: 1 !important;
  }
}

.bk-review-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 2rem;
  break-inside: avoid;
  padding: 1rem 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}

.bk-review-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.bk-review-card .vote-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.bk-review-card .vote-time {
  font-weight: normal;
  color: #777;
  margin-left: 6px;
}

.bk-review-card .vote-content {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.25rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.star,
.star-on {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.star {
  background-image: url('/modules/bkproductcommentsslider/views/assets/star-empty.svg');
}

.star-on {
  background-image: url('/modules/bkproductcommentsslider/views/assets/star-full.svg');
}

.bk-review-latest-button {
  margin-top: 2rem;
  text-align: center;
}

.bk-review-latest-button .btn {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
}

/* Responsive column fallback */
@media (max-width: 1400px) {
  .bk-review-grid {
    column-count: 4;
  }
}
@media (max-width: 992px) {
  .bk-review-grid {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .bk-review-grid {
    column-count: 2;
  }
}
@media (max-width: 500px) {
  .bk-review-grid {
    column-count: 1;
  }
  .bk-review-card {
    display: block;
    width: 100%;
  }
}

.hero-landing {
  background: linear-gradient(135deg, #f8f9fa, #fff);
  padding: 5rem 1rem 4rem;
  text-align: center;
  position: relative;
}

.hero-landing::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-image: repeating-linear-gradient(
    to right,
    #00BFFF 0 40px,   /* C */
    #FF69B4 40px 80px, /* M */
    #FFFF00 80px 120px, /* Y */
    #333333 120px 160px, /* K */
    #66CCFF 160px 200px, /* Lc */
    #FFB6C1 200px 240px /* Lm */
  );
  opacity: 0.07;
  z-index: 0;
}

.hero-landing .hero-inner {
  position: relative;
  z-index: 1;
}


.hero-landing .hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-landing h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #212529;
}

.hero-landing p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-landing .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-landing .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.hero-landing .btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
}

.hero-landing .btn-primary:hover {
  background-color: #0056b3;
}

.hero-landing .btn-outline {
  border: 1px solid #007bff;
  color: #007bff;
  background: transparent;
}

.hero-landing .btn-outline:hover {
  background-color: #007bff;
  color: white;
}


.modal-content {
  border-radius: 1rem;
}
.modal-body .btn {
  min-width: 160px;
  font-weight: 600;
  font-size: 1rem;
}

.product-benefits i.material-icons {
  vertical-align: middle;
  margin-right: 6px;
  font-size: 20px;
}
.product-benefits li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .product-benefits ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}


  .custom-accordion {
    width: 100%;
    border: none;
  }

  .custom-accordion .accordion-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 8px;
  }

  .custom-accordion .accordion-header {
    background-color: #007bff;
    color: white;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
  }

  .custom-accordion .accordion-content {
    display: none;
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 0 0 6px 6px;
  }

  .custom-accordion .accordion-item.active .accordion-content {
    display: block;
  }
 
.featured-products {
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
  background-color: #fff !important;
}



.bkstudio-benefits {
  padding: 6rem 1rem 4rem; /* viac vzduchu hore, menej dole */
  background-color: #f9f9f9;
  text-align: center;
}

.bkstudio-benefits h2 {
  font-size: 1.75rem;
  margin-bottom: 3rem; /* zväčšená medzera od ikon */
  font-weight: 700;
}

.bkstudio-benefits .row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bkstudio-benefits img {
  margin-bottom: 1rem;
  height: 48px;
  width: 48px;
}

.bkstudio-benefits h3 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.bkstudio-benefits p {
  font-size: 0.9rem;
  color: #555;
  max-width: 240px;
}



/* Zvýšenie vzdialenosti nad a pod sekciou */
.bkstudio-category-links {
  padding-top: 4rem; /* zvýšené z 3rem alebo defaultu */
  padding-bottom: 4rem;
}

/* Väčšia medzera medzi radmi kategórií */
.bkstudio-category-links .row > div {
  margin-bottom: 2rem;
}

/* Lepšie rozostupy vnútri kariet */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Ikona */
.category-card img {
  margin-bottom: 0.5rem;
}

/* Nadpis */
.category-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5; /* dôležité pre vzdušnosť */
  margin: 0;
  color: #212529;
}


/* Roboto Regular */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
  font-display: swap;
}

/* Roboto Bold */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc-.woff2') format('woff2');
  font-display: swap;
}

/* Material Icons */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
  font-display: swap;
}


.custom-megamenu {
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.main-menu {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: flex-start;
}

.main-menu li {
  position: relative;
}

.main-menu > li > a {
  display: block;
  padding: 14px 10px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.main-menu li:hover > a {
  color: #00C853;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #fff;
  width: 100vw;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border-top: 1px solid #eee;
  z-index: 999;
  padding: 20px 0;
}

.dropdown-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
  padding: 0 20px;
}

.dropdown-content a {
  color: #333;
  padding: 6px 0;
  text-decoration: none;
  font-size: 15px;
  display: block;
}

.dropdown-content a:hover {
  color: #00C853;
}

li.cta a.btn-green {
  background-color: #00C853;
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
}

li.cta a.btn-green:hover {
  background-color: #00a544;
}




.top-menu-item {
  position: relative;
}

.mega-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  padding: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.top-menu-item:hover .mega-content {
  display: block;
}

.mega-link {
  display: block;
  padding: 6px 12px;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  white-space: normal;
  transition: color 0.2s ease;
}

.mega-link:hover {
  color: #00C853;
}
