:root {
  --mp-home-ink: #27221f;
  --mp-home-muted: #77716d;
  --mp-home-accent: #c9a995;
  --mp-home-line: #eadbd1;
}

/* Nagłówek: zostają logo, menu, wyszukiwarka, wycena i koszyk. */
header.elementor-location-header [data-id="3fb5c75d"],
header.elementor-location-header .mp-home-contact-hidden {
  display: none !important;
}

header.elementor-location-header [data-id="c037508"] > .elementor-widget-wrap {
  align-content: center !important;
  align-items: center !important;
}

/* Po przewinięciu znika pasek kremowy, a pozostaje biały nagłówek z menu. */
header.elementor-location-header.header-scrolled [data-id="fcd6273"],
header.elementor-location-header.mp-home-white-header-active [data-id="fcd6273"] {
  display: none !important;
}

/* Karty produktów zgodne z feedem kategorii. */
.home .uael-woocommerce li.product .uael-woo-product-wrapper {
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Outfit', 'DM Sans', sans-serif !important;
}

.home .uael-woocommerce li.product .uael-woo-products-thumbnail-wrap,
.home .uael-woocommerce li.product .uael-woo-products-thumbnail-wrap > a {
  display: block !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home .uael-woocommerce li.product .uael-woo-products-thumbnail-wrap img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  transition: transform .35s ease !important;
}

.home .uael-woocommerce li.product:hover .uael-woo-products-thumbnail-wrap img {
  transform: scale(1.018) !important;
}

.home .uael-woocommerce li.product .uael-woo-products-summary-wrap {
  margin: 0 !important;
  padding: 15px 0 0 !important;
  background: transparent !important;
}

.home .uael-woocommerce li.product .uael-woo-product-category {
  display: none !important;
}

.home .uael-woocommerce li.product .woocommerce-loop-product__title {
  margin: 0 0 9px !important;
  padding: 0 !important;
  font-family: 'Outfit', 'DM Sans', sans-serif !important;
}

.mp-home-card-eyebrow,
.mp-home-card-title {
  display: block;
}

.mp-home-card-eyebrow {
  margin-bottom: 5px;
  color: var(--mp-home-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .035em;
}

.mp-home-card-title {
  color: var(--mp-home-ink);
  font-size: clamp(19px, 1.45vw, 24px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.home .uael-woocommerce li.product .price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 13px;
  margin: 0 !important;
  color: var(--mp-home-ink) !important;
  font-family: 'Outfit', 'DM Sans', sans-serif !important;
}

.mp-home-net-price,
.mp-home-gross-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.mp-home-net-price strong {
  color: var(--mp-home-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.mp-home-gross-price strong {
  color: var(--mp-home-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.mp-home-net-price small,
.mp-home-gross-price small {
  color: var(--mp-home-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
}

.mp-home-gross-price::before {
  margin-right: 2px;
  color: var(--mp-home-muted);
  font-size: 12px;
  font-weight: 400;
  content: '/';
}

.home .uael-woocommerce li.product .uael-woo-products-description {
  display: -webkit-box !important;
  overflow: hidden;
  margin-top: 10px !important;
  color: var(--mp-home-muted) !important;
  font: 400 14px/1.5 'Outfit', 'DM Sans', sans-serif !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home .uael-woocommerce li.product .uael-woo-products-description p {
  margin: 0 !important;
}

/* Stara sekcja Premium Line jest zastępowana dwiema karuzelami poniżej. */
.home [data-id="0ef9495"],
.home .mp-home-old-premium-hidden {
  display: none !important;
}

.mp-home-product-showcase {
  width: min(1840px, calc(100% - 64px));
  margin: 78px auto 92px;
  color: var(--mp-home-ink);
  font-family: 'Outfit', 'DM Sans', sans-serif;
}

.mp-home-product-showcase[hidden] {
  display: none !important;
}

.mp-home-carousel + .mp-home-carousel {
  margin-top: 92px;
  padding-top: 82px;
  border-top: 1px solid var(--mp-home-line);
}

.mp-home-carousel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.mp-home-carousel-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--mp-home-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mp-home-carousel-heading h2 {
  margin: 0;
  color: var(--mp-home-ink);
  font: 600 clamp(30px, 3vw, 50px)/1.05 'Outfit', 'DM Sans', sans-serif;
  letter-spacing: -.035em;
}

.mp-home-carousel-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.mp-home-carousel-actions > a {
  margin-right: 11px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--mp-home-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.mp-home-carousel-actions > a:hover {
  color: var(--mp-home-accent);
}

.mp-home-carousel-arrow {
  display: inline-grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--mp-home-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mp-home-ink);
  font: 400 19px/1 'Outfit', 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}

.mp-home-carousel-arrow:hover:not(:disabled) {
  border-color: var(--mp-home-ink);
  background: var(--mp-home-ink);
  color: #fff;
}

.mp-home-carousel-arrow:disabled {
  opacity: .28;
  cursor: default;
}

.mp-home-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mp-home-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.mp-home-carousel-track {
  display: grid;
  grid-auto-columns: calc((100% - 56px) / 3);
  grid-auto-flow: column;
  gap: 28px;
}

.mp-home-product-card {
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.mp-home-product-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #f7f4f1;
}

.mp-home-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.mp-home-product-card:hover .mp-home-product-image img {
  transform: scale(1.018);
}

.mp-home-product-copy {
  padding-top: 16px;
}

.mp-home-product-copy h3 {
  margin: 0 0 12px;
  font: 600 clamp(20px, 1.7vw, 27px)/1.13 'Outfit', 'DM Sans', sans-serif;
  letter-spacing: -.025em;
}

.mp-home-product-copy h3 a {
  color: var(--mp-home-ink);
  text-decoration: none;
}

.mp-home-product-copy h3 a:hover {
  color: var(--mp-home-accent);
}

.mp-home-product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 13px;
}

.mp-home-product-prices .woocommerce-Price-amount,
.mp-home-product-prices .woocommerce-Price-currencySymbol {
  color: inherit;
  font: inherit;
}

.mp-home-product-prices .mp-home-net-price strong {
  font-size: 17px;
}

.mp-home-product-prices .mp-home-gross-price strong {
  font-size: 18px;
}

@media (max-width: 1099px) {
  .mp-home-product-showcase {
    width: min(100% - 44px, 1160px);
    margin-top: 62px;
  }

  .mp-home-carousel-track {
    grid-auto-columns: calc((100% - 22px) / 2);
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .home .uael-woocommerce li.product .uael-woo-products-summary-wrap {
    padding-top: 12px !important;
  }

  .mp-home-card-eyebrow {
    font-size: 11px;
  }

  .mp-home-card-title {
    font-size: 19px;
  }

  .mp-home-net-price strong {
    font-size: 14px;
  }

  .mp-home-gross-price strong {
    font-size: 15px;
  }

  .mp-home-net-price small,
  .mp-home-gross-price small {
    font-size: 9px;
  }

  .mp-home-product-showcase {
    width: calc(100% - 34px);
    margin: 48px auto 64px;
  }

  .mp-home-carousel + .mp-home-carousel {
    margin-top: 62px;
    padding-top: 58px;
  }

  .mp-home-carousel-heading {
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 22px;
  }

  .mp-home-carousel-eyebrow {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .mp-home-carousel-heading h2 {
    max-width: 270px;
    font-size: 29px;
    line-height: 1.08;
  }

  .mp-home-carousel-actions > a {
    display: none;
  }

  .mp-home-carousel-arrow {
    width: 39px;
    height: 39px;
    font-size: 17px;
  }

  .mp-home-carousel-prev {
    display: none;
  }

  .mp-home-carousel-track {
    grid-auto-columns: 84%;
    gap: 15px;
  }

  .mp-home-product-image {
    border-radius: 12px;
  }

  .mp-home-product-copy {
    padding-top: 13px;
  }

  .mp-home-product-copy h3 {
    margin-bottom: 9px;
    font-size: 20px;
  }

  .mp-home-product-prices .mp-home-net-price strong {
    font-size: 15px;
  }

  .mp-home-product-prices .mp-home-gross-price strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-home-carousel-viewport {
    scroll-behavior: auto;
  }

  .mp-home-product-image img {
    transition: none;
  }
}
