/* base.css – GLSK
   - hlavný zberný súbor pre vizuálne úpravy
   - načítava sa ZA Bootstrapom
   - verzovanie cez ?v=XX v HEAD
*/

/* =========================================================
   GLSK – base.css (clean)
   ========================================================= */

/* ========== UI: tabs, forms, buttons, checkout ========== */

#p-detail-tabs .shp-tab { padding-right: 15px !important; }

.form-control { font-size: 16px !important; }
#checkoutContent .form-control { font-size: 16px; }
#checkoutSidebar .toggle-contacts { color: #000; }

.add-to-cart-button,
.cart-related-button .btn.btn-sm,
.surcharge-list select,
.variant-list select,
.p-tools .btn-primary {
  height: 52px !important;
  line-height: 50px !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  font-size: 16px !important;
}

.btn, a.btn { padding: 0px 26px !important; }

.btn.btn-default {
  font-size: 16px;
  padding: 8px 15px !important;
}

.login-wrapper button {
  font-size: 16px;
  padding: 5px 10px;
}

.order-summary .checkout-box span{
  font-size: 15px !important;
  padding: 0 !important;
}

.tab-pane.active { opacity: 1; }


/* ========== Navigation + language/currency labels ========== */

.top-navigation-bar a {
  background: none !important;
  font-size: 16px;
}

.dropdown-menu li a:before { display: none !important; }

.category-link,
#navigation .menu-level-1>li>a,
#navigation .navigation-in ul li>a>b,
.subcategories li a {
  text-decoration: none !important;
}

.languagesMenu__list__name {
  color: #000 !important;
  font-size: 14px !important;
  line-height: 1.4;
}

.languagesMenu__list__link--currency {
  color: #000 !important;
  font-size: 14px !important;
  line-height: 1.4;
}


/* ========== Pagination + mobile tweaks ========== */

.pagination-wrapper .pagination {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.pagination-top a,
.pagination-top > strong {
  background-color: #0d6efd !important;
  color: #fff;
  font-weight: bold;
}

.pagination-top:hover * { color: #ccc !important; }

.pagination a {
  background-color: #0d6efd !important;
  color: #fff !important;
}

@media only screen and (max-width: 540px) {
  .pagination-wrapper .pagination { justify-content: center; }
}


/* ========== Product list / cards ========== */

.columns-mobile-2 .product-slider-holder .products-block .p .name {
  height: auto;
}

@media only screen and (max-width: 540px) {
  .columns-mobile-2 .product-slider-holder .products-block .p .name {
    height: 50px !important;
  }
}

.grid_item h2 { margin-top: 8px; }


/* ========== Homepage “top products” + category top ========== */

.category-top > h4 { display: none !important; }

@media (min-width: 768px) {
  .products-inline.products-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .products-top.products-inline > div { width: 100%; }
  .fitted .navigation-in ul { justify-content: space-around; }
}


/* ========== Homepage content visibility ========== */

.homepage-products-heading-1,
.homepage-products-heading-2 {
  display: none !important;
}

#productsTop,
#productsTopHeading,
.toggle-top-products {
  display: none !important;
}


/* ========== Footer + banners + instagram ========== */

.custom-footer { padding: 10px !important; }

.custom-footer div {
  padding-right: 20px !important;
  padding-left: 20px !important;
}

.custom-footer__banner4 div { padding: 0 !important; margin: 0 !important; }

.custom-footer__instagram,
.custom-footer__banner8 div { padding: 0 !important; }

.custom-footer__instagram h4 { display: none; }

.custom-footer__banner3.col-sm-6.col-lg-3 div div { padding: 0 !important; }

.banner-category a img,
.banner-footer a img,
.banner-wrapper a img,
.banners-content a img,
.footer-banner a img {
  transform: unset !important;
}

.instagram-widget > a img { top: 0; }

@media only screen and (max-width: 540px) {
  .custom-footer div {
    padding-right: 0px !important;
    padding-left: 3px !important;
  }
  .subcategories li a { padding: 0 !important; }
  .grid_categories { grid-template-columns: repeat(4, 1fr) !important; }
}


/* ========== Other ========== */

.recapitulation-table-payment { display: block !important; }

/* QR code base + desktop positioning */
.qrcode {
  margin-top: 0 !important;
  float: left !important;
}

@media (min-width: 992px) {
  .qrcode{
    position: absolute;
    top: -45%;
    right: 20%;
    height: 145px;
  }
}

/* Delivery message styling */
.delivery-message {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #333;
  border-radius: 5px;
}

.delivery-date {
  color: green;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

/* Search button hide (note: you also keep an inline LOCK for now) */
.search-button { display: none !important; }
