/* ==========================================================================

   Happy Layers Prints - Dual Theme Engine (Dark & Light Mode)

   ========================================================================== */



/* --------------------------------------------------------------------------

   1. Floating Theme Toggle Switcher Button

   -------------------------------------------------------------------------- */

.hlp-theme-toggle-wrap {

  position: fixed;

  bottom: 80px; /* Sits conveniently above the scroll-to-top button */

  right: 20px;

  z-index: 99998;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}



.hlp-theme-toggle-btn {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  height: 42px;

  padding: 0 14px 0 10px;

  border-radius: 9999px;

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  outline: none;

  border: 1px solid rgba(255, 255, 255, 0.15);

  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

  user-select: none;

}



/* Toggle in Dark Mode (prompting to switch to Light) */

html[data-theme="dark"] .hlp-theme-toggle-btn,

html:not([data-theme="light"]) .hlp-theme-toggle-btn {

  background-color: #232d3d;

  color: #f1f5f9;

  border-color: rgba(255, 255, 255, 0.2);

}



html[data-theme="dark"] .hlp-theme-toggle-btn:hover,

html:not([data-theme="light"]) .hlp-theme-toggle-btn:hover {

  background-color: #2d3748;

  border-color: #58bd8e;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

  transform: translateY(-2px);

}



html[data-theme="dark"] .hlp-icon-sun,

html:not([data-theme="light"]) .hlp-icon-sun {

  display: inline-flex;

  color: #f59e0b; /* Golden sun */

  animation: hlp-pulse 2s infinite ease-in-out;

}



html[data-theme="dark"] .hlp-icon-moon,

html:not([data-theme="light"]) .hlp-icon-moon {

  display: none;

}



/* Toggle in Light Mode (prompting to switch to Dark) */

html[data-theme="light"] .hlp-theme-toggle-btn {

  background-color: #ffffff;

  color: #0f172a;

  border-color: #cbd5e1;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

}



html[data-theme="light"] .hlp-theme-toggle-btn:hover {

  background-color: #f8fafc;

  border-color: #1e5e4d;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);

  transform: translateY(-2px);

}



html[data-theme="light"] .hlp-icon-sun {

  display: none;

}



html[data-theme="light"] .hlp-icon-moon {

  display: inline-flex;

  color: #6366f1; /* Indigo moon */

}



.hlp-theme-toggle-btn:focus-visible {

  outline: 3px solid #1e5e4d !important;

  outline-offset: 3px !important;

}



@keyframes hlp-pulse {

  0%, 100% { transform: scale(1); }

  50% { transform: scale(1.1); }

}



@media (max-width: 600px) {

  .hlp-theme-toggle-btn .hlp-toggle-label {

    display: none;

  }

  .hlp-theme-toggle-btn {

    padding: 0;

    width: 42px;

    height: 42px;

    justify-content: center;

  }

}



/* --------------------------------------------------------------------------

   2. LIGHT THEME DEFINITIONS (html[data-theme="light"])

   -------------------------------------------------------------------------- */

html[data-theme="light"] {

  --global-palette1: #1e5e4d;

  --global-palette2: #164a3d;

  --global-palette3: #0f172a;

  --global-palette4: #ffffff;

  --global-palette5: #f8fafc;

  --global-palette6: #64748b;

  --global-palette7: #ffffff;

  --global-palette8: #f1f5f9;

  --global-palette9: #ffffff;

}



/* Global Background and Base Colors */

html[data-theme="light"] body,

html[data-theme="light"] #wrapper,

html[data-theme="light"] .site {

  background-color: #f8fafc !important;

  color: #334155 !important;

}



/* Header in Light Mode */

html[data-theme="light"] #masthead,

html[data-theme="light"] .site-header,

html[data-theme="light"] .site-main-header-wrap {

  background-color: #ffffff !important;

  border-bottom: 1px solid #e2e8f0 !important;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;

}



html[data-theme="light"] #masthead .site-title a,

html[data-theme="light"] #masthead .main-navigation a,

html[data-theme="light"] #masthead .header-cart-icon,

html[data-theme="light"] #masthead .header-search-icon,

html[data-theme="light"] #masthead svg {

  color: #0f172a !important;

  fill: currentColor !important;

}



html[data-theme="light"] #masthead .main-navigation a:hover,

html[data-theme="light"] #masthead .main-navigation .current-menu-item > a {

  color: #1e5e4d !important;

}



/* Header in Dark Mode: aktywna pozycja menu (np. Promocje) - Kadence daje palette2 (#003174), kontrast 1.3:1 na ciemnym tle */
html:not([data-theme="light"]) #masthead .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  color: var(--global-palette1);
}

/* Dropdown Navigation Menu in Light Mode */

html[data-theme="light"] .main-navigation ul ul.sub-menu {

  background-color: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;

}



html[data-theme="light"] .main-navigation ul ul.sub-menu a {

  color: #334155 !important;

}



html[data-theme="light"] .main-navigation ul ul.sub-menu a:hover {

  background-color: #f1f5f9 !important;

  color: #1e5e4d !important;

}



/* Headings & Text */

html[data-theme="light"] h1,

html[data-theme="light"] h2,

html[data-theme="light"] h3,

html[data-theme="light"] h4,

html[data-theme="light"] h5,

html[data-theme="light"] h6,

html[data-theme="light"] .wp-block-heading,

html[data-theme="light"] .kt-adv-heading {

  color: #0f172a !important;

}



html[data-theme="light"] p,

html[data-theme="light"] .entry-content p {

  color: #334155 !important;

}



/* Homepage Row Layouts & Cards */

html[data-theme="light"] .wp-block-kadence-rowlayout,

html[data-theme="light"] .kt-row-column-wrap {

  background-color: transparent !important;

}



html[data-theme="light"] .has-theme-palette7-background-color,

html[data-theme="light"] .has-theme-palette8-background-color,

html[data-theme="light"] .has-theme-palette9-background-color {

  background-color: #f1f5f9 !important;

}



/* 4 Benefit Cards on Homepage */

html[data-theme="light"] .kt-info-box-column > .kt-blocks-info-box-link-wrap {

  background-color: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;

}



html[data-theme="light"] .kt-blocks-info-box-title {

  color: #0f172a !important;

}



html[data-theme="light"] .kt-blocks-info-box-text {

  color: #64748b !important;

}



/* ==========================================================================

   Homepage Category Cards - Light Mode (Option B: Frosted Glass Badge)

   ========================================================================== */

/* Heading (Top part of badge) */

html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col .wp-block-kadence-advancedheading,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col .wp-block-kadence-advancedheading,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col .wp-block-kadence-advancedheading,

html[data-theme="light"] .kt-adv-heading974_aa7b54-60,

html[data-theme="light"] .kt-adv-heading974_9e6595-5a,

html[data-theme="light"] .kt-adv-heading974_33a051-49,

html[data-theme="light"] .kt-adv-heading974_56cee1-88,

html[data-theme="light"] .kt-adv-heading974_bf3481-0e,

html[data-theme="light"] .kt-adv-heading974_950633-0c {

  background: rgba(255, 255, 255, 0.94) !important;

  color: #0f172a !important;

  backdrop-filter: blur(8px) !important;

  -webkit-backdrop-filter: blur(8px) !important;

  border-top-left-radius: 8px !important;

  border-top-right-radius: 8px !important;

  border: 1px solid rgba(203, 213, 225, 0.8) !important;

  border-bottom: none !important;

  margin-top: auto !important;

  margin-bottom: 0 !important;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;

}



html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col .wp-block-kadence-advancedheading strong,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col .wp-block-kadence-advancedheading strong,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col .wp-block-kadence-advancedheading strong,

html[data-theme="light"] .kt-adv-heading974_aa7b54-60 strong,

html[data-theme="light"] .kt-adv-heading974_9e6595-5a strong,

html[data-theme="light"] .kt-adv-heading974_33a051-49 strong,

html[data-theme="light"] .kt-adv-heading974_56cee1-88 strong,

html[data-theme="light"] .kt-adv-heading974_bf3481-0e strong,

html[data-theme="light"] .kt-adv-heading974_950633-0c strong {

  color: #0f172a !important;

}



/* Paragraph (Bottom part of badge) */

html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col p,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col p,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col p {

  background-color: rgba(255, 255, 255, 0.94) !important;

  color: #0f172a !important;

  backdrop-filter: blur(8px) !important;

  -webkit-backdrop-filter: blur(8px) !important;

  border-bottom-left-radius: 8px !important;

  border-bottom-right-radius: 8px !important;

  border: 1px solid rgba(203, 213, 225, 0.8) !important;

  border-top: none !important;

  margin-top: 0 !important;

  margin-bottom: 0 !important;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;

}



/* Link "Więcej" */

html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col p a,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col p a,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col p a,

html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col p strong,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col p strong,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col p strong {

  color: #1e5e4d !important;

  text-decoration: none !important;

  font-weight: 600 !important;

  transition: all 0.2s ease !important;

}



html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col p a::after,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col p a::after,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col p a::after {

  content: " →" !important;

  margin-left: 4px !important;

  display: inline-block !important;

  transition: transform 0.2s ease !important;

}



html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col p a:hover,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col p a:hover,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col p a:hover {

  color: #164a3d !important;

}



html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 .kt-inside-inner-col p a:hover::after,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 .kt-inside-inner-col p a:hover::after,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 .kt-inside-inner-col p a:hover::after {

  transform: translateX(4px) !important;

}



/* Card Column Outer Border & Shadow in Light Mode */

html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col {

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;

  transition: transform 0.25s ease, box-shadow 0.25s ease !important;

}



html[data-theme="light"] .kb-row-layout-id974_fc5c6a-90 > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col:hover,

html[data-theme="light"] .kb-row-layout-id974_406c88-e9 > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col:hover,

html[data-theme="light"] .kb-row-layout-id974_adef27-49 > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col:hover {

  transform: translateY(-4px) !important;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;

}



/* Category Hero Headers (e.g. Motoryzacyjne, Breloki, etc.) */

html[data-theme="light"] .entry-hero,

html[data-theme="light"] .entry-hero-layout-above,

html[data-theme="light"] .entry-hero-layout-standard,

html[data-theme="light"] .product-archive-title-layout-above,

html[data-theme="light"] .product-archive-title-wrap,

html[data-theme="light"] .woocommerce-products-header {

  background-color: #f1f5f9 !important;

  border-bottom: 1px solid #e2e8f0 !important;

  background-image: none !important;

}



html[data-theme="light"] .entry-hero .entry-title,

html[data-theme="light"] .entry-hero h1,

html[data-theme="light"] .product-archive-title-layout-above h1 {

  color: #0f172a !important;

}



html[data-theme="light"] .entry-hero .kadence-breadcrumbs,

html[data-theme="light"] .entry-hero .kadence-breadcrumbs a,

html[data-theme="light"] .product-archive-title-layout-above .kadence-breadcrumbs a {

  color: #64748b !important;

}



html[data-theme="light"] .entry-hero .kadence-breadcrumbs a:hover,

html[data-theme="light"] .product-archive-title-layout-above .kadence-breadcrumbs a:hover {

  color: #1e5e4d !important;

}



html[data-theme="light"] .entry-hero .archive-description,

html[data-theme="light"] .entry-hero p,

html[data-theme="light"] .product-archive-title-layout-above p {

  color: #475569 !important;

}



/* WooCommerce Products in Light Mode */

html[data-theme="light"] .woocommerce ul.products li.product,

html[data-theme="light"] .woocommerce-page ul.products li.product {

  background-color: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;

}



html[data-theme="light"] .woocommerce ul.products li.product .woocommerce-loop-product__title,

html[data-theme="light"] .woocommerce div.product .product_title {

  color: #0f172a !important;

}



html[data-theme="light"] .woocommerce ul.products li.product .price,

html[data-theme="light"] .woocommerce div.product p.price {

  color: #1e5e4d !important;

}



/* Contact Page in Light Mode */

html[data-theme="light"] .page-id-1142 .kt-inside-inner-col {

  background-color: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;

}



html[data-theme="light"] .page-id-1142 input[type="text"],

html[data-theme="light"] .page-id-1142 input[type="email"],

html[data-theme="light"] .page-id-1142 input[type="tel"],

html[data-theme="light"] .page-id-1142 textarea {

  background-color: #f8fafc !important;

  border: 1px solid #cbd5e1 !important;

  color: #0f172a !important;

}



html[data-theme="light"] .page-id-1142 input::placeholder,

html[data-theme="light"] .page-id-1142 textarea::placeholder {

  color: #94a3b8 !important;

}



html[data-theme="light"] .page-id-1142 h1,

html[data-theme="light"] .page-id-1142 h2,

html[data-theme="light"] .page-id-1142 h3,

html[data-theme="light"] .page-id-1142 label {

  color: #0f172a !important;

}



html[data-theme="light"] .page-id-1142 p {

  color: #475569 !important;

}



/* Footer in Light Mode */

html[data-theme="light"] #colophon,

html[data-theme="light"] .site-footer,

html[data-theme="light"] .site-footer-wrap,

html[data-theme="light"] .site-top-footer-wrap,

html[data-theme="light"] .site-top-footer-wrap .site-footer-row-container-inner,

html[data-theme="light"] .site-middle-footer-wrap,

html[data-theme="light"] .site-middle-footer-wrap .site-footer-row-container-inner,

html[data-theme="light"] .site-bottom-footer-wrap,

html[data-theme="light"] .site-bottom-footer-wrap .site-footer-row-container-inner {

  background-color: #f1f5f9 !important;

  background: #f1f5f9 !important;

  color: #475569 !important;

}



html[data-theme="light"] .site-top-footer-wrap .site-footer-row-container-inner {

  background-color: #f1f5f9 !important;

  background: #f1f5f9 !important;

  border-top: 1px solid #e2e8f0 !important;

}



html[data-theme="light"] .site-bottom-footer-wrap .site-footer-row-container-inner {

  background-color: #e2e8f0 !important;

  background: #e2e8f0 !important;

  border-top: 1px solid #cbd5e1 !important;

}



html[data-theme="light"] .site-footer .widget-title,

html[data-theme="light"] .site-top-footer-wrap .widget-title,

html[data-theme="light"] #colophon .widget-title,

html[data-theme="light"] #colophon h2,

html[data-theme="light"] #colophon h3 {

  color: #0f172a !important;

}



html[data-theme="light"] .site-footer p,

html[data-theme="light"] .site-footer span,

html[data-theme="light"] .site-footer div,

html[data-theme="light"] .site-footer .textwidget,

html[data-theme="light"] .site-top-footer-wrap .site-footer-row-container-inner,

html[data-theme="light"] #colophon .textwidget p {

  color: #475569 !important;

}



html[data-theme="light"] .site-footer a,

html[data-theme="light"] .site-top-footer-wrap a,

html[data-theme="light"] .site-footer .menu li a,

html[data-theme="light"] #colophon a {

  color: #334155 !important;

}



html[data-theme="light"] .site-footer a:hover,

html[data-theme="light"] .site-top-footer-wrap a:hover,

html[data-theme="light"] .site-footer .menu li a:hover,

html[data-theme="light"] #colophon a:hover {

  color: #1e5e4d !important;

}



html[data-theme="light"] .site-bottom-footer-wrap {

  background-color: #e2e8f0 !important;

  background: #e2e8f0 !important;

  border-top: 1px solid #cbd5e1 !important;

}



html[data-theme="light"] .site-bottom-footer-wrap .site-footer-row-container-inner,

html[data-theme="light"] .site-bottom-footer-wrap p,

html[data-theme="light"] .site-bottom-footer-wrap span,

html[data-theme="light"] .site-bottom-footer-wrap div,

html[data-theme="light"] #colophon .footer-html,

html[data-theme="light"] #colophon .footer-html p {

  color: #64748b !important;

}



html[data-theme="light"] #colophon .site-bottom-footer-wrap a,

html[data-theme="light"] .site-bottom-footer-wrap .site-footer-row-container-inner a {

  color: #64748b !important;

}



html[data-theme="light"] #colophon .site-bottom-footer-wrap a:hover,

html[data-theme="light"] .site-bottom-footer-wrap .site-footer-row-container-inner a:hover {

  color: #1e5e4d !important;

}



html[data-theme="light"] #kt-scroll-up {

  background-color: #ffffff !important;

  color: #0f172a !important;

  border: 1px solid #cbd5e1 !important;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;

}



html[data-theme="light"] #kt-scroll-up:hover {

  background-color: #1e5e4d !important;

  color: #ffffff !important;

  border-color: #1e5e4d !important;

}



/* ==== HLP DELICATE THEME START ==== */

/* Paleta akcentów Kadence: zero pomarańczu */

html[data-theme="light"] {

  --global-palette1: #1e5e4d;

  --global-palette2: #164a3d;

}

html:not([data-theme="light"]) {

  --global-palette1: #58bd8e;

  --global-palette2: #6ee7b7;

}



/* Belka z darmową wysyłką - jasny motyw: głęboki eukaliptus, biały tekst */

html[data-theme="light"] .site-top-header-wrap,

html[data-theme="light"] .site-top-header-wrap .site-header-row-container,

html[data-theme="light"] .site-top-header-wrap .site-header-row-container-inner {

  background: #1e5e4d !important;

  background-color: #1e5e4d !important;

}

html[data-theme="light"] .site-top-header-wrap,

html[data-theme="light"] .site-top-header-wrap p,

html[data-theme="light"] .site-top-header-wrap span,

html[data-theme="light"] .site-top-header-wrap a,

html[data-theme="light"] .site-top-header-wrap .header-html,

html[data-theme="light"] .site-top-header-wrap .header-html * {

  color: #ffffff !important;

}

html[data-theme="light"] .site-top-header-wrap a:hover {

  color: #ffffff !important;

  text-decoration: underline;

}



/* Belka z darmową wysyłką - ciemny motyw: nocny łupek, jasny tekst */

html:not([data-theme="light"]) .site-top-header-wrap,

html:not([data-theme="light"]) .site-top-header-wrap .site-header-row-container,

html:not([data-theme="light"]) .site-top-header-wrap .site-header-row-container-inner {

  background: #0d1117 !important;

  background-color: #0d1117 !important;

}

html:not([data-theme="light"]) .site-top-header-wrap {

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}

html:not([data-theme="light"]) .site-top-header-wrap,

html:not([data-theme="light"]) .site-top-header-wrap p,

html:not([data-theme="light"]) .site-top-header-wrap span,

html:not([data-theme="light"]) .site-top-header-wrap a,

html:not([data-theme="light"]) .site-top-header-wrap .header-html,

html:not([data-theme="light"]) .site-top-header-wrap .header-html * {

  color: #e2e8f0 !important;

}

html:not([data-theme="light"]) .site-top-header-wrap a:hover {

  color: #58bd8e !important;

}



/* Ramka fokusu przełącznika motywu w ciemnym motywie */

html:not([data-theme="light"]) .hlp-theme-toggle-btn:focus-visible {

  outline-color: #58bd8e !important;

}



/* Strona /preview/ (ID 1361): ukryj domyślny tytuł Kadence nad hero */

.page-id-1361 .entry-hero,

.page-id-1361 .entry-header {

  display: none !important;

}

.page-id-1361 .entry-hero-container-inner {

  display: none !important;

}

.page-id-1361 .content-area {

  margin-top: 0 !important;

}

/* ==== HLP DELICATE THEME END ==== */



/* ==== HLP ONETAP START ==== */

/* ==== HLP ONETAP NOBORDER START ==== */

/* Przycisk dostępności: samo okrągłe kółko, bez kwadratowej ramki, obrysu i cienia */

html .onetap-container-toggle .onetap-toggle,

html .onetap-container-toggle .onetap-toggle.design-border1,

html .onetap-container-toggle .onetap-toggle.design-border2,

html .onetap-container-toggle .onetap-toggle:hover,

html .onetap-container-toggle .onetap-toggle:active {

  border: none !important;

  outline: none !important;

  box-shadow: none !important;

  background: transparent !important;

  background-color: transparent !important;

  border-radius: 50% !important;

}

html .onetap-container-toggle .onetap-toggle *,

html .onetap-container-toggle .onetap-toggle::before,

html .onetap-container-toggle .onetap-toggle::after {

  border: none !important;

  outline: none !important;

  box-shadow: none !important;

}



/* Fokus klawiatury (WCAG 2.4.7): obrys ściśle okrągły */

html[data-theme="light"] .onetap-container-toggle .onetap-toggle:focus-visible {

  outline: 3px solid #164a3d !important;

  outline-offset: 3px !important;

  border-radius: 50% !important;

}

html:not([data-theme="light"]) .onetap-container-toggle .onetap-toggle:focus-visible {

  outline: 3px solid #58bd8e !important;

  outline-offset: 3px !important;

  border-radius: 50% !important;

}

html[data-theme="light"] nav.onetap-accessibility.onetap-plugin-onetap button:focus-visible {

  outline: 3px solid #164a3d !important;

  outline-offset: 2px !important;

}

html:not([data-theme="light"]) nav.onetap-accessibility.onetap-plugin-onetap button:focus-visible {

  outline: 3px solid #58bd8e !important;

  outline-offset: 2px !important;

}



/* ==== HLP ONETAP NOBORDER END ==== */



/* Menu ustawień dostępności - jasny motyw */

html[data-theme="light"] nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings {

  background-color: #ffffff !important;

  color: #0f172a !important;

  border: 1px solid #cbd5e1 !important;

  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.22) !important;

}

html[data-theme="light"] nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings .onetap-header {

  background-color: #1e5e4d !important;

  color: #ffffff !important;

}

html[data-theme="light"] nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings .onetap-header * {

  color: #ffffff !important;

  fill: #ffffff !important;

}



/* Menu ustawień dostępności - ciemny motyw */

html:not([data-theme="light"]) nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings {

  background-color: #111827 !important;

  color: #e2e8f0 !important;

  border: 1px solid #334155 !important;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;

}

html:not([data-theme="light"]) nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings .onetap-header {

  background-color: #1a2232 !important;

  color: #58bd8e !important;

  border-bottom: 1px solid #334155 !important;

}

html:not([data-theme="light"]) nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings .onetap-header * {

  color: #58bd8e !important;

  fill: #58bd8e !important;

}



/* Mobile: wygodny cel dotyku (WCAG 2.5.5) i menu mieści się w ekranie */

@media (max-width: 600px) {

  .onetap-container-toggle .onetap-toggle {

    min-width: 48px !important;

    min-height: 48px !important;

  }

  nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings {

    max-width: 100vw !important;

  }

}

@media (prefers-reduced-motion: reduce) {

  .onetap-container-toggle .onetap-toggle,

  nav.onetap-accessibility.onetap-plugin-onetap .onetap-accessibility-settings {

    transition: none !important;

  }

}

/* ==== HLP ONETAP END ==== */





/* ===== Belka darmowej dostawy: optymalizacja desktop & mobile ===== */

.site-top-header-wrap {

  display: block !important;

  visibility: visible !important;

  opacity: 1 !important;

}

.site-top-header-wrap .header-html,

.site-top-header-wrap .hlp-shipbar {

  font-size: 0.875rem;

  font-weight: 500;

  letter-spacing: 0.02em;

  line-height: 1.3;

  text-align: center;

  display: block !important;

}

.site-top-header-wrap .site-header-row-container-inner {

  min-height: 36px;

  display: flex !important;

  align-items: center !important;

}

.site-top-header-wrap .site-header-row {

  display: flex !important;

  width: 100% !important;

  justify-content: center !important;

  align-items: center !important;

}



/* Ciemny motyw: akcent miętowy na kwocie 200 zł */

html:not([data-theme="light"]) .site-top-header-wrap strong {

  color: #58bd8e !important;

}

/* Jasny motyw: czysta biel */

html[data-theme="light"] .site-top-header-wrap strong {

  color: #ffffff !important;

}



/* Widoczność belki na tabletach i telefonach (<=1024px) */

@media (max-width: 1024px) {

  #main-header {

    display: block !important;

  }

  #main-header .site-main-header-wrap,

  #main-header .site-bottom-header-wrap {

    display: none !important;

  }

  #main-header .site-top-header-wrap {

    display: block !important;

  }

  #masthead .site-top-header-wrap {

    display: block !important;

  }

  .site-top-header-wrap .site-header-row-container-inner {

    min-height: 34px !important;

    padding: 6px 12px !important;

  }

  .site-top-header-wrap .header-html,

  .site-top-header-wrap .hlp-shipbar {

    font-size: 0.8125rem !important; /* 13px */

    text-align: center !important;

    display: block !important;

  }

}

@media (max-width: 480px) {

  .site-top-header-wrap .site-header-row-container-inner {

    min-height: 32px !important;

    padding: 5px 8px !important;

  }

  .site-top-header-wrap .header-html,

  .site-top-header-wrap .hlp-shipbar {

    font-size: 0.775rem !important; /* ~12.4px */

  }

}



/* ==========================================================================
   PLAKIETKA KOSZYKA (CZERWONA KROPKA Z LICZBĄ PRODUKTÓW - JAK ANIAODDRUKU.PL)
   ========================================================================== */
:root {
  --hl-badge-ring: #0f172a;
}
html[data-theme="light"],
html.theme-light,
body.theme-light {
  --hl-badge-ring: #ffffff;
}
html[data-theme="dark"],
html.theme-dark,
body.theme-dark {
  --hl-badge-ring: #0f172a;
}

/* Pozycjonowanie relatywne przycisku koszyka */
.header-cart-wrap .header-cart-button,
.header-mobile-cart-wrap .header-cart-button,
.kadence-header-cart .header-cart-button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Czerwona plakietka z liczbą produktów */
.header-cart-wrap .header-cart-total,
.header-mobile-cart-wrap .header-cart-total,
.kadence-header-cart .header-cart-total,
#hlp-mobile-dock .header-cart-total,
.hlp-dock .header-cart-total {
  position: absolute !important;
  top: -4px !important;
  right: -8px !important;
  box-sizing: border-box !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 4px !important;
  border: 2px solid var(--hl-badge-ring) !important;
  border-radius: 9999px !important;
  background-color: #ef4444 !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
  pointer-events: none !important;
  transform-origin: center !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35) !important;
  z-index: 10 !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease !important;
}

/* Ukrycie gdy koszyk jest pusty */
.header-cart-total.header-cart-is-empty-true,
.header-cart-total:empty,
.header-cart-total[data-count="0"],
.header-cart-empty-check.header-cart-is-empty-true ~ * .header-cart-total,
.header-cart-wrap:has(.header-cart-is-empty-true) .header-cart-total {
  display: none !important;
  opacity: 0 !important;
  transform: scale(0) !important;
}

/* Animacja mikro-interakcji przy dodaniu produktu do koszyka */
.header-cart-total.hl-badge-pop {
  animation: hl-badge-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
@keyframes hl-badge-pop {
  0%   { transform: scale(0.2); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .header-cart-total.hl-badge-pop { animation: none !important; }
}

/* =====================================================================
   Mobile Dock (dolny pasek nawigacji) + pasek darmowej dostawy w koszyku
   ===================================================================== */
.hlp-dock { display: none; }

@media (max-width: 768px) {
  body.hlp-has-dock { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important; }

  .hlp-dock {
    --hlp-dock-bg: rgba(17, 24, 39, 0.92);
    --hlp-dock-border: #334155;
    --hlp-dock-text: #94a3b8;
    --hlp-dock-active: #38bdf8;
    --hl-badge-ring: #111827;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
    display: flex; align-items: stretch; justify-content: space-around;
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    background: var(--hlp-dock-bg);
    border-top: 1px solid var(--hlp-dock-border);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
  }
  html[data-theme="light"] .hlp-dock {
    --hlp-dock-bg: rgba(255, 255, 255, 0.94);
    --hlp-dock-border: #e2e8f0;
    --hlp-dock-text: #64748b;
    --hlp-dock-active: #0284c7;
    --hl-badge-ring: #ffffff;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
  }

  .hlp-dock__item {
    position: relative; overflow: hidden; flex: 1 1 0; min-width: 0; min-height: 56px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--hlp-dock-text) !important; text-decoration: none !important;
    font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0.01em;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: color 0.2s ease;
  }
  .hlp-dock__item:hover, .hlp-dock__item:focus-visible,
  .hlp-dock__item[aria-current="page"], .hlp-dock__item[aria-expanded="true"] { color: var(--hlp-dock-active) !important; }
  .hlp-dock__item:focus-visible { outline: 2px solid var(--hlp-dock-active); outline-offset: -3px; border-radius: 10px; }

  /* Ripple przy dotknięciu (czysty CSS) */
  .hlp-dock__item::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px;
    margin: -32px 0 0 -32px; border-radius: 50%; background: var(--hlp-dock-active);
    opacity: 0; transform: scale(0.2); pointer-events: none;
  }
  .hlp-dock__item:active::before { opacity: 0.22; transform: scale(1.5); transition: transform 0.35s ease-out, opacity 0.1s; }
  .hlp-dock__item:active .hlp-dock__icon { transform: scale(0.88); }

  .hlp-dock__icon { position: relative; display: inline-flex; transition: transform 0.15s ease; }
  .hlp-dock__icon svg { display: block; }
  .hlp-dock__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  #hlp-mobile-dock .hlp-dock__item--cart .hlp-dock__icon {
    position: relative !important;
  }
  /* Czerwona plakietka (globalne reguły ukrywania/animacji .header-cart-total działają też tutaj) */
  #hlp-mobile-dock .header-cart-total,
  .hlp-dock .header-cart-total,
  .hlp-dock .header-cart-total.hlp-dock__badge {
    position: absolute !important; top: -6px !important; right: -10px !important;
    box-sizing: border-box !important; min-width: 18px !important; height: 18px !important; padding: 0 4px !important;
    border: 2px solid var(--hl-badge-ring, #0f172a) !important; border-radius: 9999px !important;
    background: #ef4444 !important; background-color: #ef4444 !important; color: #fff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 10px !important; font-weight: 700 !important; line-height: 1 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    text-align: center !important; margin: 0 !important; pointer-events: none !important; z-index: 10 !important;
  }
  #hlp-mobile-dock .header-cart-total.header-cart-is-empty-true,
  #hlp-mobile-dock .header-cart-total:empty,
  #hlp-mobile-dock .header-cart-total[data-count="0"],
  .hlp-dock .header-cart-total.header-cart-is-empty-true,
  .hlp-dock .header-cart-total:empty,
  .hlp-dock .header-cart-total[data-count="0"] { display: none !important; }

  /* Pływające elementy nie mogą nachodzić na dock ani na pozycję Menu (hamburger) */
  .onetap-container-toggle .onetap-toggle,
  .onetap-toggle,
  #onetap-toggle,
  div.onetap-toggle,
  section.onetap-container-toggle button {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    z-index: 9980 !important;
  }
  .hlp-theme-toggle-wrap {
    bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    z-index: 9980 !important;
  }
  #kt-scroll-up, #kt-scroll-up-reader {
    bottom: calc(192px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    z-index: 9980 !important;
  }
}

@media (min-width: 769px) { .hlp-dock { display: none !important; } }

/* ----- Pasek darmowej dostawy w #cart-drawer ----- */
.hlp-shipbar-mini {
  --hlp-ship-track: #1e293b; --hlp-ship-text: #e2e8f0;
  --hlp-ship-a: #38bdf8; --hlp-ship-b: #0ea5e9;
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px;
  background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.25);
}
html[data-theme="light"] .hlp-shipbar-mini {
  --hlp-ship-track: #e2e8f0; --hlp-ship-text: #0f172a;
  --hlp-ship-a: #0284c7; --hlp-ship-b: #38bdf8;
  background: rgba(2, 132, 199, 0.06); border-color: rgba(2, 132, 199, 0.2);
}
.hlp-shipbar-mini__text { margin: 0 0 8px; font-size: 14px; line-height: 1.35; color: var(--hlp-ship-text); }
.hlp-shipbar-mini__text strong { font-weight: 700; }
.hlp-shipbar-mini__track { height: 8px; border-radius: 9999px; overflow: hidden; background: var(--hlp-ship-track); }
.hlp-shipbar-mini__fill {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--hlp-ship-a), var(--hlp-ship-b));
  transform-origin: left center;
  animation: hlp-ship-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hlp-ship-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hlp-shipbar-mini.is-complete { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.4); }
.hlp-shipbar-mini.is-complete .hlp-shipbar-mini__fill {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.75);
  animation: hlp-ship-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) both, hlp-ship-glow 2s ease-in-out 0.8s infinite;
}
@keyframes hlp-ship-glow { 50% { box-shadow: 0 0 18px rgba(74, 222, 128, 0.95); } }

@media (prefers-reduced-motion: reduce) {
  .hlp-dock__item, .hlp-dock__icon { transition: none !important; }
  .hlp-dock__item:active::before { transition: none; }
  .hlp-shipbar-mini__fill, .hlp-shipbar-mini.is-complete .hlp-shipbar-mini__fill { animation: none !important; }
}

/* ===== Wyszukiwarka na żywo (podpowiedzi produktów) ===== */
.hlp-ls-host { position: relative; }
.hlp-ls {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 99999;
  max-height: min(70vh, 480px); overflow-y: auto; padding: 6px;
  border-radius: 14px; border: 1px solid #334155; background: rgba(30, 41, 59, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
  animation: hlp-ls-in .16s ease-out;
}
.hlp-ls[hidden] { display: none; }
/* W szufladzie Kadence lista idzie w przepływie dokumentu (szuflada przycina absolutne elementy) */
#search-drawer .hlp-ls { position: static; margin-top: 10px; }
.hlp-ls__item {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px;
  text-decoration: none; color: #f8fafc; transition: background-color .15s ease;
}
.hlp-ls__thumb { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; object-fit: cover; background: #0f172a; }
.hlp-ls__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hlp-ls__title { font-size: 14px; line-height: 1.3; color: #f8fafc; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hlp-ls__title strong { font-weight: 700; color: #38bdf8; }
.hlp-ls__cat {
  align-self: flex-start; font-size: 11px; line-height: 1; padding: 3px 8px; border-radius: 999px;
  color: #cbd5e1; background: rgba(148, 163, 184, 0.16); border: 1px solid #334155;
}
.hlp-ls__price { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: #38bdf8; white-space: nowrap; text-align: right; }
.hlp-ls__price del { opacity: .55; font-weight: 400; margin-right: 4px; }
.hlp-ls__price ins { text-decoration: none; }
.hlp-ls__item:hover, .hlp-ls__item.is-active { background: rgba(56, 189, 248, 0.12); }
.hlp-ls__item:hover .hlp-ls__title, .hlp-ls__item.is-active .hlp-ls__title { color: #38bdf8; }
.hlp-ls__all {
  display: block; margin-top: 4px; padding: 11px 12px; border-top: 1px solid #334155; border-radius: 0 0 10px 10px;
  font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; color: #38bdf8;
}
.hlp-ls__all:hover, .hlp-ls__all.is-active { background: rgba(56, 189, 248, 0.12); }
.hlp-ls__empty { padding: 16px 12px 10px; font-size: 14px; text-align: center; color: #cbd5e1; }
.hlp-ls__item:focus-visible, .hlp-ls__all:focus-visible { outline: 2px solid #38bdf8; outline-offset: -2px; }
input.hlp-ls-loading { background-image: linear-gradient(90deg, transparent, rgba(56,189,248,.25), transparent); background-size: 200% 2px; background-repeat: no-repeat; background-position: 0 100%; animation: hlp-ls-load 1s linear infinite; }

/* Tryb jasny */
html[data-theme="light"] .hlp-ls { background: rgba(255, 255, 255, 0.94); border-color: #e2e8f0; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14); }
html[data-theme="light"] .hlp-ls__item, html[data-theme="light"] .hlp-ls__title { color: #0f172a; }
html[data-theme="light"] .hlp-ls__title strong, html[data-theme="light"] .hlp-ls__price, html[data-theme="light"] .hlp-ls__all { color: #0284c7; }
html[data-theme="light"] .hlp-ls__thumb { background: #f1f5f9; }
html[data-theme="light"] .hlp-ls__cat { color: #475569; background: #f1f5f9; border-color: #e2e8f0; }
html[data-theme="light"] .hlp-ls__item:hover, html[data-theme="light"] .hlp-ls__item.is-active,
html[data-theme="light"] .hlp-ls__all:hover, html[data-theme="light"] .hlp-ls__all.is-active { background: rgba(2, 132, 199, 0.09); }
html[data-theme="light"] .hlp-ls__item:hover .hlp-ls__title, html[data-theme="light"] .hlp-ls__item.is-active .hlp-ls__title { color: #0284c7; }
html[data-theme="light"] .hlp-ls__all { border-top-color: #e2e8f0; }
html[data-theme="light"] .hlp-ls__empty { color: #475569; }
html[data-theme="light"] .hlp-ls__item:focus-visible, html[data-theme="light"] .hlp-ls__all:focus-visible { outline-color: #0284c7; }

@keyframes hlp-ls-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes hlp-ls-load { from { background-position: 200% 100%; } to { background-position: -200% 100%; } }
@media (max-width: 600px) { .hlp-ls__thumb { width: 44px; height: 44px; flex-basis: 44px; } .hlp-ls__price { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .hlp-ls, input.hlp-ls-loading { animation: none; } .hlp-ls__item { transition: none; } }

/* ===== Pole wyszukiwania w nagłówku (zastępuje przycisk szuflady Kadence) ===== */
.hlp-header-search-wrap { position: relative; display: flex; align-items: center; }
.hlp-header-search-form {
  position: relative; display: flex; align-items: center;
  width: clamp(200px, 20vw, 280px); height: 40px; margin: 0;
}
.hlp-header-search-form .hlp-search-label { display: block; width: 100%; margin: 0; }
.hlp-header-search-input {
  display: block; width: 100%; height: 40px; margin: 0; box-sizing: border-box;
  padding: 8px 38px 8px 16px; font-size: 14px; line-height: 1.4; border-radius: 9999px;
  background-color: #1e293b; border: 1px solid #334155; color: #f8fafc; outline: none;
  box-shadow: none; -webkit-appearance: none; appearance: none;
  transition: all 0.2s ease;
}
.hlp-header-search-input::placeholder { color: #94a3b8; opacity: 1; }
.hlp-header-search-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.hlp-header-search-input:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); }
.hlp-header-search-submit {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; padding: 0; margin: 0; border: none; border-radius: 50%;
  background: transparent; color: #94a3b8; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.hlp-header-search-submit:hover, .hlp-header-search-submit:focus-visible { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }
.hlp-header-search-submit:focus-visible { outline: 2px solid #38bdf8; outline-offset: 0; }

/* Podpowiedzi pod polem: kotwiczone do prawej krawędzi, by nie wychodziły poza ekran, gdy pole jest przy prawej stronie nagłówka */
.hlp-header-search-form .hlp-ls {
  top: calc(100% + 6px); left: auto; right: 0;
  width: max(100%, 320px); min-width: 280px; max-width: min(360px, calc(100vw - 24px));
  z-index: 10000;
}

html[data-theme="light"] .hlp-header-search-input { background-color: #ffffff; border-color: #cbd5e1; color: #0f172a; }
html[data-theme="light"] .hlp-header-search-input::placeholder { color: #64748b; }
html[data-theme="light"] .hlp-header-search-input:focus { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); }
html[data-theme="light"] .hlp-header-search-submit { color: #64748b; }
html[data-theme="light"] .hlp-header-search-submit:hover, html[data-theme="light"] .hlp-header-search-submit:focus-visible { color: #0284c7; background: rgba(2, 132, 199, 0.09); }
html[data-theme="light"] .hlp-header-search-submit:focus-visible { outline-color: #0284c7; }

@media (max-width: 1024px) { .hlp-header-search-form { width: clamp(180px, 24vw, 240px); } }
@media (prefers-reduced-motion: reduce) { .hlp-header-search-input, .hlp-header-search-submit { transition: none; } }

/* ===== Ukryj domyślny pasek tytułu/hero Kadence na stronach z własnym nagłówkiem hero ===== */
.page-id-1361 .entry-hero,
.page-id-974 .entry-hero,
.home .entry-hero,
body:has(.hlp-home) .entry-hero,
body:has(.hlp-about) .entry-hero,
.page-template-default .entry-hero:has(+ .content-area .hlp-home) {
  display: none !important;
}

body:has(.hlp-home) #inner-wrap,
body:has(.hlp-home) #primary,
body:has(.hlp-home) .content-container,
body:has(.hlp-home) .content-wrap,
body:has(.hlp-home) .entry-content-wrap,
body:has(.hlp-home) .single-content,
.page-id-1361 #inner-wrap,
.page-id-1361 #primary,
.page-id-1361 .content-container,
.page-id-1361 .content-wrap,
.page-id-1361 .entry-content-wrap,
.page-id-1361 .single-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* === HLP uniform product cards v1.2.2: kwadrat 1:1, bez rozpychania flexa === */
.hlp-grid { align-items: stretch !important; }
.hlp-home .hlp-card,
.hlp-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.hlp-home .hlp-card .hlp-ph,
.hlp-card .hlp-ph {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.hlp-home .hlp-card .hlp-ph img,
.hlp-card .hlp-ph img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* Kapibara: idealne wyśrodkowanie postaci z pełnymi uszami i łapkami w kadrze */
.hlp-card .hlp-ph img[src*="capybara"],
.hlp-card .hlp-ph img[data-src*="capybara"] {
  object-position: center 48% !important;
}
.hlp-home .hlp-card .hlp-body,
.hlp-card .hlp-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.hlp-card .hlp-body h3 {
  flex: 0 0 auto !important;
  min-height: 2.7em !important;
}
.hlp-card .hlp-body .hlp-price { margin-top: auto !important; }
.hlp-card .hlp-body .hlp-btn { margin-top: 0 !important; align-self: stretch; }
/* === /HLP uniform product cards === */

/* ==========================================================================
   HLP APPLE PAY & GOOGLE PAY PAYMENT GATEWAY STYLING
   ========================================================================== */
.hlp-wallets-badges {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    vertical-align: middle !important;
    margin-left: 8px !important;
}
.hlp-wallets-badges svg {
    display: inline-block !important;
    vertical-align: middle !important;
    transition: transform 0.15s ease !important;
}
.hlp-wallets-badges svg:hover {
    transform: scale(1.05) !important;
}
.hlp-apple-google-pay-box {
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 8px !important;
    margin: 8px 0 !important;
}
html[data-theme="light"] .hlp-apple-google-pay-box, body.theme-light .hlp-apple-google-pay-box, body.light-theme .hlp-apple-google-pay-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.hlp-apple-google-pay-box .hlp-wallet-desc {
    margin: 0 0 10px 0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: #94a3b8 !important;
}
html[data-theme="light"] .hlp-apple-google-pay-box .hlp-wallet-desc,
body.theme-light .hlp-apple-google-pay-box .hlp-wallet-desc,
body.light-theme .hlp-apple-google-pay-box .hlp-wallet-desc {
    color: #475569 !important;
}
.hlp-apple-google-pay-box .hlp-wallet-button-slot {
    margin: 10px 0 !important;
    min-height: 48px !important;
}
.hlp-apple-google-pay-box .hlp-wallet-device-notes {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    margin-top: 10px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
    padding-top: 8px !important;
}
html[data-theme="light"] .hlp-apple-google-pay-box .hlp-wallet-device-notes,
body.theme-light .hlp-apple-google-pay-box .hlp-wallet-device-notes,
body.light-theme .hlp-apple-google-pay-box .hlp-wallet-device-notes {
    border-top-color: #e2e8f0 !important;
    color: #64748b !important;
}

/* Ukryj niechciany zdublowany pasek — LUB — oraz pojedynczy przycisk na samej górze kasy */
form.woocommerce-checkout > #wc-stripe-express-checkout-element,
form.woocommerce-checkout > .wc-stripe-express-checkout-button-separator,
.woocommerce-checkout > .wc-stripe-express-checkout-button-separator,
.woocommerce-checkout > #wc-stripe-express-checkout-element:not(.hlp-in-payment-box) {
    display: none !important;
}

/* ==========================================================================
   HLP X-KOM PROMO CODE CARD (KOSZYK I KASA)
   ========================================================================== */
.hlp-xkom-promo-card {
    background: #17212f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
html[data-theme="light"] .hlp-xkom-promo-card,
body.theme-light .hlp-xkom-promo-card,
body.light-theme .hlp-xkom-promo-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
.hlp-xkom-promo-card.is-active-card {
    border-color: rgba(34, 197, 94, 0.35) !important;
}

/* Header przycisku rozwijania (zapobiega zaznaczaniu tekstu i ustawianiu kursora tekstowego) */
.hlp-xkom-promo-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 16px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    color: #f8fafc !important;
    font-family: inherit !important;
    transition: background-color 0.15s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    outline: none !important;
}
.hlp-xkom-promo-header * {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}
html[data-theme="light"] .hlp-xkom-promo-header,
body.theme-light .hlp-xkom-promo-header,
body.light-theme .hlp-xkom-promo-header {
    color: #0f172a !important;
}
.hlp-xkom-promo-header:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}
html[data-theme="light"] .hlp-xkom-promo-header:hover,
body.theme-light .hlp-xkom-promo-header:hover,
body.light-theme .hlp-xkom-promo-header:hover {
    background: #f8fafc !important;
}
.hlp-xkom-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.hlp-xkom-tag-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
}
.hlp-xkom-promo-card.is-active-card .hlp-xkom-tag-icon {
    color: #22c55e !important;
}
.hlp-xkom-header-title {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    letter-spacing: -0.15px !important;
}
.hlp-xkom-header-right {
    display: inline-flex !important;
    align-items: center !important;
    color: #94a3b8 !important;
}
.hlp-xkom-chevron {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.hlp-xkom-promo-header[aria-expanded="true"] .hlp-xkom-chevron {
    transform: rotate(180deg) !important;
}

/* Rozwijane wnętrze */
.hlp-xkom-promo-body {
    padding: 0 16px 16px 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 12px !important;
}
html[data-theme="light"] .hlp-xkom-promo-body,
body.theme-light .hlp-xkom-promo-body,
body.light-theme .hlp-xkom-promo-body {
    border-top-color: #f1f5f9 !important;
}

/* Aktywny kupon - pigułka */
.hlp-xkom-applied-wrap {
    margin-bottom: 12px !important;
}
.hlp-xkom-applied-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin-bottom: 6px !important;
}
.hlp-xkom-item-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
}
.hlp-xkom-check-icon {
    color: #22c55e !important;
    display: inline-flex !important;
}
.hlp-xkom-code-name {
    font-weight: 700 !important;
    color: #f8fafc !important;
    letter-spacing: 0.5px !important;
}
html[data-theme="light"] .hlp-xkom-code-name,
body.theme-light .hlp-xkom-code-name,
body.light-theme .hlp-xkom-code-name {
    color: #0f172a !important;
}
.hlp-xkom-discount-val {
    font-weight: 600 !important;
    color: #22c55e !important;
}
.hlp-xkom-remove-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    padding: 4px 6px !important;
    border-radius: 4px !important;
    transition: color 0.15s, background-color 0.15s !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}
.hlp-xkom-remove-action:hover {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Rząd wprowadzania kodu */
.hlp-xkom-input-row {
    display: flex !important;
    gap: 8px !important;
    align-items: stretch !important;
}
.hlp-xkom-code-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 12px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-family: inherit !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    outline: none !important;
    cursor: text !important;
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}
html[data-theme="light"] .hlp-xkom-code-input,
body.theme-light .hlp-xkom-code-input,
body.light-theme .hlp-xkom-code-input {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
.hlp-xkom-code-input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2) !important;
}
.hlp-xkom-code-input::placeholder {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #64748b !important;
}
.hlp-xkom-apply-button {
    flex: 0 0 auto !important;
    height: 42px !important;
    padding: 0 20px !important;
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 6px !important;
    color: #f8fafc !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.15s, border-color 0.15s !important;
}
html[data-theme="light"] .hlp-xkom-apply-button,
body.theme-light .hlp-xkom-apply-button,
body.light-theme .hlp-xkom-apply-button {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}
.hlp-xkom-apply-button:hover:not(:disabled) {
    background: #334155 !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}
html[data-theme="light"] .hlp-xkom-apply-button:hover:not(:disabled),
body.theme-light .hlp-xkom-apply-button:hover:not(:disabled),
body.light-theme .hlp-xkom-apply-button:hover:not(:disabled) {
    background: #1e293b !important;
}
.hlp-xkom-apply-button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Spinner ładowania */
.hlp-btn-loader {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hlp-spin 0.6s linear infinite;
    display: inline-block;
}
@keyframes hlp-spin {
    to { transform: rotate(360deg); }
}

/* Komunikaty błędów i sukcesów */
.hlp-xkom-alert {
    margin-top: 10px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}
.hlp-xkom-alert.is-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #f87171 !important;
}
.hlp-xkom-alert.is-success {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    color: #4ade80 !important;
}

/* Ukrycie starych, niepotrzebnych pól kuponu WooCommerce */
.woocommerce-cart-form div.coupon,
.woocommerce-form-coupon-toggle,
form.checkout_coupon.woocommerce-form-coupon {
    display: none !important;
}



/* Stylizacja pola ulicy w kalkulatorze wysylki koszyka */
#calc_shipping_address_1_field {
    margin-bottom: 12px !important;
}
#calc_shipping_address_1_field label {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}
#calc_shipping_address_1_field input.input-text {
    width: 100% !important;
    height: 42px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    font-size: 13.5px !important;
}

/* ==========================================================================
   MOJE KONTO (LOGIN & REGISTER CARDS - EQUAL HEIGHT & NEAT LAYOUT)
   ========================================================================== */
#customer_login {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    align-items: stretch !important;
    max-width: 1040px !important;
    margin: 20px auto 48px auto !important;
    clear: both !important;
}
#customer_login::before,
#customer_login::after {
    display: none !important;
}

#customer_login .u-column1,
#customer_login .u-column2,
#customer_login .col-1,
#customer_login .col-2 {
    float: none !important;
    width: auto !important;
    flex: 1 1 360px !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

#customer_login h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.3 !important;
}
html[data-theme="light"] #customer_login h2,
body.theme-light #customer_login h2 {
    color: #0f172a !important;
}

#customer_login form.login,
#customer_login form.register {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 30px !important;
    background: #17212f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
}
html[data-theme="light"] #customer_login form.login,
body.theme-light #customer_login form.login,
html[data-theme="light"] #customer_login form.register,
body.theme-light #customer_login form.register {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

/* Pola formularzy */
#customer_login .form-row-wide {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
#customer_login label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
}
html[data-theme="light"] #customer_login label,
body.theme-light #customer_login label {
    color: #334155 !important;
}
#customer_login label .required {
    color: #ef4444 !important;
    text-decoration: none !important;
}

#customer_login input.input-text {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
html[data-theme="light"] #customer_login input.input-text,
body.theme-light #customer_login input.input-text {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
#customer_login input.input-text:focus {
    border-color: #58bd8e !important;
    box-shadow: 0 0 0 2px rgba(88, 189, 142, 0.25) !important;
    outline: none !important;
}

/* Opis przy rejestracji */
#customer_login form.register > p:not(.form-row) {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #94a3b8 !important;
    margin: 0 0 16px 0 !important;
}
html[data-theme="light"] #customer_login form.register > p:not(.form-row),
body.theme-light #customer_login form.register > p:not(.form-row) {
    color: #64748b !important;
}

/* Polityka prywatności */
#customer_login .woocommerce-privacy-policy-text {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin: 0 0 20px 0 !important;
}
#customer_login .woocommerce-privacy-policy-text p {
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
}
#customer_login .woocommerce-privacy-policy-text a {
    color: #58bd8e !important;
    text-decoration: underline !important;
}
html[data-theme="light"] #customer_login .woocommerce-privacy-policy-text,
body.theme-light #customer_login .woocommerce-privacy-policy-text {
    color: #64748b !important;
}
html[data-theme="light"] #customer_login .woocommerce-privacy-policy-text a,
body.theme-light #customer_login .woocommerce-privacy-policy-text a {
    color: #1e5e4d !important;
}

/* Wiersz przycisku w formularzu logowania */
#customer_login form.login p.form-row:not(.form-row-wide) {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 6px 0 16px 0 !important;
    flex-wrap: wrap !important;
}
#customer_login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    user-select: none !important;
}
html[data-theme="light"] #customer_login .woocommerce-form-login__rememberme,
body.theme-light #customer_login .woocommerce-form-login__rememberme {
    color: #64748b !important;
}

/* Przyciski Submit */
#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
    height: 42px !important;
    padding: 0 24px !important;
    background: #58bd8e !important;
    color: #0d1117 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, transform 0.1s ease !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#customer_login .woocommerce-form-login__submit:hover,
#customer_login .woocommerce-form-register__submit:hover {
    background: #46a77a !important;
    color: #0d1117 !important;
}

/* Wyrównanie dolnych sekcji w obu kartach */
#customer_login form.login .woocommerce-LostPassword {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html[data-theme="light"] #customer_login form.login .woocommerce-LostPassword,
body.theme-light #customer_login form.login .woocommerce-LostPassword {
    border-top-color: #f1f5f9 !important;
}
#customer_login .woocommerce-LostPassword a {
    font-size: 13px !important;
    color: #58bd8e !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}
#customer_login .woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
}
html[data-theme="light"] #customer_login .woocommerce-LostPassword a,
body.theme-light #customer_login .woocommerce-LostPassword a {
    color: #1e5e4d !important;
}

#customer_login form.register p.form-row:last-child {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
}

@media (max-width: 768px) {
    #customer_login {
        flex-direction: column !important;
        gap: 28px !important;
    }
}


/* ===== Hero archiwum produktów (Sklep / Promocje / kategorie): kontrast w obu motywach ===== */
html[data-theme="light"] .product-archive-hero-section,
html[data-theme="light"] .product-archive-hero-section .entry-hero-container-inner {
  background: #f8fafc !important;
  background-image: none !important;
}

html[data-theme="light"] .product-archive-hero-section .hero-section-overlay {
  background: transparent !important;
}

html[data-theme="light"] .product-archive-hero-section .entry-title,
html[data-theme="light"] .product-archive-hero-section h1 {
  color: #1a202c !important;
}

html[data-theme="light"] .product-archive-hero-section .kadence-breadcrumbs,
html[data-theme="light"] .product-archive-hero-section .kadence-breadcrumbs span {
  color: #4a5568 !important;
}

html[data-theme="light"] .product-archive-hero-section .kadence-breadcrumbs a {
  color: #2d3748 !important;
  text-decoration: underline;
}

html[data-theme="light"] .product-archive-hero-section .kadence-breadcrumbs a:hover {
  color: #1e5e4d !important;
}

html:not([data-theme="light"]) .product-archive-hero-section .entry-hero-container-inner {
  background: #161e2e;
}

html:not([data-theme="light"]) .product-archive-hero-section .entry-title,
html:not([data-theme="light"]) .product-archive-hero-section h1 {
  color: #ffffff;
}

html:not([data-theme="light"]) .product-archive-hero-section .kadence-breadcrumbs,
html:not([data-theme="light"]) .product-archive-hero-section .kadence-breadcrumbs a {
  color: #94a3b8;
}











/* ==========================================================================
   HLP OVERNIGHT STYLES (Tasks 4, 5, 6)
   ========================================================================== */

/* Task 4: Ukrycie Express Checkout (Apple Pay, Google Pay, Link) na kartach produktow */
.single-product #wc-stripe-payment-request-wrapper,
.single-product #wc-stripe-payment-request-button-separator,
.single-product .wc-stripe-express-checkout-button,
.single-product .payment_request_button,
.single-product .link-payment-button,
.single-product div[data-payment-request-button-location="product"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Task 4: Karuzela 'Inni klienci kupili rowniez' */
.hlp-also-bought-wrap {
    margin: 48px 0 32px;
    padding: 28px 24px;
    background: #151e2b;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .hlp-also-bought-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.hlp-also-bought-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.hlp-also-bought-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    color: #f8fafc !important;
}
html[data-theme="light"] .hlp-also-bought-title {
    color: #0f172a !important;
}
.hlp-also-bought-sub {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}
html[data-theme="light"] .hlp-also-bought-sub {
    color: #64748b;
}
.hlp-ab-controls {
    display: flex;
    gap: 8px;
}
.hlp-ab-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}
html[data-theme="light"] .hlp-ab-arrow {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}
.hlp-ab-arrow:hover {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.3);
}
html[data-theme="light"] .hlp-ab-arrow:hover {
    background: #e2e8f0;
}
.hlp-also-bought-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}
.hlp-also-bought-carousel::-webkit-scrollbar {
    height: 6px;
}
.hlp-also-bought-carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}
html[data-theme="light"] .hlp-also-bought-carousel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}
.hlp-also-bought-track {
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.hlp-ab-card {
    flex: 0 0 220px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}
html[data-theme="light"] .hlp-ab-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.hlp-ab-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.hlp-ab-thumb img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}
.hlp-ab-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
}
.hlp-ab-title {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hlp-ab-title a {
    color: #f8fafc !important;
    text-decoration: none;
}
html[data-theme="light"] .hlp-ab-title a {
    color: #0f172a !important;
}
.hlp-ab-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #58bd8e;
    margin-bottom: 8px;
}
html[data-theme="light"] .hlp-ab-price {
    color: #1e5e4d;
}
.hlp-ab-atc {
    display: block !important;
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 8px !important;
    background: #1e5e4d !important;
    color: #ffffff !important;
    border: none !important;
    transition: background 0.15s !important;
}
.hlp-ab-atc:hover {
    background: #164a3d !important;
    color: #ffffff !important;
}

/* Task 5: Usuniecie 'Wybierz kategorie' z glownej strony sklepu */
.post-type-archive-product .woocommerce-products-header .page-description,
.woocommerce-shop .woocommerce-products-header .page-description,
.post-type-archive-product .hlp-cats,
.woocommerce-shop .hlp-cats,
.woocommerce-shop section.hlp-category-showcase,
.page-id-958 .hlp-cats,
.page-id-958 section.hlp-category-showcase {
    display: none !important;
}

/* Task 5: Usuniecie grafiki kart platniczych ze stopki */
.site-footer #media_image-1,
.footer-widget4 #media_image-1,
#colophon #media_image-1 {
    display: none !important;
}

/* Task 6: Koszyk w trybie jasnym - kontrast dla ilosci, naglowkow i cen */
html[data-theme="light"] .woocommerce-cart-form .quantity input.qty,
html[data-theme="light"] .woocommerce-cart-form input.qty,
html[data-theme="light"] .quantity input[type="number"],
html[data-theme="light"] .quantity .qty,
html[data-theme="light"] input.qty {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}
html[data-theme="light"] .quantity button,
html[data-theme="light"] .quantity .plus,
html[data-theme="light"] .quantity .minus {
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    opacity: 1 !important;
}
html[data-theme="light"] .woocommerce-cart-form td.product-name a,
html[data-theme="light"] .woocommerce-cart-form td.product-name,
html[data-theme="light"] .woocommerce-cart-form td.product-price,
html[data-theme="light"] .woocommerce-cart-form td.product-subtotal,
html[data-theme="light"] .woocommerce-cart-form th,
html[data-theme="light"] .woocommerce-cart-form td {
    color: #0f172a !important;
    font-weight: 600 !important;
}

/* Task 6: Harmonizacja gornej belki (announcement bar) */
html[data-theme="light"] .site-top-header-wrap,
html[data-theme="light"] .site-top-header-wrap .site-header-row-container,
html[data-theme="light"] .site-top-header-wrap .site-header-row-container-inner {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
html[data-theme="light"] .site-top-header-wrap,
html[data-theme="light"] .site-top-header-wrap p,
html[data-theme="light"] .site-top-header-wrap span,
html[data-theme="light"] .site-top-header-wrap a,
html[data-theme="light"] .site-top-header-wrap .header-html,
html[data-theme="light"] .site-top-header-wrap .header-html * {
    color: #334155 !important;
}
html[data-theme="light"] .site-top-header-wrap strong {
    color: #1e5e4d !important;
    font-weight: 700 !important;
}

html:not([data-theme="light"]) .site-top-header-wrap,
html:not([data-theme="light"]) .site-top-header-wrap .site-header-row-container,
html:not([data-theme="light"]) .site-top-header-wrap .site-header-row-container-inner {
    background: #0f172a !important;
    background-color: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html:not([data-theme="light"]) .site-top-header-wrap,
html:not([data-theme="light"]) .site-top-header-wrap p,
html:not([data-theme="light"]) .site-top-header-wrap span,
html:not([data-theme="light"]) .site-top-header-wrap a,
html:not([data-theme="light"]) .site-top-header-wrap .header-html,
html:not([data-theme="light"]) .site-top-header-wrap .header-html * {
    color: #cbd5e1 !important;
}
html:not([data-theme="light"]) .site-top-header-wrap strong {
    color: #58bd8e !important;
    font-weight: 700 !important;
}

/* Task 6: Baner kontaktowy w trybie ciemnym */
html:not([data-theme="light"]) .page-id-1142 .entry-hero,
html:not([data-theme="light"]) .page-id-1142 .wp-block-kadence-rowlayout.has-theme-palette-2-background-color,
html:not([data-theme="light"]) .page-id-1142 .kt-row-column-wrap {
    background: linear-gradient(135deg, #111827 0%, #1e293b 100%) !important;
}
html:not([data-theme="light"]) .page-id-1142 .wp-block-kadence-advancedheading h1,
html:not([data-theme="light"]) .page-id-1142 h1.kt-adv-heading {
    color: #ffffff !important;
}


/* ==========================================================================
   HLP Mobile Search Drawer (#search-drawer)
   ========================================================================== */
#search-drawer.popup-drawer {
  z-index: 99999 !important;
}

#search-drawer .drawer-overlay {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#search-drawer .drawer-inner {
  background: rgba(15, 23, 42, 0.98) !important;
  color: #f8fafc !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 24px !important;
  box-sizing: border-box !important;
}

html[data-theme="light"] #search-drawer .drawer-inner {
  background: rgba(255, 255, 255, 0.99) !important;
  color: #0f172a !important;
}

#search-drawer .drawer-header {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 8px 0 !important;
  min-height: 48px !important;
}

#search-drawer .search-toggle-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background 0.15s ease !important;
}
#search-drawer .search-toggle-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}
#search-drawer .search-toggle-close svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

html[data-theme="light"] #search-drawer .search-toggle-close {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
html[data-theme="light"] #search-drawer .search-toggle-close:hover {
  background: #e2e8f0 !important;
}

#search-drawer .drawer-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 16px 0 0 !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  position: static !important;
  height: auto !important;
}

#search-drawer form.woocommerce-product-search,
#search-drawer form.search-form {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  position: relative !important;
  gap: 12px !important;
}

#search-drawer .search-field {
  width: 100% !important;
  height: 52px !important;
  border-radius: 14px !important;
  border: 1.5px solid #334155 !important;
  background: #1e293b !important;
  color: #ffffff !important;
  font-size: 16px !important;
  padding: 0 54px 0 16px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
#search-drawer .search-field::placeholder {
  color: #94a3b8 !important;
}
#search-drawer .search-field:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

html[data-theme="light"] #search-drawer .search-field {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
html[data-theme="light"] #search-drawer .search-field::placeholder {
  color: #64748b !important;
}
html[data-theme="light"] #search-drawer .search-field:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

/* Przycisk lupy w polu wyszukiwania */
#search-drawer form button[type="submit"],
#search-drawer form input[type="submit"],
#search-drawer form .search-submit {
  position: absolute !important;
  right: 6px !important;
  top: 6px !important;
  height: 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: #1e5e4d !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 2 !important;
}
#search-drawer form button[type="submit"]:hover {
  background: #164a3d !important;
}
#search-drawer form .kadence-search-icon-wrap {
  position: absolute !important;
  right: 6px !important;
  top: 6px !important;
  height: 40px !important;
  width: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 3 !important;
  color: #ffffff !important;
}
#search-drawer form .kadence-search-icon-wrap svg {
  width: 18px !important;
  height: 18px !important;
  color: #ffffff !important;
  fill: currentColor !important;
}

/* Wyniki live search wewnątrz drawer */
#search-drawer .hlp-ls {
  position: static !important;
  width: 100% !important;
  margin-top: 8px !important;
  max-height: calc(100vh - 200px) !important;
  box-sizing: border-box !important;
}


/* ==========================================================================
   HLP RODO / GDPR - Usuwanie konta klienta (Account Deletion)
   ========================================================================== */
.hlp-danger-zone-card {
  margin-top: 40px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.hlp-danger-zone-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hlp-danger-zone-body {
  flex: 1 1 auto;
}
.hlp-danger-zone-title {
  margin: 0 0 6px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #ef4444 !important;
}
.hlp-danger-zone-desc {
  margin: 0 0 14px !important;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #94a3b8;
}
html[data-theme="light"] .hlp-danger-zone-desc {
  color: #64748b;
}
.hlp-btn-danger-outline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  background: transparent !important;
  color: #ef4444 !important;
  border: 1.5px solid #ef4444 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.hlp-btn-danger-outline:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

/* Strona endpointu: usun-konto */
.hlp-delete-account-wrap {
  max-width: 680px;
  margin: 0 auto 40px;
}
.hlp-delete-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 12px;
}
html[data-theme="light"] .hlp-delete-badge {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.2);
}
.hlp-delete-title {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  color: #f8fafc !important;
}
html[data-theme="light"] .hlp-delete-title {
  color: #0f172a !important;
}
.hlp-delete-lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
}
html[data-theme="light"] .hlp-delete-lead {
  color: #475569;
}
.hlp-delete-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.hlp-delete-info-card {
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.hlp-delete-info--removed {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #cbd5e1;
}
html[data-theme="light"] .hlp-delete-info--removed {
  background: #fef2f2;
  border-color: #fecaca;
  color: #334155;
}
.hlp-delete-info--removed ul {
  margin: 10px 0 0 18px;
  padding: 0;
}
.hlp-delete-info--removed li {
  margin-bottom: 6px;
}
.hlp-delete-info--legal {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #cbd5e1;
}
html[data-theme="light"] .hlp-delete-info--legal {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #334155;
}
.hlp-delete-info--legal p {
  margin: 8px 0 0;
}
.hlp-info-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #f8fafc;
}
html[data-theme="light"] .hlp-info-head {
  color: #0f172a;
}

/* Formularz usunięcia */
.hlp-delete-account-form {
  background: #151e2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
}
html[data-theme="light"] .hlp-delete-account-form {
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.hlp-del-field-wrap {
  margin-bottom: 18px;
}
.hlp-del-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f8fafc;
}
html[data-theme="light"] .hlp-del-label {
  color: #0f172a;
}
.hlp-del-input {
  width: 100% !important;
  max-width: 360px !important;
  height: 46px !important;
  border-radius: 8px !important;
  border: 1px solid #334155 !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 0 14px !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
}
html[data-theme="light"] .hlp-del-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
.hlp-del-checkbox-wrap {
  margin-bottom: 24px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.hlp-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: #f87171 !important;
  cursor: pointer !important;
}
.hlp-checkbox-label input[type="checkbox"] {
  margin-top: 3px !important;
  accent-color: #ef4444 !important;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.hlp-del-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hlp-btn-danger {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.1s ease !important;
}
.hlp-btn-danger:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
}
.hlp-btn-cancel {
  background: transparent !important;
  color: #94a3b8 !important;
  border: 1px solid #334155 !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
html[data-theme="light"] .hlp-btn-cancel {
  color: #475569 !important;
  border-color: #cbd5e1 !important;
}
.hlp-btn-cancel:hover {
  color: #f8fafc !important;
  border-color: #64748b !important;
}
html[data-theme="light"] .hlp-btn-cancel:hover {
  color: #0f172a !important;
}

/* Wyróżnienie pozycji 'Usuń konto' w menu Moje Konto */
.woocommerce-MyAccount-navigation-link--usun-konto a {
  color: #ef4444 !important;
  transition: color 0.15s ease !important;
}
.woocommerce-MyAccount-navigation-link--usun-konto.is-active a,
.woocommerce-MyAccount-navigation-link--usun-konto a:hover {
  color: #dc2626 !important;
}
html[data-theme="light"] .woocommerce-MyAccount-navigation-link--usun-konto a {
  color: #b91c1c !important;
}
html[data-theme="light"] .woocommerce-MyAccount-navigation-link--usun-konto.is-active a,
html[data-theme="light"] .woocommerce-MyAccount-navigation-link--usun-konto a:hover {
  color: #991b1b !important;
}
