.state-description {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-bottom: 60px;
}

.state-container {
    display: flex;
    gap: 40px;
}

.state-text {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.state-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.state-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 16px;
}

.state-list li:last-child {
    margin-bottom: 0;
}

.state-list li:before {
    content: "✓";
    color: white;
    background: #ff802b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.list-content {
    flex: 1;
}

.list-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 18px;
}

.state-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.state-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 120px;
    color: #666;
}

.state-btn:hover {
    border-color: #ff802b;
    color: #ff802b;
}

.state-btn.active {
    background: #ff802b;
    border-color: #ff802b;
    color: white;
}

.state-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.gallery-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.gallery-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.gallery-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-btn.prev {
    left: 15px;
}

.gallery-btn.next {
    right: 15px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

h3 {
    color: #333;
    margin: 0 0 35px 0;
    font-size: 2em;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1200px) {
    .state-image {
        max-width: 450px;
    }
}

@media (max-width: 992px) {
    .state-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .state-container {
        flex-direction: column;
    }
    
    .state-text, .state-image {
        width: 100%;
        max-width: 100%;
    }

    .state-text {
        order: 2;
    }
    
    .state-image {
        order: 1;
        margin-bottom: 20px;
    }

    .gallery-container {
        padding-top: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .state-list li {
        margin-bottom: 25px;
    }

    h3 {
        margin-bottom: 25px;
        font-size: 1.75em;
    }

    .state-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .state-btn {
        flex: 1 1 calc(50% - 5px);
        padding: 10px;
        font-size: 14px;
        min-width: unset;
    }

    .state-description {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .state-text {
        padding: 20px;
    }

    .list-title {
        font-size: 16px;
    }

    .state-list li {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* Moja poloha */
.branch-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.branch-info {
  margin-bottom: 20px;
}

.branch-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.branch-address {
  margin-bottom: 5px;
}

.branch-distance {
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
}

.branch-contact {
  margin-bottom: 5px;
  font-size: 14px;
}

.branch-contact a {
  color: #f8971d;
  text-decoration: none;
}

.branch-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.branch-button {
  background-color: #6a7336;
  color: white;
  padding: 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

@media (min-width: 768px) {
  .branch-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* Zarovnanie na stred */
  }
  
  .branch-info {
    flex: 1;
    margin-bottom: 0;
    padding-right: 20px;
  }
  
  .branch-buttons {
    min-width: 200px;
  }
}
/* Moja poloha */


/**
 * CSS štýly pre poznámky k produktom
 */

.custom-product-note-wrapper {
    margin: 15px 0;
    width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.custom-product-note-header {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.custom-product-note-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.custom-product-note-textarea:focus {
    border-color: #00a3d9;
    box-shadow: 0 0 5px rgba(0,163,217,0.3);
    outline: none;
}

.custom-product-note-textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Responzívne štýly */
@media (max-width: 768px) {
    .custom-product-note-wrapper {
        margin: 10px 0;
        padding: 8px;
    }
    
    .custom-product-note-header {
        font-size: 14px;
    }
    
    .custom-product-note-textarea {
        min-height: 60px;
        padding: 8px;
    }
}

/* Štýl pre tlačidlo s pridanou poznámkou */
.add-to-cart-button.has-product-note {
    position: relative;
}

.add-to-cart-button.has-product-note:after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #4CAF50;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

span.image img[src*="folder.svg"] {
    display: none !important;
}

span.image img[src*="folder.svg"] {
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

span.image {
    display: none !important;
}
span.flag.flag-vykup, span.flag.flag-action {
    display: none !important;
}
.flag {
	position: relative;
  top: 15px;
}
.prod-price a#HcCalculater {
    display: none !important;
}
td.chatgo-maps-address-list-address {
    text-align: center;
    vertical-align: middle;
}
.product.diagnostic .image img, .product.help-link .image img {
		width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}
.flag.flag-discount:before  {
  background-image: url('/user/documents/upload/MCupravy/AKCIA1.svg') !important;
}
.flags-extra .price-standard, .flags-extra .price-save {
    color: #f89831;
}
.flag-stav-a-2,.flag-stav-b, .flag-stav-c {
  background-color: #ffffff !important;  
  color: #f89831 !important;             
  border: 2px solid #f89831 !important; 
  font-size: 13px;
}
span.flag.flag-stav-a {
    font-size: 13px;
    border: 2px solid #f89831 !important;
}
span.flag.flag-darcek--ochranna-folia {
    font-size: 13px;
	color: #f89831 !important;
    border: 2px solid #f89831 !important;
    text-align: left;
}
span.flag.flag-novy {
    font-size: 13px;
    border: 2px solid #00b3ff !important;
}
.p-image-wrapper .flag.flag-bez-bms, .p-image-wrapper .flag.flag-s-bsm {
    font-size: 20px;
 }
@media only screen and (max-width: 768px) {
    .p-image-wrapper .flag.flag-bez-bms, .p-image-wrapper .flag.flag-s-bsm {
      font-size: 16px; 
   	}
}
#products.products-page.products-block .product .flag.flag-bez-bms, #products.products-page.products-block .product .flag.flag-s-bsm {
    font-size: 15px !important;
 }
 @media only screen and (max-width: 768px) {
    #products.products-page.products-block .product .flag.flag-bez-bms, #products.products-page.products-block .product .flag.flag-s-bsm {
      font-size: 14px !important;
    }
  }

  .type-page:has(.no-aside) .sidebar{display: none;}
  .benefitBanner__picture img{
    mix-blend-mode: multiply;
  }
  .in-index .position--benefitHomepage {
    margin-top: 30px;
    margin-bottom: 0;
  }
  .benefitBanner__picture {
    height: 50px;
  }
  .benefitBanner__picture img {
    max-height: 50px;
    max-width: 55px;
  }

  .welcome .welcome__content p {
    margin-bottom: 0;
  }

  .welcome .welcome__content p + p{
    margin-top: 20px;
  }

  .banners-top-block .banner-wrapper a, .banners-top-block .banner-wrapper img{
    width: 100%;
  }

  @media (min-width: 768px) {
  .banners-row .banner-wrapper+.banner-wrapper {
    margin-top: 15px;
	}
    .navigation-in ul li a {
      padding-left: 25px;
      padding-right: 25px;
    }
    .top-navigation-bar .container > div.top-navigation-contacts {
      height: 40px;
    }
    .welcome h1 {
      font-size: 40px;
      text-align: center;
      margin-bottom: 30px;
    }
    .welcome p {
      font-size: 16px;
      line-height: 1.8;
      margin-bottom: 30px;
    }
  }
  @media (min-width: 992px) {
    .welcome {
      padding: 40px 40px 40px 40px;
    }
  }
  @media (min-width: 992px) {
    .header-top {
      padding-top: 50px;
			padding-bottom: 10px;
    }

    .popup-widget.login-widget {
      top: 150px;
    }

    .popup-widget.cart-widget {
      top: 150px;
    }

    .admin-logged .popup-widget.login-widget {
      top: 175px;
    }

    .admin-logged .popup-widget.cart-widget {
      top: 175px;
    }
  }
  @media (max-width: 767px){
    .top-navigation-bar {
      background-color: white;
    }
  }

  @media (max-width: 370px){
    .top-navigation-bar .site-name a img {
        max-height: 30px;
    }
  }
  
  @media (min-width: 768px) {
  .products-related-block h2, .products-alternative-block h2,
  h4.homepage-group-title, .h4.homepage-group-title {
    font-size: 36px;
  }
  body .hodnoceni:before {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
  }
  .products-block.products .p .name {
    font-size: 18px;
  }
}
body.service-body .p-popup-button {
background: #58652c;
border: #58652c;
}
.siteCookies--bottom .siteCookies__form {
border: 2px solid rgb(248, 152, 49);
border-radius: 16px;
}
.siteCookies {
top: auto !important;
right: auto;
bottom: 0 !important;

}
 .siteCookies--bottom .siteCookies__button {
        border-radius: 76px;
	border-color: var(--color-secondary);
	background-color: var(--color-secondary);
	min-width: 230px;
	line-height: 55px;
  
    }
.siteCookies__text a {
  color: white;
}
.siteCookies--bottom .siteCookies__form {
        background: rgb(248, 152, 49);
    color: #ffffff;
}
.siteCookies__link {
  border-radius: 76px;
  background: rgb(248, 152, 49);
  color: #ffffff;
  background: transparent !important;
border: 2px solid #fff !important;


  color: #fff !important;

    }
.siteCookies__link:hover {
    background-color: unset !important;
}

/* aby sa pri scrolovaní nespravila celoplošná lišta */
.siteCookies--bottom.siteCookies--scrolled {
    background: transparent !important;
    box-shadow: none !important;
}
