﻿/*
Theme Name: Mrovago Blocksy
Theme URI: https://mrovago.pl
Author: Asystenci Biznesowi
Template: blocksy
Description: Child theme dla Mrovago oparty o Blocksy i WooCommerce.
Version: 0.1.2
Requires PHP: 8.3
Text Domain: mrovago-blocksy
*/

/* Fonty ladowane non-blocking w functions.php (preconnect + media-trick) — bez render-blocking @import. */

:root {
  --mv-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --mv-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --theme-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mv-green: #145c38;
  --mv-lime: #d8ef3f;
  --mv-ink: #111714;
  --mv-muted: #68736e;
  --mv-bg: #f6f7f2;
  --mv-line: #e3e7df;
}

/* === Typografia: szeryfowy naglowek (premium klasyk) + Inter w tresci === */
body,
button,
input,
select,
textarea,
.entry-content,
.ct-container {
  font-family: var(--mv-font-body) !important;
}

.mrovago-home-heading,
.mrovago-hero-slide__content h1,
.mrovago-shop-intro h2,
.single-product .product_title,
.woocommerce-products-header__title,
.page .entry-content > h1,
h1.entry-title {
  font-family: var(--mv-font-display) !important;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

#header [data-id="logo"] .site-title {
  display: none;
}

body.home .hero-section {
  display: none;
}

body.home .entry-content > .mrovago-hero-slider {
  left: auto;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0 !important;
  max-width: 100vw;
  transform: none;
  width: 100vw;
}

/* Pasek USP przyklejony do hero (bez bialej przerwy) */
body.home .entry-content > .mrovago-usp-strip {
  margin-top: 0 !important;
}

body {
  background: var(--mv-bg);
  color: var(--mv-ink);
}

a {
  color: var(--mv-green);
}

.site-header {
  background: #08354a;
  border-bottom: 0;
  padding: 0;
}

.site-header > .col-full {
  margin: 0;
  max-width: none;
  padding: 0;
}

.site-branding .site-title a {
  color: var(--mv-ink);
  font-weight: 850;
}

.site-branding .site-description {
  color: var(--mv-muted);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wc-block-components-button,
.added_to_cart {
  border-radius: 8px;
  font-weight: 800;
}

.button.alt,
button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt {
  background-color: var(--mv-green);
}

.storefront-primary-navigation {
  border-top: 1px solid var(--mv-line);
}

.mrovago-header {
  background:
    linear-gradient(180deg, rgba(8, 53, 74, 0.98) 0%, rgba(9, 106, 147, 0.96) 100%);
  color: #fff;
}

.mrovago-header__inner {
  align-items: center;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 72px;
  padding: 0 1.4rem;
}

.mrovago-header__logo {
  align-items: center;
  display: flex;
  min-width: 0;
  text-decoration: none;
}

.mrovago-header__logo img {
  filter: brightness(0) invert(1);
  height: auto;
  max-height: 44px;
  max-width: 170px;
  object-fit: contain;
  width: auto;
}

.mrovago-header__logo strong {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 950;
}

.mrovago-header__nav {
  min-width: 0;
}

.mrovago-main-menu {
  align-items: center;
  display: flex;
  gap: clamp(0.7rem, 1.6vw, 1.35rem);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mrovago-main-menu li {
  margin: 0;
  position: relative;
}

.mrovago-main-menu > li > a {
  color: #fff;
  display: block;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 1.75rem 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.mrovago-main-menu > li > a:hover {
  color: var(--mv-lime);
}

.mrovago-main-menu .sub-menu {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  display: none;
  left: -1rem;
  list-style: none;
  margin: 0;
  min-width: 230px;
  padding: 0.45rem;
  position: absolute;
  top: 100%;
  z-index: 50;
}

.mrovago-main-menu li:hover > .sub-menu,
.mrovago-main-menu li:focus-within > .sub-menu {
  display: block;
}

.mrovago-main-menu .sub-menu a {
  border-radius: 6px;
  color: var(--mv-ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
}

.mrovago-main-menu .sub-menu a:hover {
  background: var(--mv-bg);
  color: var(--mv-green);
}

.mrovago-header__actions {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.mrovago-header__actions a,
.mrovago-search summary {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 36px;
  min-width: 34px;
  position: relative;
  text-decoration: none;
}

.mrovago-header__actions svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 25px;
}

.mrovago-search {
  position: relative;
}

.mrovago-search summary {
  list-style: none;
}

.mrovago-search summary::-webkit-details-marker {
  display: none;
}

.mrovago-search form {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 0.55rem;
  position: absolute;
  right: -0.8rem;
  top: calc(100% + 0.5rem);
  width: min(310px, 86vw);
  z-index: 60;
}

.mrovago-search input[type="search"] {
  border-radius: 7px;
  margin: 0;
  width: 100%;
}

.mrovago-header__cart span {
  align-items: center;
  background: var(--mv-lime);
  border-radius: 999px;
  color: var(--mv-ink);
  display: flex;
  font-size: 0.68rem;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  position: absolute;
  right: -5px;
  top: -2px;
}

.storefront-primary-navigation .col-full {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

.storefront-primary-navigation .main-navigation {
  flex: 1 1 auto;
}

.storefront-primary-navigation .site-header-cart {
  flex: 0 0 auto;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  color: var(--mv-ink);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-navigation ul.menu ul.sub-menu,
.main-navigation ul.nav-menu ul.children {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(17, 23, 20, 0.12);
  overflow: hidden;
}

.main-navigation ul.menu ul.sub-menu a,
.main-navigation ul.nav-menu ul.children a {
  color: var(--mv-ink);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  padding: 0.75rem 1rem;
}

.main-navigation ul.menu ul.sub-menu a:hover,
.main-navigation ul.nav-menu ul.children a:hover {
  background: var(--mv-bg);
  color: var(--mv-green);
}

.mrovago-mobile-cats,
.mrovago-mobile-search {
  display: none;
}

.mrovago-mobile-cats-panel {
  background: #fff;
  border-radius: 18px 18px 0 0;
  bottom: 70px;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.28);
  left: 0;
  max-height: min(76vh, 620px);
  overflow: auto;
  padding: 0 1rem 1.2rem;
  position: fixed;
  right: 0;
  z-index: 1000;
}

.mrovago-mobile-cats-panel::before {
  background: #d4d8d5;
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin: 0.72rem auto 0;
  width: 44px;
}

.mrovago-mobile-cats-panel__head {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--mv-line);
  display: flex;
  justify-content: space-between;
  margin: 0 -1rem 0.4rem;
  padding: 0.85rem 1rem;
  position: sticky;
  top: 0;
  z-index: 2;
}

.mrovago-mobile-cats-panel__head strong {
  color: var(--mv-ink);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mrovago-mobile-cats-close {
  align-items: center;
  background: var(--mv-bg);
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  color: var(--mv-ink);
  display: flex;
  font-size: 1.35rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 36px;
}

.mrovago-mobile-menu,
.mrovago-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mrovago-mobile-menu > li {
  border-bottom: 1px solid var(--mv-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.15rem 0;
}

.mrovago-mobile-menu a {
  color: var(--mv-ink);
  display: block;
  font-weight: 950;
  padding: 0.88rem 0;
  text-decoration: none;
  text-transform: uppercase;
}

.mrovago-mobile-menu > li > a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.mrovago-mobile-subtoggle {
  align-self: center;
  background: var(--mv-bg);
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  color: var(--mv-ink);
  font-size: 1.2rem;
  font-weight: 950;
  height: 34px;
  line-height: 1;
  padding: 0;
  width: 34px;
}

.mrovago-mobile-menu .sub-menu,
.mrovago-mobile-menu .children {
  display: none;
  gap: 0.45rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
  padding-top: 0.65rem;
  padding-bottom: 0.75rem;
}

.mrovago-mobile-menu .is-open > .sub-menu,
.mrovago-mobile-menu .is-open > .children {
  display: grid;
}

.mrovago-mobile-menu .sub-menu a,
.mrovago-mobile-menu .children a {
  background: var(--mv-bg);
  border-radius: 8px;
  display: block;
  font-size: 0.78rem;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

body.mrovago-mobile-menu-open {
  overflow: hidden;
}

.mrovago-mobile-panel-link {
  background: var(--mv-green);
  border-radius: 8px;
  color: #fff;
  display: block;
  font-weight: 900;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  text-align: center;
  text-decoration: none;
}

.mrovago-mobile-search-form {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
}

.mrovago-mobile-search-form input[type="search"] {
  background: var(--mv-bg);
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  color: var(--mv-ink);
  font-size: 1rem;
  min-height: 48px;
  padding: 0 0.9rem;
  width: 100%;
}

.mrovago-mobile-search-form button {
  background: var(--mv-lime);
  border: 0;
  border-radius: 8px;
  color: var(--mv-ink);
  font-weight: 950;
  min-height: 48px;
  padding: 0 1rem;
}

.mrovago-hero {
  background:
    linear-gradient(90deg, rgba(246, 247, 242, 0.98) 0%, rgba(246, 247, 242, 0.92) 42%, rgba(246, 247, 242, 0.28) 76%),
    var(--mrovago-hero-image, linear-gradient(135deg, #102118 0%, #155d39 64%, #d8ef3f 100%));
  background-position: center;
  background-size: cover;
  color: var(--mv-ink);
  margin: 0 0 2.6rem;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.mrovago-hero-slider {
  background: #0b2f25;
  color: var(--mv-ink);
  left: 50%;
  margin: 0;
  min-height: clamp(560px, 78vh, 860px);
  overflow: hidden;
  position: relative;
  transform: translateX(-50%);
  width: 100vw;
}

.mrovago-hero-slider__track {
  min-height: inherit;
  position: relative;
}

.mrovago-hero-slide {
  align-items: center;
  background: var(--mrovago-hero-image);
  background-position: center;
  background-size: cover;
  display: flex;
  inset: 0;
  min-height: inherit;
  opacity: 0;
  position: absolute;
  transition: opacity 0.55s ease;
  visibility: hidden;
}

.mrovago-hero-slide::before {
  background: rgba(15, 20, 16, 0.44);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.mrovago-hero-slide.is-active {
  opacity: 1;
  position: relative;
  visibility: visible;
}

.mrovago-hero-slide__content {
  color: #fff;
  margin: 0 0 0 max(20px, calc((100vw - 1680px) / 2 + 20px));
  max-width: 600px;
  position: relative;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.mrovago-hero-slide__content .mrovago-kicker {
  color: var(--mv-lime);
}

.mrovago-hero-slide__content h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 650px;
}

.mrovago-hero-slide__content p:not(.mrovago-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 560px;
}

.mrovago-hero-slide__content .button {
  background: var(--mv-lime);
  color: var(--mv-ink);
  margin-top: 1rem;
}

.mrovago-hero-slider__dots {
  align-items: center;
  bottom: 1.2rem;
  display: flex;
  gap: 0.55rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.mrovago-hero-slider__dots button {
  background: rgba(17, 23, 20, 0.28);
  border: 0;
  border-radius: 999px;
  height: 10px;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
  width: 10px;
}

.mrovago-hero-slider__dots button.is-active {
  background: var(--mv-green);
  width: 28px;
}

.mrovago-hero__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 1.4rem;
}

.mrovago-hero h1 {
  color: var(--mv-ink);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
  margin: 0 0 1rem;
}

.mrovago-kicker {
  color: var(--mv-green) !important;
  font-size: 0.86rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem !important;
  text-transform: uppercase;
}

.mrovago-hero p {
  color: var(--mv-muted);
  font-size: 1.12rem;
  max-width: 620px;
}

.mrovago-hero .button {
  background: var(--mv-lime);
  color: var(--mv-ink);
  margin-top: 1rem;
}

.mrovago-status {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  padding: 1.2rem;
}

.mrovago-status div {
  align-items: center;
  border-bottom: 1px solid var(--mv-line);
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.mrovago-status div:last-child {
  border-bottom: 0;
}

.mrovago-status strong {
  color: var(--mv-ink);
}

.mrovago-category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.2rem 0 2.4rem;
}

/* Kafle kategorii: pionowe 3:4, pelne zdjecie + delikatny ciemny gradient od dolu (klasyczny premium) */
.mrovago-category-card {
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  box-shadow: 0 8px 22px -10px rgba(17, 23, 20, 0.35);
  color: #fff;
  display: flex;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.mrovago-category-card::before {
  background-image: var(--mrovago-category-image);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
  transition: transform 0.55s ease;
  z-index: 0;
}

.mrovago-category-card::after {
  background: linear-gradient(to top, rgba(17, 23, 20, 0.82) 0%, rgba(17, 23, 20, 0.4) 36%, rgba(17, 23, 20, 0) 66%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.mrovago-category-card:hover::before {
  transform: scale(1.06);
}

.mrovago-category-card__label {
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.1;
  padding: 1.1rem 1.2rem 1.25rem;
  position: relative;
  z-index: 2;
}

.mrovago-category-card__label::after {
  color: var(--mv-lime, #d8ef3f);
  content: "Zobacz \2192";
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-top: 0.4rem;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}

.mrovago-category-card:hover .mrovago-category-card__label::after {
  transform: translateX(5px);
}

.mrovago-mobile-bar {
  display: none;
}

.mrovago-shop-intro {
  align-items: end;
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.woocommerce-shop .hero-section[data-type],
.tax-product_cat .hero-section[data-type] {
  --container-padding: clamp(1.4rem, 4vw, 2.4rem) 0 !important;
}

.mrovago-shop-intro span {
  color: var(--mv-green);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.mrovago-shop-intro h2 {
  color: var(--mv-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  margin: 0 0 0.45rem;
}

.mrovago-shop-intro p {
  color: var(--mv-muted);
  margin: 0;
  max-width: 650px;
}

.mrovago-shop-intro a {
  background: var(--mv-lime);
  border-radius: 8px;
  color: var(--mv-ink);
  font-weight: 950;
  padding: 0.75rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.mrovago-shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
}

.mrovago-shop-cats a {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  color: var(--mv-ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.62rem 0.8rem;
  text-decoration: none;
}

.mrovago-shop-cats a:hover {
  background: var(--mv-green);
  border-color: var(--mv-green);
  color: #fff;
}

/* Biezaca kategoria podswietlona w pigulkach. */
.mrovago-shop-cats a.is-current {
  background: var(--mv-green);
  border-color: var(--mv-green);
  color: #fff;
}

/* Etykieta przed pigulkami ("W tej kategorii" / "Zobacz tez"). */
.mrovago-shop-cats__label {
  align-self: center;
  color: var(--mv-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-right: 0.2rem;
  text-transform: uppercase;
}

/* Breadcrumb (orientacja + SEO). */
.mrovago-crumbs {
  align-items: center;
  color: var(--mv-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
}

.mrovago-crumbs a {
  color: var(--mv-muted);
  text-decoration: none;
}

.mrovago-crumbs a:hover {
  color: var(--mv-green);
  text-decoration: underline;
}

.mrovago-crumbs [aria-current="page"] {
  color: var(--mv-ink);
  font-weight: 800;
}

.mrovago-crumbs__sep {
  color: var(--mv-line);
}

/* Nagłówek archiwum (H1 kategorii) nie chowa sie pod fixed-headerem (desktop). */
@media (min-width: 768px) {
  body.tax-product_cat .site-main > .hero-section,
  body.post-type-archive-product .site-main > .hero-section {
    padding-top: calc(var(--mrovago-header-h, 159px) + 12px);
  }
}

.mrovago-shop-trust {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.3rem 0 1.3rem;
  padding: 0.75rem;
}

.mrovago-shop-trust span {
  background: var(--mv-bg);
  border-radius: 8px;
  color: var(--mv-ink);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.72rem 0.8rem;
}

.woocommerce-shop [data-products] .product,
.tax-product_cat [data-products] .product {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  overflow: hidden;
  padding: 0.85rem;
}

.woocommerce-shop [data-products] .product figure,
.tax-product_cat [data-products] .product figure {
  background: var(--mv-bg);
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce-shop [data-products] .woocommerce-loop-product__title,
.tax-product_cat [data-products] .woocommerce-loop-product__title {
  color: var(--mv-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.woocommerce-shop [data-products] .product .price,
.tax-product_cat [data-products] .product .price {
  color: var(--mv-green);
  font-size: 1.05rem;
  font-weight: 950;
}

.woocommerce-shop [data-products] .product .button,
.tax-product_cat [data-products] .product .button,
[data-products] .product .button,
ul.products li.product .button,
ul.products li.product .wp-element-button {
  background: var(--mv-lime) !important;
  border: 1px solid var(--mv-lime) !important;
  border-radius: 8px;
  color: var(--mv-ink) !important;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  width: 100%;
}

[data-products] .product .button:hover,
ul.products li.product .button:hover,
ul.products li.product .wp-element-button:hover {
  background: var(--mv-green) !important;
  border-color: var(--mv-green) !important;
  color: #fff !important;
}

/* Badge "WYPRZEDAŻ": z niebieskiego (paleta Blocksy) na markowy grafit + lime */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.product .onsale,
span.onsale {
  background: var(--mv-ink) !important;
  border: none !important;
  color: var(--mv-lime) !important;
  font-weight: 800;
}

/* CTA "Zobacz wszystkie promocje" — sekundarny ghost button (zamiast niebieskiego) */
.mrovago-promocje-cta .button {
  background: transparent !important;
  border: 2px solid var(--mv-ink) !important;
  color: var(--mv-ink) !important;
}
.mrovago-promocje-cta .button:hover {
  background: var(--mv-ink) !important;
  color: #fff !important;
}

.mrovago-product-sticky-cta {
  display: none;
}

.single-product .product-entry-wrapper {
  align-items: start;
  gap: clamp(1.4rem, 4vw, 3rem);
}

.single-product .woocommerce-product-gallery {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  overflow: hidden;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .ct-image-container,
.single-product .woocommerce-product-gallery figure {
  background: #fff;
}

.single-product .woocommerce-product-gallery figure.ct-media-container,
.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
  align-items: center;
  display: flex;
  justify-content: center;
}

.single-product .woocommerce-product-gallery img {
  aspect-ratio: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.single-product .woocommerce-product-gallery .flexy-item img,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  max-height: 620px;
  width: 100%;
}

.single-product .woocommerce-product-gallery .flexy-pills img,
.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  aspect-ratio: 1 / 1 !important;
  background: #fff;
  height: 88px !important;
  max-height: 88px;
  width: 88px;
}

.single-product .entry-summary {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 23, 20, 0.07);
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

@media (min-width: 1000px) {
  .single-product .entry-summary {
    position: sticky;
    top: 2rem;
  }
}

.single-product .entry-summary .product_title {
  color: var(--mv-ink);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.single-product .entry-summary .price {
  color: var(--mv-green);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 950;
  margin-bottom: 0.55rem;
}

.single-product .stock {
  color: var(--mv-green);
  font-weight: 850;
}

.mrovago-product-kicker {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.mrovago-product-kicker a,
.mrovago-product-kicker small {
  background: var(--mv-bg);
  border: 1px solid var(--mv-line);
  border-radius: 999px;
  color: var(--mv-muted);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  text-transform: uppercase;
}

.mrovago-product-rating {
  align-items: center;
  color: var(--mv-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.45rem;
  margin: -0.25rem 0 0.75rem;
}

.mrovago-product-rating__stars {
  color: #cbd2c1;
  display: inline-flex;
  font-size: 1rem;
  gap: 0.08rem;
  letter-spacing: 0;
  line-height: 1;
}

.mrovago-product-rating__stars .is-filled {
  color: #f7b500;
}

.single-product .woocommerce-product-details__short-description {
  color: var(--mv-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.mrovago-product-highlights,
.mrovago-product-trust,
.mrovago-product-info-band {
  display: grid;
  gap: 0.75rem;
}

.mrovago-product-highlights {
  margin: 1.1rem 0;
}

.mrovago-product-highlights div,
.mrovago-product-trust div,
.mrovago-product-info-band div {
  background: var(--mv-bg);
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  padding: 0.85rem;
}

.mrovago-product-highlights div {
  align-items: center;
  background: #101410;
  border-color: rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.1rem;
  grid-template-columns: minmax(0, 1fr);
}

/* Limonkowa kropka INLINE przed tytulem (na rowni z napisem, nie nad nim).
   Tylko highlights (bez ikony) — boxy trust maja wlasna ikone w <strong>, wiec bez kropki. */
.mrovago-product-highlights strong::before {
  background: var(--mv-lime);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 7px;
  margin-right: 0.45rem;
  vertical-align: middle;
  width: 7px;
}

.mrovago-product-highlights strong,
.mrovago-product-trust strong,
.mrovago-product-info-band strong {
  color: var(--mv-ink);
  display: block;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.2;
  margin-bottom: 0.22rem;
}

.mrovago-product-highlights strong {
  color: #fff;
}

.mrovago-product-highlights span,
.mrovago-product-trust span,
.mrovago-product-info-band p {
  color: var(--mv-muted);
  display: block;
  font-size: 0.86rem;
  line-height: 1.4;
  margin: 0;
}

.mrovago-product-highlights span {
  color: rgba(255, 255, 255, 0.72);
}

/* Telefon w ciemnym boxie — czytelny (limonka zamiast dziedziczonej ciemnej zieleni na czarnym). */
.mrovago-product-highlights span a {
  color: var(--mv-lime);
  font-weight: 800;
  text-decoration: none;
}

.mrovago-product-highlights span a:hover {
  text-decoration: underline;
}

.single-product form.cart {
  align-items: stretch;
  background: #f9faf6;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem;
}

.single-product form.cart .quantity {
  width: 100%;
}

.single-product form.cart .quantity input.qty {
  min-height: 52px;
  width: 100%;
}

.single-product form.cart .single_add_to_cart_button {
  background: var(--mv-lime);
  color: var(--mv-ink);
  font-size: 1rem;
  font-weight: 950;
  min-height: 54px;
  width: 100%;
}

.single-product form.cart .single_add_to_cart_button:hover {
  background: #c9e531;
  color: var(--mv-ink);
}

.mrovago-product-trust {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.9rem;
}

.mrovago-product-trust div {
  background: #101410;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mrovago-product-trust strong {
  color: #fff;
}

.mrovago-product-trust span {
  color: rgba(255, 255, 255, 0.72);
}

.mrovago-product-info-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0;
}

.single-product .woocommerce-tabs {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.single-product .related,
.single-product .upsells {
  margin-top: 2rem;
}

.storefront-handheld-footer-bar {
  display: none !important;
}

.site-footer {
  background: var(--mv-ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--mv-lime);
}

.mrovago-footer {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(2.8rem, 6vw, 4.5rem) 1.4rem 1.6rem;
}

.mrovago-footer__brand {
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
}

.mrovago-footer__brand strong {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.mrovago-footer__brand span {
  color: rgba(255, 255, 255, 0.62);
}

.mrovago-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 1.25fr 1fr 1fr;
}

.mrovago-footer h3 {
  color: var(--mv-lime);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.mrovago-footer p {
  margin: 0 0 0.65rem;
}

.mrovago-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mrovago-footer li {
  margin: 0 0 0.58rem;
}

.mrovago-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2.4rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }

  body.single-product {
    padding-bottom: 132px;
  }

  .mrovago-hero__inner {
    grid-template-columns: 1fr;
  }

  .mrovago-hero-slider {
    margin-bottom: 1.6rem;
    min-height: 480px;
  }

  .mrovago-hero-slide {
    background:
      linear-gradient(180deg, rgba(246, 247, 242, 0.86) 0%, rgba(246, 247, 242, 0.62) 45%, rgba(246, 247, 242, 0.16) 100%),
      var(--mrovago-hero-image);
    background-position: center bottom;
  }

  .mrovago-hero-slide__content {
    padding: 2.2rem 1rem 8.5rem;
  }

  .mrovago-hero-slide__content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 95%;
  }

  .mrovago-hero-slide__content p:not(.mrovago-kicker) {
    font-size: 0.98rem;
    max-width: 92%;
  }

  .mrovago-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrovago-header__inner {
    display: flex;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 1rem;
  }

  .mrovago-header__logo img {
    max-height: 38px;
    max-width: 145px;
  }

  .mrovago-header__nav {
    display: none;
  }

  .mrovago-header__actions {
    gap: 0.45rem;
  }

  .mrovago-header__actions a,
  .mrovago-search summary {
    min-width: 31px;
  }

  .mrovago-header__actions svg {
    height: 23px;
    width: 23px;
  }

  .mrovago-footer__brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .mrovago-footer__grid {
    grid-template-columns: 1fr;
  }

  .mrovago-footer__bottom {
    flex-direction: column;
  }

  .mrovago-shop-intro {
    align-items: stretch;
    grid-template-columns: 1fr;
    margin-bottom: 0.75rem;
    padding: 1rem;
  }

  [data-prefix="woo_categories"] .hero-section[data-type] {
    --container-padding: 1.1rem 0 !important;
  }

  [data-prefix="woo_categories"] .entry-header {
    min-height: auto !important;
  }

  [data-prefix="woo_categories"] .entry-header .page-title {
    --theme-font-size: 1.75rem !important;
  }

  .mrovago-shop-intro h2 {
    font-size: 1.45rem;
  }

  .mrovago-shop-intro p {
    font-size: 0.9rem;
  }

  .mrovago-shop-intro a {
    text-align: center;
  }

  .mrovago-shop-cats {
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
  }

  .mrovago-shop-cats a {
    flex: 0 0 auto;
  }

  .mrovago-shop-trust {
    grid-template-columns: 1fr;
  }

  .single-product .product-entry-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .single-product .entry-summary {
    order: 1;
  }

  .single-product .woocommerce-product-gallery {
    order: 2;
  }

  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    max-height: 420px;
  }

  .single-product .woocommerce-product-gallery .flexy-item img {
    max-height: 420px;
  }

  .single-product .entry-summary {
    border-radius: 8px;
    box-shadow: none;
    padding: 1rem;
  }

  .single-product .entry-summary .product_title {
    font-size: 1.65rem;
  }

  .single-product .entry-summary .price {
    font-size: 1.45rem;
  }

  .mrovago-product-info-band {
    grid-template-columns: 1fr;
  }

  .mrovago-product-trust {
    grid-template-columns: 1fr;
  }

  .single-product form.cart {
    position: relative;
  }

  .mrovago-product-sticky-cta {
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--mv-line);
    box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.14);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 0;
    min-height: 62px;
    padding: 0.55rem 0.8rem;
    position: fixed;
    right: 0;
    bottom: 70px;
    z-index: 998;
  }

  .mrovago-product-sticky-cta strong {
    color: var(--mv-green);
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1;
  }

  .mrovago-product-sticky-cta button {
    background: var(--mv-lime);
    border: 0;
    border-radius: 8px;
    color: var(--mv-ink);
    font-size: 0.9rem;
    font-weight: 950;
    min-height: 42px;
    padding: 0 1rem;
  }

  .mrovago-mobile-cats:not([hidden]),
  .mrovago-mobile-search:not([hidden]) {
    display: block;
  }

  .mrovago-mobile-bar {
    background: var(--mv-ink, #111714);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    bottom: 0;
    box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 0;
    padding: 0.35rem 0.45rem max(0.45rem, env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 999;
  }

  .mrovago-mobile-bar a,
  .mrovago-mobile-bar button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    font-size: 0.68rem;
    font-weight: 750;
    gap: 0.2rem;
    min-height: 50px;
    padding: 0.35rem 0.2rem;
    text-decoration: none;
  }

  .mrovago-mobile-bar strong,
  .mrovago-mobile-bar button strong {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 0;
    justify-content: center;
    line-height: 1;
    min-height: 24px;
    position: relative;
  }

  .mrovago-mobile-bar svg {
    fill: none;
    height: 23px;
    stroke: var(--mv-lime);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 23px;
  }

  .mrovago-mobile-bar em {
    align-items: center;
    background: var(--mv-lime);
    border-radius: 999px;
    color: var(--mv-ink);
    display: flex;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 950;
    height: 16px;
    justify-content: center;
    min-width: 16px;
    position: absolute;
    right: -8px;
    top: -4px;
  }

  .mrovago-mobile-bar button span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 750;
  }

  .mrovago-mobile-bar button[aria-expanded="true"] {
    background: rgba(216, 239, 63, 0.12);
    color: var(--mv-lime);
  }

  .mrovago-mobile-bar button[aria-expanded="true"] strong {
    color: var(--mv-lime);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mrovago-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* Karta produktu v3: badge nowości, pasek płatności, kafle z ikonami i linkami */

.mrovago-product-rating--new {
  margin: 0.35rem 0 0.6rem;
}

.mrovago-product-badge {
  background: rgba(216, 239, 63, 0.18);
  border: 1px solid rgba(216, 239, 63, 0.55);
  border-radius: 999px;
  color: #3d4d00;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.7rem;
  text-transform: uppercase;
}

.mrovago-product-payments {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 0.4rem;
}

.mrovago-product-payments span {
  align-items: center;
  background: #f5f6f2;
  border: 1px solid #e2e5da;
  border-radius: 8px;
  color: #2a2f25;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 650;
  gap: 0.32rem;
  line-height: 1;
  padding: 0.38rem 0.6rem;
}

.mrovago-product-payments svg,
.mrovago-product-trust strong svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 15px;
}

.mrovago-product-trust strong {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.mrovago-product-trust span a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Karta produktu v3.1: galeria na górze na mobile, sekcja przewoźników */

@media (max-width: 999px) {
  .single-product .product-entry-wrapper {
    display: flex;
    flex-direction: column;
  }

  .single-product .product-entry-wrapper > .woocommerce-product-gallery {
    order: -1;
    margin-bottom: 1rem;
    width: 100%;
  }

  .single-product .product-entry-wrapper > .entry-summary {
    width: 100%;
  }
}

.mrovago-product-carriers {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  margin: 1.4rem auto;
  max-width: 1680px;
  padding: 1.1rem 1.2rem;
}

.mrovago-product-carriers > strong {
  color: var(--mv-ink);
  display: block;
  font-size: 0.95rem;
  font-weight: 850;
  margin-bottom: 0.7rem;
}

.mrovago-product-carriers__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mrovago-product-carriers__list span {
  align-items: center;
  background: #f5f6f2;
  border: 1px solid #e2e5da;
  border-radius: 10px;
  color: #2a2f25;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.45rem;
  line-height: 1;
  padding: 0.55rem 0.8rem;
}

.mrovago-product-carriers__list svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

/* Logo kuriera (img) w pigulce dostawy na karcie produktu — bez bialego kafelka, na rowni z ikonami. */
.mrovago-product-carriers__list span img.mrovago-brand {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 18px;
  max-width: 58px;
  padding: 0;
}

/* === Mrovago v4: jasny header, mobile logo-only, równe hero, stopka, cookies, toast === */

#header .ct-container,
#header [data-row] > div {
  background: #fff;
}

#header {
  background: #fff;
  border-bottom: 1px solid var(--mv-line);
  box-shadow: 0 6px 24px rgba(17, 23, 20, 0.05);
}

#header .ct-menu-link,
#header .site-title a,
#header [data-items] a,
#header svg {
  color: var(--mv-ink);
  fill: currentColor;
}

#header .ct-menu-link:hover {
  color: var(--mv-green);
}

#header .site-title-container {
  display: none;
}

@media (max-width: 999px) {
  #header [data-device="mobile"] [data-items] > *:not(.site-branding),
  #header [data-device="mobile"] .ct-header-trigger,
  #header [data-device="mobile"] .ct-header-cart,
  #header [data-device="mobile"] .ct-header-account,
  #header [data-device="mobile"] .ct-search-box {
    display: none !important;
  }

  #header [data-device="mobile"] [data-row] .ct-container {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }

  #header [data-device="mobile"] .site-branding {
    margin: 0 auto;
  }

  #header .site-logo-container img {
    max-height: 44px;
    width: auto;
  }
}

/* Hero: wszystkie slajdy w identycznym rozmiarze */

.mrovago-hero-slider {
  height: clamp(420px, 44vw, 560px);
  min-height: 0;
}

.mrovago-hero-slider__track {
  height: 100%;
  min-height: 0;
}

.mrovago-hero-slide {
  align-items: center;
  display: flex;
  height: 100%;
  min-height: 0;
}

.mrovago-hero-slide.is-active {
  position: absolute;
}

.mrovago-hero-slide__content {
  padding: clamp(1.6rem, 4vw, 3rem) 1.4rem;
  width: 100%;
}

/* USP strip na stronie głównej */

/* Pasek USP / zaufania — ciemny, pełna szerokość (edge-to-edge), separatory jak pasek statystyk.
   max-width + margin z !important — żeby wyrwać się z WordPressowego is-layout-constrained (clampuje do content-size). */
.mrovago-usp-strip {
  background: var(--mv-ink, #111714);
  margin: 0 calc(50% - 50vw) 2.4rem !important;
  max-width: none !important;
  width: auto !important;
}

.mrovago-usp-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 24px;
}

.mrovago-usp-strip span {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.94rem;
  font-weight: 700;
  gap: 0.6rem;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.mrovago-usp-strip span:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mrovago-usp-strip svg {
  fill: none;
  flex: 0 0 auto;
  height: 26px;
  stroke: var(--mv-lime, #d8ef3f);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 26px;
}

@media (max-width: 767px) {
  .mrovago-usp-strip__inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
  }
  .mrovago-usp-strip span {
    flex-direction: column;
    font-size: 0.6rem;
    gap: 0.32rem;
    justify-content: flex-start;
    line-height: 1.2;
    padding: 0.7rem 0.22rem;
    text-align: center;
  }
  .mrovago-usp-strip span:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
  }
  .mrovago-usp-strip svg {
    height: 20px;
    width: 20px;
  }
}

/* === Designer polish — subtelne mikrointerakcje (szybkie, pod konwersje, reduced-motion safe) === */
@media (prefers-reduced-motion: no-preference) {
  ul.products li.product,
  [data-products] .product {
    transition: transform 0.22s ease;
  }
  ul.products li.product:hover,
  [data-products] .product:hover {
    transform: translateY(-4px);
  }

  .mrovago-category-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .mrovago-category-card:hover {
    box-shadow: 0 14px 30px -12px rgba(17, 23, 20, 0.45);
    transform: translateY(-3px);
  }

  .button,
  .wp-element-button,
  .add_to_cart_button,
  .single_add_to_cart_button {
    transition: filter 0.15s ease, transform 0.15s ease;
  }
  .button:hover,
  .wp-element-button:hover,
  .add_to_cart_button:hover,
  .single_add_to_cart_button:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
  }
}

/* Akcent marki przy naglowkach sekcji (mniej generycznie / mniej "AI") */
.mrovago-home-heading::after {
  background: var(--mv-lime, #d8ef3f);
  border-radius: 2px;
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.55rem;
  width: 52px;
}

/* Sekcja kontakt + newsletter na home */

.mrovago-home-contact {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.4rem 0;
}

@media (max-width: 859px) {
  .mrovago-home-contact {
    grid-template-columns: 1fr;
  }
}

.mrovago-home-contact > div {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 12px;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.mrovago-home-contact__phone {
  background: var(--mv-ink) !important;
  border: 0 !important;
  color: #fff;
}

.mrovago-home-contact__phone h2,
.mrovago-home-contact__phone p {
  color: #fff;
}

.mrovago-home-contact__phone .button {
  align-items: center;
  background: var(--mv-lime);
  color: var(--mv-ink);
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 900;
  gap: 0.5rem;
}

.mrovago-home-contact__phone .button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 18px;
}

.mrovago-home-contact h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0.3rem 0 0.5rem;
}

/* Formularz newslettera (The Newsletter Plugin) */

.tnp form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.tnp .tnp-email {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  flex: 1 1 200px;
  min-height: 46px;
  padding: 0.5rem 0.9rem;
}

.tnp .tnp-submit {
  background: var(--mv-green);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 46px;
  padding: 0.5rem 1.2rem;
}

.tnp .tnp-submit:hover {
  background: var(--mv-ink);
}

/* Stopka */

.ct-footer {
  display: none;
}

.mrovago-footer {
  background: var(--mv-ink);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3.4rem) 1.4rem 0;
}

.mrovago-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.mrovago-footer a:hover {
  color: var(--mv-lime);
}

.mrovago-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  margin: 0 auto;
  max-width: 1180px;
  padding-bottom: 2rem;
}

@media (max-width: 999px) {
  .mrovago-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .mrovago-footer__grid {
    grid-template-columns: 1fr;
  }
}

.mrovago-footer__brand img {
  height: auto;
  margin-bottom: 0.8rem;
  max-width: 210px;
}

.mrovago-footer__brand p {
  font-size: 0.92rem;
}

.mrovago-footer address {
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.65;
  margin-top: 0.9rem;
}

.mrovago-footer address strong {
  color: #fff;
}

.mrovago-footer nav > strong,
.mrovago-footer__help > strong,
.mrovago-footer__newsletter > strong {
  color: #fff;
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.mrovago-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mrovago-footer nav li {
  margin-bottom: 0.45rem;
}

.mrovago-footer__help p {
  font-size: 0.92rem;
}

.mrovago-footer__phone {
  color: var(--mv-lime) !important;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0.2rem 0 1rem;
}

.mrovago-footer__newsletter small {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.5rem;
  opacity: 0.75;
}

.mrovago-footer__newsletter small a {
  text-decoration: underline;
}

.mrovago-footer__newsletter .tnp .tnp-email {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.mrovago-footer__newsletter .tnp .tnp-submit {
  background: var(--mv-lime);
  color: var(--mv-ink);
}

.mrovago-footer__strip {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.1rem 0;
}

.mrovago-footer__strip span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 650;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
}

.mrovago-footer__strip svg {
  fill: none;
  height: 15px;
  stroke: var(--mv-lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 15px;
}

.mrovago-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  opacity: 0.7;
  padding: 1.1rem 0 1.4rem;
  text-align: center;
}

/* Podpis wykonawcy - celowo drobny, nie konkuruje z copyrightem klienta. */
.mrovago-footer__author {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2px;
  margin-top: 0.35rem;
  opacity: 0.62;
}

.mrovago-footer__author a {
  color: inherit;
  text-decoration: none;
}

.mrovago-footer__author a:hover {
  text-decoration: underline;
}

@media (max-width: 999px) {
  .mrovago-footer {
    padding-bottom: 64px;
  }
}

/* Baner cookies */

.mrovago-cookie-bar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 12px;
  bottom: 76px;
  box-shadow: 0 16px 44px rgba(17, 23, 20, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  left: 50%;
  max-width: 680px;
  padding: 0.9rem 1.1rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 1.6rem);
  z-index: 9999;
}

@media (min-width: 1000px) {
  .mrovago-cookie-bar {
    bottom: 1.2rem;
  }
}

.mrovago-cookie-bar p {
  flex: 1 1 320px;
  font-size: 0.84rem;
  margin: 0;
}

.mrovago-cookie-bar a {
  text-decoration: underline;
}

.mrovago-cookie-bar button {
  background: var(--mv-ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  padding: 0.55rem 1.1rem;
}

/* Toast dodania do koszyka */

.mrovago-cart-toast {
  align-items: center;
  background: var(--mv-ink);
  border-radius: 12px;
  bottom: 84px;
  box-shadow: 0 16px 40px rgba(17, 23, 20, 0.3);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-weight: 700;
  gap: 0.6rem;
  left: 50%;
  max-width: calc(100vw - 1.25rem);
  opacity: 0;
  padding: 0.7rem 1rem;
  position: fixed;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  z-index: 10000;
}

@media (min-width: 1000px) {
  .mrovago-cart-toast {
    bottom: 1.4rem;
  }
}

.mrovago-cart-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mrovago-cart-toast__check {
  align-items: center;
  background: var(--mv-lime);
  border-radius: 999px;
  color: var(--mv-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.8rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.mrovago-cart-toast__msg {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mrovago-cart-toast a {
  color: var(--mv-lime);
  flex: 0 0 auto;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@keyframes mrovago-badge-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.mrovago-mobile-bar em.is-bounce {
  animation: mrovago-badge-bounce 0.45s ease;
}

/* Fix: atrybut hidden musi wygrywać z display ustawionym klasą */

.mrovago-cookie-bar[hidden],
.mrovago-cart-toast[hidden],
.mrovago-mobile-bar em[hidden] {
  display: none !important;
}

/* === Poprawki v4.1 === */

/* Listing produktów (Nowości i sklep): zdjęcia bez ucinania */

ul.products li.product img,
.wc-block-grid__product-image img {
  aspect-ratio: 1 / 1 !important;
  background: #fff;
  height: auto !important;
  object-fit: contain !important;
  width: 100%;
}

/* Blocksy wymusza inline aspect-ratio 4/3 i przycina zdjecia kart.
   Homepage = ul.products li.product, kategoria/sklep = [data-products] div.product.
   Uniwersalny override 1:1 contain dla KAZDEJ karty w listingu, poza strona pojedynczego produktu. */
body:not(.single-product) .product .ct-media-container {
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  height: auto !important;
}

body:not(.single-product) .product img.wp-post-image {
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
}

/* Stopka na całą szerokość ekranu */

.mrovago-footer {
  left: 50%;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  transform: translateX(-50%);
  width: 100vw;
}

/* Mobile: niższy header, bez pustej przestrzeni pod logo */

@media (max-width: 999px) {
  #header [data-device="mobile"] [data-row] {
    min-height: 0 !important;
  }

  #header [data-device="mobile"] .ct-container {
    min-height: 0 !important;
    padding-bottom: 8px !important;
    padding-top: 8px !important;
  }

  #header [data-device="mobile"] .site-branding {
    padding: 0 !important;
  }

  #header .site-logo-container {
    display: block;
    line-height: 0;
  }

  #header .site-logo-container img {
    max-height: 38px;
  }
}

/* Hero na mobile: niższy i z lepszym kadrem */

@media (max-width: 767px) {
  .mrovago-hero-slider {
    height: 380px;
  }

  .mrovago-hero-slide {
    background-position: 72% center;
  }

  .mrovago-hero-slide__content h1 {
    font-size: 1.9rem;
  }
}

/* Topbar: darmowa dostawa */

.mrovago-topbar {
  align-items: center;
  background: var(--mv-ink);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.84rem;
  gap: 0.4rem 0.9rem;
  justify-content: center;
  padding: 0.45rem 1rem;
  text-align: center;
}

.mrovago-topbar strong {
  color: var(--mv-lime);
  font-weight: 800;
}

.mrovago-topbar small {
  font-size: 0.78rem;
  opacity: 0.85;
}

.mrovago-topbar__brands {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

/* Brandowe znaczki przewoźników i płatności */

.mrovago-brand {
  border-radius: 5px;
  display: inline-block;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.32rem 0.5rem;
}

.mrovago-brand--inpost {
  background: #ffcb04;
  color: #002d72;
}

.mrovago-brand--dpd {
  background: #dc0032;
  color: #fff;
}

.mrovago-brand--blik {
  background: #000;
  color: #fff;
}

.mrovago-brand--visa {
  background: #1a1f71;
  color: #fff;
}

.mrovago-brand--mastercard {
  background: #fff;
  border: 1px solid #e3e7df;
  color: #1d1d1b;
}

/* Logotypy kurierow jako biale kafelki (img) — czytelne na jasnym i ciemnym tle (stopka). */
img.mrovago-brand {
  background: #fff;
  border: 1px solid #e3e7df;
  border-radius: 5px;
  box-sizing: border-box;
  height: 26px;
  max-width: 80px;
  object-fit: contain;
  padding: 3px 7px;
  vertical-align: middle;
  width: auto;
}

/* Logo kuriera (InPost/DPD) przy metodzie dostawy na checkoucie. */
.mrovago-ship-logo {
  height: 20px;
  margin-right: 8px;
  max-width: 58px;
  object-fit: contain;
  vertical-align: middle;
  width: auto;
}

/* === Poprawki v4.2 === */

/* Stopka: wymuszona pełna szerokość (coś narzucało 1180px) */

.mrovago-footer {
  max-width: none !important;
  width: 100vw !important;
}

html {
  overflow-x: clip;
}

/* Topbar na mobile: tylko napis o darmowej dostawie */

@media (max-width: 767px) {
  .mrovago-topbar__brands,
  .mrovago-topbar small {
    display: none;
  }
}

/* Listing: kafel zdjęcia jako kwadrat z dopasowanym (niedocietym) zdjęciem */

ul.products li.product .ct-media-container,
ul.products li.product .ct-image-container,
ul.products li.product a > img {
  aspect-ratio: 1 / 1 !important;
  background: #fff;
}

ul.products li.product .ct-media-container img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100%;
}

/* Dropdown menu desktop: jasne, spójne z headerem */

#header .sub-menu,
#header [data-dropdown] .sub-menu {
  background: #fff !important;
  border: 1px solid var(--mv-line);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(17, 23, 20, 0.12);
}

#header .sub-menu .ct-menu-link,
#header .sub-menu a {
  background: transparent !important;
  color: var(--mv-ink) !important;
}

#header .sub-menu .ct-menu-link:hover,
#header .sub-menu a:hover {
  background: var(--mv-bg) !important;
  color: var(--mv-green) !important;
}

/* Fix v4.2b: kolumna brand w pionie, pelny przycisk newslettera */

.mrovago-footer__brand {
  display: block !important;
}

.mrovago-footer__newsletter .tnp .tnp-email {
  width: 100%;
}

.mrovago-footer__newsletter .tnp .tnp-submit {
  white-space: nowrap;
  width: 100%;
}

/* === Checkout v5: koszyk, zamowienie, punkt odbioru, mini-koszyk === */

/* Mini-koszyk w headerze: jasny, spojny */

#header .ct-cart-content {
  background: #fff !important;
  border: 1px solid var(--mv-line);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(17, 23, 20, 0.12);
}

#header .ct-cart-content,
#header .ct-cart-content a:not(.button),
#header .ct-cart-content .woocommerce-mini-cart-item,
#header .ct-cart-content .woocommerce-mini-cart__total,
#header .ct-cart-content .quantity {
  color: var(--mv-ink) !important;
}

#header .ct-cart-content .button {
  background: var(--mv-bg) !important;
  border: 1px solid var(--mv-line) !important;
  border-radius: 8px !important;
  color: var(--mv-ink) !important;
  font-weight: 750;
}

#header .ct-cart-content .button.checkout {
  background: var(--mv-lime) !important;
  border-color: var(--mv-lime) !important;
  color: var(--mv-ink) !important;
}

#header .ct-cart-content .button:hover {
  background: var(--mv-green) !important;
  border-color: var(--mv-green) !important;
  color: #fff !important;
}

/* Koszyk i checkout: spojne przyciski i tabele */

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  margin-top: 1.2rem;
}

.woocommerce table.shop_table {
  background: #fff;
  border: 1px solid var(--mv-line) !important;
  border-radius: 10px;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce button.button.alt {
  background: var(--mv-lime) !important;
  border-radius: 8px;
  color: var(--mv-ink) !important;
  font-weight: 900;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce button.button.alt:hover {
  background: var(--mv-green) !important;
  color: #fff !important;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce form .form-row select {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
}

.woocommerce-checkout #payment {
  background: var(--mv-bg) !important;
  border: 1px solid var(--mv-line);
  border-radius: 10px;
}

/* Pole punktu odbioru */

.mrovago-pickup {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-left: 4px solid var(--mv-lime);
  border-radius: 10px;
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
}

.mrovago-pickup > strong {
  display: block;
  margin-bottom: 0.55rem;
}

.mrovago-pickup__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mrovago-pickup__row input {
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  flex: 1 1 180px;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  text-transform: uppercase;
}

.mrovago-pickup__row .button {
  background: var(--mv-green);
  border-radius: 8px;
  color: #fff;
  font-weight: 750;
  white-space: nowrap;
}

.mrovago-pickup small {
  display: block;
  margin-top: 0.5rem;
  opacity: 0.85;
}

.mrovago-pickup small a {
  font-weight: 650;
  text-decoration: underline;
}

/* Modal mapy InPost */

.mrovago-pickup-modal {
  background: rgba(17, 23, 20, 0.66);
  inset: 0;
  position: fixed;
  z-index: 100000;
}

.mrovago-pickup-modal[hidden] {
  display: none !important;
}

.mrovago-pickup-modal__inner {
  background: #fff;
  border-radius: 12px;
  height: min(640px, 86vh);
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, 94vw);
}

.mrovago-pickup-modal__inner inpost-geowidget {
  display: block;
  height: 100%;
  width: 100%;
}

.mrovago-pickup-modal__close {
  background: var(--mv-ink);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  height: 34px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  z-index: 2;
}

/* === Checkout v6: oddech w tabelach, kafle dostaw, darmowa dostawa, trust === */

/* Tabele: padding zamiast liter na kreskach */

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--mv-line) !important;
  padding: 0.8rem 1rem !important;
}

.woocommerce table.shop_table {
  border-collapse: separate !important;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td,
.cart_totals table th,
.cart_totals table td {
  vertical-align: middle;
}

/* Kupony i przyciski koszyka w kolorach marki */

.woocommerce-cart table.cart td.actions .coupon .input-text {
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
}

.woocommerce-cart table.cart td.actions .button,
.woocommerce-cart .coupon .button {
  background: var(--mv-ink) !important;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 750;
}

.woocommerce-cart table.cart td.actions .button:disabled {
  opacity: 0.4;
}

/* Metody dostawy jako czytelne kafle (koszyk + checkout) */

ul#shipping_method {
  display: grid;
  gap: 0.4rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

ul#shipping_method li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--mv-line);
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0.6rem 0.8rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

ul#shipping_method li:hover {
  border-color: var(--mv-green);
}

ul#shipping_method li input[type="radio"] {
  accent-color: var(--mv-green);
  flex: 0 0 auto;
  margin: 0;
}

ul#shipping_method li label {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex: 1 1 auto;
  font-size: 0.92rem;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0;
}

ul#shipping_method li:has(input:checked) {
  background: rgba(216, 239, 63, 0.14);
  border-color: var(--mv-green);
  box-shadow: 0 0 0 1px var(--mv-green);
}

ul#shipping_method li:has(input:checked) label {
  font-weight: 700;
}

ul#shipping_method .woocommerce-Price-amount {
  font-weight: 800;
  margin-left: auto;
  white-space: nowrap;
}

/* Pasek darmowej dostawy */

.mrovago-freeship {
  background: #fff;
  border: 1px solid var(--mv-line);
  border-left: 4px solid var(--mv-green);
  border-radius: 10px;
  margin: 0 0 1.2rem;
  padding: 0.9rem 1.1rem;
}

.mrovago-freeship strong {
  display: block;
  font-size: 1rem;
}

.mrovago-freeship span {
  display: block;
  font-size: 0.86rem;
  margin-top: 0.15rem;
  opacity: 0.8;
}

.mrovago-freeship__bar {
  background: var(--mv-bg);
  border-radius: 999px;
  height: 9px;
  margin-top: 0.6rem;
  overflow: hidden;
}

.mrovago-freeship__bar i {
  background: var(--mv-green);
  border-radius: 999px;
  display: block;
  height: 100%;
  transition: width 0.3s ease;
}

.mrovago-freeship.is-reached {
  background: rgba(216, 239, 63, 0.16);
  border-color: var(--mv-lime);
  border-left-color: var(--mv-green);
}

.mrovago-freeship.is-reached .mrovago-freeship__bar i {
  background: linear-gradient(90deg, var(--mv-green), #7ea815);
}

/* Trust pod przyciskiem zakupu */

.mrovago-checkout-trust {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.9rem;
  text-align: center;
}

.mrovago-checkout-trust__ssl {
  align-items: center;
  color: var(--mv-green);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.4rem;
}

.mrovago-checkout-trust__ssl svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 16px;
}

.mrovago-checkout-trust__brands {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

/* Pole NIP domyslnie ukryte (JS pokazuje po checkboxie) */

#billing_nip_field {
  display: none;
}

/* Checkout: wieksze odstepy między polami a ramkami */

.woocommerce-checkout form .form-row {
  margin-bottom: 0.9rem;
}

.woocommerce form .form-row label {
  font-size: 0.86rem;
  font-weight: 650;
  margin-bottom: 0.25rem;
}

#order_review .mrovago-pickup {
  margin: 0.6rem 0;
}

/* ============================================================
   POSZERZENIE LAYOUTU + KOLORY MARKI (koniec niebieskiego Blocksy)
   ============================================================ */

/* 1) Szersza tresc — strona wykorzystuje wiecej szerokosci ekranu.
   Hero i pasek USP zostaja full-bleed (wykluczone ponizej). */
:root,
body,
.entry-content {
  --wp--style--global--content-size: 1680px !important;
  --wp--style--global--wide-size: 1960px !important;
  --theme-block-content-max-width: 1680px !important;
  --theme-block-wide-max-width: 1960px !important;
}

.entry-content.is-layout-constrained
  > :where(:not([class*="align"]):not(.mrovago-hero-slider):not(.mrovago-usp-strip)) {
  max-width: 1680px;
}

.entry-content.is-layout-constrained > .alignwide {
  max-width: 1960px;
}

/* Kontener Blocksy (naglowek, stopka, sklep, kategorie, produkt, koszyk)
   — poszerzony do tej samej szerokosci co tresc, zeby cala strona byla rowna. */
.ct-container {
  max-width: 1680px !important;
}

/* 2) Niebieski Blocksy (#2872fa) -> markowa zielen: dymek koszyka,
   dolne menu mobile, akcenty, focus. CTA pozostaja limonkowe. */
:root,
html,
body {
  --theme-palette-color-1: #145c38 !important;
  --theme-palette-color-2: #0d3f26 !important;
}

/* 3) Hero responsywny na mobile — nizszy + jasniejsza nakladka u gory
   (czytelny ciemny tekst), zdjecie pokazuje sie nizej. */
@media (max-width: 767px) {
  .mrovago-hero-slider {
    min-height: clamp(460px, 92vw, 560px);
  }
  .mrovago-hero-slide {
    background: var(--mrovago-hero-image);
    background-position: center;
    background-size: cover;
  }
  .mrovago-hero-slide__content {
    margin: 0 16px;
    max-width: none;
    padding: clamp(1.6rem, 6vw, 2.4rem);
  }
}

/* === Mikrointerakcje (subtelne, reduced-motion safe) === */
ul.products li.product {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

ul.products li.product:hover {
  box-shadow: 0 12px 28px rgba(17, 23, 20, 0.1);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Offset tresci pod fixed header (desktop) / hero flush (mobile) — patrz blok "Sticky nawigacja" nizej. */

/* === Pigulki kategorii: przewijane na mobile (nie uciete) === */
.mrovago-shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .mrovago-shop-cats {
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .mrovago-shop-cats a {
    flex: 0 0 auto;
  }
}

/* === Sticky nagłówek (desktop) — offset przez SPACER synchronizowany ResizeObserverem.
   Spacer ZAWSZE = wysokosc naglowka, wiec przerwa menu->hero nie ma jak powstac. === */
body.home .ct-container-full {
  padding-top: 0 !important;
}

.mrovago-header-spacer {
  display: none;
}

@media (min-width: 768px) {
  .mrovago-topbar {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
    z-index: 91;
  }
  body.admin-bar .mrovago-topbar {
    top: 32px;
  }
  body.mrovago-scrolled .mrovago-topbar {
    transform: translateY(-100%);
  }

  header.ct-header {
    background: #fff;
    left: 0;
    position: fixed !important;
    right: 0;
    top: var(--mrovago-tb-h, 38px);
    transition: top 0.3s ease, box-shadow 0.25s ease;
    z-index: 90;
  }
  body.admin-bar header.ct-header {
    top: calc(32px + var(--mrovago-tb-h, 38px));
  }
  body.mrovago-scrolled header.ct-header {
    box-shadow: 0 6px 22px rgba(17, 23, 20, 0.12);
    top: 0;
  }
  body.admin-bar.mrovago-scrolled header.ct-header {
    top: 32px;
  }

  .mrovago-header-spacer {
    display: block;
  }
}

/* === Checkout: minimalny header — tylko logo, bez rozpraszaczy (jak dzik).
   Cel: klient nie ma kuszacych linkow do wyjscia z kasy. === */
@media (min-width: 768px) {
  body.woocommerce-checkout header.ct-header {
    position: static !important;
    top: auto !important;
  }
}
body.woocommerce-checkout .mrovago-topbar,
body.woocommerce-checkout .header-menu-1,
body.woocommerce-checkout header [data-id="search"],
body.woocommerce-checkout header [data-id="cart"],
body.woocommerce-checkout .mrovago-account-link,
body.woocommerce-checkout .mrovago-header-spacer,
body.woocommerce-checkout .mrovago-mobile-bar {
  display: none !important;
}

/* === Pasek krokow zamowienia ①②③ (koszyk + kasa, opcja B) === */
.mrovago-steps {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0.6rem auto 1.8rem;
  max-width: 600px;
  padding: 0 1rem;
}

.mrovago-step {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.mrovago-step__num {
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--mv-line);
  border-radius: 50%;
  color: #9aa39a;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.mrovago-step__num svg {
  fill: currentColor;
  height: 16px;
  width: 16px;
}

.mrovago-step__label {
  color: #8a938a;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.mrovago-step__bar {
  background: var(--mv-line);
  flex: 1 1 auto;
  height: 2px;
  margin: 0 0.7rem;
  min-width: 16px;
}

.mrovago-step__bar.is-filled {
  background: var(--mv-green);
}

.mrovago-step.is-active .mrovago-step__num,
.mrovago-step.is-done .mrovago-step__num {
  background: var(--mv-green);
  border-color: var(--mv-green);
  color: #fff;
}

.mrovago-step.is-active .mrovago-step__label,
.mrovago-step.is-done .mrovago-step__label {
  color: var(--mv-ink);
}

.mrovago-checkout-login {
  background: var(--mv-bg);
  border: 1px solid var(--mv-line);
  border-radius: 10px;
  font-size: 0.95rem;
  margin: 0 auto 1.4rem;
  max-width: 640px;
  padding: 0.85rem 1.1rem;
  text-align: center;
}

.mrovago-checkout-login a {
  color: var(--mv-green);
  font-weight: 700;
}

@media (max-width: 560px) {
  .mrovago-step__label {
    font-size: 0.76rem;
  }

  .mrovago-step__num {
    font-size: 0.8rem;
    height: 26px;
    width: 26px;
  }

  .mrovago-step__bar {
    margin: 0 0.4rem;
  }
}

/* === Ikona konta w naglowku (PC) === */
.mrovago-account-link {
  align-items: center;
  color: var(--mv-ink);
  display: inline-flex;
  justify-content: center;
  padding: 6px;
  transition: color 0.15s ease;
}

.mrovago-account-link:hover {
  color: var(--mv-green);
}

.mrovago-account-link svg {
  height: 22px;
  width: 22px;
}

/* === Akordeon podkategorii w mobilnym panelu "Kategorie" === */
.mrovago-cat-toggle {
  align-items: center;
  align-self: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--mv-ink);
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.mrovago-cat-toggle svg {
  height: 20px;
  transition: transform 0.25s ease;
  width: 20px;
}

/* stan rozwiniety: wyrazne podswietlenie + obrot strzalki */
.mrovago-mobile-menu > li.is-open {
  background: var(--mv-bg);
  border-radius: 10px;
}

.mrovago-mobile-menu > li.is-open > .mrovago-cat-toggle {
  color: var(--mv-green);
}

.mrovago-mobile-menu > li.is-open > .mrovago-cat-toggle svg {
  transform: rotate(180deg);
}

.mrovago-mobile-menu .children {
  border-left: 2px solid var(--mv-lime);
  display: none;
  grid-column: 1 / -1;
  margin: 0 0 0.5rem 0.2rem;
  padding: 0.1rem 0 0.3rem 0;
}

.mrovago-mobile-menu > li.is-open > .children {
  display: block;
}

.mrovago-mobile-menu .children li {
  border: 0 !important;
  padding: 0 !important;
}

.mrovago-mobile-menu .children a {
  color: var(--mv-ink);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.55rem 0.9rem !important;
  text-transform: none;
}

.mrovago-mobile-menu .children a:hover,
.mrovago-mobile-menu .children a:focus {
  color: var(--mv-green);
}

/* === Emblematy platnosci (stopka) === */
.mrovago-pay {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  justify-content: center;
  padding: 1.6rem 1rem;
}

.mrovago-pay__label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  margin-right: 0.3rem;
}

.mrovago-pay__chip {
  align-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  font-size: 0.85rem;
  height: 30px;
  justify-content: center;
  line-height: 1;
  min-width: 48px;
  padding: 0 11px;
}

.mrovago-pay__visa {
  color: #1434cb;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mrovago-pay__gpay {
  color: #5f6368;
  font-weight: 700;
}

.mrovago-pay__apay {
  color: #111;
  font-weight: 600;
}

.mrovago-pay__blik {
  color: #000;
  font-weight: 800;
}

.mrovago-pay__tpay {
  color: #c8102e;
  font-style: italic;
  font-weight: 800;
}

.mrovago-pay__mc {
  gap: 0;
  padding: 0 9px;
}

.mrovago-pay__mc i {
  border-radius: 50%;
  display: block;
  height: 18px;
  width: 18px;
}

.mrovago-pay__mc i:first-child {
  background: #eb001b;
}

.mrovago-pay__mc i:last-child {
  background: #f79e1b;
  margin-left: -7px;
  mix-blend-mode: multiply;
}

/* === Karty produktow: spojny miekki wyglad, lagodny hover (bez ostrej obramowki) === */
ul.products li.product,
[data-products] .product {
  background: #fff;
  border: 1px solid var(--mv-line) !important;
  border-radius: 10px !important;
  outline: none !important;
  overflow: hidden;
  padding: 0.85rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

ul.products li.product:hover,
[data-products] .product:hover {
  border-color: rgba(17, 23, 20, 0.1) !important;
  box-shadow: 0 14px 32px rgba(17, 23, 20, 0.1) !important;
  transform: translateY(-4px) !important;
}

/* focus tylko jako delikatny, miekki akcent (a11y) — nie twarda kreska */
ul.products li.product a:focus,
ul.products li.product a:focus-visible,
[data-products] .product a:focus-visible {
  outline: 2px solid var(--mv-lime);
  outline-offset: 3px;
  border-radius: 6px;
}

ul.products li.product a:focus:not(:focus-visible) {
  outline: none;
}

/* === Faktura na block checkout: dane firmy ukryte dopoki nie zaznaczono "Chce fakture" === */
.wc-block-components-text-input:has(#order-mrovago-company),
.wc-block-components-text-input:has(#order-mrovago-nip),
.wc-block-components-text-input:has(#order-mrovago-company_street),
.wc-block-components-text-input:has(#order-mrovago-company_postcode),
.wc-block-components-text-input:has(#order-mrovago-company_city) {
  display: none;
}

body.mrovago-faktura-on .wc-block-components-text-input:has(#order-mrovago-company),
body.mrovago-faktura-on .wc-block-components-text-input:has(#order-mrovago-nip),
body.mrovago-faktura-on .wc-block-components-text-input:has(#order-mrovago-company_street),
body.mrovago-faktura-on .wc-block-components-text-input:has(#order-mrovago-company_postcode),
body.mrovago-faktura-on .wc-block-components-text-input:has(#order-mrovago-company_city) {
  display: block;
}


/* Checkout: jednolita typografia tytulow metod platnosci (2026-07-13).
   Wtyczka Tpay renderuje swoje tytuly pogrubione, natywne metody Woo nie -
   ujednolicamy: wszystkie tytuly metod platnosci 600. */
.wc-block-checkout__payment-method .wc-block-components-radio-control__label,
.wc-block-checkout__payment-method .wc-block-components-radio-control__label strong,
.wc-block-checkout__payment-method .wc-block-components-radio-control__label b,
.wc-block-checkout__payment-method .wc-block-components-radio-control__label span {
  font-weight: 600;
}
