:root {
  --accent-color: #2ba4b4;
}

.top-bar .swiper-wrapper,
.top-bar .swiper-slide {
  height: 24px !important;
}

.top-bar {
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.swiper-container {
  width: 100%;
}

.hero .swiper-slide {
  background-color: #cecece;
  aspect-ratio: 5 / 2;
  border-radius: 12px;
}

.hero .swiper-wrapper,
.hero .swiper-container {
  border-radius: 12px;
}

.hero .swiper-container {
  position: relative;
  overflow: hidden;
}

.swiper-container-outer {
  position: relative;
}

.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  background: linear-gradient(to bottom, #6cb1ee17, #ffffff);
}

.header-nav,
.header .main-header .header-actions .header-action-btn .badge,
.header .search-form .input-group .btn {
  background-color: var(--accent-color) !important;
}

.footer {
  background-color: #333333;
}

.header .main-header .logo img {
  max-height: 38px;
}

.hero .swiper-button-next,
.hero .swiper-button-prev {
  opacity: 1;
  background-color: var(--accent-color);
  width: 42px;
  height: 42px;
  right: -4px;
  box-shadow: 0 4px 8px #0000004d;
  border-radius: 999px;
  box-shadow: 0 8px 10px #0000004d;
}

.hero .swiper-button-next::after {
  font-size: 20px;
  margin-left: 4px;
  font-weight: 600;
  color: #ffffff;
}

.hero .swiper-button-prev {
  left: -4px;
}

.hero .swiper-button-prev::after {
  font-size: 20px;
  margin-right: 4px;
  font-weight: 600;
  color: #ffffff;
  transform: rotate(180de);
}

.scrolled .mobile-nav-toggle.d-xl-none.bi.me-0.bi-x::before {
  color: #000000;
  margin-top: 16px;
  margin-right: 12px;
  top: 36px;
  position: absolute;
  right: 0;
}

.mobile-nav-toggle.d-xl-none.bi.me-0.bi-x::before {
  top: 0px;
  color: #000000;
  margin-top: 16px;
  margin-right: 12px;
  position: absolute;
  right: 0;
}

.footer .footer-main .app-buttons .app-btn:hover {
  background-color: var(--accent-color);
}

.dropdown-toggle {
  color: #000000;
}

.filter-icon path {
  fill: #fff;
}

.filter-items {
  display: none;
}

.pop-up-shadow {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.pop-up-shadow.active {
  opacity: 1;
  visibility: visible;
}

.add-to-cart-pop-up {
  padding: 24px;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 8px;
  width: 750px;
  position: relative;
  transform: scale(0.9);
  transition: 0.25s ease;
  height: fit-content;
  margin: auto 0;
}

.pop-up-shadow.active .add-to-cart-pop-up {
  transform: scale(1);
}

.add-to-cart-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #444;
}

.add-to-cart-header {
  display: flex;
  align-items: center;
  background-color: #b0ce88;
  padding: 12px;
  border-radius: 8px;
  gap: 16px;
}

.add-to-cart-product-wrapper {
  display: flex;
  gap: 48px;
  margin-top: 16px;
}

.add-to-cart-btn-primary,
.add-to-cart-btn {
  padding: 12px 32px;
  background-color: var(--accent-color);
  border-radius: 8px;
  color: #ffffff;
  border: 1px solid var(--accent-color);
}

#add-to-cart {
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

body.lock-scroll {
  overflow: hidden;
}

.add-to-cart-btn {
  background-color: transparent;
  color: var(--accent-color);
}

.add-to-cart-btn-primary:hover {
  opacity: 0.8;
  color: #ffffff;
}

.add-to-cart-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cecece6e;
}

.add-to-cart-img {
  width: 160px;
  border-radius: 6px;
  object-fit: cover;
}

.add-to-cart-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.add-to-cart-product-name {
  font-size: 20px;
  font-weight: 600;
}

.add-to-cart-product-price {
  font-size: 18px;
  font-weight: 500;
}

.add-to-cart-price-summary {
  margin-top: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.summary-row.total {
  font-weight: 700;
  font-size: 18px;
}

.add-to-cart-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.pop-up-header-text {
  margin: 0;
}

@media (max-width: 1399px) {
  .hero {
    height: auto;
  }
}

@media (max-width: 1199px) {
  .hero .swiper-button-prev,
  .hero .swiper-button-next {
    transform: scale(0.8);
    transform-origin: center right;
  }
  .hero .swiper-button-prev {
    transform-origin: center left;
  }
  .category-filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .category-filter-wrapper .col-12 {
    display: none;
  }
  .category-filter-wrapper .col-12:nth-child(1) {
    display: flex;
    padding: 0;
  }
  .category-filter-wrapper .col-12:nth-child(1) .filter-item.search-form {
    margin: 0;
  }
  section,
  .section {
    padding-top: 36px;
  }
}

@media (max-width: 991.98px) {
  .hero .swiper-slide {
    aspect-ratio: 3 / 2;
  }
  section,
  .section {
    padding-top: 24px;
  }
  .product-details .product-details {
    padding: 0;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .header .main-header .logo img {
    padding: 2px;
  }
  .filter-items {
    background-color: var(--accent-color);
    width: auto;
    height: fit-content;
    padding: 8px 16px;
    display: flex;
    border-radius: 8px;
    gap: 8px;
    display: flex;
    margin-top: 8px;
  }
  .filter-items svg {
    width: 24px;
    height: auto;
  }
  .filter-container-side {
    display: none;
  }
  .category-header.section {
    padding-top: 24px;
  }
  .widget-item {
    margin-bottom: 16px;
  }
  .widgets-container {
    margin-top: 24px;
  }
  .page-title {
    padding: 12px 0;
  }
  .add-to-cart-product-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .add-to-cart-pop-up {
    padding: 12px;
  }
  .add-to-cart-btn-primary,
  .add-to-cart-btn {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }
  .summary-row p {
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 0;
  }
  .add-to-cart-buttons {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .hero .swiper-button-prev,
  .hero .swiper-button-next {
    display: none;
  }
  .hero .swiper-pagination-bullets {
    bottom: 0px;
  }
  .main-header
    .container-fluid.container-xl
    .d-flex.py-3.align-items-center.justify-content-between {
    padding: 8px 0 !important;
  }
}


/*
New modal style*/
/* Moderní styl modal okna */
.modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.20);
}

/* Barevný efekt – top a bottom border */
.modal-content::before,
.modal-content::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
}

.modal-content::before {
  top: 0;
  background: #38b2c2; /* světlá tyrkysová */
}

.modal-content::after {
  bottom: 0;
  background: #000000; /* černá */
}

/* Header */
.modal-header {
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}

/* Body */
.modal-body {
  padding: 1.5rem;
  font-size: 1.05rem;
}

/* Footer */
.modal-footer {
  border-top: none;
  padding: 1.25rem 1.5rem;
}


/*
Btn primary*/
.btn-primary {
  background-color: #38b2c2;
  border-color: #38b2c2;
  color: #fff;
  font-size: 0.95rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #2c95a3;
  border-color: #2c95a3;
  color: #fff;
}
/*
Btn Secondary*/
.btn-secondary {
  background-color: #000000;
  border-color: #000000;
  color: #fff;
  font-size: 0.95rem;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #222222;
  border-color: #222222;
  color: #fff;
}

/*
Upravy z main.css*/

.checkout-button {
  margin-bottom: 1rem;
}

.checkout-button .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.checkout-button .btn i {
  transition: transform 0.3s ease;
}

.checkout-button .btn:hover i {
  transform: translateX(0.25rem);
}

.continue-shopping {
  margin-bottom: 1.5rem;
}

.continue-shopping .btn-link {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: all 0.3s ease;
}

.continue-shopping .btn-link i {
  transition: transform 0.3s ease;
}

.continue-shopping .btn-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.continue-shopping .btn-link:hover i {
  transform: translateX(-0.25rem);
}

.btn-accent {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
}




/* --- reset a základ --- */
:root{
  --bg: #ffffff;
  --muted: #f3f4f6;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted-text: #64748b;
  --accent: #0ea5a7;
  --shadow: 0 6px 18px rgba(15,23,42,0.08);
  --radius: 10px;
  --row-hover: #f5f5f5;
}

.search-wrap{
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}


/* kontejner našeptávače umístěný pod formulářem */
.suggestions {
  position: relative;
}

.suggestions-panel {
  position: absolute;
  top: 100%;              /* hned pod inputem */
  left: 0;
  width: 100%;
  z-index: 9999;          /* aby překryl header */
  margin-top: 4px;        /* malý offset */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 420px;
  display: none;
}

.suggestions-panel.open{
  display:block;
  animation: fadeIn .12s ease-out;
}

@keyframes fadeIn{
  from{ transform: translateY(-6px); opacity: 0 }
  to  { transform: translateY(0); opacity: 1 }
}

/* šedý placeholder blok (když nejsou výsledky nebo ještě nic napsáno) */
.suggestions-empty{
  padding: 20px;
  background: var(--muted);
  color: var(--muted-text);
  font-size: 14px;
}

/* seznam výsledků */
.suggest-list{
  list-style: none;
  margin:0;
  padding:0;
}

.suggest-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  background: white;
}

.suggest-item:last-child{
  border-bottom: none;
}

.suggest-item:hover,
.suggest-item[aria-selected="true"]{
  background: var(--row-hover);
}

.suggest-item a.suggest-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px;
  text-decoration: none;
  color: inherit;
}

.suggest-thumb{
  width:56px;
  height:56px;
  flex: 0 0 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.suggest-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.suggest-body{
  flex: 1 1 auto;
  min-width: 0;
}

.product-title{
  font-size: 15px;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta{
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 6px;
}

.product-price{
  flex: 0 0 auto;
  margin-left: 12px;
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  white-space: nowrap;
}

/* pro malé obrazovky zmenšíme náhled */
@media (max-width:520px){
  .suggest-thumb{ width:48px; height:48px; flex:0 0 48px; }
  .product-price{ font-size:14px; }
}

/* drobná vizuální nápověda jak vybrat klávesami */
.hint{
  margin-top:8px;
  font-size:13px;
  color:var(--muted-text);
}

.header .main-header .desktop-search-form {
  min-width: 500px !important;
}