/* HikaShop overrides — Edpol */

/* Mobile category module is injected before </body> for legacy menus — never show it in layout */
.hikashop_module.hikamobilne,
#hikashop_module_128 {
  display: none !important;
}

.hikashop_products,
.hikashop_categories {
  display: grid;
  gap: 1.25rem;
}

.hikashop_product,
.hikashop_category {
  background: var(--edpol-bg-card, #1a1a1a);
  border: 1px solid rgba(47, 111, 237, 0.35);
  border-radius: 2px;
  padding: 1rem;
}

.hikashop_product_name a,
.hikashop_category_name a,
.hikashop_product_price_full {
  color: var(--edpol-text, #fff);
}

.hikashop_product_price {
  color: var(--edpol-accent, #2f6fed);
  font-weight: 600;
}

.hikashop_cart,
.hikashop_checkout {
  color: var(--edpol-text-muted, #b0b0b0);
}

.hikashop_cart a,
.hikashop_checkout a {
  color: var(--edpol-accent, #2f6fed);
}

.hikashop_product_page .hikashop_product_name_main {
  color: #fff;
}

#hikashop_checkout_page,
#hikashop_cart_module {
  background: transparent;
}

.hikashop_cart .hikashop_cart_module_button,
.hikashop_product_quantity_button,
.hikashop_cart_input_button,
input.button {
  background: var(--edpol-accent, #2f6fed) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 2px;
}

/* Category cards on homepage module */
.edpol-offer-grid .hikashop_category,
.edpol-offer-grid .edpol-card {
  height: 100%;
}

/* Dark theme cards: category listing (/oferta) + product pages — keep cart/checkout untouched */
#hikashop_category_information_page .hikashop_category,
#hikashop_category_information_page .hikashop_product,
.hikashop_category_listing .hikashop_category,
.hikashop_category_listing .hikashop_product,
.hikashop_products_listing .hikashop_product,
.hikashop_subcategories .hikashop_category,
.hikashop_product_listing_main .hikashop_product,
div.hikashop_products_pagination + .hikashop_products .hikashop_product,
.hikashop_products_page .hikashop_product,
.hikashop_categories_listing .hikashop_category {
  background: var(--edpol-bg-card, #1a1a1a);
  border: 1px solid var(--edpol-border, rgba(47, 111, 237, 0.55));
  border-radius: var(--edpol-radius, 2px);
  color: var(--edpol-text, #fff);
  padding: 1rem;
  box-sizing: border-box;
}

#hikashop_category_information_page .hikashop_category_name a,
#hikashop_category_information_page .hikashop_product_name a,
.hikashop_category_listing .hikashop_category_name a,
.hikashop_category_listing .hikashop_product_name a,
.hikashop_products_listing .hikashop_product_name a,
.hikashop_subcategories .hikashop_category_name a,
.hikashop_product_listing_main .hikashop_product_name a,
.hikashop_categories_listing .hikashop_category_name a {
  color: var(--edpol-text, #fff);
  text-decoration: none;
}

#hikashop_category_information_page .hikashop_category_name a:hover,
#hikashop_category_information_page .hikashop_product_name a:hover,
.hikashop_category_listing .hikashop_category_name a:hover,
.hikashop_category_listing .hikashop_product_name a:hover,
.hikashop_products_listing .hikashop_product_name a:hover,
.hikashop_subcategories .hikashop_category_name a:hover,
.hikashop_product_listing_main .hikashop_product_name a:hover,
.hikashop_categories_listing .hikashop_category_name a:hover {
  color: var(--edpol-accent, #2f6fed);
}

#hikashop_category_information_page .hikashop_product_price,
.hikashop_category_listing .hikashop_product_price,
.hikashop_products_listing .hikashop_product_price,
.hikashop_product_listing_main .hikashop_product_price {
  color: var(--edpol-accent, #2f6fed);
}

/* Do not restyle cart / checkout product rows as cards */
#hikashop_checkout_page .hikashop_product,
#hikashop_cart_module .hikashop_product,
.hikashop_cart .hikashop_product,
.hikashop_checkout .hikashop_product {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

/* Oferta / category listing — compact catalog layout from edpol-podstrona.png */
body.com_hikashop.view-category .edpol-main-wrap {
  padding-top: 0;
}

body.com_hikashop.view-category .edpol-main-wrap::before {
  content: none;
}

body.com_hikashop.view-category .edpol-catalog-head {
  padding-top: 0;
}

body.com_hikashop.view-category .edpol-catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  color: var(--edpol-text-muted);
  font-size: 0.78rem;
}

body.com_hikashop.view-category .edpol-catalog-breadcrumb a {
  color: var(--edpol-text-muted);
}

body.com_hikashop.view-category .edpol-catalog-breadcrumb strong {
  color: var(--edpol-accent);
  font-weight: 500;
}

body.com_hikashop.view-category .edpol-catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 9rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  background-color: #0b0d11;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 24px rgba(0, 0, 0, 0.18);
}

body.com_hikashop.view-category .edpol-catalog-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 80% at 88% 18%, rgba(47, 111, 237, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 65% 60% at 8% 88%, rgba(32, 78, 185, 0.08) 0%, transparent 58%),
    radial-gradient(ellipse 42% 48% at 62% 72%, rgba(72, 132, 255, 0.05) 0%, transparent 52%),
    radial-gradient(ellipse 34% 40% at 22% 24%, rgba(47, 111, 237, 0.05) 0%, transparent 48%),
    linear-gradient(135deg, #0a0c10 0%, #0d1016 45%, #0b0e13 100%);
  content: "";
  pointer-events: none;
}

body.com_hikashop.view-category .edpol-catalog-hero::after {
  position: absolute;
  inset: -15%;
  z-index: 0;
  opacity: 0.28;
  background:
    conic-gradient(from 205deg at 80% 32%, transparent 0deg, rgba(47, 111, 237, 0.04) 48deg, transparent 118deg, rgba(24, 64, 150, 0.03) 196deg, transparent 286deg),
    conic-gradient(from 35deg at 12% 72%, transparent 0deg, rgba(47, 111, 237, 0.03) 72deg, transparent 150deg, rgba(90, 140, 255, 0.025) 230deg, transparent 310deg);
  content: "";
  filter: blur(22px);
  pointer-events: none;
}

body.com_hikashop.view-category .edpol-catalog-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

body.com_hikashop.view-category .edpol-catalog-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.35;
}

body.com_hikashop.view-category .edpol-main-grid--sidebar {
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.75rem;
}

body.com_hikashop.view-category .edpol-sidebar .moduletable {
  margin-bottom: 1.25rem;
  padding: 1.15rem;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(12, 14, 18, 0.82);
}

body.com_hikashop.view-category .edpol-sidebar h3,
body.com_hikashop.view-category .edpol-sidebar .moduletitle {
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* Sidebar categories — dark navigation panel (reference mockup) */
body.com_hikashop.view-category .edpol-sidebar .moduletable.kategorie-lista-hika {
  padding: 1.15rem 0.55rem 0.65rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.6rem;
  background: linear-gradient(145deg, #11151b, #0b0d10) !important;
}

body.com_hikashop.view-category .kategorie-lista-hika.hikashop_module {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.com_hikashop.view-category .moduletable.kategorie-lista-hika > h3 {
  margin: 0 0 0.85rem;
  padding: 0 0.75rem;
  font-size: 0 !important;
  color: #fff;
  letter-spacing: 0.16em;
}

body.com_hikashop.view-category .moduletable.kategorie-lista-hika > h3::after {
  content: "KATEGORIE";
  font-size: 0.95rem;
  font-weight: 600;
}

body.com_hikashop.view-category .kategorie-lista-hika .hikashop_subcategories,
body.com_hikashop.view-category .kategorie-lista-hika .hikashop_subcategories_listing {
  font-size: 0.92rem;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion {
  margin: 0;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group {
  margin: 0;
  border: 0;
  border-radius: 0;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group + .accordion-group {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  margin: 0;
  border-radius: 0;
  transition: background-color 0.15s ease;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading:not(.has-child)::after {
  display: none;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading:hover:not(.edpol-cat-nav-row--active):not(.edpol-cat-nav-row--parent-active) {
  background: rgba(255, 255, 255, 0.04);
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading::before {
  display: inline-flex;
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0 0.55rem 0 0.65rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.15rem;
  content: "";
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group:nth-child(1) .accordion-heading::before {
  background-image: url("../images/icons/categories/cat-zawiasy.svg");
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group:nth-child(2) .accordion-heading::before {
  background-image: url("../images/icons/categories/cat-klamki.svg");
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group:nth-child(3) .accordion-heading::before {
  background-image: url("../images/icons/categories/cat-samozamykacze.svg");
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group:nth-child(4) .accordion-heading::before {
  background-image: url("../images/icons/categories/cat-automatyka.svg");
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group:nth-child(5) .accordion-heading::before {
  background-image: url("../images/icons/categories/cat-elementy.svg");
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-group:nth-child(6) .accordion-heading::before {
  background-image: url("../images/icons/categories/cat-pochwyty.svg");
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading::after {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  content: "›";
  font-size: 1.45rem;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-52%);
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading > h4 {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.25;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-toggle {
  display: none;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading > h4 > a:not(.accordion-toggle),
body.com_hikashop.view-category .kategorie-lista-hika .hikashop_category_list_item_link {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 0.65rem 2rem 0.65rem 0;
  color: #f3f5f7;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-body {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner:not(:has(.hikashop_category_list)) {
  display: none !important;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-body.edpol-cat-nav-body--empty,
body.com_hikashop.view-category .kategorie-lista-hika .accordion-body:not(:has(.hikashop_category_list)) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner {
  display: block;
  padding: 0.1rem 0 0.45rem;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list {
  margin: 0 0 0 2.75rem;
  padding: 0 0.55rem 0.15rem 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list_item {
  margin: 0 0 0.12rem;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list_item_link {
  padding: 0.45rem 0.65rem;
  color: rgba(243, 245, 247, 0.82);
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 0.3rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list_item_link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list_item.edpol-cat-nav-row--active {
  background: transparent;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list_item.edpol-cat-nav-row--active .hikashop_category_list_item_link {
  background: linear-gradient(90deg, #1558e8 0%, #1046b8 100%);
  color: #fff;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading.edpol-cat-nav-row--parent-active {
  background: rgba(47, 111, 237, 0.14);
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading.edpol-cat-nav-row--parent-active > h4 > a:not(.accordion-toggle) {
  color: #fff;
  font-weight: 600;
}

body.com_hikashop.view-category .kategorie-lista-hika .edpol-cat-nav-row--active {
  background: linear-gradient(90deg, #1558e8 0%, #1046b8 100%);
  border-radius: 0;
}

body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading.edpol-cat-nav-row--active {
  border-radius: 0;
}

body.com_hikashop.view-category .kategorie-lista-hika .edpol-cat-nav-row--active::before {
  background-color: rgba(0, 0, 0, 0.2);
}

body.com_hikashop.view-category .kategorie-lista-hika .edpol-cat-nav-row--active::after {
  color: #7eb4ff;
}

body.com_hikashop.view-category .kategorie-lista-hika .edpol-cat-nav-row--active a {
  color: #fff;
  font-weight: 600;
}

/* Filter panel — dark sidebar (edpol-podstrona mockup) */
body.com_hikashop.view-category .edpol-sidebar .moduletable.filtrywkolumna {
  padding: 1.15rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.6rem;
  background: linear-gradient(145deg, #11151b, #0b0d10) !important;
}

body.com_hikashop.view-category .filtrywkolumna.hikashop_module,
body.com_hikashop.view-category .moduletable.filtrywkolumna .hikashop_filter_module {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.com_hikashop.view-category .moduletable.filtrywkolumna > h3 {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0 !important;
  letter-spacing: 0.16em;
}

body.com_hikashop.view-category .moduletable.filtrywkolumna > h3::after {
  content: "FILTRY";
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_collapsable_title_mobile,
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_fieldset h3,
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Czegoszukasz_1 {
  display: none !important;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_div {
  padding: 0;
  border: 0;
  background: transparent;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main {
  float: none !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_title {
  display: block;
  margin: 0 0 0.65rem;
  color: #f6f7f9;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_Cena_2 > br,
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_Sortuj_3 > br,
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_Kolor_5 > br,
body.com_hikashop.view-category .filtrywkolumna .filter_values_container > br {
  display: none;
}

/* Cena — slider + dwa pola pod spodem */
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_Cena_2 {
  font-size: 0;
  line-height: 0;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_Cena_2 > * {
  font-size: 0.92rem;
  line-height: normal;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_cursor_range {
  display: none !important;
}

body.com_hikashop.view-category .filtrywkolumna [id^="slider_Cena_"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0.15rem 0 0.75rem !important;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  height: 1.35rem;
}

body.com_hikashop.view-category .filtrywkolumna .noUi-target {
  height: 1.35rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.com_hikashop.view-category .filtrywkolumna .noUi-connects {
  top: 50%;
  height: 0.3rem;
  border-radius: 1rem;
  background: #2a3140;
  transform: translateY(-50%);
}

body.com_hikashop.view-category .filtrywkolumna .noUi-connect {
  background: var(--edpol-accent);
}

body.com_hikashop.view-category .filtrywkolumna .noUi-handle {
  top: 50% !important;
  right: -0.55rem !important;
  width: 1rem;
  height: 1rem;
  border: 0;
  border-radius: 50%;
  background: var(--edpol-accent);
  box-shadow: none;
  transform: translateY(-50%);
}

body.com_hikashop.view-category .filtrywkolumna .noUi-handle::before,
body.com_hikashop.view-category .filtrywkolumna .noUi-handle::after,
body.com_hikashop.view-category .filtrywkolumna .noUi-tooltip {
  display: none !important;
}

body.com_hikashop.view-category .filtrywkolumna .edpol-filter-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

body.com_hikashop.view-category .filtrywkolumna .edpol-filter-price-inputs input {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.3rem;
  background: #0d1015;
  color: #fff;
  font-size: 0.82rem;
  text-align: center;
}

/* Sortuj — select zamiast radio */
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Sortuj_3 .filter_values_container {
  display: none !important;
}

body.com_hikashop.view-category .filtrywkolumna .edpol-filter-sort-select {
  width: 100%;
  min-height: 2.45rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.3rem;
  background: #0d1015 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") calc(100% - 0.65rem) center / 0.9rem no-repeat;
  color: #fff;
  font-size: 0.84rem;
  appearance: none;
  cursor: pointer;
}

/* Kolor — kółka + etykieta, bez checkboxów */
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 .filter_values_container {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 .hikashop_filter_checkbox {
  display: block;
  margin: 0;
  padding: 0;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.15rem 0;
  color: #f0f2f5;
  font-size: 0.88rem;
  line-height: 1.2;
  cursor: pointer;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 label img {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  flex: 0 0 1.15rem;
  border-radius: 50%;
  object-fit: cover;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 input[type="checkbox"]:checked + label {
  color: #fff;
  font-weight: 600;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_main_Kolor_5 input[type="checkbox"]:checked + label img {
  box-shadow: 0 0 0 2px var(--edpol-accent);
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_button_outside {
  display: block;
  margin: 0.25rem 0 0;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_button_outside .hikabtn,
body.com_hikashop.view-category .filtrywkolumna .hikashop_filter_button_outside input[type="submit"] {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 0.3rem;
  background: var(--edpol-accent) !important;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

body.com_hikashop.view-category .filtrywkolumna .hikashop_reset_button_outside {
  display: none;
}

body.com_hikashop.view-category .filtrywkolumna {
  font-size: 0.82rem;
}

/* Main content — hide duplicate HikaShop filters (sidebar only, per mockup) */
body.com_hikashop.view-category .edpol-content .hikashop_filter_collapsable_title,
body.com_hikashop.view-category .edpol-content .hikashop_filter_collapsable_title_mobile,
body.com_hikashop.view-category .edpol-content .hikashop_filter_main_div,
body.com_hikashop.view-category .edpol-content .hikashop_filter_fieldset,
body.com_hikashop.view-category .edpol-content .hikashop_filter_fieldset_mobile,
body.com_hikashop.view-category .edpol-content .hikashop_filter_button_outside {
  display: none !important;
}

/* Override HikaShop inline white card backgrounds */
body.com_hikashop.view-category .edpol-content [id^="hikashop_category_information"] div.hikashop_subcontainer,
body.com_hikashop.view-category .edpol-content [id^="hikashop_category_information"] .hikashop_rtop *,
body.com_hikashop.view-category .edpol-content [id^="hikashop_category_information"] .hikashop_rbottom *,
body.com_hikashop.view-category .edpol-main-bottom [id^="hikashop_category_information"] div.hikashop_subcontainer,
body.com_hikashop.view-category .edpol-main-bottom [id^="hikashop_category_information"] .hikashop_rtop *,
body.com_hikashop.view-category .edpol-main-bottom [id^="hikashop_category_information"] .hikashop_rbottom * {
  background: transparent !important;
  text-align: left !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_submodules > [id$="_module_"]:not([id*="_module_13"]):not([id*="_module_130"]) .hikashop_products_listing {
  margin-top: 0;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing_main > .hikashop_products_listing::before {
  display: block;
  margin: 0 0 1rem;
  color: #fff;
  content: "WSZYSTKIE PRODUKTY";
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hk-row-fluid,
body.com_hikashop.view-category .edpol-content .hikashop_submodules .hikashop_products .hk-row-fluid,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing > .hikashop_products > .hk-row-fluid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  align-items: stretch;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hkc-md-3,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hkc-md-4,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hkc-md-6,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hkc-md-12 {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_container,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_subcontainer {
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_product {
  display: block !important;
  height: 100%;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
}

/* Product card — vertical tile (mockup) */
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card {
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.35rem;
  background: #0d1014;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.25);
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1rem 0.85rem 1.1rem;
  color: #fff;
  text-decoration: none;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__media {
  display: flex;
  flex: 0 0 11.5rem;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 11.5rem !important;
  min-height: 11.5rem;
  max-height: 11.5rem;
  margin: 0 0 0.85rem !important;
  padding: 0.7rem;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #fff !important;
  box-sizing: border-box;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__media .hikashop_product_image_subdiv,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__media img,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__media .hikashop_product_listing_image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 0.15rem;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card .hikashop_badge_div,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card .hikashop_badge {
  display: none !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__title,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__title a {
  display: block;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 0.15rem;
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_product_price_full,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_product_price,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_product_price_per_unit,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_product_code_list,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-row__aside,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-row__cta {
  display: none !important;
}

body.com_hikashop.view-category .edpol-content {
  display: flex;
  flex-direction: column;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_products_listing > .hk-row-fluid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_products_listing .hkc-md-12 {
  width: auto !important;
  max-width: 100% !important;
  grid-column: auto !important;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product {
  display: block !important;
  min-height: 0;
  padding: 0.75rem;
  border: 1px solid rgba(47, 111, 237, 0.35) !important;
  border-radius: 0.25rem;
  background: #11151b !important;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image {
  height: 7.5rem !important;
  margin-bottom: 0.5rem;
  background: #171b20 !important;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image img {
  width: 100%;
  height: 7.5rem;
  object-fit: contain;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_name a {
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Category grid — kafelki jak na mockupie (4 kolumny, zdjęcie + tytuł + strzałka) */
body.com_hikashop.view-category .edpol-content > .hikashop_category_information:has(.hikashop_subcategories_listing .edpol-card) {
  order: -2;
  margin-bottom: 1.5rem;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .accordion {
  display: none !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_subcategories,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hk-row-fluid,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_container,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_subcontainer,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_category,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing [class*="hkc-"],
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_rtop,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_rbottom {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing > .hikashop_subcategories > .hk-row-fluid,
body.com_hikashop.view-category #hikashop_category_information_menu_573 > .hikashop_subcategories_listing > .hikashop_subcategories > .hk-row-fluid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  align-items: stretch;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  position: relative !important;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: 100%;
  aspect-ratio: 3 / 4.2;
  padding: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.75rem;
  background: #12151c !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:hover,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:focus-within {
  border-color: var(--edpol-accent) !important;
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.45);
  transform: translateY(-2px);
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--active {
  border-color: var(--edpol-accent) !important;
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.55);
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__media,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .hikashop_category_image.edpol-card__media {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #12151c !important;
  overflow: hidden !important;
  z-index: 0;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__media img,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--offer-swap .edpol-card__img--schema {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--offer-swap .edpol-card__img--photo {
  opacity: 1;
  z-index: 2;
  background-color: #fff !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--offer-swap:hover .edpol-card__media,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--offer-swap:focus-within .edpol-card__media {
  background: #fff !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--offer-swap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.45) 55%, transparent 100%);
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__title,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__arrow {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__title {
  margin: 0;
  padding-top: 0.85rem;
  min-height: 3.1rem;
  display: flex;
  align-items: flex-end;
  font-family: var(--edpol-font);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__arrow {
  margin-top: 0.75rem;
  margin-bottom: 1.05rem;
  color: var(--edpol-accent);
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__arrow svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

/* Catalog grid cards — stacked layout (photo on top, title below) */
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  background: #0f1218 !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog::after {
  display: none !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__media,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .hikashop_category_image.edpol-card__media {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100% !important;
  height: auto !important;
  min-height: 7.5rem;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  padding: 0.55rem 0.65rem !important;
  background: #fff !important;
  overflow: hidden !important;
  border-radius: 0;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__media img,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__img {
  position: relative !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog.edpol-card--offer-swap .edpol-card__img--schema {
  display: none !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog.edpol-card--offer-swap .edpol-card__img--photo {
  opacity: 1 !important;
  background: transparent !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__title {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.5rem 0.8rem 0 !important;
  align-items: flex-start !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  font-weight: 600;
  line-height: 1.28 !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__arrow {
  margin-top: 0.2rem !important;
  margin-bottom: 0.55rem !important;
  padding-left: 0.8rem !important;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing br,
body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing div[style*="clear"] {
  display: none !important;
}

body.com_hikashop.view-category .edpol-sidebar .zobacztakzeproduktylewo,
body.com_hikashop.view-category .edpol-sidebar .ostatnioogladanelewo,
body.com_hikashop.view-category .edpol-sidebar .kolumna-lewo,
body.com_hikashop.view-product .edpol-sidebar .zobacztakzeproduktylewo,
body.com_hikashop.view-product .edpol-sidebar .ostatnioogladanelewo,
body.com_hikashop.view-product .edpol-sidebar .kolumna-lewo,
body.com_hikashop .edpol-sidebar .mod-loginsupport {
  display: none !important;
}

/* Catalog-only: no cart form chrome on product page */
body.com_hikashop.view-product #hikashop_product_form > input[type="hidden"] {
  display: none;
}

body.com_hikashop.view-category .hikashop_products_listing {
  margin-top: 1rem;
}

body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_listing_img_title:not(.edpol-product-card) .hikashop_product_price_full,
body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hikashop_listing_img_title:not(.edpol-product-card) .hikashop_product_price {
  display: none !important;
}

/* Product strip below the category tiles, matching "Polecane produkty". */
body.com_hikashop.view-category .edpol-main-bottom {
  margin-top: 0;
}

body.com_hikashop.view-category .edpol-main-bottom .moduletable > h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body.com_hikashop.view-category .edpol-main-bottom .hk-row-fluid {
  display: contents;
}

body.com_hikashop.view-category .edpol-main-bottom .hkc-md-12 {
  width: auto !important;
  min-width: 0;
  grid-column: span 1 !important;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product {
  min-height: 12rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.3rem;
  background: #11151b;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image {
  height: 7.5rem !important;
  background: #171b20;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image_subdiv,
body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image img {
  width: 100% !important;
  height: 7.5rem;
  object-fit: contain;
}

body.com_hikashop.view-category .edpol-main-bottom div.hikashop_container,
body.com_hikashop.view-category .edpol-main-bottom div.hikashop_subcontainer,
body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image,
body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image_subdiv {
  background: #171b20 !important;
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_image img {
  filter: invert(1) grayscale(0.15) contrast(1.08);
}

body.com_hikashop.view-category .edpol-main-bottom .hikashop_product_name {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  body.com_hikashop.view-category .edpol-catalog-head {
    margin-bottom: 0.75rem;
  }

  body.com_hikashop.view-category .edpol-catalog-hero {
    padding: 1.25rem 1rem;
  }

  body.com_hikashop.view-category .edpol-catalog-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  body.com_hikashop.view-category .edpol-catalog-hero p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  body.com_hikashop.view-category .edpol-main-grid--sidebar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.com_hikashop.view-category .edpol-sidebar {
    display: block;
  }

  body.com_hikashop.view-category .edpol-sidebar .moduletable {
    margin: 0 0 1rem;
  }

  body.com_hikashop.view-category .edpol-sidebar .moduletable.kategorie-lista-hika {
    padding: 0.85rem 0.35rem 0.5rem !important;
  }

  body.com_hikashop.view-category .moduletable.kategorie-lista-hika.edpol-cat-sidebar--mobile {
    padding: 0 !important;
    overflow: hidden;
  }

  body.com_hikashop.view-category .moduletable.kategorie-lista-hika.edpol-cat-sidebar--mobile > h3 {
    display: none;
  }

  body.com_hikashop.view-category .edpol-cat-sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.95rem 0.9rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
  }

  body.com_hikashop.view-category .edpol-cat-sidebar__toggle-chevron {
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: -0.15rem;
    border-right: 2px solid rgba(255, 255, 255, 0.72);
    border-bottom: 2px solid rgba(255, 255, 255, 0.72);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  body.com_hikashop.view-category .edpol-cat-sidebar--mobile:not(.edpol-cat-sidebar--collapsed) .edpol-cat-sidebar__toggle-chevron {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
  }

  body.com_hikashop.view-category .edpol-cat-sidebar--mobile.edpol-cat-sidebar--collapsed .edpol-cat-sidebar__panel {
    display: none;
  }

  body.com_hikashop.view-category .edpol-cat-sidebar--mobile:not(.edpol-cat-sidebar--collapsed) .edpol-cat-sidebar__panel {
    padding: 0 0.35rem 0.5rem;
  }

  body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading {
    min-height: 2.65rem;
  }

  body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading::before {
    flex: 0 0 1.85rem;
    width: 1.85rem;
    height: 1.85rem;
    margin: 0 0.45rem 0 0.55rem;
    background-size: 1rem;
  }

  body.com_hikashop.view-category .kategorie-lista-hika .accordion-heading > h4 > a,
  body.com_hikashop.view-category .kategorie-lista-hika .hikashop_category_list_item_link {
    font-size: 0.88rem;
    line-height: 1.3;
    padding-right: 0.5rem;
  }

  body.com_hikashop.view-category .kategorie-lista-hika .accordion-inner .hikashop_category_list_item_link {
    font-size: 0.82rem;
    padding-left: 2.75rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing > .hikashop_subcategories > .hk-row-fluid,
  body.com_hikashop.view-category #hikashop_category_information_menu_573 > .hikashop_subcategories_listing > .hikashop_subcategories > .hk-row-fluid,
  body.com_hikashop.view-category [id^="hikashop_category_information"] > .hikashop_subcategories_listing > .hikashop_subcategories > .hk-row-fluid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:not(.edpol-card--catalog) {
    aspect-ratio: 3 / 3.8;
    border-radius: 0.55rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__media {
    min-height: 6.5rem;
    aspect-ratio: 1 / 1;
    padding: 0.45rem 0.5rem !important;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__title {
    padding: 0.4rem 0.65rem 0 !important;
    font-size: clamp(0.98rem, 3.8vw, 1.1rem) !important;
    line-height: 1.22 !important;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:not(.edpol-card--catalog) .edpol-card__title {
    min-height: 0;
    padding: 0.65rem 0.7rem 0;
    font-size: 0.8rem;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__arrow {
    margin-top: 0.15rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 0.65rem !important;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:not(.edpol-card--catalog) .edpol-card__arrow {
    margin-top: 0.45rem;
    margin-bottom: 0.7rem;
    padding-left: 0.7rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card__arrow svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_products_listing .hk-row-fluid,
  body.com_hikashop.view-category .edpol-content .hikashop_submodules .hikashop_products .hk-row-fluid,
  body.com_hikashop.view-category .edpol-content .hikashop_products_listing > .hikashop_products > .hk-row-fluid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__media {
    flex: 0 0 7.25rem;
    height: 7.25rem !important;
    min-height: 7.25rem;
    max-height: 7.25rem;
    margin-bottom: 0.5rem !important;
    padding: 0.4rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__link {
    padding: 0.6rem 0.5rem 0.7rem;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__title,
  body.com_hikashop.view-category .edpol-content .hikashop_products_listing .edpol-product-card__title a {
    font-size: clamp(0.78rem, 3.2vw, 0.9rem);
    line-height: 1.25;
    word-break: break-word;
    text-align: center;
  }

  body.com_hikashop.view-category .edpol-main-bottom .hikashop_products_listing > .hk-row-fluid,
  body.com_hikashop.view-category .edpol-main-bottom .hikashop_products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) {
  body.com_hikashop.view-category .edpol-cat-sidebar__toggle {
    display: none;
  }
}

@media (max-width: 559px) {
  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__media {
    min-height: 6rem;
    aspect-ratio: 1 / 1;
    padding: 0.4rem 0.45rem !important;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card--catalog .edpol-card__title {
    font-size: clamp(0.98rem, 4.1vw, 1.1rem) !important;
    padding: 0.38rem 0.58rem 0 !important;
    line-height: 1.22 !important;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:not(.edpol-card--catalog) {
    aspect-ratio: 3 / 4.1;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:not(.edpol-card--catalog) .edpol-card__title {
    font-size: 0.72rem;
    min-height: 0;
    padding: 0.55rem 0.55rem 0;
  }

  body.com_hikashop.view-category .edpol-content .hikashop_subcategories_listing .edpol-card:not(.edpol-card--catalog) .edpol-card__arrow {
    margin-top: 0.35rem;
    margin-bottom: 0.55rem;
    padding-left: 0.55rem;
  }
}

/* Product page — catalog only (no cart, price, votes) */
body.com_hikashop.view-product .hikashop_product_price_main,
body.com_hikashop.view-product .hikashop_product_price_with_options_main,
body.com_hikashop.view-product .hikashop_product_quantity_main,
body.com_hikashop.view-product .hikashop_product_quantity_main_alt,
body.com_hikashop.view-product .hikashop_product_contact_main,
body.com_hikashop.view-product .hikashop_product_vote,
body.com_hikashop.view-product .hikashop_badge,
body.com_hikashop.view-product .hikashop_badges,
body.com_hikashop.view-product .hikashop_wishlist,
body.com_hikashop.view-product .hikashop_product_stock,
body.com_hikashop.view-product .hikashop_product_code_main,
body.com_hikashop.view-product .hikashop_product_quantity_field,
body.com_hikashop.view-product .hikashop_add_to_cart,
body.com_hikashop.view-product .hikashop_product_quantity_div {
  display: none !important;
}

body.com_hikashop.view-product .hikashop_product_page {
  color: #e8eaed;
}

body.com_hikashop.view-product .edpol-product-back {
  margin: 0 0 1.25rem;
}

body.com_hikashop.view-product .edpol-product-back__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.com_hikashop.view-product .edpol-product-back__link:hover {
  color: #fff;
  text-decoration: none;
}

body.com_hikashop.view-product .edpol-product-back__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

body.com_hikashop.view-product .hikashop_product_top_part.edpol-product-top {
  display: none;
}

/* Two columns: gallery left, description right */
body.com_hikashop.view-product .edpol-product-layout.hk-row-fluid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 2.5rem;
  align-items: start;
  margin: 0 !important;
}

body.com_hikashop.view-product .edpol-product-layout > .hikashop_product_left_part,
body.com_hikashop.view-product .edpol-product-layout > .hikashop_product_right_part {
  grid-column: auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  float: none !important;
}

body.com_hikashop.view-product .edpol-product-bottom {
  display: none;
}

body.com_hikashop.view-product .hikashop_product_left_part {
  min-width: 0;
}

/* Gallery — main image + row of square thumbnails */
body.com_hikashop.view-product .hikashop_global_image_div {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

body.com_hikashop.view-product .hikashop_main_image_div {
  width: 100%;
}

body.com_hikashop.view-product .hikashop_product_main_image_thumb {
  height: auto !important;
  min-height: 0 !important;
}

body.com_hikashop.view-product .hikashop_product_main_image,
body.com_hikashop.view-product .hikashop_product_main_image_subdiv {
  background: #fff !important;
  border-radius: 0.35rem;
}

body.com_hikashop.view-product .hikashop_product_main_image_subdiv {
  padding: 0.85rem;
}

body.com_hikashop.view-product .hikashop_product_main_image_subdiv img,
body.com_hikashop.view-product .hikashop_product_main_image_subdiv picture {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 22rem;
  margin: 0 auto !important;
  object-fit: contain;
}

body.com_hikashop.view-product .hikashop_img_mode_classic a.hikashop_slide_prev,
body.com_hikashop.view-product .hikashop_img_mode_classic a.hikashop_slide_next,
body.com_hikashop.view-product .hikashop_img_mode_classic a.hikashop_slide_prev_active,
body.com_hikashop.view-product .hikashop_img_mode_classic a.hikashop_slide_next_active {
  display: none !important;
}

body.com_hikashop.view-product .hikashop_small_image_div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

body.com_hikashop.view-product .hikashop_small_image_div a {
  display: block;
  flex: 0 0 4.75rem;
  width: 4.75rem;
  height: 4.75rem;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.3rem;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
}

body.com_hikashop.view-product .hikashop_small_image_div a.hikashop_active_thumbnail {
  border-color: #2f6fed;
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.45);
}

body.com_hikashop.view-product .hikashop_small_image_div a picture {
  display: block;
  width: 100%;
  height: 100%;
}

body.com_hikashop.view-product .hikashop_small_image_div a img,
body.com_hikashop.view-product .hikashop_small_image_div img.hikashop_child_image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain;
  object-position: center;
}

body.com_hikashop.view-product .edpol-product-info h1.edpol-product-title {
  margin: 0 0 0.85rem;
  padding: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

body.com_hikashop.view-product .edpol-product-info h1.edpol-product-title::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.55rem;
  background: #2f6fed;
  border-radius: 1px;
}

body.com_hikashop.view-product .hikashop_product_name_main {
  color: inherit;
}

body.com_hikashop.view-product .edpol-product-docs-wrap {
  margin: 1.1rem 0 0;
  padding-top: 0.15rem;
}

body.com_hikashop.view-product .edpol-product-docs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

body.com_hikashop.view-product .edpol-product-docs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  color: #5b9fff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.com_hikashop.view-product .edpol-product-docs__link:hover {
  color: #8bb8ff;
  text-decoration: none;
}

body.com_hikashop.view-product .edpol-product-docs__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  object-fit: contain;
}

body.com_hikashop.view-product .edpol-product-docs__label {
  flex: 1 1 auto;
}

body.com_hikashop.view-product .hikashop_product_description_main {
  margin-top: 0;
  color: #d5d9df;
  font-size: 0.95rem;
  line-height: 1.55;
}

body.com_hikashop.view-product .edpol-product-features {
  margin: 0;
  padding-left: 1.15rem;
}

body.com_hikashop.view-product .edpol-product-features li {
  margin-bottom: 0.35rem;
}

body.com_hikashop.view-product .hikashop_product_bottom_part {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

@media (max-width: 767px) {
  body.com_hikashop.view-product .edpol-product-layout.hk-row-fluid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
}
