/*
 * ONSHOP PREMIUM UI
 * -----------------
 * Osobna warstwa wizualna sklepu Onshop.pl.
 * Bazowy motyw Electroshops pozostaje bez zmian.
 *
 * Etapy:
 * 1. Header
 * 2. Karty produktów
 * 3. Homepage
 * 4. Footer
 * 5. Kategorie/listingi
 * 6. Koszyk
 * 7. Checkout
 *
 * Karta produktu jest już przebudowana i nie jest objęta ponownym redesignem.
 */

:root {
  --onshop-premium-loaded: 1;
}


/* =========================================================
   ONSHOP PREMIUM — HEADER V2
   Desktop skin only.
   Nie zmieniamy konstrukcji legacy headera.
   ========================================================= */

@media (min-width: 992px) {

  /* ---------------------------------------------------------
     GÓRNY PASEK
     Zachowujemy fixed/52px i obecny układ elementów.
     --------------------------------------------------------- */

  #header .header-nav {
    border-bottom: 0;
  }

  #header .belka {
    background: linear-gradient(90deg, #073b72 0%, #0b67b2 100%);
    border-bottom: 0;
    box-shadow: 0 3px 14px rgba(4, 43, 79, 0.18);
  }

  #header .header-nav #contact-link {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.1px;
  }

  #header .header-nav #contact-link span,
  #header .header-nav #contact-link a {
    color: #ffffff;
  }


  /* ---------------------------------------------------------
     WYSZUKIWARKA
     Nie zmieniamy jej położenia ani szerokości.
     --------------------------------------------------------- */

  #header #_desktop_search_plugin #search_plugin form {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.48);
    border-radius: 9px;
    box-shadow: 0 3px 12px rgba(0, 29, 58, 0.16);
  }

  #header #_desktop_search_plugin #search_plugin input[type="text"] {
    background: #ffffff;
    color: #20364a;
    border: 0;
    box-shadow: none;
  }

  #header #_desktop_search_plugin #search_plugin input[type="text"]::placeholder {
    color: #8596a7;
    opacity: 1;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"] {
    background: #f0f7fd;
    border: 0;
    color: #0b67b2;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"] .material-icons {
    color: #0b67b2;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"]:hover {
    background: #e1f1fc;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"]:hover .material-icons {
    color: #074c84;
  }


  /* ---------------------------------------------------------
     JĘZYK / KONTO / KOSZYK
     --------------------------------------------------------- */

  #header .header-nav .language-selector,
  #header .header-nav .user-info,
  #header .header-nav .blockcart,
  #header .header-nav .language-selector a,
  #header .header-nav .user-info a,
  #header .header-nav .blockcart a {
    color: #ffffff;
  }

  #header .header-nav .language-selector {
    border-right-color: rgba(255,255,255,0.28);
  }

  #header .header-nav .currency-selector {
    border-right-color: rgba(255,255,255,0.28);
  }

  #header .header-nav .material-icons {
    color: rgba(255,255,255,0.92);
  }

  #header .header-nav .cart-preview.active {
    background: rgba(255,255,255,0.11);
  }

  #header .header-nav .cart-preview.active:hover {
    background: rgba(255,255,255,0.17);
  }

  #header .header-nav .blockcart a:hover,
  #header .header-nav .user-info a:hover,
  #header .header-nav .language-selector:hover,
  #header #_desktop_language_selector:hover {
    color: #d8efff !important;
  }


  /* dropdown języka */
  #header .language-selector .dropdown-menu {
    background: #ffffff;
    border: 1px solid #dce7f1;
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(15, 48, 79, 0.16);
    overflow: hidden;
  }

  #header .language-selector .dropdown-menu .dropdown-item {
    color: #26394b;
  }

  #header .language-selector .dropdown-menu .dropdown-item:hover,
  #header .language-selector .dropdown-menu .current .dropdown-item {
    color: #075ea4 !important;
    background: #edf7ff;
  }


  /* ---------------------------------------------------------
     BIAŁY PASEK LOGO + MENU
     Zachowujemy jego obecne fixed positioning.
     --------------------------------------------------------- */

  #header .header-top > .container {
    background: rgba(255,255,255,0.985);
    border-bottom: 1px solid #e4edf5;
    box-shadow: 0 5px 18px rgba(25, 56, 87, 0.08);
  }

  /* Stara animacja wjazdu logo wygląda mniej współcześnie. */
  #header #_desktop_logo {
    animation: none;
  }

  #header #_desktop_logo .logo {
    filter: none;
  }


  /* ---------------------------------------------------------
     MENU GŁÓWNE
     Bez zmiany szerokości, paddingów i floatów.
     --------------------------------------------------------- */

  #header #_desktop_top_menu .top-menu > li > a,
  #header .header-top a[data-depth="0"] {
    position: relative;
    color: #192f42;
    font-weight: 600;
    text-decoration: none;
    transition:
      color 0.18s ease,
      background-color 0.18s ease;
  }

  #header #_desktop_top_menu .top-menu > li > a:hover,
  #header .header-top a[data-depth="0"]:hover {
    color: #086ab4 !important;
    background: #f5faff;
  }

  #header #_desktop_top_menu .top-menu > li > a::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #1687d9;
    opacity: 0;
    transform: translateY(2px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  #header #_desktop_top_menu .top-menu > li > a:hover::after {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   ONSHOP PREMIUM — HEADER V2.1
   Desktop polish
   ========================================================= */

@media (min-width: 992px) {

  /* spokojniejszy, bardziej premium topbar */
  #header .belka {
    background: linear-gradient(90deg, #073663 0%, #075b9f 55%, #0a6db8 100%);
  }

  /* telefon */
  #header .header-nav #contact-link {
    margin-top: 0.78rem;
    max-width: none;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
  }

  #header .lewabelka {
    padding-left: 20px;
  }

  /* trochę większa wyszukiwarka bez zmiany jej położenia */
  #header #_desktop_search_plugin {
    min-width: 390px;
  }

  #header #_desktop_search_plugin #search_plugin form {
    height: 36px;
    border-radius: 10px;
  }

  #header #_desktop_search_plugin #search_plugin input[type="text"] {
    height: 36px;
    padding-left: 14px;
    padding-right: 12px;
    font-size: 13px;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"] {
    height: 36px;
    min-width: 44px;
  }

  /* prawa strona topbara */
  #header .header-nav .language-selector {
    margin-left: 10px;
    padding-right: 12px;
  }

  #header .header-nav .user-info {
    margin-left: 12px;
    padding-right: 14px;
  }

  #header .header-nav .blockcart {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* pasek logo + menu */
  #header .header-top > .container {
    box-shadow: 0 4px 14px rgba(25, 56, 87, 0.065);
  }

  #header #_desktop_logo {
    padding-left: 22px;
  }

  #header #_desktop_logo .logo {
    max-width: 150px;
  }

  /* menu — trochę lżejsze */
  #header #_desktop_top_menu .top-menu > li > a,
  #header .header-top a[data-depth="0"] {
    color: #243342;
    font-weight: 600;
  }

  #header #_desktop_top_menu .top-menu > li > a::after {
    height: 2px;
    background: #1687d9;
  }

}


/* =========================================================
   ONSHOP PREMIUM — HEADER MOBILE V1
   Skin only — bez zmiany konstrukcji
   ========================================================= */

@media (max-width: 991px) {

  /* Górny pasek z wyszukiwarką */
  #header .belka {
    background: linear-gradient(90deg, #073663 0%, #075b9f 55%, #0a6db8 100%);
    border-bottom: 0;
    box-shadow: 0 3px 12px rgba(6, 44, 79, 0.16);
  }

  /* Wyszukiwarka */
  #header #_desktop_search_plugin #search_plugin form {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 29, 58, 0.14);
  }

  #header #_desktop_search_plugin #search_plugin input[type="text"] {
    background: #ffffff;
    border: 0;
    box-shadow: none;
    color: #20364a;
  }

  #header #_desktop_search_plugin #search_plugin input[type="text"]::placeholder {
    color: #8a99a8;
    opacity: 1;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"] {
    background: #f0f7fd;
    border: 0;
  }

  #header #_desktop_search_plugin #search_plugin button[type="submit"] .material-icons {
    color: #075b9f;
  }

  /* Biały pasek: hamburger / logo / konto / koszyk */
  #header .hidden-md-up.text-xs-center.mobile {
    background: #ffffff;
    border-bottom: 1px solid #e3ebf3;
    box-shadow: 0 4px 12px rgba(20, 52, 82, 0.08);
  }

  #header .header-nav #menu-icon {
    color: #075b9f;
  }

  #header .header-nav #menu-icon .material-icons {
    color: #075b9f;
  }

  #header #_mobile_user_info a,
  #header #_mobile_cart a,
  #header #_mobile_user_info .material-icons,
  #header #_mobile_cart .material-icons {
    color: #075b9f;
  }

  /* Logo zostaje dokładnie obecne */
  #header .header-nav .top-logo a img {
    filter: none;
  }

  /* Menu po otwarciu hamburgera */
  #header #mobile_top_menu_wrapper {
    background: #ffffff;
    border-top: 1px solid #e5edf4;
    box-shadow: 0 12px 24px rgba(20, 52, 82, 0.10);
  }

  #header #mobile_top_menu_wrapper a {
    color: #243646;
  }

}


/* =========================================================
   ONSHOP PREMIUM — MOBILE MENU INTERACTION
   ========================================================= */

@media (max-width: 991px) {

  #header #mobile_top_menu_wrapper .top-menu a,
  #header #mobile_top_menu_wrapper .top-menu a:hover,
  #header #mobile_top_menu_wrapper .top-menu a:focus {
    background: #ffffff !important;
    color: #243646 !important;
  }

  #header #mobile_top_menu_wrapper .top-menu a:active {
    background: #eef7ff !important;
    color: #075b9f !important;
  }

  #header #mobile_top_menu_wrapper .top-menu a:focus-visible {
    outline: 2px solid #1687d9;
    outline-offset: -2px;
    background: #ffffff !important;
  }

}


/* =========================================================
   ONSHOP PREMIUM — MOBILE MENU V1.1
   Finalne dopracowanie interakcji i odstępów
   ========================================================= */

@media (max-width: 991px) {

  /* Mniej pustego miejsca nad pierwszą pozycją */
  #header #mobile_top_menu_wrapper {
    padding-top: 10px;
  }

  /* Kliknięcie/tap nie zostawia technicznej ramki */
  #header #mobile_top_menu_wrapper .top-menu a:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  /* Delikatna reakcja tylko podczas samego naciśnięcia */
  #header #mobile_top_menu_wrapper .top-menu a:active {
    outline: none !important;
    box-shadow: none !important;
    background: #eef7ff !important;
    color: #075b9f !important;
  }

  /* Dostępność dla użytkownika klawiatury */
  #header #mobile_top_menu_wrapper .top-menu a:focus-visible {
    outline: 2px solid #1687d9 !important;
    outline-offset: -2px;
    box-shadow: none !important;
  }

}


/* =========================================================
   ONSHOP PREMIUM — MOBILE MENU V1.2
   Usunięcie legacy odstępu nad rozwiniętym menu
   ========================================================= */

@media (max-width: 991px) {

  #header #mobile_top_menu_wrapper {
    margin-top: -39px !important;
  }

}


/* =========================================================
   ONSHOP PREMIUM — PRODUCT CARDS MOBILE V1
   Listing / kategorie / wyszukiwanie
   ========================================================= */

@media (max-width: 575px) {

  /* 2 produkty w rzędzie */
  #products .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 8px !important;
    margin: 0 !important;
    align-items: stretch !important;
  }

  #products .product-miniature {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Karta */
  #products .thumbnail-container {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #fff !important;
    border: 1px solid #dfe8f1 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(24, 57, 88, .07) !important;
    overflow: hidden !important;
  }

  /* Zdjęcie */
  #products .product-thumbnail {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  #products .product-thumbnail picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  #products .product-thumbnail img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    object-fit: contain !important;
  }

  /* Dolna część */
  #products .product-description {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 137px !important;
    flex: 1 1 auto !important;

    padding: 10px 8px 9px !important;

    display: flex !important;
    flex-direction: column !important;

    background: #fff !important;
    border-top: 1px solid #edf2f6 !important;
    box-shadow: none !important;
  }

  /* Tytuł */
  #products .product-title {
    margin: 0 0 7px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  #products .product-title a {
    font-size: 11.5px !important;
    line-height: 14.5px !important;
    font-weight: 400 !important;
    text-align: center !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Opinie */
  #products .comments_note {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 5px !important;
    text-align: center !important;
    overflow: visible !important;
  }

  #products .comments_note .star_content {
    width: 160px !important;
    height: 32px !important;

    margin-left: calc(50% - 80px) !important;
    margin-right: 0 !important;
    margin-bottom: -7px !important;

    float: none !important;
    display: block !important;

    transform: scale(.70) !important;
    transform-origin: top center !important;
  }

  #products .comments_note > span {
    display: block !important;
    margin-top: 0 !important;

    font-size: 9.5px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    color: #8997a5 !important;
    text-align: center !important;
  }

  /* Cena */
  #products .product-price-and-shipping {
    margin-top: auto !important;
    min-height: 22px !important;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 2px 5px !important;

    font-style: normal !important;
    line-height: 18px !important;
    text-align: center !important;
  }

  #products .product-price-and-shipping .regular-price {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #9ca7b2 !important;
    white-space: nowrap !important;
  }

  #products .product-price-and-shipping .price {
    margin: 0 !important;
    font-size: 14.5px !important;
    line-height: 18px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: #243746 !important;
    white-space: nowrap !important;
  }

  /* Quick View nie ma sensu na dotyku */
  #products .highlighted-informations {
    display: none !important;
  }

  /* Badge */
  #products .product-miniature .onshop-badge.onshop-top-left {
    left: 6px !important;
    top: 8px !important;
    margin-left: 0 !important;
    max-width: calc(100% - 12px) !important;
    box-sizing: border-box !important;
  }

  #products .product-miniature .onshop-badge,
  #products .product-miniature .onshop-badge-inner {
    font-size: 9px !important;
    line-height: 11px !important;
  }

}


/* =========================================================
   ONSHOP PREMIUM — PRODUCT CARDS TABLET V1
   576–899 px: 2 kolumny
   900–991 px: 3 kolumny
   ========================================================= */

@media (min-width: 576px) and (max-width: 991px) {

  #products .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    padding: 0 10px !important;
    margin: 0 !important;
    align-items: stretch !important;
  }

  #products .product-miniature {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  #products .thumbnail-container {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #fff !important;
    border: 1px solid #dfe8f1 !important;
    border-radius: 13px !important;
    box-shadow: 0 4px 16px rgba(24,57,88,.07) !important;
    overflow: hidden !important;
  }

  #products .product-thumbnail {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  #products .product-thumbnail picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  #products .product-thumbnail img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    object-fit: contain !important;
  }

  #products .product-description {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 145px !important;
    flex: 1 1 auto !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 12px 11px 11px !important;
    background: #fff !important;
    border-top: 1px solid #edf2f6 !important;
    box-shadow: none !important;
  }

  #products .product-title {
    margin: 0 0 7px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  #products .product-title a {
    font-size: 12.5px !important;
    line-height: 16px !important;
    font-weight: 400 !important;
    text-align: center !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #products .comments_note {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: 100% !important;
    height: auto !important;
    margin: 0 auto 6px !important;
    padding: 0 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  #products .comments_note .star_content {
    display: block !important;
    float: none !important;

    width: 160px !important;
    height: 32px !important;
    margin: 0 auto -6px !important;

    transform: scale(.74) !important;
    transform-origin: top center !important;
  }

  #products .comments_note > span {
    display: block !important;
    float: none !important;
    position: static !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 10px !important;
    line-height: 14px !important;
    color: #8997a5 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  #products .product-price-and-shipping {
    margin-top: auto !important;
    min-height: 24px !important;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 3px 6px !important;

    font-style: normal !important;
    text-align: center !important;
  }

  #products .regular-price {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    color: #9ca7b2 !important;
    white-space: nowrap !important;
  }

  #products .product-price-and-shipping .price {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    color: #243746 !important;
    white-space: nowrap !important;
  }

  #products .product-miniature .onshop-badge.onshop-top-left {
    left: 8px !important;
    top: 8px !important;
    margin-left: 0 !important;
    max-width: calc(100% - 16px) !important;
  }

  /* Tablet: bez Quick View */
  #products .highlighted-informations {
    display: none !important;
  }

}

/* Od 900 px tablet przechodzi na 3 kolumny */
@media (min-width: 900px) and (max-width: 991px) {

  #products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

}


/* =========================================================
   ONSHOP PREMIUM — PRODUCT CARDS DESKTOP V1
   992–1180 px: 3 kolumny
   1181+ px: 4 kolumny
   ========================================================= */

@media (min-width: 992px) {

  #products .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 !important;
    align-items: stretch !important;
  }

  #products .product-miniature {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #products .thumbnail-container {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #fff !important;
    border: 1px solid #dfe8f1 !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 18px rgba(24,57,88,.07) !important;
    overflow: hidden !important;

    transition:
      transform .2s ease,
      box-shadow .2s ease,
      border-color .2s ease !important;
  }

  #products .thumbnail-container:hover {
    transform: translateY(-3px) !important;
    border-color: #c9dced !important;
    box-shadow: 0 10px 28px rgba(24,57,88,.12) !important;
  }

  #products .product-thumbnail {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  #products .product-thumbnail picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  #products .product-thumbnail img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    object-fit: contain !important;
  }

  #products .product-description {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 150px !important;
    flex: 1 1 auto !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 14px 14px 13px !important;
    background: #fff !important;
    border-top: 1px solid #edf2f6 !important;
    box-shadow: none !important;
  }

  #products .product-title {
    margin: 0 0 8px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  #products .product-title a {
    font-size: 13.5px !important;
    line-height: 17.5px !important;
    font-weight: 400 !important;
    text-align: center !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #products .comments_note {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: 100% !important;
    height: auto !important;
    margin: 0 auto 7px !important;
    padding: 0 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  #products .comments_note .star_content {
    display: block !important;
    float: none !important;

    width: 160px !important;
    height: 32px !important;
    margin: 0 auto -5px !important;

    transform: scale(.76) !important;
    transform-origin: top center !important;
  }

  #products .comments_note > span {
    display: block !important;
    float: none !important;
    position: static !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 10px !important;
    line-height: 14px !important;
    font-weight: 400 !important;
    color: #8997a5 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  #products .product-price-and-shipping {
    margin-top: auto !important;
    min-height: 25px !important;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 3px 7px !important;

    font-style: normal !important;
    text-align: center !important;
  }

  #products .regular-price {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    color: #9ca7b2 !important;
    white-space: nowrap !important;
  }

  #products .product-price-and-shipping .price {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 21px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    color: #243746 !important;
    white-space: nowrap !important;
  }

  #products .product-miniature .onshop-badge.onshop-top-left {
    left: 10px !important;
    top: 10px !important;
    margin-left: 0 !important;
  }

  /* Quick View premium */
  #products .highlighted-informations {
    display: block !important;
    position: absolute !important;

    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;

    width: 38px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-3px) !important;

    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility .18s ease !important;

    z-index: 5 !important;
  }

  #products .thumbnail-container:hover .highlighted-informations {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    bottom: auto !important;
  }

  #products .highlighted-informations::after {
    display: none !important;
  }

  #products .highlighted-informations .quick-view {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #d7e4ef !important;
    border-radius: 50% !important;

    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 5px 15px rgba(24,57,88,.12) !important;

    color: #075b9f !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }

  #products .highlighted-informations .quick-view .material-icons {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 20px !important;
    color: #075b9f !important;
  }

  #products .highlighted-informations .quick-view:hover {
    background: #f2f8fd !important;
    border-color: #b9d5e9 !important;
  }

  #products .highlighted-informations .variant-links {
    display: none !important;
  }

}

/* Desktop/laptop: 3 kolumny do 1180 px */
@media (min-width: 992px) and (max-width: 1180px) {

  #products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}
