/*
Theme Name:   Partdo Child
 Theme URI:    http://klbtheme.com/partdo/
 Description:  Partdo Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     partdo
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  partdo-child
*/

/* ========================================
   Contact Page Styles
   ======================================== */

/* Section: Nasz Zespół - Team Cards */
.contact-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.contact-team-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.contact-team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-team-card h4 {
  margin: 0 0 3px;
  font-size: 17px;
  color: #222;
}

.contact-team-card .team-role {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.contact-team-card .team-contact {
  display: flex;
  gap: 15px;
}

.contact-team-card .team-contact a {
  font-size: 14px;
  color: #c62828;
  text-decoration: none;
}

.contact-team-card .team-contact a:hover {
  text-decoration: underline;
}

/* Section: Dla jednostek OSP/PSP */
.contact-institutional {
  background: #f5f5f5;
  padding: 50px 20px;
  margin: 50px -20px;
  width: calc(100% + 40px);
}

.contact-institutional .institutional-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-institutional h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #222;
}

.contact-institutional .institutional-intro {
  font-size: 16px;
  margin-bottom: 25px;
  color: #444;
}

.institutional-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.institutional-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.institutional-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Section: Doradztwo Strażackie */
.contact-advisory {
  background: #c62828;
  color: #fff;
  padding: 50px 20px;
  margin: 50px -20px;
  width: calc(100% + 40px);
  text-align: center;
}

.contact-advisory .advisory-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-advisory h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #fff;
}

.contact-advisory p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.95;
}

.contact-advisory .advisory-cta a {
  display: inline-block;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 20px;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
  transition: border-color 0.2s;
}

.contact-advisory .advisory-cta a:hover {
  border-color: #fff;
}

/* Section: Contact Form */
.wpcf7 {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form-grid .form-row {
  margin-bottom: 0;
}

/* CF7 wraps fields in <p> tags - remove their margins */
.contact-form-grid .form-row p {
  margin: 0;
}

.contact-form-grid .form-row-half {
  /* grid handles columns */
}

.contact-form-grid .form-row-full {
  grid-column: 1 / -1;
}

.contact-form-grid input[type="text"],
.contact-form-grid input[type="email"],
.contact-form-grid input[type="tel"],
.contact-form-grid select,
.contact-form-grid textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.2s;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
  border-color: #c62828;
  outline: none;
}

.contact-form-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-grid .rodo-consent {
  font-size: 13px;
  color: #666;
}

.contact-form-grid .rodo-consent a {
  color: #c62828;
}

.contact-form-grid input[type="submit"] {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form-grid input[type="submit"]:hover {
  background: #a51c1c;
}

.contact-form-grid small {
  display: block;
  margin-top: 5px;
  color: #888;
  font-size: 12px;
}

/* Section: Dane firmy + Mapa */
.contact-company-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 50px 0;
  align-items: start;
}

.contact-company-data h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-company-data p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.contact-company-data strong {
  color: #222;
}

.contact-map-static img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.contact-map-static a {
  display: block;
}

/* Section: Social Media */
.contact-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #444;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.contact-social a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-social a:hover {
  background: #c62828;
  color: #fff;
}

/* ========================================
   Shop SEO Text
   ======================================== */

.shop-seo-text {
  margin-top: 50px;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.shop-seo-text h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 15px;
}

.shop-seo-text h3 {
  font-size: 18px;
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
}

.shop-seo-text p {
  margin-bottom: 15px;
}

.shop-seo-text ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.shop-seo-text ul li {
  margin-bottom: 5px;
}

/* ========================================
   About Page Styles
   ======================================== */

/* Section: Stats Counter */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0;
  text-align: center;
}

.about-stats .stat-item {
  padding: 30px 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.about-stats .stat-icon {
  display: block;
  margin: 0 auto 10px;
}

.about-stats .stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #c62828;
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-stats .stat-label {
  display: block;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* Section: Historia */
.about-history {
  max-width: 800px;
  margin: 50px auto;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.about-history p {
  margin-bottom: 20px;
}

.about-history strong {
  color: #222;
}

/* Section: Dlaczego my */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.about-why-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.about-why-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.about-why-item strong {
  display: block;
  font-size: 16px;
  color: #222;
  margin-bottom: 5px;
}

.about-why-item span {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Section: Certyfikaty i partnerzy */
.about-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 50px 0;
}

.about-certs h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
}

.about-certs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.about-cert-badge {
  width: 80px;
  height: 80px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999;
  text-align: center;
  padding: 5px;
  border: 1px solid #e0e0e0;
  filter: grayscale(100%);
  transition: filter 0.2s;
}

.about-cert-badge:hover {
  filter: grayscale(0%);
}

.about-partner-logo {
  width: 120px;
  height: 60px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999;
  text-align: center;
  padding: 5px;
  border: 1px solid #e0e0e0;
  filter: grayscale(100%);
  transition: filter 0.2s;
}

.about-partner-logo:hover {
  filter: grayscale(0%);
}

/* Section: Zaufali nam */
.about-clients {
  margin: 50px 0;
  text-align: center;
}

.about-clients h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #222;
}

.about-clients p {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
}

.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-client-logo {
  height: 80px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #bbb;
  border: 1px solid #e0e0e0;
}

/* ========================================
   Section 9: Kup wg Zastosowania
   ======================================== */

.remiza-app-categories {
  margin: 40px 0;
}

.remiza-app-header {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--color-info-dark, #dee2e6);
}

.remiza-app-title {
  font-size: 1.0625rem;
  line-height: normal;
  font-weight: 600;
  color: var(--color-text-primary, #212529);
  margin: 0;
}

@media screen and (min-width: 992px) {
  .remiza-app-title {
    font-size: 1.25rem;
  }
}

/* Desktop: Featured Hero + Grid */
.remiza-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 12px;
}

/* Hero card: left column, spans 2 rows */
.remiza-app-card--pos-hero {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Right column cards */
.remiza-app-card--pos-right-top {
  grid-column: 2;
  grid-row: 1;
}

.remiza-app-card--pos-right-bottom {
  grid-column: 2;
  grid-row: 2;
}

/* Bottom row: 3 columns spanning full width */
.remiza-app-card--pos-bottom-1 {
  grid-column: 1;
  grid-row: 3;
}

.remiza-app-card--pos-bottom-2 {
  grid-column: 2;
  grid-row: 3;
}

/* Override grid for bottom row of 3 items */
@media (min-width: 1025px) {
  .remiza-app-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .remiza-app-card--pos-hero {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }

  .remiza-app-card--pos-right-top {
    grid-column: 4 / 7;
    grid-row: 1;
  }

  .remiza-app-card--pos-right-bottom {
    grid-column: 4 / 7;
    grid-row: 2;
  }

  .remiza-app-card--pos-bottom-1 {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .remiza-app-card--pos-bottom-2 {
    grid-column: 3 / 5;
    grid-row: 3;
  }

  .remiza-app-card--pos-bottom-3 {
    grid-column: 5 / 7;
    grid-row: 3;
  }

  .remiza-app-card--pos-final-1 {
    grid-column: 1 / 4;
    grid-row: 4;
  }

  .remiza-app-card--pos-final-2 {
    grid-column: 4 / 7;
    grid-row: 4;
  }
}

/* Card base style */
.remiza-app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.remiza-app-card:hover {
  border-color: #EF233C;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Hero card: vertical layout, larger */
.remiza-app-card--hero {
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.remiza-app-card--hero .remiza-app-icon {
  width: 72px;
  height: 72px;
  font-size: 32px;
}

.remiza-app-card--hero .remiza-app-name {
  font-size: 20px;
  margin-top: 8px;
}

.remiza-app-card--hero .remiza-app-subtitle {
  font-size: 14px;
}

/* Icon circle */
.remiza-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #333;
}

.remiza-app-icon i,
.remiza-app-icon svg {
  font-size: inherit;
  width: 1em;
  height: 1em;
}

/* Text content */
.remiza-app-text {
  min-width: 0;
}

.remiza-app-name {
  font-size: 15px;
  font-weight: 600;
  color: #212529;
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.remiza-app-subtitle {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

.remiza-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #EF233C;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.remiza-app-cta i {
  font-size: 12px;
  transition: transform 0.2s;
}

.remiza-app-card:hover .remiza-app-cta i {
  transform: translateX(3px);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .contact-company-map {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-certs {
    grid-template-columns: 1fr;
  }

  .about-clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .remiza-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .remiza-app-card--pos-hero,
  .remiza-app-card--pos-right-top,
  .remiza-app-card--pos-right-bottom,
  .remiza-app-card--pos-bottom-1,
  .remiza-app-card--pos-bottom-2,
  .remiza-app-card--pos-bottom-3,
  .remiza-app-card--pos-final-1,
  .remiza-app-card--pos-final-2 {
    grid-column: auto;
    grid-row: auto;
  }

  .remiza-app-card--hero {
    grid-column: span 2;
    flex-direction: row;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .contact-team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-advisory .advisory-cta a {
    display: block;
    margin: 10px 0;
  }

  .about-why-grid {
    grid-template-columns: 1fr;
  }

  .about-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .remiza-app-grid {
    grid-template-columns: 1fr;
  }

  .remiza-app-card--hero {
    grid-column: auto;
  }
}

/* ========================================
   Hero slider — Realizacje slide adjustments
   Push button down on slides where title/subtitle/desc are empty
   ======================================== */

@media screen and (min-width: 992px) {
  .klbth-module-slider .slick-slide .entry-inner:has(.entry-title:empty) .entry-heading,
  .klbth-module-slider .slick-slide .entry-inner:has(.entry-title:empty) .entry-excerpt {
    display: none;
  }
  .klbth-module-slider .slick-slide .entry-inner:has(.entry-title:empty) .slider-footer {
    position: absolute;
    bottom: 8%;
    left: 0;
  }
}



/* ========================================
   Hero/banner description — make text more readable on photo backgrounds
   ======================================== */
.klbth-banner .entry-excerpt.weight-300,
.klbth-module-slider .entry-excerpt.weight-300,
.klbth-module-category-products .entry-excerpt.weight-300 {
  font-weight: 500;
}
.klbth-banner.color-scheme-light .entry-excerpt p,
.klbth-banner.color-scheme-light .entry-title,
.klbth-banner.color-scheme-light .entry-subtitle {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.4);
}


/* ========================================
   Top bar nav — icons before menu items
   (target by menu-item ID so it works on every page type:
    home uses .header-topbar, shop/category/product use .klbth-menu-wrapper.primary)
   ======================================== */
#topbar-left > li > a::before,
#topbar-right > li > a::before {
  font-family: "klbtheme";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  margin-right: 6px;
  font-size: 1.05em;
  vertical-align: -2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  speak: never;
}
#menu-item-96924 > a::before { content: "\ea41"; } /* Dom — home */
#menu-item-96925 > a::before { content: "\eadf"; } /* Promocje — percentage */
#menu-item-96926 > a::before { content: "\ea89"; } /* Blog — newspaper */
#menu-item-96927 > a::before { content: "\e8b1"; } /* Kontakt — envelope */
#menu-item-3655  > a::before { content: "\e9f6"; color: #DB1A1A; } /* Portal Remiza.pl — fire (brand-red accent) */


/* ========================================
   Homepage SEO text block (below subfooter)
   ======================================== */
.homepage-seo-text {
  padding: 40px 15px 50px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.65;
}
.homepage-seo-text h2 {
  font-size: 1.35rem;
  margin: 1.6em 0 0.6em;
  color: #1a1a1a;
}
.homepage-seo-text h2:first-of-type { margin-top: 0; }
.homepage-seo-text p { margin-bottom: 1em; }
.homepage-seo-text ul {
  list-style: disc;
  margin: 0 0 1em 1.5em;
}
.homepage-seo-text ul li { margin-bottom: 0.25em; }


/* ========================================
   Footer logo — preserve aspect ratio (parent rule sets height:2.375rem)
   ======================================== */
.footer-widgets .widget_about_company .company-logo img,
.footer-widgets .widget_about_company .site-brand img {
  width: auto;
  height: auto;
  max-height: 3rem;
  max-width: 100%;
  display: block;
}


/* ========================================
   Nasi Dostawcy — supplier carousel hover effect
   Parent theme: opacity 0.5 + grayscale, hover opacity 1 (still grayscale).
   Override: hover removes grayscale (full color) + subtle scale + pointer.
   ======================================== */
.klbth-module-logos .logos-wrapper .logo-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  cursor: pointer;
}
.klbth-module-logos .logos-wrapper .logo-item img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.klbth-module-logos.grayscale-enable .logos-wrapper a:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
  opacity: 1;
}
/* Slick arrows — small, discreet, brand-color on hover */
.klbth-module-logos .slick-prev,
.klbth-module-logos .slick-next {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.klbth-module-logos .slick-prev:hover,
.klbth-module-logos .slick-next:hover { opacity: 1; }

/* ========================================
   Footer sub-banner — info asterisk + tooltip on hover
   ======================================== */
.footer-row.subfooter .sub-banners .info-asterisk {
  color: #DB1A1A;
  cursor: help;
  margin-left: 1px;
  font-weight: 700;
  position: relative;
}
.footer-row.subfooter .sub-banners .info-asterisk:hover::after,
.footer-row.subfooter .sub-banners .info-asterisk:focus::after {
  content: attr(title);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
  width: 280px;
  max-width: 90vw;
  text-align: center;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.footer-row.subfooter .sub-banners .info-asterisk:hover::before,
.footer-row.subfooter .sub-banners .info-asterisk:focus::before {
  content: "";
  position: absolute;
  bottom: 118%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a1a1a;
  z-index: 50;
  pointer-events: none;
}

/* ============================================================
   Ikony przy pozycjach sidebar menu (15 pozycji).
   Motyw partdo renderuje klasę `menu-icon-*` jako pusty <i> wewnątrz <a>:
     <li><a><span class="menu-icon"><i class="menu-icon-hydrant"></i></span> Label</a></li>
   Klasy ustawione w DB jako _menu_item_classes (UPDATE 2026-05-11).
   Pliki PNG: /wp-content/uploads/menu-icons/<slug>.png
   ============================================================ */
i[class*="menu-icon-"] {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}
i.menu-icon-kurtka-bojowa        { background-image: url("/wp-content/uploads/menu-icons/kurtka-bojowa.png"); }
i.menu-icon-helm-bojowy          { background-image: url("/wp-content/uploads/menu-icons/helm-bojowy.png"); }
i.menu-icon-helm-ratowniczy      { background-image: url("/wp-content/uploads/menu-icons/helm-ratowniczy.png"); }
i.menu-icon-hydrant              { background-image: url("/wp-content/uploads/menu-icons/hydrant.png"); }
i.menu-icon-nasada-rozdzielacz   { background-image: url("/wp-content/uploads/menu-icons/nasada-rozdzielacz.png"); }
i.menu-icon-agregat-pradotworczy { background-image: url("/wp-content/uploads/menu-icons/agregat-pradotworczy.png"); }
i.menu-icon-nozyce-hydrauliczne  { background-image: url("/wp-content/uploads/menu-icons/nozyce-hydrauliczne.png"); }
i.menu-icon-torba-medyczna       { background-image: url("/wp-content/uploads/menu-icons/torba-medyczna.png"); }
i.menu-icon-kolo-ratunkowe       { background-image: url("/wp-content/uploads/menu-icons/kolo-ratunkowe.png"); }
i.menu-icon-deska-ratownicza     { background-image: url("/wp-content/uploads/menu-icons/deska-ratownicza.png"); }
i.menu-icon-aparat-powietrzny    { background-image: url("/wp-content/uploads/menu-icons/aparat-powietrzny.png"); }
i.menu-icon-maska-aparatu        { background-image: url("/wp-content/uploads/menu-icons/maska-aparatu.png"); }
i.menu-icon-pilarka              { background-image: url("/wp-content/uploads/menu-icons/pilarka.png"); }
i.menu-icon-remiza               { background-image: url("/wp-content/uploads/menu-icons/remiza.png"); }
i.menu-icon-katalog-promocja     { background-image: url("/wp-content/uploads/menu-icons/katalog-promocja.png"); }

/* ============================================================
   Kup wg Zastosowania — <img> w środku okręgu .remiza-app-icon.
   Widget remiza-application-categories renderuje
   <img class="remiza-app-icon__img"> gdy app_image jest ustawione
   (pole MEDIA w Elementor UI). Wartości w Elementor data dla strony
   głównej (post 40) — patrz backup woo21D_postmeta_elementor_backup_20260511.
   ============================================================ */
.remiza-app-icon--image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.remiza-app-icon__img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

/* ========================================
   Footer social — FB link
   ======================================== */
.footer-widgets .company-social {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer-widgets .company-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-widgets .company-social a:hover {
  background: #1877F2; /* Facebook brand */
  color: #fff;
}
.footer-widgets .company-social a i {
  font-size: 1rem;
}

/* Instagram pill — gradient on hover */
.footer-widgets .company-social a.social-ig:hover {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}


/* ========================================
   Widget: Remiza Related Products Slider (single blog sidebar)
   ======================================== */
.widget_remiza_related_products .remiza-related-products-slider {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.widget_remiza_related_products .related-product-slide {
  padding: 20px 16px 24px;
  text-align: center;
}
.widget_remiza_related_products .related-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.widget_remiza_related_products .related-product-card:hover {
  transform: translateY(-2px);
}
.widget_remiza_related_products .related-product-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.widget_remiza_related_products .related-product-media img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.widget_remiza_related_products .related-product-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 6px;
}
.widget_remiza_related_products .related-product-name {
  font-size: 14px;
  line-height: 1.35;
  margin: 6px 0 10px;
  color: #222;
  font-weight: 600;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.widget_remiza_related_products .related-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #c62828;
  margin-bottom: 14px;
}
.widget_remiza_related_products .related-product-price del {
  color: #999;
  font-weight: 400;
  font-size: 13px;
  margin-right: 6px;
}
.widget_remiza_related_products .related-product-price ins {
  text-decoration: none;
}
.widget_remiza_related_products .related-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c62828;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.widget_remiza_related_products .related-product-card:hover .related-product-cta {
  background: #a51c1c;
}
/* Slick controls — arrows absolutely anchored to wrapper, dots flow as static block below slides. */
.widget_remiza_related_products .remiza-related-products-slider {
  position: relative;
}
.widget_remiza_related_products .slick-arrow {
  position: absolute;
  top: 130px; /* anchored over the product image, not the whole card */
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, background 0.2s, box-shadow 0.2s;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget_remiza_related_products .slick-arrow svg { width: 16px; height: 16px; }
.widget_remiza_related_products .slick-prev { left: 6px; }
.widget_remiza_related_products .slick-next { right: 6px; }
.widget_remiza_related_products .slick-arrow:hover {
  opacity: 1;
  background: #c62828;
  box-shadow: 0 2px 10px rgba(198,40,40,0.25);
}
.widget_remiza_related_products .slick-arrow:hover svg path { stroke: #fff; }

/* Dots: static block under .slick-list so they never overlap the CTA button.
   Fixed-size <li> with explicit line-height prevents the "one dot higher" quirk
   caused by Slick's <button>N</button> text affecting line metrics. */
.widget_remiza_related_products .slick-dots {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 16px 12px 18px;
  margin: 0;
  list-style: none;
  background: #fafafa;
  border-top: 1px solid #eee;
  line-height: 0;
}
.widget_remiza_related_products .slick-dots li {
  display: inline-flex;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.widget_remiza_related_products .slick-dots li button {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.widget_remiza_related_products .slick-dots li button:hover { background: #aaa; }
.widget_remiza_related_products .slick-dots li.slick-active button {
  background: #c62828;
  transform: scale(1.15);
}

/* ========================================
   Top notice — match home styling on header-sub
   (parent theme only styled .header-topbar .header-notice;
    on header-type-3 the wrapper is .header-row.header-sub instead,
    so we mirror the same rules for it.)
   ======================================== */
.site-header .header-row.header-sub .header-inner > .column.right {
  display: flex;
  align-items: center;
  height: 100%;
}
.site-header .header-row.header-sub .header-notice {
  display: flex;
  align-items: center;
  height: 100%;
}
.site-header .header-row.header-sub .header-notice p {
  font-size: inherit;
  margin-bottom: 0;
  line-height: 1;
}
.site-header .header-row.header-sub .header-notice p span {
  color: #868E96;
}
.site-header .header-row.header-sub .header-notice p strong {
  font-weight: 600;
}
.site-header .header-row.header-sub .header-notice p a {
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.28, 0.12, 0.22, 1);
}
.site-header .header-row.header-sub .header-notice p a:hover {
  color: #EF233C;
}
.site-header .header-row.header-sub .header-notice + .header-switcher,
.site-header .header-topbar .header-notice + .header-switcher {
  padding-left: 0 !important;
  margin-left: 1.25rem !important;
  border-left: 0 !important;
}

/* ========================================
   Price filter slider — make track visible
   (parent theme renders the jQuery UI slider with a 2px track which is
   barely visible; bump to 6 px and tint the active range with brand red.)
   ======================================== */
.widget_price_filter .price_slider {
  height: 6px;
  border-radius: 3px;
}
.widget_price_filter .price_slider .ui-slider-range {
  height: 6px;
  border-radius: 3px;
  background: #DB1A1A;
}
.widget_price_filter .price_slider .ui-slider-handle {
  top: -5px;
  margin-left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Social login placeholders (My Account form + header dropdown). Wired up in #47, #48. */
.remiza-social-login {
  margin: 0 0 22px;
}
.remiza-social-login--dropdown {
  margin: 0 0 14px;
}
.remiza-social-login--dropdown .remiza-social-login__btn {
  padding: 9px 12px;
  font-size: 13px;
}
.remiza-social-login--dropdown .remiza-social-login__divider {
  margin: 12px 0 2px;
}
.remiza-social-login__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  background: #fff;
  color: #3c4043;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #dadce0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.remiza-social-login__btn:hover:not([disabled]) {
  background: #f8faff;
  border-color: #c6d2f0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 1px 3px rgba(60, 64, 67, 0.08);
}
.remiza-social-login__btn:active:not([disabled]) {
  background: #eef3ff;
}
.remiza-social-login__btn[disabled] {
  cursor: not-allowed;
  opacity: 0.85;
}
.remiza-social-login__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.remiza-social-login__icon svg {
  display: block;
}
.remiza-social-login__label {
  letter-spacing: 0.15px;
}
.remiza-social-login__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 4px;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.remiza-social-login__divider::before,
.remiza-social-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* ========================================
   Footer — payment methods row
   ======================================== */
.footer-row.footer-payments {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-payments-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-payments-inner { justify-content: space-between; text-align: left; }
}
.footer-payments .payments-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer-payments .payments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-payments .payment-icon {
  width: 48px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}
.footer-payments .payment-icon:hover {
  transform: translateY(-1px);
}
.footer-payments .payment-icon svg,
.footer-payments .payment-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 3px 5px;
  box-sizing: border-box;
}
.footer-payments .payment-icon.pi-mastercard img { padding: 2px; }

/* ========================================
   Category page — top hero banner
   ======================================== */
.remiza-cat-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 22px;
  min-height: 200px;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a0e0e 100%);
  color: #fff;
}
.remiza-cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--remiza-cat-hero-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.remiza-cat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%);
}
.remiza-cat-hero-inner {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  max-width: 720px;
}
.remiza-cat-hero h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45), 0 2px 12px rgba(0,0,0,0.4);
}
.remiza-cat-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.remiza-cat-hero .cat-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #DB1A1A;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.remiza-cat-hero .cat-hero-cta:hover {
  background: #b71717;
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .remiza-cat-hero { min-height: 160px; }
  .remiza-cat-hero-inner { padding: 22px 20px; }
  .remiza-cat-hero h1 { font-size: 1.35rem; }
  .remiza-cat-hero p { font-size: 0.88rem; }
}

/* Alert "Wycena na zapytanie" — zastępuje cenę dla produktów z ceną 0.
   Renderowane przez remiza_quote_on_request_html() w functions.php. */
.remiza-quote-on-request {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff5f0;
  border: 1px solid #ffd6c2;
  color: #7a2b00;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
  max-width: 480px;
}
.remiza-quote-on-request__icon {
  color: #d2310f;
  flex: 0 0 auto;
  margin-top: 2px;
}
.remiza-quote-on-request__text { display: block; }
.remiza-quote-on-request__text strong {
  color: #d2310f;
  font-weight: 700;
}

/* W kompaktowych miejscach alert jest osadzony w <span class="price">
   (listingi, ajax-search, wishlist, related) zamiast w <p class="price">
   (single product). Spłaszczamy go wtedy do jednej linii bez ramki. */
span.price .remiza-quote-on-request {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.78rem;
  line-height: 1.3;
  background: #fff5f0;
  border: 1px solid #ffd6c2;
  color: #d2310f;
  font-weight: 600;
  max-width: 100%;
}
span.price .remiza-quote-on-request__icon {
  display: none;
}
span.price .remiza-quote-on-request__text strong {
  font-weight: 600;
}

/* CTA "Zapytaj o wycenę" w miejscu formularza koszyka na single product. */
.remiza-quote-on-request-cta {
  margin: 18px 0;
}
.remiza-quote-on-request-cta .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #d2310f;
  color: #fff !important;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.remiza-quote-on-request-cta .button:hover {
  background: #b71717;
  transform: translateY(-1px);
}


/* Inline shipping caveat next to "Darmowa dostawa od 5000 zł*" */
.footer-row.subfooter .sub-banners .footer-shipping-note {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 400;
  vertical-align: baseline;
}


/* ============================================================
   Single product: framed BRUTTO price + darker add-to-cart
   ============================================================ */

/* Only frame the price when it actually contains a price amount.
   Skipped for "wycena na zapytanie" alerts (no .woocommerce-Price-amount inside). */
body .single-product-wrapper .product-detail > .price:has(.woocommerce-Price-amount),
body .single-product-wrapper .product-detail p.price:has(.woocommerce-Price-amount),
.woocommerce div.product .summary p.price:has(.woocommerce-Price-amount) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px auto;
  padding: 14px 22px;
  width: fit-content;
  max-width: 100%;
  background: #fff7f7;
  border: 1px solid #f1d5d5;
  border-left: 5px solid #c62828;
  border-radius: 6px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1a2733;
  letter-spacing: 0.005em;
  text-align: center;
}

body .single-product-wrapper .product-detail > .price:has(.woocommerce-Price-amount)::after,
body .single-product-wrapper .product-detail p.price:has(.woocommerce-Price-amount)::after,
.woocommerce div.product .summary p.price:has(.woocommerce-Price-amount)::after {
  content: "BRUTTO";
  display: inline-block;
  padding: 5px 10px;
  background: #c62828;
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
  order: 3;
}

/* Sale: regular price struck through, sale price prominent in brand red */
body .single-product-wrapper .product-detail p.price del,
.woocommerce div.product .summary p.price del {
  order: 1;
  opacity: 0.55;
  font-size: 0.65em;
  font-weight: 600;
  color: #555;
  margin: 0;
}

body .single-product-wrapper .product-detail p.price ins,
.woocommerce div.product .summary p.price ins {
  order: 2;
  background: none;
  text-decoration: none;
  color: #c62828;
  font-weight: 800;
  margin: 0;
}

body .single-product-wrapper .product-detail p.price ins .woocommerce-Price-amount,
.woocommerce div.product .summary p.price ins .woocommerce-Price-amount {
  color: inherit;
}

body .single-product-wrapper .product-detail p.price .woocommerce-Price-amount,
body .single-product-wrapper .product-detail p.price .woocommerce-Price-currencySymbol,
.woocommerce div.product .summary p.price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Omnibus "najniższa cena z 30 dni" — relocated into the price frame and shown
   as a full-width sub-row beneath the price (overrides the plugin's pink pill). */
body .single-product-wrapper .product-detail p.price .klb-lowest-price-30,
.woocommerce div.product .summary p.price .klb-lowest-price-30 {
  order: 4;
  flex-basis: 100%;
  width: 100%;
  margin: 4px 0 0;
  padding: 8px 0 0;
  border-top: 1px dashed #e7c9c9;
  background: none;
  border-radius: 0;
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: #7a6a55;
}

body .single-product-wrapper .product-detail p.price .klb-lowest-price-30 strong,
.woocommerce div.product .summary p.price .klb-lowest-price-30 strong {
  color: #c62828;
  font-weight: 700;
}

/* Add-to-cart button: darker emerald, stronger presence */
body .single-product-wrapper .product-detail .single_add_to_cart_button,
body .single-product-wrapper .product-detail form.cart .single_add_to_cart_button.button.alt,
.woocommerce form.cart .single_add_to_cart_button.button.alt,
.partdo-product-bottom-popup-cart .single_add_to_cart_button.button.alt {
  background-color: #c62828;
  border-color: #c62828;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

body .single-product-wrapper .product-detail .single_add_to_cart_button:hover,
body .single-product-wrapper .product-detail form.cart .single_add_to_cart_button.button.alt:hover,
.woocommerce form.cart .single_add_to_cart_button.button.alt:hover,
.partdo-product-bottom-popup-cart .single_add_to_cart_button.button.alt:hover {
  background-color: #a51c1c;
  border-color: #a51c1c;
  box-shadow: 0 4px 12px rgba(165, 28, 28, 0.35);
  transform: translateY(-1px);
}

body .single-product-wrapper .product-detail .single_add_to_cart_button:active,
.woocommerce form.cart .single_add_to_cart_button.button.alt:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(165, 28, 28, 0.3);
}

/* ============================================================
   Top bar — covers both .header-topbar (header-type-1, home)
   and .header-sub (header-type-3, shop/product/category pages)
   ============================================================ */

.site-header .header-row.header-topbar,
.site-header .header-row.header-sub {
  background: #1a2733;
  color: #fff;
  border-bottom: none;
  font-weight: 500;
}

.site-header .header-row.header-topbar.border-bottom-full,
.site-header .header-row.header-sub.border-bottom-full {
  border-bottom: 0;
}

/* Left menu links: white, coral on hover */
.site-header .header-row.header-topbar #topbar-left > li > a,
.site-header .header-row.header-sub #topbar-left > li > a {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color .15s ease;
}
.site-header .header-row.header-topbar #topbar-left > li > a:hover,
.site-header .header-row.header-topbar #topbar-left > li.current-menu-item > a,
.site-header .header-row.header-sub #topbar-left > li > a:hover,
.site-header .header-row.header-sub #topbar-left > li.current-menu-item > a {
  color: #ff5a5a;
}
.site-header .header-row.header-topbar #topbar-left > li > a::before,
.site-header .header-row.header-sub #topbar-left > li > a::before {
  color: #ff5a5a;
}

/* Center "Potrzebujesz oferty?" — phone + email pop in coral on hover */
.site-header .header-row.header-topbar .header-notice p,
.site-header .header-row.header-sub .header-notice p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 500;
  margin: 0;
}
.site-header .header-row.header-topbar .header-notice p span,
.site-header .header-row.header-sub .header-notice p span {
  color: rgba(255, 255, 255, 0.65);
}
.site-header .header-row.header-topbar .header-notice p a,
.site-header .header-row.header-sub .header-notice p a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.site-header .header-row.header-topbar .header-notice p a:hover,
.site-header .header-row.header-sub .header-notice p a:hover {
  color: #ff5a5a;
  border-bottom-color: #ff5a5a;
}

/* Portal Remiza.pl — red pill with the real R-symbol from site icon */
.site-header .header-row.header-topbar #topbar-right,
.site-header .header-row.header-sub #topbar-right {
  margin-left: 14px;
}
.site-header .header-row.header-topbar #topbar-right > li#menu-item-3655,
.site-header .header-row.header-sub #topbar-right > li#menu-item-3655 {
  margin: 0;
  padding: 0;
}
.site-header .header-row.header-topbar #topbar-right > li#menu-item-3655 > a,
.site-header .header-row.header-sub #topbar-right > li#menu-item-3655 > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: #c62828;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(198, 40, 40, 0.4);
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
  line-height: 1.4;
}
.site-header .header-row.header-topbar #topbar-right > li#menu-item-3655 > a:hover,
.site-header .header-row.header-sub #topbar-right > li#menu-item-3655 > a:hover {
  background: #a51c1c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(165, 28, 28, 0.5);
}
.site-header .header-row.header-topbar #topbar-right > li#menu-item-3655 > a::before,
.site-header .header-row.header-sub #topbar-right > li#menu-item-3655 > a::before {
  content: "";
  font-family: inherit;
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  position: static;
  background: #fff url('/wp-content/uploads/2026/06/symbol-r-65x54.png') center/62% no-repeat;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   Main header: account + cart quick-buttons
   ============================================================ */

.site-header .header-row.header-main .column.right .quick-button {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background-color .15s ease;
}
.site-header .header-row.header-main .column.right .quick-button:hover {
  background-color: rgba(198, 40, 40, 0.06);
}

/* Subtle vertical divider between account and cart */
.site-header .header-row.header-main .column.right .quick-button + .quick-button {
  margin-left: 6px;
}
.site-header .header-row.header-main .column.right .quick-button + .quick-button::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: #e1e7eb;
}

/* Account button — add a profile icon, tidy typography */
.site-header .header-row.header-main .quick-button.login-button > .quick-button-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header .header-row.header-main .quick-button.login-button > .quick-button-inner::before {
  content: "\eb5b"; /* klbth-icon-profile-round */
  font-family: 'klbtheme';
  font-size: 1.7rem;
  color: #c62828;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}
.site-header .header-row.header-main .quick-button.login-button .quick-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-header .header-row.header-main .quick-button.login-button .quick-text .primary-text {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a2733;
  letter-spacing: 0;
}
.site-header .header-row.header-main .quick-button.login-button .quick-text .sub-text {
  font-size: 0.74rem;
  color: #6b7280;
  letter-spacing: 0.01em;
  margin-top: 1px;
}
.site-header .header-row.header-main .quick-button.login-button .arrow {
  color: #9ca3af;
  margin-left: 4px;
  transition: color .15s ease, transform .15s ease;
}
.site-header .header-row.header-main .quick-button.login-button:hover .arrow {
  color: #c62828;
  transform: translateY(1px);
}

/* Cart button — bigger icon, brand-red badge, tidy typography */
.site-header .header-row.header-main .quick-button.cart-button > .quick-button-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header .header-row.header-main .quick-button.cart-button .quick-icon {
  position: relative;
  font-size: 1.85rem;
  line-height: 1;
  color: #1a2733;
  transition: color .15s ease;
}
.site-header .header-row.header-main .quick-button.cart-button:hover .quick-icon {
  color: #c62828;
}
.site-header .header-row.header-main .quick-button.cart-button .quick-icon i {
  font-size: inherit;
  color: inherit;
  line-height: 1;
  display: inline-block;
}
.site-header .header-row.header-main .quick-button.cart-button .quick-icon .cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background: #c62828;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(198, 40, 40, 0.35);
}
.site-header .header-row.header-main .quick-button.cart-button .quick-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-header .header-row.header-main .quick-button.cart-button .quick-text .cart-count-text {
  font-size: 0.74rem;
  color: #6b7280;
  letter-spacing: 0.01em;
}
.site-header .header-row.header-main .quick-button.cart-button .quick-text .cart-price {
  margin: 0;
  margin-top: 1px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1a2733;
  letter-spacing: 0;
}
.site-header .header-row.header-main .quick-button.cart-button .quick-text .cart-price .woocommerce-Price-amount {
  color: inherit;
}

/* ============================================================
   Staff-only product tags
   The .remizasklep-staff-only wrapper is only emitted by the child
   theme's meta.php override when current_user_can('edit_others_posts')
   — guests/customers never see it in HTML, even if the RemizaSklep
   plugin is deactivated.
   ============================================================ */
/* ============================================================
   Read-only mode: top banner + modal
   ============================================================ */
.remizasklep-readonly-banner {
  background: linear-gradient(90deg, #c62828 0%, #a51c1c 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 18px;
  border-bottom: 2px solid #7f1d1d;
  position: relative;
  z-index: 50;
  text-align: center;
  letter-spacing: 0.01em;
}
.remizasklep-readonly-banner__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 1140px;
  flex-wrap: wrap;
  justify-content: center;
}
.remizasklep-readonly-banner__icon {
  font-size: 1.05rem;
}
.remizasklep-readonly-banner__text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}
.remizasklep-readonly-banner__text a:hover {
  color: #fef9c3;
}
.remizasklep-readonly-banner__more {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.remizasklep-readonly-banner__more:hover {
  background: rgba(255, 255, 255, 0.3);
}

body.remizasklep-readonly-modal-open {
  overflow: hidden;
}
.remizasklep-readonly-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.remizasklep-readonly-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.remizasklep-readonly-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  padding: 28px 30px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border-top: 6px solid #c62828;
}
.remizasklep-readonly-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}
.remizasklep-readonly-modal__close:hover {
  color: #1a2733;
}
.remizasklep-readonly-modal__title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a2733;
}
.remizasklep-readonly-modal__body p {
  margin: 0 0 10px;
  color: #1a2733;
  font-size: 0.96rem;
  line-height: 1.55;
}
.remizasklep-readonly-modal__body a {
  color: #c62828;
  font-weight: 700;
}
.remizasklep-readonly-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.remizasklep-readonly-modal__cta {
  background: #c62828 !important;
  color: #fff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}
.remizasklep-readonly-modal__cta:hover {
  background: #a51c1c !important;
}
.remizasklep-readonly-modal__close-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================================
   Staff-only attribute row marker (single-product Attributes tab)
   ============================================================ */
body.remiza-staff-view-attrs .woocommerce-product-attributes tr:has(.remiza-staff-attr-tag),
body.remiza-staff-view-attrs table.shop_attributes tr:has(.remiza-staff-attr-tag) {
  background: #fef9c3;
}
body.remiza-staff-view-attrs .woocommerce-product-attributes tr:has(.remiza-staff-attr-tag) th,
body.remiza-staff-view-attrs table.shop_attributes tr:has(.remiza-staff-attr-tag) th {
  color: #713f12;
  border-left: 4px solid #ca8a04;
  padding-left: 10px;
  vertical-align: middle;
}
.remiza-staff-attr-label {
  display: inline-block;
  font-weight: 700;
}
/* The staff badge: a distinct pill sitting next to the label with clear
   visual separation so it can't be mistaken for part of the attribute name. */
.remiza-staff-attr-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 3px 10px;
  background: #d97706;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(146, 64, 14, 0.25);
  vertical-align: middle;
  cursor: help;
}

/* ============================================================
   Checkout: "Prywatny / Firma" buyer-type chooser + NIP block
   ============================================================ */
.remizasklep-buyer-type {
  margin: 0 0 24px 0;
  padding: 0;
}
.remizasklep-buyer-type__title {
  margin: 0 0 12px 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a2733;
}
.remizasklep-buyer-type__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.remizasklep-buyer-type__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid #e1e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  user-select: none;
}
.remizasklep-buyer-type__option:hover {
  border-color: #c62828;
  background: #fff7f7;
}
.remizasklep-buyer-type__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.remizasklep-buyer-type__radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  margin-top: 1px;
  position: relative;
  transition: border-color .15s ease;
}
.remizasklep-buyer-type__option:has(input:checked) {
  border-color: #c62828;
  background: #fff7f7;
  box-shadow: 0 0 0 1px #c62828;
}
.remizasklep-buyer-type__option:has(input:checked) .remizasklep-buyer-type__radio {
  border-color: #c62828;
}
.remizasklep-buyer-type__option:has(input:checked) .remizasklep-buyer-type__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #c62828;
  border-radius: 50%;
}
.remizasklep-buyer-type__label {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.remizasklep-buyer-type__label strong {
  font-weight: 700;
  color: #1a2733;
  font-size: 0.95rem;
}
.remizasklep-buyer-type__label small {
  color: #6b7280;
  font-size: 0.78rem;
  margin-top: 2px;
}

.remizasklep-buyer-type__nip-block {
  padding: 14px 16px;
  background: #f5f8fa;
  border: 1px dashed #c62828;
  border-radius: 6px;
}
.remizasklep-buyer-type__nip-block .form-row {
  margin: 0;
}
.remizasklep-buyer-type__nip-block #remizasklep_nip {
  width: 100%;
  padding: 9px 14px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}
.remizasklep-nip-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #6b7280;
  font-style: italic;
}

/* Loading state — make the MF API fetch obvious */
.remizasklep-buyer-type__nip-block.is-loading-data {
  background: #fef3c7;
  border-color: #d97706;
  border-style: solid;
}
.remizasklep-nip-message {
  font-size: 0.92rem;
  font-weight: 600;
}
.remizasklep-nip-message.is-loading {
  color: #92400e;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fffbeb;
  border-radius: 5px;
  border: 1px solid #fde68a;
}
.remizasklep-nip-message.is-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #d97706;
  border-top-color: transparent;
  border-radius: 50%;
  animation: remizasklep-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.remizasklep-nip-message.is-success {
  color: #15803d;
  padding: 8px 10px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 5px;
  line-height: 1.5;
}
.remizasklep-nip-message.is-error {
  color: #b91c1c;
  padding: 8px 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 5px;
}
@keyframes remizasklep-spin {
  to { transform: rotate(360deg); }
}
.remizasklep-nip-message {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2em;
}
.remizasklep-nip-message.is-loading { color: #6b7280; }
.remizasklep-nip-message.is-success { color: #15803d; }
.remizasklep-nip-message.is-error   { color: #b91c1c; }

@media (max-width: 540px) {
  .remizasklep-buyer-type__options {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Staff-only flag badge on product cards (loops, widgets, etc.)
   ============================================================ */
.remiza-staff-flagged {
  position: relative;
}
.remiza-staff-flagged::before {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 5;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 3px;
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
}
.remiza-staff-flag-draft::before      { content: "Wersja robocza"; background: #d97706; }
.remiza-staff-flag-pending::before    { content: "Oczekuje";       background: #d97706; }
.remiza-staff-flag-private::before    { content: "Prywatny";       background: #2563eb; }
.remiza-staff-flag-future::before     { content: "Zaplanowany";    background: #2563eb; }
.remiza-staff-flag-trash::before      { content: "W koszu";        background: #6b7280; }
.remiza-staff-flag-hidden::before     { content: "Ukryty";         background: #dc2626; }
.remiza-staff-flag-no-catalog::before { content: "Bez listingu";   background: #d97706; }
.remiza-staff-flag-no-search::before  { content: "Bez wyszukiwania"; background: #d97706; }

/* The single-product page has the full admin alert at the top — skip the
   little corner badge on its outer <article> wrapper. */
body.single-product .remiza-staff-flagged::before {
  display: none;
}

/* ============================================================
   Admin alert at the top of single product (staff only)
   ============================================================ */
.remiza-admin-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px 0;
  padding: 14px 16px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-left: 5px solid #d97706;
  border-radius: 8px;
  color: #713f12;
  font-size: 0.88rem;
  line-height: 1.45;
}
.remiza-admin-alert__icon {
  color: #b45309;
  flex-shrink: 0;
  margin-top: 1px;
}
.remiza-admin-alert__body {
  flex: 1;
  min-width: 0;
}
.remiza-admin-alert__title {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  margin-bottom: 4px;
}
.remiza-admin-alert__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.remiza-admin-alert__list li {
  padding-left: 14px;
  position: relative;
  font-weight: 500;
}
.remiza-admin-alert__list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #b45309;
  font-weight: 700;
}
.remiza-admin-alert__list li + li {
  margin-top: 2px;
}
.remiza-admin-alert__edit {
  flex-shrink: 0;
  align-self: center;
  padding: 7px 14px;
  background: #92400e;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color .15s ease;
}
.remiza-admin-alert__edit:hover {
  background: #713f12;
  color: #fff !important;
}

/* ============================================================
   Product SKU display in the product meta block
   ============================================================ */
.single-product-wrapper .product-detail .product-meta .remiza-product-sku {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 14px !important;
  margin: 0 0 10px 0 !important;
  background: #fff7f7 !important;
  border: 1px solid #f1d5d5 !important;
  border-left: 4px solid #c62828 !important;
  border-radius: 5px !important;
  font-size: 0.88rem;
  line-height: 1.3;
  color: #1a2733;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku:hover {
  background: #fff !important;
  border-color: #c62828 !important;
  border-left-color: #a51c1c !important;
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.18);
  transform: translateY(-1px);
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(198, 40, 40, 0.18);
}
.remiza-product-sku:focus-visible {
  outline: 2px solid #c62828;
  outline-offset: 2px;
}
.remiza-product-sku__copy-icon {
  color: #9ca3af;
  flex-shrink: 0;
  margin-left: 2px;
  transition: color .15s ease;
}
.remiza-product-sku:hover .remiza-product-sku__copy-icon {
  color: #c62828;
}
.remiza-product-sku__done-icon,
.remiza-product-sku__feedback {
  display: none;
}
.remiza-product-sku__feedback {
  color: #15803d;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.remiza-product-sku.is-copied {
  background: #f0fdf4;
  border-color: #86efac;
  border-left-color: #15803d;
}
.remiza-product-sku.is-copied .remiza-product-sku__copy-icon {
  display: none;
}
.remiza-product-sku.is-copied .remiza-product-sku__done-icon {
  display: inline-block;
  color: #15803d;
}
.remiza-product-sku.is-copied .remiza-product-sku__feedback {
  display: inline-block;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku .remiza-product-sku__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a2733;
  font-weight: 800;
  line-height: 1.3;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku > span.sku {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 800;
  color: #a51c1c;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  user-select: all;
  line-height: 1.3;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku:hover > span.sku {
  color: #c62828;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku .remiza-product-sku__copy-icon {
  color: #c62828;
  flex-shrink: 0;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku:hover .remiza-product-sku__copy-icon {
  color: #a51c1c;
}
.single-product-wrapper .product-detail .product-meta .remiza-product-sku .remiza-product-sku__feedback {
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 800;
}

.product-meta .product-tags.remizasklep-staff-only,
.product-tags.remizasklep-staff-only {
  display: block !important;
  margin: 10px 0 0;
  padding: 10px 14px 10px 14px;
  background: #fef9c3;
  border: 1px dashed #ca8a04;
  border-radius: 6px;
  color: #713f12;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.6;
}
.product-meta .product-tags.remizasklep-staff-only::before,
.product-tags.remizasklep-staff-only::before {
  content: "👁 Widoczne tylko dla obsługi sklepu";
  display: block;
  width: 100%;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a16207;
  margin-bottom: 6px;
}
.product-tags.remizasklep-staff-only > span {
  display: inline-block;
  margin-right: 4px;
  font-weight: 700;
  color: #713f12;
  background: none;
  border: none;
  padding: 0;
  vertical-align: baseline;
}
.product-tags.remizasklep-staff-only a {
  display: inline-block;
  padding: 2px 8px;
  margin: 1px 2px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #fde68a;
  border-radius: 4px;
  color: #713f12;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.product-tags.remizasklep-staff-only a:hover {
  background: #fff;
  color: #422006;
  border-color: #ca8a04;
}

@media (max-width: 768px) {
  body .single-product-wrapper .product-detail p.price,
  .woocommerce div.product .summary p.price {
    font-size: 1.55rem;
    padding: 12px 16px;
    gap: 8px;
  }
}

/* Highlight nav items: "Promocje" trigger and "NOWOŚCI" menu link.
 * Promocje = red sale pill with pulsing discount icon.
 * NOWOŚCI = gold/yellow with a small inline "NEW" badge. */
.site-header .mega-items .mega-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 8px;
  border-radius: 3px;
  background: #c62828;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1.2;
  transition: background 0.18s ease;
}
.site-header .mega-items .mega-item:hover > a,
.site-header .mega-items .mega-item:focus-within > a {
  background: #a51e1e;
}
.site-header .mega-items .mega-item > a .menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #fff;
  animation: remiza-promocje-pulse 2.2s ease-in-out infinite;
}
.site-header .mega-items .mega-item > a .menu-icon i {
  font-size: 14px;
  line-height: 1;
}
/* Some build pipelines strip the icon's :before content from the discount glyph;
 * re-assert it so the white discount icon always shows inside the pill. */
.site-header .mega-items .mega-item > a .menu-icon i.klbth-icon-ecommerce-discount-black::before {
  content: "\eaeb";
  font-family: "klbtheme";
}
@keyframes remiza-promocje-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .mega-items .mega-item > a .menu-icon { animation: none; }
}

/* NOWOŚCI nav item: brand-red accent + small inline NEW badge.
 * Matched via href so menu-item ID changes don't break it. */
.site-header .klbth-menu > .menu-item > a[href*="/kategoria-produktu/nowosci/"] {
  position: relative;
  color: #c62828 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header .klbth-menu > .menu-item > a[href*="/kategoria-produktu/nowosci/"]::after {
  content: "NEW";
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #c62828;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  vertical-align: middle;
}
.site-header .klbth-menu > .menu-item > a[href*="/kategoria-produktu/nowosci/"]:hover {
  color: #a51e1e !important;
}


 * The parent theme caps `.products.column-5 > *` to max-width: 20%, which after
 * Slick init applies to .slick-list (now a direct child) — we override here. */
.mega-items .sub-item .products.column-5.remiza-promocje-slider {
  display: block;
  position: relative;
  padding: 0 40px;
}
.mega-items .sub-item .products.column-5.remiza-promocje-slider > * {
  flex: initial;
  max-width: none;
}
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-slide > div {
  padding: 0 8px;
  box-sizing: border-box;
}
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-slide .product {
  width: 100%;
  padding: 0;
  margin: 0;
}
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a2733;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-nav:hover {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-prev { left: 2px; }
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-next { right: 2px; }
.mega-items .sub-item .products.column-5.remiza-promocje-slider .slick-nav.slick-disabled {
  opacity: 0.4;
  cursor: default;
}

/* Homepage hero slider — the "Wyślij zapytanie" slide (hero-realizacje-dotacji
 * image) has no title or excerpt, which pulls the CTA up against the photo's
 * focal area. Push it ~50px lower so it lands in the lower-third negative space. */
.klbth-slider-wrapper .slider-item:has(img[src*="hero-realizacje-dotacji"]) .banner-button {
  margin-top: 50px;
}
